Does the signal for the activation of T cells originate from the antigen-presenting cell or the effector T-helper?

Does the signal for the activation of T cells originate from the antigen-presenting cell or the effector T-helper?