Manipulability of the Kondo effect in a T-shaped triple-quantum-dot structure