Remove documentation of QTextCodec::setCodecForTr().

This function has been removed. Fixes documentation warning:

qtbase/src/corelib/codecs/qtextcodec.cpp:1160: warning: Cannot find 'setCodecForTr(...)' in '\fn' QTextCodec::setCodecForTr ( QTextCodec * c )

Change-Id: I8d17705291b414d9c27827af4248bbf9e090962e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Friedemann Kleint 2015-07-09 13:55:56 +02:00
parent e4fa9a1fcd
commit a6b0ac266c
2 changed files with 0 additions and 20 deletions

View File

@ -1153,16 +1153,6 @@ QTextCodec *QTextCodec::codecForUtfText(const QByteArray &ba)
Returns the codec used by QObject::tr() on its argument. If this
function returns 0 (the default), tr() assumes Latin-1.
\sa setCodecForTr()
*/
/*!
\fn QTextCodec::setCodecForTr ( QTextCodec * c )
\obsolete
Sets the codec used by QObject::tr() on its argument to c. If c
is 0 (the default), tr() assumes Latin-1.
*/
/*!

View File

@ -63,13 +63,3 @@ while (new_data_available()) {
}
delete decoder;
//! [2]
//! [3]
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QTextCodec::setCodecForTr(QTextCodec::codecForName("eucKR"));
...
}
//! [3]