Spontaneity from electrochemical perspective is related to sign of delta E. If dE>0, the process is spontaneous. K and Q relation is a chemical equilibrium perspective and is correctly explained in the post above.
From el-chem side of things It depends on sign of dE:
dE = dEnot - (RT/nF)*lnQ
>0 ->spontaneous.