QPSK is a form of "coherent" modulation. In coherent modulation the receiver contains a reference clock that is frequency locked to the received signal. Data is encoded by changing the received signal's phase and amplitude relative to the reference clock. Phase shifts are illustrated in the attached picture.