diff options
Diffstat (limited to 'doc/i18n.doc')
-rw-r--r-- | doc/i18n.doc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/i18n.doc b/doc/i18n.doc index cae240fa2..b4cad503a 100644 --- a/doc/i18n.doc +++ b/doc/i18n.doc @@ -168,7 +168,7 @@ parameter, there is no char* to TQString conversion overhead. Strings that are in "programmer space" (such as TQObject names and file format texts) need not use TQString; the traditional -char* or the QCString class will suffice. +char* or the TQCString class will suffice. You're unlikely to notice that you are using Unicode; TQString, and TQChar are just like easier versions of the crude @@ -435,7 +435,7 @@ would be: TQString string = ...; // some Unicode text TQTextCodec* codec = TQTextCodec::codecForName( "ISO 8859-5" ); - QCString encoded_string = codec->fromUnicode( string ); + TQCString encoded_string = codec->fromUnicode( string ); ...; // use encoded_string in 8-bit operations \endcode @@ -453,7 +453,7 @@ demonstrated by this conversion from ISO 8859-5 Cyrillic to Unicode conversion: \code - QCString encoded_string = ...; // Some ISO 8859-5 encoded text. + TQCString encoded_string = ...; // Some ISO 8859-5 encoded text. TQTextCodec* codec = TQTextCodec::codecForName("ISO 8859-5"); TQString string = codec->toUnicode(encoded_string); |