Qt 4.8
|
The QTextCodec class provides conversions between text encodings. More...
#include <qtextcodec.h>
Classes | |
struct | ConverterState |
Public Types | |
enum | ConversionFlag { DefaultConversion, ConvertInvalidToNull = 0x80000000, IgnoreHeader = 0x1, FreeFunction = 0x2 } |
Public Functions | |
virtual QList< QByteArray > | aliases () const |
Subclasses can return a number of aliases for the codec in question. More... | |
bool | canEncode (QChar) const |
Returns true if the Unicode character ch can be fully encoded with this codec; otherwise returns false. More... | |
bool | canEncode (const QString &) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.s contains the string being tested for encode-ability. More... | |
QByteArray | fromUnicode (const QString &uc) const |
Converts str from Unicode to the encoding of this codec, and returns the result in a QByteArray. More... | |
QByteArray | fromUnicode (const QChar *in, int length, ConverterState *state=0) const |
Converts the first number of characters from the input array from Unicode to the encoding of this codec, and returns the result in a QByteArray. More... | |
QTextDecoder * | makeDecoder () const |
Creates a QTextDecoder which stores enough state to decode chunks of char * data to create chunks of Unicode data. More... | |
QTextDecoder * | makeDecoder (ConversionFlags flags) const |
QTextEncoder * | makeEncoder () const |
Creates a QTextEncoder which stores enough state to encode chunks of Unicode data as char * data. More... | |
QTextEncoder * | makeEncoder (ConversionFlags flags) const |
virtual int | mibEnum () const =0 |
Subclasses of QTextCodec must reimplement this function. More... | |
virtual QByteArray | name () const =0 |
QTextCodec subclasses must reimplement this function. More... | |
QString | toUnicode (const QByteArray &) const |
Converts a from the encoding of this codec to Unicode, and returns the result in a QString. More... | |
QString | toUnicode (const char *chars) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.chars contains the source characters. More... | |
QString | toUnicode (const char *in, int length, ConverterState *state=0) const |
Converts the first size characters from the input from the encoding of this codec to Unicode, and returns the result in a QString. More... | |
Static Public Functions | |
static QList< QByteArray > | availableCodecs () |
Returns the list of all available codecs, by name. More... | |
static QList< int > | availableMibs () |
Returns the list of MIBs for all available codecs. More... | |
static QTextCodec * | codecForCStrings () |
Returns the codec used by QString to convert to and from const char * and QByteArrays. More... | |
static QTextCodec * | codecForHtml (const QByteArray &ba) |
Tries to detect the encoding of the provided snippet of HTML in the given byte array, ba, by checking the BOM (Byte Order Mark) and the content-type meta header and returns a QTextCodec instance that is capable of decoding the html to unicode. More... | |
static QTextCodec * | codecForHtml (const QByteArray &ba, QTextCodec *defaultCodec) |
Tries to detect the encoding of the provided snippet of HTML in the given byte array, ba, by checking the BOM (Byte Order Mark) and the content-type meta header and returns a QTextCodec instance that is capable of decoding the html to unicode. More... | |
static QTextCodec * | codecForLocale () |
Returns a pointer to the codec most suitable for this locale. More... | |
static QTextCodec * | codecForMib (int mib) |
Returns the QTextCodec which matches the MIBenum mib. More... | |
static QTextCodec * | codecForName (const QByteArray &name) |
Searches all installed QTextCodec objects and returns the one which best matches name; the match is case-insensitive. More... | |
static QTextCodec * | codecForName (const char *name) |
Searches all installed QTextCodec objects and returns the one which best matches name; the match is case-insensitive. More... | |
static QTextCodec * | codecForTr () |
Returns the codec used by QObject::tr() on its argument. More... | |
static QTextCodec * | codecForUtfText (const QByteArray &ba) |
Tries to detect the encoding of the provided snippet ba by using the BOM (Byte Order Mark) and returns a QTextCodec instance that is capable of decoding the text to unicode. More... | |
static QTextCodec * | codecForUtfText (const QByteArray &ba, QTextCodec *defaultCodec) |
Tries to detect the encoding of the provided snippet ba by using the BOM (Byte Order Mark) and returns a QTextCodec instance that is capable of decoding the text to unicode. More... | |
static void | setCodecForCStrings (QTextCodec *c) |
static void | setCodecForLocale (QTextCodec *c) |
Set the codec to c; this will be returned by codecForLocale(). More... | |
static void | setCodecForTr (QTextCodec *c) |
Protected Functions | |
virtual QByteArray | convertFromUnicode (const QChar *in, int length, ConverterState *state) const =0 |
QTextCodec subclasses must reimplement this function. More... | |
virtual QString | convertToUnicode (const char *in, int length, ConverterState *state) const =0 |
QTextCodec subclasses must reimplement this function. More... | |
QTextCodec () | |
Constructs a QTextCodec, and gives it the highest precedence. More... | |
virtual | ~QTextCodec () |
Destroys the QTextCodec. More... | |
Static Private Functions | |
static bool | validCodecs () |
Static Private Attributes | |
static QTextCodec * | cftr = 0 |
Friends | |
class | QTextCodecCleanup |
The QTextCodec class provides conversions between text encodings.
Qt uses Unicode to store, draw and manipulate strings. In many situations you may wish to deal with data that uses a different encoding. For example, most Japanese documents are still stored in Shift-JIS or ISO 2022-JP, while Russian users often have their documents in KOI8-R or Windows-1251.
Qt provides a set of QTextCodec classes to help with converting non-Unicode formats to and from Unicode. You can also create your own codec classes.
The supported encodings are:
QTextCodecs can be used as follows to convert some locally encoded string to Unicode. Suppose you have some string encoded in Russian KOI8-R encoding, and want to convert it to Unicode. The simple way to do it is like this:
After this, string
holds the text converted to Unicode. Converting a string from Unicode to the local encoding is just as easy:
To read or write files in various encodings, use QTextStream and its setCodec() function. See the Codecs example for an application of QTextCodec to file I/O.
Some care must be taken when trying to convert the data in chunks, for example, when receiving it over a network. In such cases it is possible that a multi-byte character will be split over two chunks. At best this might result in the loss of a character and at worst cause the entire conversion to fail.
The approach to use in these situations is to create a QTextDecoder object for the codec and use this QTextDecoder for the whole decoding process, as shown below:
The QTextDecoder object maintains state between chunks and therefore works correctly even if a multi-byte character is split between chunks.
Support for new text encodings can be added to Qt by creating QTextCodec subclasses.
The pure virtual functions describe the encoder to the system and the coder is used as required in the different text file formats supported by QTextStream, and under X11, for the locale-specific character input and output.
To add support for another encoding to Qt, make a subclass of QTextCodec and implement the functions listed in the table below.
Function | Description |
name() | Returns the official name for the encoding. If the encoding is listed in the IANA character-sets encoding file, the name should be the preferred MIME name for the encoding. |
aliases() | Returns a list of alternative names for the encoding. QTextCodec provides a default implementation that returns an empty list. For example, "ISO-8859-1" has "latin1", "CP819", "IBM819", and "iso-ir-100" as aliases. |
mibEnum() | Return the MIB enum for the encoding if it is listed in the IANA character-sets encoding file. |
convertToUnicode() | Converts an 8-bit character string to Unicode. |
convertFromUnicode() | Converts a Unicode string to an 8-bit character string. |
You may find it more convenient to make your codec class available as a plugin; see How to Create Qt Plugins for details.
Definition at line 62 of file qtextcodec.h.
Enumerator | |
---|---|
DefaultConversion | |
ConvertInvalidToNull | |
IgnoreHeader | |
FreeFunction |
Definition at line 94 of file qtextcodec.h.
|
protected |
Constructs a QTextCodec, and gives it the highest precedence.
The QTextCodec should always be constructed on the heap (i.e. with new
). Qt takes ownership and will delete it when the application terminates.
Definition at line 985 of file qtextcodec.cpp.
|
protectedvirtual |
Destroys the QTextCodec.
Note that you should not delete codecs yourself: once created they become Qt's responsibility.
Definition at line 1004 of file qtextcodec.cpp.
|
virtual |
Subclasses can return a number of aliases for the codec in question.
Standard aliases for codecs can be found in the IANA character-sets encoding file.
Reimplemented in QUtf32LECodec, QUtf32BECodec, QFontGb18030_0Codec, QUtf32Codec, QFontGbkCodec, QUtf16LECodec, QUtf16BECodec, QFontKsc5601Codec, QFontBig5hkscsCodec, QUtf16Codec, QCP949Codec, QFontBig5Codec, QEucJpCodec, QJisCodec, QSjisCodec, QLatin15Codec, QEucKrCodec, QFontJis0208Codec, QSimpleTextCodec, QGbkCodec, QBig5hkscsCodec, QLatin1Codec, QGb18030Codec, QFontJis0201Codec, and QBig5Codec.
Definition at line 1287 of file qtextcodec.cpp.
Referenced by codecForName().
|
static |
Returns the list of all available codecs, by name.
Call QTextCodec::codecForName() to obtain the QTextCodec for the name.
The list may contain many mentions of the same codec if the codec has aliases.
Definition at line 1132 of file qtextcodec.cpp.
|
static |
Returns the list of MIBs for all available codecs.
Call QTextCodec::codecForMib() to obtain the QTextCodec for the MIB.
Definition at line 1174 of file qtextcodec.cpp.
bool QTextCodec::canEncode | ( | QChar | ch | ) | const |
Returns true if the Unicode character ch can be fully encoded with this codec; otherwise returns false.
Definition at line 1417 of file qtextcodec.cpp.
Referenced by encodeText().
bool QTextCodec::canEncode | ( | const QString & | s | ) | const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.s contains the string being tested for encode-ability.
Definition at line 1430 of file qtextcodec.cpp.
|
inlinestatic |
Returns the codec used by QString to convert to and from const char *
and QByteArrays.
If this function returns 0 (the default), QString assumes Latin-1.
Definition at line 157 of file qtextcodec.h.
Referenced by QChar::fromAscii(), QChar::QChar(), and QChar::toAscii().
|
static |
Tries to detect the encoding of the provided snippet of HTML in the given byte array, ba, by checking the BOM (Byte Order Mark) and the content-type meta header and returns a QTextCodec instance that is capable of decoding the html to unicode.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
If the codec cannot be detected, this overload returns a Latin-1 QTextCodec.
Definition at line 1807 of file qtextcodec.cpp.
Referenced by Qt::codecForHtml(), QDeclarativeXMLHttpRequest::findTextCodec(), QMimeDataPrivate::retrieveTypedData(), and QClipboard::text().
|
static |
Tries to detect the encoding of the provided snippet of HTML in the given byte array, ba, by checking the BOM (Byte Order Mark) and the content-type meta header and returns a QTextCodec instance that is capable of decoding the html to unicode.
If the codec cannot be detected from the content provided, defaultCodec is returned.
Definition at line 1768 of file qtextcodec.cpp.
|
static |
Returns a pointer to the codec most suitable for this locale.
On Windows, the codec will be based on a system locale. On Unix systems, starting with Qt 4.2, the codec will be using the iconv library. Note that in both cases the codec's name will be "System".
Definition at line 1237 of file qtextcodec.cpp.
Referenced by codec(), QTextStreamPrivate::fillReadBuffer(), QTextStreamPrivate::flushWriteBuffer(), QString::fromLocal8Bit(), QTextStream::locale(), QX11Data::motifdndFormat(), QX11Data::motifdndObtainData(), QCUPSSupport::QCUPSSupport(), qstring_to_xtp(), qt_set_input_encoding(), qt_x11_set_fallback_font_family(), QTextStreamPrivate::reset(), QString::toAscii(), QString::toLocal8Bit(), QStringRef::toLocal8Bit(), QXlibKeyboard::translateKeySym(), and QXcbKeyboard::translateKeySym().
|
static |
Returns the QTextCodec which matches the MIBenum mib.
Definition at line 1082 of file qtextcodec.cpp.
Referenced by codecForHtml(), codecForUtfText(), QXmlInputSource::fromRawData(), QXmlStreamReaderPrivate::getChar_helper(), QXmlStreamReaderPrivate::init(), QFontEngineXLFD::QFontEngineXLFD(), QIconvCodec::QIconvCodec(), QXmlStreamWriterPrivate::QXmlStreamWriterPrivate(), QPatternist::AccelTreeResourceLoader::retrieveUnparsedText(), QClipboard::text(), QXlibKeyboard::translateKeySym(), QXcbKeyboard::translateKeySym(), and translateKeySym().
|
static |
Searches all installed QTextCodec objects and returns the one which best matches name; the match is case-insensitive.
Returns 0 if no codec matching the name name could be found.
Definition at line 1034 of file qtextcodec.cpp.
Referenced by codec(), codecForHtml(), QSvgPaintEngine::end(), QDeclarativeXMLHttpRequest::findTextCodec(), QXmlInputSource::fromRawData(), QTextStream::locale(), QWindowsLocalCodec::mibEnum(), QXlibMime::mimeConvertToFormat(), QIBaseDriver::open(), QCUPSSupport::QCUPSSupport(), QApplicationPrivate::qt_mac_apply_settings(), qt_set_input_encoding(), QMimeDataPrivate::retrieveTypedData(), QPatternist::AccelTreeResourceLoader::retrieveUnparsedText(), QDomDocumentPrivate::saveDocument(), QTextDocumentWriter::setCodec(), QTextStream::setCodec(), QXmlStreamWriter::setCodec(), QSettings::setIniCodec(), setupLocaleMapper(), QXmlStreamReaderPrivate::startDocument(), translateKeyEventInternal(), QKeyMapperPrivate::updateKeyMap(), QApplicationPrivate::x11_apply_settings(), and QX11Data::xdndMimeConvertToFormat().
|
inlinestatic |
Searches all installed QTextCodec objects and returns the one which best matches name; the match is case-insensitive.
Returns 0 if no codec matching the name name could be found.
Definition at line 67 of file qtextcodec.h.
Referenced by codecForName().
|
inlinestatic |
Returns the codec used by QObject::tr() on its argument.
If this function returns 0 (the default), tr() assumes Latin-1.
Definition at line 155 of file qtextcodec.h.
Referenced by QCoreApplication::translate().
|
static |
Tries to detect the encoding of the provided snippet ba by using the BOM (Byte Order Mark) and returns a QTextCodec instance that is capable of decoding the text to unicode.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
If the codec cannot be detected, this overload returns a Latin-1 QTextCodec.
Definition at line 1873 of file qtextcodec.cpp.
Referenced by codecForHtml(), QTextStreamPrivate::fillReadBuffer(), QDeclarativeXMLHttpRequest::findTextCodec(), and QClipboard::text().
|
static |
Tries to detect the encoding of the provided snippet ba by using the BOM (Byte Order Mark) and returns a QTextCodec instance that is capable of decoding the text to unicode.
If the codec cannot be detected from the content provided, defaultCodec is returned.
Definition at line 1826 of file qtextcodec.cpp.
|
protectedpure virtual |
QTextCodec subclasses must reimplement this function.
Converts the first number of characters from the input array from Unicode to the encoding of the subclass, and returns the result in a QByteArray.
state can be 0 in which case the conversion is stateless and default conversion rules should be used. If state is not 0, the codec should save the state after the conversion in state, and adjust the remainingChars and invalidChars members of the struct.
Implemented in QWindowsLocalCodec, QFontGb18030_0Codec, QUtf32Codec, QFontGbkCodec, QFontKsc5601Codec, QFontGb2312Codec, QFontBig5hkscsCodec, QUtf16Codec, QCP949Codec, QTsciiCodec, QFontBig5Codec, QGb2312Codec, QUtf8Codec, QEucJpCodec, QJisCodec, QSjisCodec, QEucKrCodec, QFontJis0208Codec, QLatin15Codec, QGbkCodec, QBig5hkscsCodec, QIconvCodec, QSimpleTextCodec, QFontLaoCodec, QIsciiCodec, QLatin1Codec, QGb18030Codec, QBig5Codec, and QFontJis0201Codec.
|
protectedpure virtual |
QTextCodec subclasses must reimplement this function.
Converts the first len characters of chars from the encoding of the subclass to Unicode, and returns the result in a QString.
state can be 0, in which case the conversion is stateless and default conversion rules should be used. If state is not 0, the codec should save the state after the conversion in state, and adjust the remainingChars and invalidChars members of the struct.
Implemented in QWindowsLocalCodec, QFontGb18030_0Codec, QUtf32Codec, QFontGbkCodec, QFontKsc5601Codec, QFontGb2312Codec, QFontBig5hkscsCodec, QUtf16Codec, QCP949Codec, QTsciiCodec, QFontBig5Codec, QGb2312Codec, QUtf8Codec, QEucJpCodec, QJisCodec, QSjisCodec, QEucKrCodec, QFontJis0208Codec, QLatin15Codec, QGbkCodec, QBig5hkscsCodec, QIconvCodec, QSimpleTextCodec, QFontLaoCodec, QIsciiCodec, QLatin1Codec, QFontJis0201Codec, QGb18030Codec, and QBig5Codec.
QByteArray QTextCodec::fromUnicode | ( | const QString & | uc | ) | const |
Converts str from Unicode to the encoding of this codec, and returns the result in a QByteArray.
Definition at line 1388 of file qtextcodec.cpp.
Referenced by canEncode(), QAbstractConcatenable::convertToAscii(), encodeString(), QTextStreamPrivate::flushWriteBuffer(), fromUnicode(), QTextEncoder::fromUnicode(), QSettingsPrivate::iniEscapedString(), qstring_to_xtp(), QFontEngineXLFD::stringToCMap(), QChar::toAscii(), QString::toAscii(), QStringRef::toAscii(), QString::toLocal8Bit(), and QStringRef::toLocal8Bit().
|
inline |
Converts the first number of characters from the input array from Unicode to the encoding of this codec, and returns the result in a QByteArray.
The state of the convertor used is updated.
Definition at line 117 of file qtextcodec.h.
QTextDecoder * QTextCodec::makeDecoder | ( | ) | const |
Creates a QTextDecoder which stores enough state to decode chunks of char *
data to create chunks of Unicode data.
The caller is responsible for deleting the returned object.
Definition at line 1330 of file qtextcodec.cpp.
Referenced by QXmlInputSource::fromRawData(), QXmlStreamReaderPrivate::getChar_helper(), and QXmlStreamReaderPrivate::startDocument().
QTextDecoder* QTextCodec::makeDecoder | ( | ConversionFlags | flags | ) | const |
QTextEncoder * QTextCodec::makeEncoder | ( | ) | const |
Creates a QTextEncoder which stores enough state to encode chunks of Unicode data as char *
data.
The caller is responsible for deleting the returned object.
Definition at line 1355 of file qtextcodec.cpp.
Referenced by QXmlStreamWriterPrivate::QXmlStreamWriterPrivate(), and QXmlStreamWriter::setCodec().
QTextEncoder* QTextCodec::makeEncoder | ( | ConversionFlags | flags | ) | const |
|
pure virtual |
Subclasses of QTextCodec must reimplement this function.
It returns the MIBenum (see IANA character-sets encoding file for more information). It is important that each QTextCodec subclass returns the correct unique value for this function.
Implemented in QWindowsLocalCodec, QUtf32LECodec, QUtf32BECodec, QFontGb18030_0Codec, QUtf32Codec, QFontGbkCodec, QUtf16LECodec, QUtf16BECodec, QFontKsc5601Codec, QFontGb2312Codec, QFontBig5hkscsCodec, QUtf16Codec, QCP949Codec, QTsciiCodec, QFontBig5Codec, QGb2312Codec, QUtf8Codec, QEucJpCodec, QJisCodec, QSjisCodec, QLatin15Codec, QEucKrCodec, QFontJis0208Codec, QIconvCodec, QSimpleTextCodec, QGbkCodec, QBig5hkscsCodec, QLatin1Codec, QFontLaoCodec, QIsciiCodec, QGb18030Codec, QFontJis0201Codec, and QBig5Codec.
Referenced by codecForMib(), QFontEngineXLFD::faceId(), QXmlInputSource::fromRawData(), qt_set_input_encoding(), qt_x11_set_fallback_font_family(), QTextDecoder::toUnicode(), QXlibKeyboard::translateKeySym(), QXcbKeyboard::translateKeySym(), and translateKeySym().
|
pure virtual |
QTextCodec subclasses must reimplement this function.
It returns the name of the encoding supported by the subclass.
If the codec is registered as a character set in the IANA character-sets encoding file this method should return the preferred mime name for the codec if defined, otherwise its name.
Implemented in QWindowsLocalCodec, QUtf32LECodec, QUtf32BECodec, QFontGb18030_0Codec, QUtf32Codec, QFontGbkCodec, QUtf16LECodec, QUtf16BECodec, QFontKsc5601Codec, QFontGb2312Codec, QFontBig5hkscsCodec, QUtf16Codec, QCP949Codec, QTsciiCodec, QGb2312Codec, QFontBig5Codec, QUtf8Codec, QEucJpCodec, QJisCodec, QSjisCodec, QLatin15Codec, QEucKrCodec, QIconvCodec, QFontJis0208Codec, QSimpleTextCodec, QGbkCodec, QBig5hkscsCodec, QLatin1Codec, QFontLaoCodec, QIsciiCodec, QGb18030Codec, QFontJis0201Codec, and QBig5Codec.
Referenced by codecForName(), QTextStreamPrivate::fillReadBuffer(), QTextStreamPrivate::flushWriteBuffer(), QX11Data::motifdndFormat(), qToField(), QDomDocumentPrivate::saveDocument(), and QTextDocumentWriter::write().
|
inlinestatic |
Sets the codec used by QString to convert to and from const char *
and QByteArrays. If the codec is 0 (the default), QString assumes Latin-1.
Definition at line 158 of file qtextcodec.h.
|
static |
Set the codec to c; this will be returned by codecForLocale().
If c is a null pointer, the codec is reset to the default.
This might be needed for some applications that want to use their own mechanism for setting the locale.
Definition at line 1218 of file qtextcodec.cpp.
|
inlinestatic |
Sets the codec used by QObject::tr() on its argument to c. If c is 0 (the default), tr() assumes Latin-1.
If the literal quoted text in the program is not in the Latin-1 encoding, this function can be used to set the appropriate encoding. For example, software developed by Korean programmers might use eucKR for all the text in the program, in which case the main() function might look like this:
Note that this is not the way to select the encoding that the user has chosen. For example, to convert an application containing literal English strings to Korean, all that is needed is for the English strings to be passed through tr() and for translation files to be loaded. For details of internationalization, see Internationalization with Qt.
Definition at line 156 of file qtextcodec.h.
Referenced by QApplicationPrivate::qt_mac_apply_settings(), and QApplicationPrivate::x11_apply_settings().
QString QTextCodec::toUnicode | ( | const QByteArray & | a | ) | const |
Converts a from the encoding of this codec to Unicode, and returns the result in a QString.
Definition at line 1408 of file qtextcodec.cpp.
Referenced by canEncode(), QIconvCodec::convertToUnicode(), QTextStreamPrivate::fillReadBuffer(), QChar::fromAscii(), QString::fromAscii_helper(), QString::fromLocal8Bit(), getIBaseError(), QIBaseResult::gotoNext(), QSettingsPrivate::iniUnescapedStringList(), QXlibMime::mimeConvertToFormat(), QChar::QChar(), readArrayBuffer(), QDeclarativeXMLHttpRequest::responseBody(), QMimeDataPrivate::retrieveTypedData(), QPatternist::AccelTreeResourceLoader::retrieveUnparsedText(), QTextBrowserPrivate::setSource(), QClipboard::text(), toUnicode(), QFontEngineXLFD::toUnicode(), QTextDecoder::toUnicode(), QCoreApplication::translate(), translateKeyEventInternal(), QXlibKeyboard::translateKeySym(), QXcbKeyboard::translateKeySym(), translateKeySym(), QCUPSSupport::unicodeString(), QKeyMapperPrivate::updateKeyMap(), QString::vsprintf(), QXIMInputContext::x11FilterEvent(), and QX11Data::xdndMimeConvertToFormat().
QString QTextCodec::toUnicode | ( | const char * | chars | ) | const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.chars contains the source characters.
Definition at line 1485 of file qtextcodec.cpp.
|
inline |
Converts the first size characters from the input from the encoding of this codec to Unicode, and returns the result in a QString.
The state of the convertor used is updated.
Definition at line 115 of file qtextcodec.h.
|
staticprivate |
Definition at line 233 of file qtextcodec.cpp.
|
friend |
Definition at line 149 of file qtextcodec.h.
|
staticprivate |
Definition at line 150 of file qtextcodec.h.