diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-31 13:38:31 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-31 13:43:03 +0900 |
| commit | 6e4a70d41a2636ce99a1da7b6827ac5685ed3186 (patch) | |
| tree | b029ebf1d5be6d1ac0ee361e7bfb68a7dbed0eec /doc/man/man3/tqstringlist.3qt | |
| parent | 81ade129093a279e6537db25710583fd2bba9427 (diff) | |
| download | tqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.tar.gz tqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.zip | |
Replace TRUE/FALSE with boolean values true/false - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked and manually edited from commit 6dd781c483eea56f51ae0eff47d857976b5d0f0d)
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 c1da5978d..e8920b959 100644 --- a/doc/man/man3/tqstringlist.3qt +++ b/doc/man/man3/tqstringlist.3qt @@ -39,13 +39,13 @@ Inherits QValueList<TQString>. .BI "TQString \fBjoin\fR ( const TQString & sep ) const" .br .ti -1c -.BI "QStringList \fBgrep\fR ( const TQString & str, bool cs = TRUE ) const" +.BI "QStringList \fBgrep\fR ( const TQString & str, bool cs = true ) const" .br .ti -1c .BI "QStringList \fBgrep\fR ( const QRegExp & rx ) const" .br .ti -1c -.BI "QStringList & \fBgres\fR ( const TQString & before, const TQString & after, bool cs = TRUE )" +.BI "QStringList & \fBgres\fR ( const TQString & before, const TQString & after, bool cs = true )" .br .ti -1c .BI "QStringList & \fBgres\fR ( const QRegExp & rx, const TQString & after )" @@ -57,13 +57,13 @@ Inherits QValueList<TQString>. .BI "QStringList \fBfromStrList\fR ( const QStrList & ascii )" .br .ti -1c -.BI "QStringList \fBsplit\fR ( const TQString & sep, const TQString & str, bool allowEmptyEntries = FALSE )" +.BI "QStringList \fBsplit\fR ( const TQString & sep, const TQString & str, bool allowEmptyEntries = false )" .br .ti -1c -.BI "QStringList \fBsplit\fR ( const TQChar & sep, const TQString & str, bool allowEmptyEntries = FALSE )" +.BI "QStringList \fBsplit\fR ( const TQChar & sep, const TQString & str, bool allowEmptyEntries = false )" .br .ti -1c -.BI "QStringList \fBsplit\fR ( const QRegExp & sep, const TQString & str, bool allowEmptyEntries = FALSE )" +.BI "QStringList \fBsplit\fR ( const QRegExp & 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 "QStringList QStringList::fromStrList ( const QStrList & ascii )\fC [static]\fR" Converts from an ASCII-QStrList \fIascii\fR to a QStringList (Unicode). -.SH "QStringList QStringList::grep ( const TQString & str, bool cs = TRUE ) const" +.SH "QStringList QStringList::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 "QStringList & QStringList::gres ( const TQString & before, const TQString & after, bool cs = TRUE )" +.SH "QStringList & QStringList::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 QMap. For example you could use a QMap<TQString,TQString> to create a case-insensitive ordering (e.g. mapping the lowercase text to the text), or a QMap<int,TQString> to sort the strings by some integer index, etc. .PP Example: themes/themes.cpp. -.SH "QStringList QStringList::split ( const QRegExp & sep, const TQString & str, bool allowEmptyEntries = FALSE )\fC [static]\fR" +.SH "QStringList QStringList::split ( const QRegExp & 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 "QStringList QStringList::split ( const TQString & sep, const TQString & str, bool allowEmptyEntries = FALSE )\fC [static]\fR" +.SH "QStringList QStringList::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 "QStringList QStringList::split ( const TQChar & sep, const TQString & str, bool allowEmptyEntries = FALSE )\fC [static]\fR" +.SH "QStringList QStringList::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. |
