Public Member Functions | |
QUtf16Encoder () | |
QCString | fromUnicode (const QString &uc, int &len_in_out) |
Public Member Functions inherited from QTextEncoder | |
virtual | ~QTextEncoder () |
Private Attributes | |
bool | headerdone |
Definition at line 194 of file qutfcodec.cpp.
|
inline |
Definition at line 197 of file qutfcodec.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 201 of file qutfcodec.cpp.
|
private |
Definition at line 195 of file qutfcodec.cpp.