以下成員源於類 QTextCodec 被棄用。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(棄用)
QTextCodec *
|
codecForTr () |
[static, deprecated]
QTextCodec
*QTextCodec::
codecForTr
()
This function is deprecated. We strongly advise against using it in new code.
Returns the codec used by
QObject::tr
() on its argument. If this function returns
nullptr
(the default), tr() assumes Latin-1.