summaryrefslogtreecommitdiffstats
path: root/src/corelib/codecs/qtextcodec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/codecs/qtextcodec.cpp')
-rw-r--r--src/corelib/codecs/qtextcodec.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/corelib/codecs/qtextcodec.cpp b/src/corelib/codecs/qtextcodec.cpp
index 00a6a9fc9f..0f919fb401 100644
--- a/src/corelib/codecs/qtextcodec.cpp
+++ b/src/corelib/codecs/qtextcodec.cpp
@@ -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.