Public Member Functions | |
QTextStatelessEncoder (const QTextCodec *) | |
QCString | fromUnicode (const QString &uc, int &lenInOut) |
Public Member Functions inherited from QTextEncoder | |
virtual | ~QTextEncoder () |
Private Attributes | |
const QTextCodec * | codec |
Definition at line 117 of file qtextcodec.cpp.
QTextStatelessEncoder::QTextStatelessEncoder | ( | const QTextCodec * | c | ) |
Definition at line 132 of file qtextcodec.cpp.
Converts lenInOut characters (not bytes) from uc, producing a QCString. lenInOut will also be set to the length of the result (in bytes).
The encoder is free to record state to use when subsequent calls are made to this function (for example, it might change modes with escape sequences if needed during the encoding of one string, then assume that mode applies when a subsequent call begins).
Implements QTextEncoder.
Definition at line 138 of file qtextcodec.cpp.
|
private |
Definition at line 118 of file qtextcodec.cpp.