summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqstringlist.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-07 14:56:09 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-07 14:56:09 +0900
commit87d29563e3ccdeb7fea0197e262e667ef323ff9c (patch)
tree2d674f204c5205ca577a782e1b50583afd563972 /doc/man/man3/tqstringlist.3qt
parent628b0bb74c3fc327efff8add9c73ada04b1cbea2 (diff)
downloadtqt-87d29563e3ccdeb7fea0197e262e667ef323ff9c.tar.gz
tqt-87d29563e3ccdeb7fea0197e262e667ef323ff9c.zip
Rename utility class nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqstringlist.3qt')
-rw-r--r--doc/man/man3/tqstringlist.3qt16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/man/man3/tqstringlist.3qt b/doc/man/man3/tqstringlist.3qt
index 178fed56a..90f9268e9 100644
--- a/doc/man/man3/tqstringlist.3qt
+++ b/doc/man/man3/tqstringlist.3qt
@@ -42,13 +42,13 @@ Inherits TQValueList<TQString>.
.BI "TQStringList \fBgrep\fR ( const TQString & str, bool cs = TRUE ) const"
.br
.ti -1c
-.BI "TQStringList \fBgrep\fR ( const QRegExp & rx ) const"
+.BI "TQStringList \fBgrep\fR ( const TQRegExp & rx ) const"
.br
.ti -1c
.BI "TQStringList & \fBgres\fR ( const TQString & before, const TQString & after, bool cs = TRUE )"
.br
.ti -1c
-.BI "TQStringList & \fBgres\fR ( const QRegExp & rx, const TQString & after )"
+.BI "TQStringList & \fBgres\fR ( const TQRegExp & rx, const TQString & after )"
.br
.in -1c
.SS "Static Public Members"
@@ -63,7 +63,7 @@ Inherits TQValueList<TQString>.
.BI "TQStringList \fBsplit\fR ( const TQChar & sep, const TQString & str, bool allowEmptyEntries = FALSE )"
.br
.ti -1c
-.BI "TQStringList \fBsplit\fR ( const QRegExp & 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
@@ -203,7 +203,7 @@ If \fIcs\fR is TRUE, the grep is done case-sensitively; otherwise case is ignore
.fi
.PP
See also TQString::find().
-.SH "TQStringList TQStringList::grep ( const QRegExp & rx ) const"
+.SH "TQStringList TQStringList::grep ( const TQRegExp & rx ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns a list of all the strings that match the regular expression \fIrx\fR.
@@ -229,7 +229,7 @@ Example:
.fi
.PP
See also TQString::replace().
-.SH "TQStringList & TQStringList::gres ( const QRegExp & rx, const TQString & after )"
+.SH "TQStringList & TQStringList::gres ( const TQRegExp & rx, const TQString & after )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Replaces every occurrence of the regexp \fIrx\fR in the string with \fIafter\fR. Returns a reference to the string list.
@@ -242,7 +242,7 @@ Example:
.br
list << "alpha" << "beta" << "gamma" << "epsilon";
.br
- list.gres( QRegExp("^a"), "o" );
+ list.gres( TQRegExp("^a"), "o" );
.br
// list == ["olpha", "beta", "gamma", "epsilon"]
.br
@@ -258,7 +258,7 @@ Example:
.br
list << "Bill Clinton" << "Gates, Bill";
.br
- list.gres( QRegExp("^(.*), (.*)$"), "\\\\2 \\\\1" );
+ list.gres( TQRegExp("^(.*), (.*)$"), "\\\\2 \\\\1" );
.br
// list == ["Bill Clinton", "Bill Gates"]
.br
@@ -280,7 +280,7 @@ 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 QRegExp & 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.