Oh, lord no!!
DEFINITELY not the same gun. Even in-game you can see the difference. The D is a turd gun and the Q is a lot straighter in trajectory.
D has a M4 Oldsmobile piece o' crap, but the Q has a T9 or some such. Almost on par with the Yak9Ts main weapon.
Worlds apart.