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:
parent
e4fa9a1fcd
commit
a6b0ac266c
@ -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.
|
||||
*/
|
||||
|
||||
/*!
|
||||
|
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user