diff options
Diffstat (limited to 'doc/man/man3/tqstring.3qt')
-rw-r--r-- | doc/man/man3/tqstring.3qt | 200 |
1 files changed, 100 insertions, 100 deletions
diff --git a/doc/man/man3/tqstring.3qt b/doc/man/man3/tqstring.3qt index 670cb7164..6ff94418a 100644 --- a/doc/man/man3/tqstring.3qt +++ b/doc/man/man3/tqstring.3qt @@ -124,13 +124,13 @@ All the functions in this class are reentrant when TQt is built with thread supp .BI "TQString & \fBsprintf\fR ( const char * cformat, ... )" .br .ti -1c -.BI "int \fBfind\fR ( TQChar c, int index = 0, bool cs = TRUE ) const" +.BI "int \fBfind\fR ( TQChar c, int index = 0, bool cs = true ) const" .br .ti -1c -.BI "int \fBfind\fR ( char c, int index = 0, bool cs = TRUE ) const" +.BI "int \fBfind\fR ( char c, int index = 0, bool cs = true ) const" .br .ti -1c -.BI "int \fBfind\fR ( const TQString & str, int index = 0, bool cs = TRUE ) const" +.BI "int \fBfind\fR ( const TQString & str, int index = 0, bool cs = true ) const" .br .ti -1c .BI "int \fBfind\fR ( const TQRegExp & rx, int index = 0 ) const" @@ -139,13 +139,13 @@ All the functions in this class are reentrant when TQt is built with thread supp .BI "int \fBfind\fR ( const char * str, int index = 0 ) const" .br .ti -1c -.BI "int \fBfindRev\fR ( TQChar c, int index = -1, bool cs = TRUE ) const" +.BI "int \fBfindRev\fR ( TQChar c, int index = -1, bool cs = true ) const" .br .ti -1c -.BI "int \fBfindRev\fR ( char c, int index = -1, bool cs = TRUE ) const" +.BI "int \fBfindRev\fR ( char c, int index = -1, bool cs = true ) const" .br .ti -1c -.BI "int \fBfindRev\fR ( const TQString & str, int index = -1, bool cs = TRUE ) const" +.BI "int \fBfindRev\fR ( const TQString & str, int index = -1, bool cs = true ) const" .br .ti -1c .BI "int \fBfindRev\fR ( const TQRegExp & rx, int index = -1 ) const" @@ -154,16 +154,16 @@ All the functions in this class are reentrant when TQt is built with thread supp .BI "int \fBfindRev\fR ( const char * str, int index = -1 ) const" .br .ti -1c -.BI "int \fBcontains\fR ( TQChar c, bool cs = TRUE ) const" +.BI "int \fBcontains\fR ( TQChar c, bool cs = true ) const" .br .ti -1c -.BI "int \fBcontains\fR ( char c, bool cs = TRUE ) const" +.BI "int \fBcontains\fR ( char c, bool cs = true ) const" .br .ti -1c -.BI "int \fBcontains\fR ( const char * str, bool cs = TRUE ) const" +.BI "int \fBcontains\fR ( const char * str, bool cs = true ) const" .br .ti -1c -.BI "int \fBcontains\fR ( const TQString & str, bool cs = TRUE ) const" +.BI "int \fBcontains\fR ( const TQString & str, bool cs = true ) const" .br .ti -1c .BI "int \fBcontains\fR ( const TQRegExp & rx ) const" @@ -196,10 +196,10 @@ All the functions in this class are reentrant when TQt is built with thread supp .BI "TQString \fBmid\fR ( uint index, uint len = 0xffffffff ) const" .br .ti -1c -.BI "TQString \fBleftJustify\fR ( uint width, TQChar fill = ' ', bool truncate = FALSE ) const" +.BI "TQString \fBleftJustify\fR ( uint width, TQChar fill = ' ', bool truncate = false ) const" .br .ti -1c -.BI "TQString \fBrightJustify\fR ( uint width, TQChar fill = ' ', bool truncate = FALSE ) const" +.BI "TQString \fBrightJustify\fR ( uint width, TQChar fill = ' ', bool truncate = false ) const" .br .ti -1c .BI "TQString \fBlower\fR () const" @@ -271,7 +271,7 @@ All the functions in this class are reentrant when TQt is built with thread supp .BI "TQString & \fBremove\fR ( uint index, uint len )" .br .ti -1c -.BI "TQString & \fBremove\fR ( const TQString & str, bool cs = TRUE )" +.BI "TQString & \fBremove\fR ( const TQString & str, bool cs = true )" .br .ti -1c .BI "TQString & \fBremove\fR ( TQChar c )" @@ -298,13 +298,13 @@ All the functions in this class are reentrant when TQt is built with thread supp .BI "TQString & \fBreplace\fR ( uint index, uint len, char c )" .br .ti -1c -.BI "TQString & \fBreplace\fR ( TQChar c, const TQString & after, bool cs = TRUE )" +.BI "TQString & \fBreplace\fR ( TQChar c, const TQString & after, bool cs = true )" .br .ti -1c -.BI "TQString & \fBreplace\fR ( char c, const TQString & after, bool cs = TRUE )" +.BI "TQString & \fBreplace\fR ( char c, const TQString & after, bool cs = true )" .br .ti -1c -.BI "TQString & \fBreplace\fR ( const TQString & before, const TQString & after, bool cs = TRUE )" +.BI "TQString & \fBreplace\fR ( const TQString & before, const TQString & after, bool cs = true )" .br .ti -1c .BI "TQString & \fBreplace\fR ( const TQRegExp & rx, const TQString & after )" @@ -463,10 +463,10 @@ All the functions in this class are reentrant when TQt is built with thread supp .BI "const char * data () const \fI(obsolete)\fR" .br .ti -1c -.BI "bool \fBstartsWith\fR ( const TQString & s, bool cs = TRUE ) const" +.BI "bool \fBstartsWith\fR ( const TQString & s, bool cs = true ) const" .br .ti -1c -.BI "bool \fBendsWith\fR ( const TQString & s, bool cs = TRUE ) const" +.BI "bool \fBendsWith\fR ( const TQString & s, bool cs = true ) const" .br .ti -1c .BI "void \fBsetLength\fR ( uint newLen )" @@ -954,16 +954,16 @@ Returns the TQChar at index \fIi\fR by value. Equivalent to at(\fIi\fR). .PP See also ref(). -.SH "int TQString::contains ( TQChar c, bool cs = TRUE ) const" +.SH "int TQString::contains ( TQChar c, bool cs = true ) const" Returns the number of times the character \fIc\fR occurs in the string. .PP -If \fIcs\fR is TRUE (the default), the search is case sensitive; otherwise the search is case insensitive. +If \fIcs\fR is true (the default), the search is case sensitive; otherwise the search is case insensitive. .PP .nf .br TQString string( "Trolltech and Qt" ); .br - int n = string.contains( 't', FALSE ); + int n = string.contains( 't', false ); .br // n == 3 .br @@ -971,20 +971,20 @@ If \fIcs\fR is TRUE (the default), the search is case sensitive; otherwise the s .PP Examples: .)l fileiconview/tqfileiconview.cpp and mdi/application.cpp. -.SH "int TQString::contains ( char c, bool cs = TRUE ) const" +.SH "int TQString::contains ( char c, bool cs = true ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.SH "int TQString::contains ( const char * str, bool cs = TRUE ) const" +.SH "int TQString::contains ( const char * str, bool cs = true ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the number of times the string \fIstr\fR occurs in the string. .PP -If \fIcs\fR is TRUE (the default), the search is case sensitive; otherwise the search is case insensitive. -.SH "int TQString::contains ( const TQString & str, bool cs = TRUE ) const" +If \fIcs\fR is true (the default), the search is case sensitive; otherwise the search is case insensitive. +.SH "int TQString::contains ( const TQString & str, bool cs = true ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the number of times \fIstr\fR occurs in the string. .PP -If \fIcs\fR is TRUE (the default), the search is case sensitive; otherwise the search is case insensitive. +If \fIcs\fR is true (the default), the search is case sensitive; otherwise the search is case insensitive. .PP This function counts overlapping strings, so in the example below, there are two instances of "ana" in "bananas". .PP @@ -1008,7 +1008,7 @@ This function counts overlapping matches, so in the example below, there are fou .br TQString str = "banana and panama"; .br - TQRegExp rxp = TQRegExp( "a[nm]a", TRUE, FALSE ); + TQRegExp rxp = TQRegExp( "a[nm]a", true, false ); .br int i = str.contains( rxp ); // i == 4 .br @@ -1025,18 +1025,18 @@ In TQt 2.0 and later, all calls to this function are needless. Just remove them. Returns a pointer to a '\0'-terminated classic C string. .PP In TQt 1.x, this returned a char* allowing direct manipulation of the string as a sequence of bytes. In TQt 2.x where TQString is a Unicode string, char* conversion constructs a temporary string, and hence direct character operations are meaningless. -.SH "bool TQString::endsWith ( const TQString & s, bool cs = TRUE ) const" -Returns TRUE if the string ends with \fIs\fR; otherwise returns FALSE. +.SH "bool TQString::endsWith ( const TQString & s, bool cs = true ) const" +Returns true if the string ends with \fIs\fR; otherwise returns false. .PP -If \fIcs\fR is TRUE (the default), the search is case sensitive; otherwise the search is case insensitive. +If \fIcs\fR is true (the default), the search is case sensitive; otherwise the search is case insensitive. .PP .nf .br TQString str( "Bananas" ); .br - str.endsWith( "anas" ); // returns TRUE + str.endsWith( "anas" ); // returns true .br - str.endsWith( "pple" ); // returns FALSE + str.endsWith( "pple" ); // returns false .br .fi .PP @@ -1071,26 +1071,26 @@ Returns the position of the first match of \fIrx\fR or -1 if no match was found. See also findRev(), replace(), and contains(). .PP Example: network/mail/smtp.cpp. -.SH "int TQString::find ( TQChar c, int index = 0, bool cs = TRUE ) const" +.SH "int TQString::find ( TQChar c, int index = 0, bool cs = true ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Finds the first occurrence of the character \fIc\fR, starting at position \fIindex\fR. If \fIindex\fR is -1, the search starts at the last character; if -2, at the next to last character and so on. (See findRev() for searching backwards.) .PP -If \fIcs\fR is TRUE (the default), the search is case sensitive; otherwise the search is case insensitive. +If \fIcs\fR is true (the default), the search is case sensitive; otherwise the search is case insensitive. .PP Returns the position of \fIc\fR or -1 if \fIc\fR could not be found. -.SH "int TQString::find ( char c, int index = 0, bool cs = TRUE ) const" +.SH "int TQString::find ( char c, int index = 0, bool cs = true ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Find character \fIc\fR starting from position \fIindex\fR. .PP -If \fIcs\fR is TRUE (the default), the search is case sensitive; otherwise the search is case insensitive. -.SH "int TQString::find ( const TQString & str, int index = 0, bool cs = TRUE ) const" +If \fIcs\fR is true (the default), the search is case sensitive; otherwise the search is case insensitive. +.SH "int TQString::find ( const TQString & str, int index = 0, bool cs = true ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Finds the first occurrence of the string \fIstr\fR, starting at position \fIindex\fR. If \fIindex\fR is -1, the search starts at the last character, if it is -2, at the next to last character and so on. (See findRev() for searching backwards.) .PP -If \fIcs\fR is TRUE (the default), the search is case sensitive; otherwise the search is case insensitive. +If \fIcs\fR is true (the default), the search is case sensitive; otherwise the search is case insensitive. .PP Returns the position of \fIstr\fR or -1 if \fIstr\fR could not be found. .SH "int TQString::find ( const char * str, int index = 0 ) const" @@ -1099,14 +1099,14 @@ This is an overloaded member function, provided for convenience. It behaves esse Equivalent to find(TQString(\fIstr\fR), \fIindex\fR). .SH "int TQString::findRev ( const char * str, int index = -1 ) const" Equivalent to findRev(TQString(\fIstr\fR), \fIindex\fR). -.SH "int TQString::findRev ( TQChar c, int index = -1, bool cs = TRUE ) const" +.SH "int TQString::findRev ( TQChar c, int index = -1, bool cs = true ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Finds the first occurrence of the character \fIc\fR, starting at position \fIindex\fR and searching backwards. If the index is -1, the search starts at the last character, if it is -2, at the next to last character and so on. .PP Returns the position of \fIc\fR or -1 if \fIc\fR could not be found. .PP -If \fIcs\fR is TRUE (the default), the search is case sensitive; otherwise the search is case insensitive. +If \fIcs\fR is true (the default), the search is case sensitive; otherwise the search is case insensitive. .PP .nf .br @@ -1115,20 +1115,20 @@ If \fIcs\fR is TRUE (the default), the search is case sensitive; otherwise the s int i = string.findRev( 'a' ); // i == 5 .br .fi -.SH "int TQString::findRev ( char c, int index = -1, bool cs = TRUE ) const" +.SH "int TQString::findRev ( char c, int index = -1, bool cs = true ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Find character \fIc\fR starting from position \fIindex\fR and working backwards. .PP -If \fIcs\fR is TRUE (the default), the search is case sensitive; otherwise the search is case insensitive. -.SH "int TQString::findRev ( const TQString & str, int index = -1, bool cs = TRUE ) const" +If \fIcs\fR is true (the default), the search is case sensitive; otherwise the search is case insensitive. +.SH "int TQString::findRev ( const TQString & str, int index = -1, bool cs = true ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Finds the first occurrence of the string \fIstr\fR, starting at position \fIindex\fR and searching backwards. If the index is -1, the search starts at the last character, if it is -2, at the next to last character and so on. .PP Returns the position of \fIstr\fR or -1 if \fIstr\fR could not be found. .PP -If \fIcs\fR is TRUE (the default), the search is case sensitive; otherwise the search is case insensitive. +If \fIcs\fR is true (the default), the search is case sensitive; otherwise the search is case insensitive. .PP .nf .br @@ -1250,22 +1250,22 @@ This is an overloaded member function, provided for convenience. It behaves esse .PP Insert character \fIc\fR at position \fIindex\fR. .SH "bool TQString::isEmpty () const" -Returns TRUE if the string is empty, i.e. if length() == 0; otherwise returns FALSE. Null strings are also empty. +Returns true if the string is empty, i.e. if length() == 0; otherwise returns false. Null strings are also empty. .PP .nf .br TQString a( "" ); .br - a.isEmpty(); // TRUE + a.isEmpty(); // true .br - a.isNull(); // FALSE + a.isNull(); // false .br .br TQString b; .br - b.isEmpty(); // TRUE + b.isEmpty(); // true .br - b.isNull(); // TRUE + b.isNull(); // true .br .fi .PP @@ -1274,15 +1274,15 @@ See also isNull() and length(). Examples: .)l addressbook/mainwindow.cpp, chart/chartform.cpp, chart/chartform_canvas.cpp, network/networkprotocol/nntp.cpp, qmag/qmag.cpp, and qwerty/qwerty.cpp. .SH "bool TQString::isNull () const" -Returns TRUE if the string is null; otherwise returns FALSE. A null string is always empty. +Returns true if the string is null; otherwise returns false. A null string is always empty. .PP .nf .br TQString a; // a.unicode() == 0, a.length() == 0 .br - a.isNull(); // TRUE, because a.unicode() == 0 + a.isNull(); // true, because a.unicode() == 0 .br - a.isEmpty(); // TRUE, because a.length() == 0 + a.isEmpty(); // true, because a.length() == 0 .br .fi .PP @@ -1317,12 +1317,12 @@ The whole string is returned if \fIlen\fR exceeds the length of the string. See also right(), mid(), and isEmpty(). .PP Example: themes/themes.cpp. -.SH "TQString TQString::leftJustify ( uint width, TQChar fill = ' ', bool truncate = FALSE ) const" +.SH "TQString TQString::leftJustify ( uint width, TQChar fill = ' ', bool truncate = false ) const" Returns a string of length \fIwidth\fR that contains this string padded by the \fIfill\fR character. .PP -If \fItruncate\fR is FALSE and the length of the string is more than \fIwidth\fR, then the returned string is a copy of the string. +If \fItruncate\fR is false and the length of the string is more than \fIwidth\fR, then the returned string is a copy of the string. .PP -If \fItruncate\fR is TRUE and the length of the string is more than \fIwidth\fR, then any characters in a copy of the string after length \fIwidth\fR are removed, and the copy is returned. +If \fItruncate\fR is true and the length of the string is more than \fIwidth\fR, then any characters in a copy of the string after length \fIwidth\fR are removed, and the copy is returned. .PP .nf .br @@ -1462,7 +1462,7 @@ Returns ascii() as a std::string. .PP \fBWarning:\fR The function may cause an application to crash if a static C run-time is in use. This can happen in Microsoft Visual C++ if TQt is configured as single-threaded. A safe alternative is to call ascii() directly and construct a std::string manually. .SH "bool TQString::operator! () const" -Returns TRUE if this is a null string; otherwise returns FALSE. +Returns true if this is a null string; otherwise returns false. .PP .nf .br @@ -1643,12 +1643,12 @@ If \fIindex\fR is beyond the length of the string, nothing happens. If \fIindex\ .fi .PP See also insert() and replace(). -.SH "TQString & TQString::remove ( const TQString & str, bool cs = TRUE )" +.SH "TQString & TQString::remove ( const TQString & str, bool cs = true )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Removes every occurrence of \fIstr\fR in the string. Returns a reference to the string. .PP -If \fIcs\fR is TRUE (the default), the search is case sensitive; otherwise the search is case insensitive. +If \fIcs\fR is true (the default), the search is case sensitive; otherwise the search is case insensitive. .PP This is the same as replace(\fIstr\fR, "", \fIcs\fR). .SH "TQString & TQString::remove ( TQChar c )" @@ -1708,12 +1708,12 @@ This is the same as replace(\fIindex\fR, \fIlen\fR, TQString(\fIc\fR)). This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This is the same as replace(\fIindex\fR, \fIlen\fR, TQChar(\fIc\fR)). -.SH "TQString & TQString::replace ( TQChar c, const TQString & after, bool cs = TRUE )" +.SH "TQString & TQString::replace ( TQChar c, const TQString & after, bool cs = true )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Replaces every occurrence of the character \fIc\fR in the string with \fIafter\fR. Returns a reference to the string. .PP -If \fIcs\fR is TRUE (the default), the search is case sensitive; otherwise the search is case insensitive. +If \fIcs\fR is true (the default), the search is case sensitive; otherwise the search is case insensitive. .PP Example: .PP @@ -1726,18 +1726,18 @@ Example: // s == "a or b or c" .br .fi -.SH "TQString & TQString::replace ( char c, const TQString & after, bool cs = TRUE )" +.SH "TQString & TQString::replace ( char c, const TQString & after, bool cs = true )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Replaces every occurrence of the character \fIc\fR in the string with \fIafter\fR. Returns a reference to the string. .PP -If \fIcs\fR is TRUE (the default), the search is case sensitive; otherwise the search is case insensitive. -.SH "TQString & TQString::replace ( const TQString & before, const TQString & after, bool cs = TRUE )" +If \fIcs\fR is true (the default), the search is case sensitive; otherwise the search is case insensitive. +.SH "TQString & TQString::replace ( const TQString & before, const TQString & after, bool cs = true )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Replaces every occurrence of the string \fIbefore\fR in the string with the string \fIafter\fR. Returns a reference to the string. .PP -If \fIcs\fR is TRUE (the default), the search is case sensitive; otherwise the search is case insensitive. +If \fIcs\fR is true (the default), the search is case sensitive; otherwise the search is case insensitive. .PP Example: .PP @@ -1826,12 +1826,12 @@ If \fIlen\fR is greater than the length of the string then the whole string is r See also left(), mid(), and isEmpty(). .PP Example: fileiconview/tqfileiconview.cpp. -.SH "TQString TQString::rightJustify ( uint width, TQChar fill = ' ', bool truncate = FALSE ) const" +.SH "TQString TQString::rightJustify ( uint width, TQChar fill = ' ', bool truncate = false ) const" Returns a string of length \fIwidth\fR that contains the \fIfill\fR character followed by the string. .PP -If \fItruncate\fR is FALSE and the length of the string is more than \fIwidth\fR, then the returned string is a copy of the string. +If \fItruncate\fR is false and the length of the string is more than \fIwidth\fR, then the returned string is a copy of the string. .PP -If \fItruncate\fR is TRUE and the length of the string is more than \fIwidth\fR, then the resulting string is truncated at position \fIwidth\fR. +If \fItruncate\fR is true and the length of the string is more than \fIwidth\fR, then the resulting string is truncated at position \fIwidth\fR. .PP .nf .br @@ -2042,7 +2042,7 @@ See also setLatin1() and isNull(). .SH "TQString TQString::simplifyWhiteSpace () const" Returns a string that has whitespace removed from the start and the end, and which has each sequence of internal whitespace replaced with a single space. .PP -Whitespace means any character for which TQChar::isSpace() returns TRUE. This includes Unicode characters with decimal values 9 (TAB), 10 (LF), 11 (VT), 12 (FF), 13 (CR), and 32 (Space). +Whitespace means any character for which TQChar::isSpace() returns true. This includes Unicode characters with decimal values 9 (TAB), 10 (LF), 11 (VT), 12 (FF), 13 (CR), and 32 (Space). .PP .nf .br @@ -2084,18 +2084,18 @@ Examples: Squeezes the string's capacity to the current content. .PP See also capacity() and reserve(). -.SH "bool TQString::startsWith ( const TQString & s, bool cs = TRUE ) const" -Returns TRUE if the string starts with \fIs\fR; otherwise returns FALSE. +.SH "bool TQString::startsWith ( const TQString & s, bool cs = true ) const" +Returns true if the string starts with \fIs\fR; otherwise returns false. .PP -If \fIcs\fR is TRUE (the default), the search is case sensitive; otherwise the search is case insensitive. +If \fIcs\fR is true (the default), the search is case sensitive; otherwise the search is case insensitive. .PP .nf .br TQString str( "Bananas" ); .br - str.startsWith( "Ban" ); // returns TRUE + str.startsWith( "Ban" ); // returns true .br - str.startsWith( "Car" ); // returns FALSE + str.startsWith( "Car" ); // returns false .br .fi .PP @@ -2103,7 +2103,7 @@ See also endsWith(). .SH "TQString TQString::stripWhiteSpace () const" Returns a string that has whitespace removed from the start and the end. .PP -Whitespace means any character for which TQChar::isSpace() returns TRUE. This includes Unicode characters with decimal values 9 (TAB), 10 (LF), 11 (VT), 12 (FF), 13 (CR) and 32 (Space), and may also include other Unicode characters. +Whitespace means any character for which TQChar::isSpace() returns true. This includes Unicode characters with decimal values 9 (TAB), 10 (LF), 11 (VT), 12 (FF), 13 (CR) and 32 (Space), and may also include other Unicode characters. .PP .nf .br @@ -2117,7 +2117,7 @@ See also simplifyWhiteSpace(). .SH "double TQString::toDouble ( bool * ok = 0 ) const" Returns the string converted to a \fCdouble\fR value. .PP -If \fIok\fR is not 0: if a conversion error occurs, \fI*ok\fR is set to FALSE; otherwise \fI*ok\fR is set to TRUE. +If \fIok\fR is not 0: if a conversion error occurs, \fI*ok\fR is set to false; otherwise \fI*ok\fR is set to true. .PP .nf .br @@ -2191,7 +2191,7 @@ Returns the string converted to a \fCfloat\fR value. .PP Returns 0.0 if the conversion fails. .PP -If \fIok\fR is not 0: if a conversion error occurs, \fI*ok\fR is set to FALSE; otherwise \fI*ok\fR is set to TRUE. +If \fIok\fR is not 0: if a conversion error occurs, \fI*ok\fR is set to false; otherwise \fI*ok\fR is set to true. .PP For information on how string-to-number functions in TQString handle localized input, see toDouble(). .PP @@ -2209,7 +2209,7 @@ Otherwise it is assumed to be decimal. .PP Returns 0 if the conversion fails. .PP -If \fIok\fR is not 0: if a conversion error occurs, \fI*ok\fR is set to FALSE; otherwise \fI*ok\fR is set to TRUE. +If \fIok\fR is not 0: if a conversion error occurs, \fI*ok\fR is set to false; otherwise \fI*ok\fR is set to true. .PP .nf .br @@ -2217,9 +2217,9 @@ If \fIok\fR is not 0: if a conversion error occurs, \fI*ok\fR is set to FALSE; o .br bool ok; .br - int hex = str.toInt( &ok, 16 ); // hex == 255, ok == TRUE + int hex = str.toInt( &ok, 16 ); // hex == 255, ok == true .br - int dec = str.toInt( &ok, 10 ); // dec == 0, ok == FALSE + int dec = str.toInt( &ok, 10 ); // dec == 0, ok == false .br .fi .PP @@ -2239,7 +2239,7 @@ Otherwise it is assumed to be decimal. .PP Returns 0 if the conversion fails. .PP -If \fIok\fR is not 0: if a conversion error occurs, \fI*ok\fR is set to FALSE; otherwise \fI*ok\fR is set to TRUE. +If \fIok\fR is not 0: if a conversion error occurs, \fI*ok\fR is set to false; otherwise \fI*ok\fR is set to true. .PP Leading and trailing whitespace is ignored by this function. .PP @@ -2257,7 +2257,7 @@ Otherwise it is assumed to be decimal. .PP Returns 0 if the conversion fails. .PP -If \fIok\fR is not 0: if a conversion error occurs, \fI*ok\fR is set to FALSE; otherwise \fI*ok\fR is set to TRUE. +If \fIok\fR is not 0: if a conversion error occurs, \fI*ok\fR is set to false; otherwise \fI*ok\fR is set to true. .PP Leading and trailing whitespace is ignored by this function. .PP @@ -2275,7 +2275,7 @@ Otherwise it is assumed to be decimal. .PP Returns 0 if the conversion fails. .PP -If \fIok\fR is not 0: if a conversion error occurs, \fI*ok\fR is set to FALSE; otherwise \fI*ok\fR is set to TRUE. +If \fIok\fR is not 0: if a conversion error occurs, \fI*ok\fR is set to false; otherwise \fI*ok\fR is set to true. .PP Leading and trailing whitespace is ignored by this function. .PP @@ -2293,7 +2293,7 @@ Otherwise it is assumed to be decimal. .PP Returns 0 if the conversion fails. .PP -If \fIok\fR is not 0: if a conversion error occurs, \fI*ok\fR is set to FALSE; otherwise \fI*ok\fR is set to TRUE. +If \fIok\fR is not 0: if a conversion error occurs, \fI*ok\fR is set to false; otherwise \fI*ok\fR is set to true. .PP Leading and trailing whitespace is ignored by this function. .PP @@ -2311,7 +2311,7 @@ Otherwise it is assumed to be decimal. .PP Returns 0 if the conversion fails. .PP -If \fIok\fR is not 0: if a conversion error occurs, \fI*ok\fR is set to FALSE; otherwise \fI*ok\fR is set to TRUE. +If \fIok\fR is not 0: if a conversion error occurs, \fI*ok\fR is set to false; otherwise \fI*ok\fR is set to true. .PP Leading and trailing whitespace is ignored by this function. .PP @@ -2329,7 +2329,7 @@ Otherwise it is assumed to be decimal. .PP Returns 0 if the conversion fails. .PP -If \fIok\fR is not 0: if a conversion error occurs, \fI*ok\fR is set to FALSE; otherwise \fI*ok\fR is set to TRUE. +If \fIok\fR is not 0: if a conversion error occurs, \fI*ok\fR is set to false; otherwise \fI*ok\fR is set to true. .PP Leading and trailing whitespace is ignored by this function. .PP @@ -2347,7 +2347,7 @@ Otherwise it is assumed to be decimal. .PP Returns 0 if the conversion fails. .PP -If \fIok\fR is not 0: if a conversion error occurs, \fI*ok\fR is set to FALSE; otherwise \fI*ok\fR is set to TRUE. +If \fIok\fR is not 0: if a conversion error occurs, \fI*ok\fR is set to false; otherwise \fI*ok\fR is set to true. .PP Leading and trailing whitespace is ignored by this function. .PP @@ -2401,7 +2401,7 @@ See also fromUtf8(), ascii(), latin1(), and local8Bit(). Example: network/archivesearch/archivedialog.ui.h. .SH RELATED FUNCTION DOCUMENTATION .SH "bool operator!= ( const TQString & s1, const TQString & s2 )" -Returns TRUE if \fIs1\fR is not equal to \fIs2\fR; otherwise returns FALSE. Note that a null string is not equal to a not-null empty string. +Returns true if \fIs1\fR is not equal to \fIs2\fR; otherwise returns false. Note that a null string is not equal to a not-null empty string. .PP Equivalent to compare(\fIs1\fR, \fIs2\fR) != 0. .PP @@ -2409,7 +2409,7 @@ See also isNull() and isEmpty(). .SH "bool operator!= ( const TQString & s1, const char * s2 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Returns TRUE if \fIs1\fR is not equal to \fIs2\fR; otherwise returns FALSE. Note that a null string is not equal to a not-null empty string. +Returns true if \fIs1\fR is not equal to \fIs2\fR; otherwise returns false. Note that a null string is not equal to a not-null empty string. .PP Equivalent to compare(\fIs1\fR, \fIs2\fR) != 0. .PP @@ -2417,7 +2417,7 @@ See also isNull() and isEmpty(). .SH "bool operator!= ( const char * s1, const TQString & s2 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Returns TRUE if \fIs1\fR is not equal to \fIs2\fR; otherwise returns FALSE. Note that a null string is not equal to a not-null empty string. +Returns true if \fIs1\fR is not equal to \fIs2\fR; otherwise returns false. Note that a null string is not equal to a not-null empty string. .PP Equivalent to compare(\fIs1\fR, \fIs2\fR) != 0. .PP @@ -2449,13 +2449,13 @@ Returns a string which is the result of concatenating the character \fIc\fR and .PP Equivalent to \fIs\fR.prepend(\fIc\fR). .SH "bool operator< ( const TQString & s1, const char * s2 )" -Returns TRUE if \fIs1\fR is lexically less than \fIs2\fR; otherwise returns FALSE. The comparison is case sensitive. +Returns true if \fIs1\fR is lexically less than \fIs2\fR; otherwise returns false. The comparison is case sensitive. .PP Equivalent to compare(\fIs1\fR, \fIs2\fR) < 0. .SH "bool operator< ( const char * s1, const TQString & s2 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Returns TRUE if \fIs1\fR is lexically less than \fIs2\fR; otherwise returns FALSE. The comparison is case sensitive. +Returns true if \fIs1\fR is lexically less than \fIs2\fR; otherwise returns false. The comparison is case sensitive. .PP Equivalent to compare(\fIs1\fR, \fIs2\fR) < 0. .SH "TQDataStream & operator<< ( TQDataStream & s, const TQString & str )" @@ -2463,7 +2463,7 @@ Writes the string \fIstr\fR to the stream \fIs\fR. .PP See also Format of the TQDataStream operators .SH "bool operator<= ( const TQString & s1, const char * s2 )" -Returns TRUE if \fIs1\fR is lexically less than or equal to \fIs2\fR; otherwise returns FALSE. The comparison is case sensitive. Note that a null string is not equal to a not-null empty string. +Returns true if \fIs1\fR is lexically less than or equal to \fIs2\fR; otherwise returns false. The comparison is case sensitive. Note that a null string is not equal to a not-null empty string. .PP Equivalent to compare(\fIs1\fR,\fIs2\fR) <= 0. .PP @@ -2471,13 +2471,13 @@ See also isNull() and isEmpty(). .SH "bool operator<= ( const char * s1, const TQString & s2 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Returns TRUE if \fIs1\fR is lexically less than or equal to \fIs2\fR; otherwise returns FALSE. The comparison is case sensitive. Note that a null string is not equal to a not-null empty string. +Returns true if \fIs1\fR is lexically less than or equal to \fIs2\fR; otherwise returns false. The comparison is case sensitive. Note that a null string is not equal to a not-null empty string. .PP Equivalent to compare(\fIs1\fR, \fIs2\fR) <= 0. .PP See also isNull() and isEmpty(). .SH "bool operator== ( const TQString & s1, const TQString & s2 )" -Returns TRUE if \fIs1\fR is equal to \fIs2\fR; otherwise returns FALSE. Note that a null string is not equal to a not-null empty string. +Returns true if \fIs1\fR is equal to \fIs2\fR; otherwise returns false. Note that a null string is not equal to a not-null empty string. .PP Equivalent to compare(\fIs1\fR, \fIs2\fR) == 0. .PP @@ -2485,7 +2485,7 @@ See also isNull() and isEmpty(). .SH "bool operator== ( const TQString & s1, const char * s2 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Returns TRUE if \fIs1\fR is equal to \fIs2\fR; otherwise returns FALSE. Note that a null string is not equal to a not-null empty string. +Returns true if \fIs1\fR is equal to \fIs2\fR; otherwise returns false. Note that a null string is not equal to a not-null empty string. .PP Equivalent to compare(\fIs1\fR, \fIs2\fR) == 0. .PP @@ -2493,23 +2493,23 @@ See also isNull() and isEmpty(). .SH "bool operator== ( const char * s1, const TQString & s2 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Returns TRUE if \fIs1\fR is equal to \fIs2\fR; otherwise returns FALSE. Note that a null string is not equal to a not-null empty string. +Returns true if \fIs1\fR is equal to \fIs2\fR; otherwise returns false. Note that a null string is not equal to a not-null empty string. .PP Equivalent to compare(\fIs1\fR, \fIs2\fR) == 0. .PP See also isNull() and isEmpty(). .SH "bool operator> ( const TQString & s1, const char * s2 )" -Returns TRUE if \fIs1\fR is lexically greater than \fIs2\fR; otherwise returns FALSE. The comparison is case sensitive. +Returns true if \fIs1\fR is lexically greater than \fIs2\fR; otherwise returns false. The comparison is case sensitive. .PP Equivalent to compare(\fIs1\fR, \fIs2\fR) > 0. .SH "bool operator> ( const char * s1, const TQString & s2 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Returns TRUE if \fIs1\fR is lexically greater than \fIs2\fR; otherwise returns FALSE. The comparison is case sensitive. +Returns true if \fIs1\fR is lexically greater than \fIs2\fR; otherwise returns false. The comparison is case sensitive. .PP Equivalent to compare(\fIs1\fR, \fIs2\fR) > 0. .SH "bool operator>= ( const TQString & s1, const char * s2 )" -Returns TRUE if \fIs1\fR is lexically greater than or equal to \fIs2\fR; otherwise returns FALSE. The comparison is case sensitive. Note that a null string is not equal to a not-null empty string. +Returns true if \fIs1\fR is lexically greater than or equal to \fIs2\fR; otherwise returns false. The comparison is case sensitive. Note that a null string is not equal to a not-null empty string. .PP Equivalent to compare(\fIs1\fR, \fIs2\fR) >= 0. .PP @@ -2517,7 +2517,7 @@ See also isNull() and isEmpty(). .SH "bool operator>= ( const char * s1, const TQString & s2 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Returns TRUE if \fIs1\fR is lexically greater than or equal to \fIs2\fR; otherwise returns FALSE. The comparison is case sensitive. Note that a null string is not equal to a not-null empty string. +Returns true if \fIs1\fR is lexically greater than or equal to \fIs2\fR; otherwise returns false. The comparison is case sensitive. Note that a null string is not equal to a not-null empty string. .PP Equivalent to compare(\fIs1\fR, \fIs2\fR) >= 0. .PP |