summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqstring.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqstring.3qt')
-rw-r--r--doc/man/man3/tqstring.3qt30
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/man/man3/tqstring.3qt b/doc/man/man3/tqstring.3qt
index 9a9fb8852..670cb7164 100644
--- a/doc/man/man3/tqstring.3qt
+++ b/doc/man/man3/tqstring.3qt
@@ -400,10 +400,10 @@ All the functions in this class are reentrant when TQt is built with thread supp
.BI "TQChar \fBoperator[]\fR ( int i ) const"
.br
.ti -1c
-.BI "QCharRef \fBat\fR ( uint i )"
+.BI "TQCharRef \fBat\fR ( uint i )"
.br
.ti -1c
-.BI "QCharRef \fBoperator[]\fR ( int i )"
+.BI "TQCharRef \fBoperator[]\fR ( int i )"
.br
.ti -1c
.BI "TQChar \fBconstref\fR ( uint i ) const"
@@ -655,7 +655,7 @@ The 'copying' of input to output is almost as fast as copying a pointer because
.PP
If you wish to create a deep copy of a TQString without losing any Unicode information then you should use TQDeepCopy.
.PP
-See also TQChar, TQCString, TQByteArray, QConstString, Implicitly and Explicitly Shared Classes, Text Related Classes, and Non-GUI Classes.
+See also TQChar, TQCString, TQByteArray, TQConstString, Implicitly and Explicitly Shared Classes, Text Related Classes, and Non-GUI Classes.
.SS "Member Type Documentation"
.SH "TQString::SectionFlags"
.TP
@@ -780,7 +780,7 @@ The \fIfieldWidth\fR value specifies the minimum amount of space that \fIa\fR is
.PP
\fIa\fR is expressed in base \fIbase\fR, which is 10 by default and must be between 2 and 36.
.PP
-The '%' can be followed by an 'L', in which case the sequence is replaced with a localized representation of \fIa\fR. The conversion uses the default locale. The default locale is determined from the system's locale settings at application startup. It can be changed using QLocale::setDefault(). The 'L' flag is ignored if \fIbase\fR is not 10.
+The '%' can be followed by an 'L', in which case the sequence is replaced with a localized representation of \fIa\fR. The conversion uses the default locale. The default locale is determined from the system's locale settings at application startup. It can be changed using TQLocale::setDefault(). The 'L' flag is ignored if \fIbase\fR is not 10.
.PP
.nf
.br
@@ -793,7 +793,7 @@ The '%' can be followed by an 'L', in which case the sequence is replaced with a
// str == "Decimal 63 is 3f in hexadecimal"
.br
.br
- QLocale::setDefault(QLocale::English, QLocale::UnitedStates);
+ TQLocale::setDefault(TQLocale::English, TQLocale::UnitedStates);
.br
str = TQString( "%1 %L2 %L3" )
.br
@@ -916,7 +916,7 @@ Returns the character at index \fIi\fR, or 0 if \fIi\fR is beyond the length of
.fi
.PP
If the TQString is not const (i.e. const TQString) or const& (i.e. const TQString &), then the non-const overload of at() will be used instead.
-.SH "QCharRef TQString::at ( uint i )"
+.SH "TQCharRef TQString::at ( uint i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
The function returns a reference to the character at index \fIi\fR. The resulting reference can then be assigned to, or used immediately, but it will become invalid once further modifications are made to the original string.
@@ -1553,14 +1553,14 @@ Sets the string to contain just the single character \fIc\fR.
Returns the character at index \fIi\fR, or TQChar::null if \fIi\fR is beyond the length of the string.
.PP
If the TQString is not const (i.e., const TQString) or const& (i.e., const TQString&), then the non-const overload of operator[] will be used instead.
-.SH "QCharRef TQString::operator[] ( int i )"
+.SH "TQCharRef TQString::operator[] ( int i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
The function returns a reference to the character at index \fIi\fR. The resulting reference can then be assigned to, or used immediately, but it will become invalid once further modifications are made to the original string.
.PP
-If \fIi\fR is beyond the length of the string then the string is expanded with TQChar::nulls, so that the QCharRef references a valid (null) character in the string.
+If \fIi\fR is beyond the length of the string then the string is expanded with TQChar::nulls, so that the TQCharRef references a valid (null) character in the string.
.PP
-The QCharRef internal class can be used much like a constant TQChar, but if you assign to it, you change the original string (which will detach itself because of TQString's copy-on-write semantics). You will get compilation errors if you try to use the result as anything but a TQChar.
+The TQCharRef internal class can be used much like a constant TQChar, but if you assign to it, you change the original string (which will detach itself because of TQString's copy-on-write semantics). You will get compilation errors if you try to use the result as anything but a TQChar.
.SH "TQString & TQString::prepend ( const TQString & s )"
Inserts \fIs\fR at the beginning of the string and returns a reference to the string.
.PP
@@ -2147,7 +2147,7 @@ toULongLong()
.TP
toFloat()
.TP
-toDouble() can handle numbers represented in various locales. These representations may use different characters for the decimal point, thousands group sepearator and even individual digits. TQString's functions try to interpret the string according to the current locale. The current locale is determined from the system at application startup and can be changed by calling QLocale::setDefault(). If the string cannot be interpreted according to the current locale, this function falls back on the "C" locale.
+toDouble() can handle numbers represented in various locales. These representations may use different characters for the decimal point, thousands group sepearator and even individual digits. TQString's functions try to interpret the string according to the current locale. The current locale is determined from the system at application startup and can be changed by calling TQLocale::setDefault(). If the string cannot be interpreted according to the current locale, this function falls back on the "C" locale.
.PP
.nf
.br
@@ -2156,14 +2156,14 @@ toDouble() can handle numbers represented in various locales. These representati
double d;
.br
.br
- QLocale::setDefault(QLocale::C);
+ TQLocale::setDefault(TQLocale::C);
.br
d = TQString( "1234,56" ).toDouble(&ok); // ok == false
.br
d = TQString( "1234.56" ).toDouble(&ok); // ok == true, d == 1234.56
.br
.br
- QLocale::setDefault(QLocale::German);
+ TQLocale::setDefault(TQLocale::German);
.br
d = TQString( "1234,56" ).toDouble(&ok); // ok == true, d == 1234.56
.br
@@ -2171,13 +2171,13 @@ toDouble() can handle numbers represented in various locales. These representati
.br
.fi
.PP
-Due to the ambiguity between the decimal point and thousands group separator in various locales, these functions do not handle thousands group separators. If you need to convert such numbers, use the corresponding function in QLocale.
+Due to the ambiguity between the decimal point and thousands group separator in various locales, these functions do not handle thousands group separators. If you need to convert such numbers, use the corresponding function in TQLocale.
.PP
.nf
.br
bool ok;
.br
- QLocale::setDefault(QLocale::C);
+ TQLocale::setDefault(TQLocale::C);
.br
double d = TQString( "1,234,567.89" ).toDouble(&ok); // ok == false
.br
@@ -2185,7 +2185,7 @@ Due to the ambiguity between the decimal point and thousands group separator in
.PP
\fBWarning:\fR If the string contains trailing whitespace this function will fail, and set \fI*ok\fR to false if \fIok\fR is not 0. Leading whitespace is ignored.
.PP
-See also number(), QLocale::setDefault(), QLocale::toDouble(), and stripWhiteSpace().
+See also number(), TQLocale::setDefault(), TQLocale::toDouble(), and stripWhiteSpace().
.SH "float TQString::toFloat ( bool * ok = 0 ) const"
Returns the string converted to a \fCfloat\fR value.
.PP