diff options
Diffstat (limited to 'doc/html/tqstring.html')
-rw-r--r-- | doc/html/tqstring.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/tqstring.html b/doc/html/tqstring.html index 865dbdae0..353f72161 100644 --- a/doc/html/tqstring.html +++ b/doc/html/tqstring.html @@ -376,7 +376,7 @@ it will result in more readable code. </h3> Constructs a string that is a <a href="shclass.html#deep-copy">deep copy</a> of <em>str</em>, interpreted as a classic C string. The encoding is assumed to be Latin-1, unless -you change it using <a href="ntqtextcodec.html#setCodecForCStrings">TQTextCodec::setCodecForCStrings</a>(). +you change it using <a href="tqtextcodec.html#setCodecForCStrings">TQTextCodec::setCodecForCStrings</a>(). <p> If <em>str</em> is 0, then a null string is created. <p> This is a cast constructor, but it is perfectly safe: converting a Latin-1 <tt>const char *</tt> to TQString preserves all the information. You @@ -623,7 +623,7 @@ except that the strings are replaced in one pass. <h3 class=fn>const char * <a name="ascii"></a>TQString::ascii () const </h3> Returns an 8-bit ASCII representation of the string. -<p> If a codec has been set using <a href="ntqtextcodec.html#codecForCStrings">TQTextCodec::codecForCStrings</a>(), +<p> If a codec has been set using <a href="tqtextcodec.html#codecForCStrings">TQTextCodec::codecForCStrings</a>(), it is used to convert Unicode to 8-bit char. Otherwise, this function does the same as <a href="#latin1">latin1</a>(). <p> <p>See also <a href="#fromAscii">fromAscii</a>(), <a href="#latin1">latin1</a>(), <a href="#utf8">utf8</a>(), and <a href="#local8Bit">local8Bit</a>(). @@ -923,7 +923,7 @@ Returns the Unicode string decoded from the first <em>len</em> bytes of <em>ascii</em>, ignoring the rest of <em>ascii</em>. If <em>len</em> is -1 then the length of <em>ascii</em> is used. If <em>len</em> is bigger than the length of <em>ascii</em> then it will use the length of <em>ascii</em>. -<p> If a codec has been set using <a href="ntqtextcodec.html#codecForCStrings">TQTextCodec::codecForCStrings</a>(), +<p> If a codec has been set using <a href="tqtextcodec.html#codecForCStrings">TQTextCodec::codecForCStrings</a>(), it is used to convert the string from 8-bit characters to Unicode. Otherwise, this function does the same as <a href="#fromLatin1">fromLatin1</a>(). <p> This is the same as the TQString(const char*) constructor, but you @@ -958,7 +958,7 @@ of <em>local8Bit</em>. </pre> <p> <em>local8Bit</em> is assumed to be encoded in a locale-specific format. -<p> See <a href="ntqtextcodec.html">TQTextCodec</a> for more diverse coding/decoding of Unicode strings. +<p> See <a href="tqtextcodec.html">TQTextCodec</a> for more diverse coding/decoding of Unicode strings. <h3 class=fn><a href="tqstring.html">TQString</a> <a name="fromUcs2"></a>TQString::fromUcs2 ( const unsigned short * str )<tt> [static]</tt> </h3> @@ -978,7 +978,7 @@ the length of <em>utf8</em> then it will use the length of <em>utf8</em>. // str == "12345" </pre> -<p> See <a href="ntqtextcodec.html">TQTextCodec</a> for more diverse coding/decoding of Unicode strings. +<p> See <a href="tqtextcodec.html">TQTextCodec</a> for more diverse coding/decoding of Unicode strings. <p>Example: <a href="simple-font-demo-example.html#x2850">fonts/simple-qfont-demo/viewer.cpp</a>. <h3 class=fn><a href="tqstring.html">TQString</a> & <a name="insert"></a>TQString::insert ( uint index, const <a href="tqstring.html">TQString</a> & s ) @@ -1066,7 +1066,7 @@ null string is always empty. Returns a Latin-1 representation of the string. The returned value is undefined if the string contains non-Latin-1 characters. If you want to convert strings into formats other than -Unicode, see the <a href="ntqtextcodec.html">TQTextCodec</a> classes. +Unicode, see the <a href="tqtextcodec.html">TQTextCodec</a> classes. <p> This function is mainly useful for boot-strapping legacy code to use Unicode. <p> The result remains valid so long as one unmodified copy of the @@ -1115,10 +1115,10 @@ padded by the <em>fill</em> character. <h3 class=fn><a href="ntqcstring.html">TQCString</a> <a name="local8Bit"></a>TQString::local8Bit () const </h3> Returns the string encoded in a locale-specific format. On X11, -this is the <a href="ntqtextcodec.html#codecForLocale">TQTextCodec::codecForLocale</a>(). On Windows, it is a +this is the <a href="tqtextcodec.html#codecForLocale">TQTextCodec::codecForLocale</a>(). On Windows, it is a system-defined encoding. On Mac OS X, this always uses UTF-8 as the encoding. -<p> See <a href="ntqtextcodec.html">TQTextCodec</a> for more diverse coding/decoding of Unicode +<p> See <a href="tqtextcodec.html">TQTextCodec</a> for more diverse coding/decoding of Unicode strings. <p> <p>See also <a href="#fromLocal8Bit">fromLocal8Bit</a>(), <a href="#ascii">ascii</a>(), <a href="#latin1">latin1</a>(), and <a href="#utf8">utf8</a>(). @@ -1131,7 +1131,7 @@ greater than <em>s2</em>. <p> The comparison is performed in a locale- and also platform-dependent manner. Use this function to present sorted lists of strings to the user. -<p> <p>See also <a href="#compare">TQString::compare</a>() and <a href="ntqtextcodec.html#locale">TQTextCodec::locale</a>(). +<p> <p>See also <a href="#compare">TQString::compare</a>() and <a href="tqtextcodec.html#locale">TQTextCodec::locale</a>(). <h3 class=fn>int <a name="localeAwareCompare-2"></a>TQString::localeAwareCompare ( const <a href="tqstring.html">TQString</a> & s ) const </h3> @@ -1898,7 +1898,7 @@ the escape sequences of printf() in the standard C library. <p> The %s escape sequence expects a <a href="#utf8">utf8</a>() encoded string. The format string <em>cformat</em> is expected to be in latin1. If you need a Unicode format string, use <a href="#arg">arg</a>() instead. For typesafe string -building, with full Unicode support, you can use <a href="qtextostream.html">TQTextOStream</a> like +building, with full Unicode support, you can use <a href="tqtextostream.html">TQTextOStream</a> like this: <p> <pre> TQString str; @@ -2227,7 +2227,7 @@ Returns an uppercase copy of the string. <h3 class=fn><a href="ntqcstring.html">TQCString</a> <a name="utf8"></a>TQString::utf8 () const </h3> Returns the string encoded in UTF-8 format. -<p> See <a href="ntqtextcodec.html">TQTextCodec</a> for more diverse coding/decoding of Unicode strings. +<p> See <a href="tqtextcodec.html">TQTextCodec</a> for more diverse coding/decoding of Unicode strings. <p> <p>See also <a href="#fromUtf8">fromUtf8</a>(), <a href="#ascii">ascii</a>(), <a href="#latin1">latin1</a>(), and <a href="#local8Bit">local8Bit</a>(). <p>Example: <a href="archivesearch-example.html#x483">network/archivesearch/archivedialog.ui.h</a>. |