Finish removal of QT3_SUPPORT from corelib/codecs
Change 369696dc23
removed a function
from the header but not its implementation, causing a compile error.
Change-Id: I5da45d8401f5779b1660e5baf4557f078e202bf5
Reviewed-on: http://codereview.qt.nokia.com/1092
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Liang Qi <liang.qi@nokia.com>
This commit is contained in:
parent
d010d0893a
commit
8f222e2ad8
@ -1510,22 +1510,6 @@ QByteArray QTextEncoder::fromUnicode(const QChar *uc, int len)
|
||||
return result;
|
||||
}
|
||||
|
||||
#ifdef QT3_SUPPORT
|
||||
/*!
|
||||
\overload
|
||||
|
||||
Converts \a lenInOut characters (not bytes) from \a uc, and returns the
|
||||
result in a QByteArray. The number of characters read is returned in
|
||||
the \a lenInOut parameter.
|
||||
*/
|
||||
QByteArray QTextEncoder::fromUnicode(const QString& uc, int& lenInOut)
|
||||
{
|
||||
QByteArray result = c->fromUnicode(uc.constData(), lenInOut, &state);
|
||||
lenInOut = result.length();
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*!
|
||||
\class QTextDecoder
|
||||
\brief The QTextDecoder class provides a state-based decoder.
|
||||
|
Loading…
Reference in New Issue
Block a user