Merging the A- and Q-spectral theories for digraphs