The tr signature is QObject::tr ( const char * sourceText, const char * comment = 0, int n = -1 ) .
So you can just pass aString:
Qt Code:
  1. QString translated = tr(aString);
To copy to clipboard, switch view to plain text mode