The following members of class QTextCodec are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
[static]QTextCodec *QTextCodec:: codecForTr ()
Returns the codec used by QObject::tr () on its argument. If this function returns 0 (the default), tr() assumes Latin-1.