spec119 the rules about awarding Qmiles etc are very clear. For upgraded flights obtained using Qmiles/Qcredits, E-mail upgrade offers, airport upgrades and op-ups will be credited according to the original booking class.
It may be possible to purchase an upgrade for cash and obtain the new ticket class miles etc, but it could prove to be very expensive what with change fees etc.