Who you book through doesn't matter. Which airline stock it us ticketed in does. If DL coded or ticketed on DL 006 stock regardless of code you earn per $ RDM and MQD. KLM coded/operated and both 1)on KLM stock and 2)a TATL flight will earn per $ RDM and MQD.
Otherwise they earn based on distance for both RDM and MQD. MQD earning being distance times a multiplier between .05-.30
MQM is straight distance based regardless.