diff options
Diffstat (limited to 'src/corelib/codecs')
-rw-r--r-- | src/corelib/codecs/qtextcodec.cpp | 11 | ||||
-rw-r--r-- | src/corelib/codecs/qtextcodec.h | 5 |
2 files changed, 16 insertions, 0 deletions
diff --git a/src/corelib/codecs/qtextcodec.cpp b/src/corelib/codecs/qtextcodec.cpp index 06fd88da90..72c7844561 100644 --- a/src/corelib/codecs/qtextcodec.cpp +++ b/src/corelib/codecs/qtextcodec.cpp @@ -1275,4 +1275,15 @@ bool QTextDecoder::needsMoreData() const return state.remainingChars; } +/*! + \fn QTextCodec *Qt::codecForHtml(const QByteArray &ba) + \internal + + This function is defined in the \c <QTextCodec> header file. +*/ +QTextCodec *Qt::codecForHtml(const QByteArray &ba) +{ + return QTextCodec::codecForHtml(ba); +} + QT_END_NAMESPACE diff --git a/src/corelib/codecs/qtextcodec.h b/src/corelib/codecs/qtextcodec.h index 3010a2714e..885518d17f 100644 --- a/src/corelib/codecs/qtextcodec.h +++ b/src/corelib/codecs/qtextcodec.h @@ -167,6 +167,11 @@ private: QTextCodec::ConverterState state; }; +namespace Qt +{ + Q_CORE_EXPORT QTextCodec *codecForHtml(const QByteArray &ba); +} + QT_END_NAMESPACE #endif // QTEXTCODEC_H |