diff options
Diffstat (limited to 'doc/man/man3/tqstringlist.3qt')
-rw-r--r-- | doc/man/man3/tqstringlist.3qt | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/man/man3/tqstringlist.3qt b/doc/man/man3/tqstringlist.3qt index 1eea14bdf..f3ac88210 100644 --- a/doc/man/man3/tqstringlist.3qt +++ b/doc/man/man3/tqstringlist.3qt @@ -39,13 +39,13 @@ Inherits TQValueList<TQString>. .BI "TQString \fBjoin\fR ( const TQString & sep ) const" .br .ti -1c -.BI "TQStringList \fBgrep\fR ( const TQString & str, bool cs = TRUE ) const" +.BI "TQStringList \fBgrep\fR ( const TQString & str, bool cs = true ) const" .br .ti -1c .BI "TQStringList \fBgrep\fR ( const TQRegExp & rx ) const" .br .ti -1c -.BI "TQStringList & \fBgres\fR ( const TQString & before, const TQString & after, bool cs = TRUE )" +.BI "TQStringList & \fBgres\fR ( const TQString & before, const TQString & after, bool cs = true )" .br .ti -1c .BI "TQStringList & \fBgres\fR ( const TQRegExp & rx, const TQString & after )" @@ -57,13 +57,13 @@ Inherits TQValueList<TQString>. .BI "TQStringList \fBfromStrList\fR ( const TQStrList & ascii )" .br .ti -1c -.BI "TQStringList \fBsplit\fR ( const TQString & sep, const TQString & str, bool allowEmptyEntries = FALSE )" +.BI "TQStringList \fBsplit\fR ( const TQString & sep, const TQString & str, bool allowEmptyEntries = false )" .br .ti -1c -.BI "TQStringList \fBsplit\fR ( const TQChar & sep, const TQString & str, bool allowEmptyEntries = FALSE )" +.BI "TQStringList \fBsplit\fR ( const TQChar & sep, const TQString & str, bool allowEmptyEntries = false )" .br .ti -1c -.BI "TQStringList \fBsplit\fR ( const TQRegExp & sep, const TQString & str, bool allowEmptyEntries = FALSE )" +.BI "TQStringList \fBsplit\fR ( const TQRegExp & sep, const TQString & str, bool allowEmptyEntries = false )" .br .in -1c .SH DESCRIPTION @@ -185,10 +185,10 @@ Constructs a string list consisting of the single string \fIi\fR. Longer lists a Constructs a string list consisting of the single Latin-1 string \fIi\fR. .SH "TQStringList TQStringList::fromStrList ( const TQStrList & ascii )\fC [static]\fR" Converts from an ASCII-TQStrList \fIascii\fR to a TQStringList (Unicode). -.SH "TQStringList TQStringList::grep ( const TQString & str, bool cs = TRUE ) const" +.SH "TQStringList TQStringList::grep ( const TQString & str, bool cs = true ) const" Returns a list of all the strings containing the substring \fIstr\fR. .PP -If \fIcs\fR is TRUE, the grep is done case-sensitively; otherwise case is ignored. +If \fIcs\fR is true, the grep is done case-sensitively; otherwise case is ignored. .PP .nf .br @@ -209,10 +209,10 @@ This is an overloaded member function, provided for convenience. It behaves esse Returns a list of all the strings that match the regular expression \fIrx\fR. .PP See also TQString::find(). -.SH "TQStringList & TQStringList::gres ( const TQString & before, const TQString & after, bool cs = TRUE )" +.SH "TQStringList & TQStringList::gres ( const TQString & before, const TQString & after, bool cs = true )" Replaces every occurrence of the string \fIbefore\fR in the strings that constitute the string list with the string \fIafter\fR. Returns a reference to the string list. .PP -If \fIcs\fR is TRUE, the search is case sensitive; otherwise the search is case insensitive. +If \fIcs\fR is true, the search is case sensitive; otherwise the search is case insensitive. .PP Example: .PP @@ -280,12 +280,12 @@ Sorting is very fast. It uses the TQt Template Library's efficient HeapSort impl If you want to sort your strings in an arbitrary order consider using a TQMap. For example you could use a TQMap<TQString,TQString> to create a case-insensitive ordering (e.g. mapping the lowercase text to the text), or a TQMap<int,TQString> to sort the strings by some integer index, etc. .PP Example: themes/themes.cpp. -.SH "TQStringList TQStringList::split ( const TQRegExp & sep, const TQString & str, bool allowEmptyEntries = FALSE )\fC [static]\fR" +.SH "TQStringList TQStringList::split ( const TQRegExp & sep, const TQString & str, bool allowEmptyEntries = false )\fC [static]\fR" Splits the string \fIstr\fR into strings wherever the regular expression \fIsep\fR occurs, and returns the list of those strings. .PP -If \fIallowEmptyEntries\fR is TRUE, a null string is inserted in the list wherever the separator matches twice without intervening text. +If \fIallowEmptyEntries\fR is true, a null string is inserted in the list wherever the separator matches twice without intervening text. .PP -For example, if you split the string "a,,b,c" on commas, split() returns the three-item list "a", "b", "c" if \fIallowEmptyEntries\fR is FALSE (the default), and the four-item list "a", "", "b", "c" if \fIallowEmptyEntries\fR is TRUE. +For example, if you split the string "a,,b,c" on commas, split() returns the three-item list "a", "b", "c" if \fIallowEmptyEntries\fR is false (the default), and the four-item list "a", "", "b", "c" if \fIallowEmptyEntries\fR is true. .PP If \fIsep\fR does not match anywhere in \fIstr\fR, split() returns a single element list with the element containing the single string \fIstr\fR. .PP @@ -293,17 +293,17 @@ See also join() and TQString::section(). .PP Examples: .)l chart/element.cpp, dirview/dirview.cpp, and network/httpd/httpd.cpp. -.SH "TQStringList TQStringList::split ( const TQString & sep, const TQString & str, bool allowEmptyEntries = FALSE )\fC [static]\fR" +.SH "TQStringList TQStringList::split ( const TQString & sep, const TQString & str, bool allowEmptyEntries = false )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This version of the function uses a TQString as separator, rather than a regular expression. .PP If \fIsep\fR is an empty string, the return value is a list of one-character strings: split( TQString( "" ), "four" ) returns the four-item list, "f", "o", "u", "r". .PP -If \fIallowEmptyEntries\fR is TRUE, a null string is inserted in the list wherever the separator matches twice without intervening text. +If \fIallowEmptyEntries\fR is true, a null string is inserted in the list wherever the separator matches twice without intervening text. .PP See also join() and TQString::section(). -.SH "TQStringList TQStringList::split ( const TQChar & sep, const TQString & str, bool allowEmptyEntries = FALSE )\fC [static]\fR" +.SH "TQStringList TQStringList::split ( const TQChar & sep, const TQString & str, bool allowEmptyEntries = false )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This version of the function uses a TQChar as separator, rather than a regular expression. |