On the two largest Q-eigenvalues of graphs