diff options
Diffstat (limited to 'doc/html/ntqlocale.html')
-rw-r--r-- | doc/html/ntqlocale.html | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/doc/html/ntqlocale.html b/doc/html/ntqlocale.html index 9dafb6398..7906c11e1 100644 --- a/doc/html/ntqlocale.html +++ b/doc/html/ntqlocale.html @@ -87,11 +87,11 @@ string representations in various languages. <p> It is initialized with a country/language pair in its constructor and offers number-to-string and string-to-number conversion -functions simmilar to those in <a href="ntqstring.html">TQString</a>. +functions simmilar to those in <a href="tqstring.html">TQString</a>. <p> <pre> TQLocale egyptian(TQLocale::<a href="#Language-enum">Arabic</a>, TQLocale::<a href="#Country-enum">Egypt</a>); - <a href="ntqstring.html">TQString</a> s1 = egyptian.<a href="#toString">toString</a>(1.571429E+07, 'e'); - <a href="ntqstring.html">TQString</a> s2 = egyptian.<a href="#toString">toString</a>(10); + <a href="tqstring.html">TQString</a> s1 = egyptian.<a href="#toString">toString</a>(1.571429E+07, 'e'); + <a href="tqstring.html">TQString</a> s2 = egyptian.<a href="#toString">toString</a>(10); double d = egyptian.<a href="#toDouble">toDouble</a>(s1); int s2 = egyptian.<a href="#toInt">toInt</a>(s2); @@ -105,16 +105,16 @@ following effects: <p> <ul> <li> If a TQLocale object is constructed with the default constructor, it will use the default locale's settings. -<li> <a href="ntqstring.html#toDouble">TQString::toDouble</a>() interprets the string according to the default +<li> <a href="tqstring.html#toDouble">TQString::toDouble</a>() interprets the string according to the default locale. If this fails, it falls back on the "C" locale. -<li> <a href="ntqstring.html#arg">TQString::arg</a>() uses the default locale to format a number when +<li> <a href="tqstring.html#arg">TQString::arg</a>() uses the default locale to format a number when its position specifier in the format string contains an 'L', e.g. "%L1". </ul> <p> <pre> TQLocale::<a href="#setDefault">setDefault</a>(<a href="#TQLocale">TQLocale</a>(TQLocale::<a href="#Language-enum">Hebrew</a>, TQLocale::<a href="#Country-enum">Israel</a>)); TQLocale hebrew; // Constructs a default TQLocale - <a href="ntqstring.html">TQString</a> s1 = hebrew.<a href="#toString">toString</a>(15714.3, 'e'); + <a href="tqstring.html">TQString</a> s1 = hebrew.<a href="#toString">toString</a>(15714.3, 'e'); bool ok; double d; @@ -159,7 +159,7 @@ specifying the locale name. pair; it does not use the system locale database. <p> All the methods in TQLocale, with the exception of setDefault(), are reentrant. -<p> <p>See also <a href="ntqstring.html#toDouble">TQString::toDouble</a>(), <a href="ntqstring.html#arg">TQString::arg</a>(), and <a href="text.html">Text Related Classes</a>. +<p> <p>See also <a href="tqstring.html#toDouble">TQString::toDouble</a>(), <a href="tqstring.html#arg">TQString::arg</a>(), and <a href="text.html">Text Related Classes</a>. <p> The double-to-string and string-to-double conversion functions are covered by the following licenses: @@ -575,7 +575,7 @@ California, Berkeley and its contributors. Constructs a TQLocale object initialized with the default locale. <p> <p>See also <a href="#setDefault">setDefault</a>(). -<h3 class=fn><a name="TQLocale-2"></a>TQLocale::TQLocale ( const <a href="ntqstring.html">TQString</a> & name ) +<h3 class=fn><a name="TQLocale-2"></a>TQLocale::TQLocale ( const <a href="tqstring.html">TQString</a> & name ) </h3> Constructs a TQLocale object with the specified <em>name</em>, which has the format @@ -626,20 +626,20 @@ Constructs a TQLocale object as a copy of <em>other</em>. Returns the country of this locale. <p> <p>See also <a href="#TQLocale">TQLocale</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="countryToString"></a>TQLocale::countryToString ( <a href="ntqlocale.html#Country-enum">Country</a> country )<tt> [static]</tt> +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="countryToString"></a>TQLocale::countryToString ( <a href="ntqlocale.html#Country-enum">Country</a> country )<tt> [static]</tt> </h3> -Returns a <a href="ntqstring.html">TQString</a> containing the name of <em>country</em>. +Returns a <a href="tqstring.html">TQString</a> containing the name of <em>country</em>. <h3 class=fn><a href="ntqlocale.html#Language-enum">Language</a> <a name="language"></a>TQLocale::language () const </h3> Returns the language of this locale. <p> <p>See also <a href="#TQLocale">TQLocale</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="languageToString"></a>TQLocale::languageToString ( <a href="ntqlocale.html#Language-enum">Language</a> language )<tt> [static]</tt> +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="languageToString"></a>TQLocale::languageToString ( <a href="ntqlocale.html#Language-enum">Language</a> language )<tt> [static]</tt> </h3> -Returns a <a href="ntqstring.html">TQString</a> containing the name of <em>language</em>. +Returns a <a href="tqstring.html">TQString</a> containing the name of <em>language</em>. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="name"></a>TQLocale::name () const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="name"></a>TQLocale::name () const </h3> Returns the language and country of this locale as a string of the form "language_country", where @@ -669,13 +669,13 @@ are created. </h3> Returns a TQLocale object initialized to the system locale. -<h3 class=fn>double <a name="toDouble"></a>TQLocale::toDouble ( const <a href="ntqstring.html">TQString</a> & s, bool * ok = 0 ) const +<h3 class=fn>double <a name="toDouble"></a>TQLocale::toDouble ( const <a href="tqstring.html">TQString</a> & s, bool * ok = 0 ) const </h3> Returns the double represented by the localized string <em>s</em>, or 0.0 if the conversion failed. <p> If <em>ok</em> is not 0, reports failure by setting *ok to false and success by setting *ok to true. -<p> Unlike <a href="ntqstring.html#toDouble">TQString::toDouble</a>(), this function does not fall back to +<p> Unlike <a href="tqstring.html#toDouble">TQString::toDouble</a>(), this function does not fall back to the "C" locale if the string cannot be interpreted in this locale. <p> <pre> @@ -698,9 +698,9 @@ locale. <p> Notice that the last conversion returns 1234.0, because '.' is the thousands group separator in the German locale. <p> This function ignores leading and trailing whitespace. -<p> <p>See also <a href="#toString">toString</a>() and <a href="ntqstring.html#toDouble">TQString::toDouble</a>(). +<p> <p>See also <a href="#toString">toString</a>() and <a href="tqstring.html#toDouble">TQString::toDouble</a>(). -<h3 class=fn>float <a name="toFloat"></a>TQLocale::toFloat ( const <a href="ntqstring.html">TQString</a> & s, bool * ok = 0 ) const +<h3 class=fn>float <a name="toFloat"></a>TQLocale::toFloat ( const <a href="tqstring.html">TQString</a> & s, bool * ok = 0 ) const </h3> Returns the float represented by the localized string <em>s</em>, or 0.0 if the conversion failed. @@ -709,7 +709,7 @@ if the conversion failed. <p> This function ignores leading and trailing whitespace. <p> <p>See also <a href="#toString">toString</a>(). -<h3 class=fn>int <a name="toInt"></a>TQLocale::toInt ( const <a href="ntqstring.html">TQString</a> & s, bool * ok = 0 ) const +<h3 class=fn>int <a name="toInt"></a>TQLocale::toInt ( const <a href="tqstring.html">TQString</a> & s, bool * ok = 0 ) const </h3> Returns the int represented by the localized string <em>s</em>, or 0 if the conversion failed. @@ -718,7 +718,7 @@ success by setting *ok to true. <p> This function ignores leading and trailing whitespace. <p> <p>See also <a href="#toString">toString</a>(). -<h3 class=fn>TQ_LONG <a name="toLong"></a>TQLocale::toLong ( const <a href="ntqstring.html">TQString</a> & s, bool * ok = 0 ) const +<h3 class=fn>TQ_LONG <a name="toLong"></a>TQLocale::toLong ( const <a href="tqstring.html">TQString</a> & s, bool * ok = 0 ) const </h3> Returns the long int represented by the localized string <em>s</em>, or 0 if the conversion failed. @@ -727,7 +727,7 @@ Returns the long int represented by the localized string <em>s</em>, or <p> This function ignores leading and trailing whitespace. <p> <p>See also <a href="#toString">toString</a>(). -<h3 class=fn>TQ_LLONG <a name="toLongLong"></a>TQLocale::toLongLong ( const <a href="ntqstring.html">TQString</a> & s, bool * ok = 0 ) const +<h3 class=fn>TQ_LLONG <a name="toLongLong"></a>TQLocale::toLongLong ( const <a href="tqstring.html">TQString</a> & s, bool * ok = 0 ) const </h3> Returns the long long int represented by the localized string <em>s</em>, or 0 if the conversion failed. <p> If <em>ok</em> is not 0, reports failure by setting @@ -735,7 +735,7 @@ Returns the long long int represented by the localized string <em>s</em>, or 0 i <p> This function ignores leading and trailing whitespace. <p> <p>See also <a href="#toString">toString</a>(). -<h3 class=fn>short <a name="toShort"></a>TQLocale::toShort ( const <a href="ntqstring.html">TQString</a> & s, bool * ok = 0 ) const +<h3 class=fn>short <a name="toShort"></a>TQLocale::toShort ( const <a href="tqstring.html">TQString</a> & s, bool * ok = 0 ) const </h3> Returns the short int represented by the localized string <em>s</em>, or 0 if the conversion failed. @@ -744,66 +744,66 @@ Returns the short int represented by the localized string <em>s</em>, or <p> This function ignores leading and trailing whitespace. <p> <p>See also <a href="#toString">toString</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString"></a>TQLocale::toString ( TQ_LLONG i ) const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="toString"></a>TQLocale::toString ( TQ_LLONG i ) const </h3> Returns a localized string representation of <em>i</em>. <p> <p>See also <a href="#toLongLong">toLongLong</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString-2"></a>TQLocale::toString ( short i ) const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="toString-2"></a>TQLocale::toString ( short i ) const </h3> <p> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> <p>See also <a href="#toShort">toShort</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString-3"></a>TQLocale::toString ( ushort i ) const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="toString-3"></a>TQLocale::toString ( ushort i ) const </h3> <p> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> <p>See also <a href="#toUShort">toUShort</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString-4"></a>TQLocale::toString ( int i ) const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="toString-4"></a>TQLocale::toString ( int i ) const </h3> <p> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> <p>See also <a href="#toInt">toInt</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString-5"></a>TQLocale::toString ( uint i ) const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="toString-5"></a>TQLocale::toString ( uint i ) const </h3> <p> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> <p>See also <a href="#toUInt">toUInt</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString-6"></a>TQLocale::toString ( TQ_LONG i ) const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="toString-6"></a>TQLocale::toString ( TQ_LONG i ) const </h3> <p> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> <p>See also <a href="#toLong">toLong</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString-7"></a>TQLocale::toString ( TQ_ULONG i ) const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="toString-7"></a>TQLocale::toString ( TQ_ULONG i ) const </h3> <p> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> <p>See also <a href="#toULong">toULong</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString-8"></a>TQLocale::toString ( TQ_ULLONG i ) const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="toString-8"></a>TQLocale::toString ( TQ_ULLONG i ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> <p>See also <a href="#toULongLong">toULongLong</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString-9"></a>TQLocale::toString ( float i, char f = 'g', int prec = 6 ) const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="toString-9"></a>TQLocale::toString ( float i, char f = 'g', int prec = 6 ) const </h3> <p> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -<p> <em>f</em> and <em>prec</em> have the same meaning as in <a href="ntqstring.html#number">TQString::number</a>(double, char, int). +<p> <em>f</em> and <em>prec</em> have the same meaning as in <a href="tqstring.html#number">TQString::number</a>(double, char, int). <p> <p>See also <a href="#toDouble">toDouble</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString-a"></a>TQLocale::toString ( double i, char f = 'g', int prec = 6 ) const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="toString-a"></a>TQLocale::toString ( double i, char f = 'g', int prec = 6 ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -<p> <em>f</em> and <em>prec</em> have the same meaning as in <a href="ntqstring.html#number">TQString::number</a>(double, char, int). +<p> <em>f</em> and <em>prec</em> have the same meaning as in <a href="tqstring.html#number">TQString::number</a>(double, char, int). <p> <p>See also <a href="#toDouble">toDouble</a>(). -<h3 class=fn>uint <a name="toUInt"></a>TQLocale::toUInt ( const <a href="ntqstring.html">TQString</a> & s, bool * ok = 0 ) const +<h3 class=fn>uint <a name="toUInt"></a>TQLocale::toUInt ( const <a href="tqstring.html">TQString</a> & s, bool * ok = 0 ) const </h3> Returns the unsigned int represented by the localized string <em>s</em>, or 0 if the conversion failed. @@ -812,7 +812,7 @@ or 0 if the conversion failed. <p> This function ignores leading and trailing whitespace. <p> <p>See also <a href="#toString">toString</a>(). -<h3 class=fn>TQ_ULONG <a name="toULong"></a>TQLocale::toULong ( const <a href="ntqstring.html">TQString</a> & s, bool * ok = 0 ) const +<h3 class=fn>TQ_ULONG <a name="toULong"></a>TQLocale::toULong ( const <a href="tqstring.html">TQString</a> & s, bool * ok = 0 ) const </h3> Returns the unsigned long int represented by the localized string <em>s</em>, or 0 if the conversion failed. @@ -821,7 +821,7 @@ Returns the unsigned long int represented by the localized string <p> This function ignores leading and trailing whitespace. <p> <p>See also <a href="#toString">toString</a>(). -<h3 class=fn>TQ_ULLONG <a name="toULongLong"></a>TQLocale::toULongLong ( const <a href="ntqstring.html">TQString</a> & s, bool * ok = 0 ) const +<h3 class=fn>TQ_ULLONG <a name="toULongLong"></a>TQLocale::toULongLong ( const <a href="tqstring.html">TQString</a> & s, bool * ok = 0 ) const </h3> Returns the unsigned long long int represented by the localized string <em>s</em>, or 0 if the conversion failed. @@ -830,7 +830,7 @@ string <em>s</em>, or 0 if the conversion failed. <p> This function ignores leading and trailing whitespace. <p> <p>See also <a href="#toString">toString</a>(). -<h3 class=fn>ushort <a name="toUShort"></a>TQLocale::toUShort ( const <a href="ntqstring.html">TQString</a> & s, bool * ok = 0 ) const +<h3 class=fn>ushort <a name="toUShort"></a>TQLocale::toUShort ( const <a href="tqstring.html">TQString</a> & s, bool * ok = 0 ) const </h3> Returns the unsigned short int represented by the localized string <em>s</em>, or 0 if the conversion failed. |