summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqstringlist.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqstringlist.3qt')
-rw-r--r--doc/man/man3/tqstringlist.3qt68
1 files changed, 34 insertions, 34 deletions
diff --git a/doc/man/man3/tqstringlist.3qt b/doc/man/man3/tqstringlist.3qt
index 02bef4bf..c1da5978 100644
--- a/doc/man/man3/tqstringlist.3qt
+++ b/doc/man/man3/tqstringlist.3qt
@@ -13,7 +13,7 @@ All the functions in this class are reentrant when TQt is built with thread supp
.PP
\fC#include <ntqstringlist.h>\fR
.PP
-Inherits QValueList<QString>.
+Inherits QValueList<TQString>.
.PP
.SS "Public Members"
.in +1c
@@ -24,10 +24,10 @@ Inherits QValueList<QString>.
.BI "\fBQStringList\fR ( const QStringList & l )"
.br
.ti -1c
-.BI "\fBQStringList\fR ( const QValueList<QString> & l )"
+.BI "\fBQStringList\fR ( const QValueList<TQString> & l )"
.br
.ti -1c
-.BI "\fBQStringList\fR ( const QString & i )"
+.BI "\fBQStringList\fR ( const TQString & i )"
.br
.ti -1c
.BI "\fBQStringList\fR ( const char * i )"
@@ -36,19 +36,19 @@ Inherits QValueList<QString>.
.BI "void \fBsort\fR ()"
.br
.ti -1c
-.BI "QString \fBjoin\fR ( const QString & sep ) const"
+.BI "TQString \fBjoin\fR ( const TQString & sep ) const"
.br
.ti -1c
-.BI "QStringList \fBgrep\fR ( const QString & 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 QString & before, const QString & 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 QString & after )"
+.BI "QStringList & \fBgres\fR ( const QRegExp & rx, const TQString & after )"
.br
.in -1c
.SS "Static Public Members"
@@ -57,21 +57,21 @@ Inherits QValueList<QString>.
.BI "QStringList \fBfromStrList\fR ( const QStrList & ascii )"
.br
.ti -1c
-.BI "QStringList \fBsplit\fR ( const QString & sep, const QString & 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 QChar & sep, const QString & 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 QString & str, bool allowEmptyEntries = FALSE )"
+.BI "QStringList \fBsplit\fR ( const QRegExp & sep, const TQString & str, bool allowEmptyEntries = FALSE )"
.br
.in -1c
.SH DESCRIPTION
The QStringList class provides a list of strings.
.PP
-It is used to store and manipulate strings that logically belong together. Essentially QStringList is a QValueList of QString objects. Unlike QStrList, which stores pointers to characters, QStringList holds real QString objects. It is the class of choice whenever you work with Unicode strings. QStringList is part of the TQt Template Library.
+It is used to store and manipulate strings that logically belong together. Essentially QStringList is a QValueList of TQString objects. Unlike QStrList, which stores pointers to characters, QStringList holds real TQString objects. It is the class of choice whenever you work with Unicode strings. QStringList is part of the TQt Template Library.
.PP
-Like QString itself, QStringList objects are implicitly shared, so passing them around as value-parameters is both fast and safe.
+Like TQString itself, QStringList objects are implicitly shared, so passing them around as value-parameters is both fast and safe.
.PP
Strings can be added to a list using append(), operator+=() or operator<<(), e.g.
.PP
@@ -113,7 +113,7 @@ You can concatenate all the strings in a string list into a single string (with
.PP
.nf
.br
- QString allFonts = fonts.join( ", " );
+ TQString allFonts = fonts.join( ", " );
.br
cout << allFonts << endl;
.br
@@ -150,7 +150,7 @@ Existing strings can be split into string lists with character, string or regula
.PP
.nf
.br
- QString s = "Red\\tGreen\\tBlue";
+ TQString s = "Red\\tGreen\\tBlue";
.br
QStringList colors = QStringList::split( "\\t", s );
.br
@@ -169,9 +169,9 @@ Creates an empty string list.
.SH "QStringList::QStringList ( const QStringList & l )"
Creates a copy of the list \fIl\fR. This function is very fast because QStringList is implicitly shared. In most situations this acts like a deep copy, for example, if this list or the original one or some other list referencing the same shared data is modified, the modifying list first makes a copy, i.e. copy-on-write. In a threaded environment you may require a real deep copy
.
-.SH "QStringList::QStringList ( const QValueList<QString> & l )"
+.SH "QStringList::QStringList ( const QValueList<TQString> & l )"
Constructs a new string list that is a copy of \fIl\fR.
-.SH "QStringList::QStringList ( const QString & i )"
+.SH "QStringList::QStringList ( const TQString & i )"
Constructs a string list consisting of the single string \fIi\fR. Longer lists are easily created as follows:
.PP
.nf
@@ -185,7 +185,7 @@ 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 QString & 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.
@@ -202,14 +202,14 @@ If \fIcs\fR is TRUE, the grep is done case-sensitively; otherwise case is ignore
.br
.fi
.PP
-See also QString::find().
+See also TQString::find().
.SH "QStringList QStringList::grep ( const QRegExp & 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.
.PP
-See also QString::find().
-.SH "QStringList & QStringList::gres ( const QString & before, const QString & after, bool cs = TRUE )"
+See also TQString::find().
+.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.
@@ -228,8 +228,8 @@ Example:
.br
.fi
.PP
-See also QString::replace().
-.SH "QStringList & QStringList::gres ( const QRegExp & rx, const QString & after )"
+See also TQString::replace().
+.SH "QStringList & QStringList::gres ( const QRegExp & 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.
@@ -264,8 +264,8 @@ Example:
.br
.fi
.PP
-See also QString::replace().
-.SH "QString QStringList::join ( const QString & sep ) const"
+See also TQString::replace().
+.SH "TQString QStringList::join ( const TQString & sep ) const"
Joins the string list into a single string with each element separated by the string \fIsep\fR (which can be empty).
.PP
See also split().
@@ -277,10 +277,10 @@ Sorts the list of strings in ascending case-sensitive order.
.PP
Sorting is very fast. It uses the TQt Template Library's efficient HeapSort implementation that has a time complexity of O(n*log n).
.PP
-If you want to sort your strings in an arbitrary order consider using a QMap. For example you could use a QMap<QString,QString> to create a case-insensitive ordering (e.g. mapping the lowercase text to the text), or a QMap<int,QString> to sort the strings by some integer index, etc.
+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 QString & 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.
@@ -289,26 +289,26 @@ For example, if you split the string "a,,b,c" on commas, split() returns the thr
.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
-See also join() and QString::section().
+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 QString & sep, const QString & 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 QString as separator, rather than a regular expression.
+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( QString( "" ), "four" ) returns the four-item list, "f", "o", "u", "r".
+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.
.PP
-See also join() and QString::section().
-.SH "QStringList QStringList::split ( const QChar & sep, const QString & str, bool allowEmptyEntries = FALSE )\fC [static]\fR"
+See also join() and TQString::section().
+.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 QChar as separator, rather than a regular expression.
+This version of the function uses a TQChar as separator, rather than a regular expression.
.PP
-See also join() and QString::section().
+See also join() and TQString::section().
.SH "SEE ALSO"
.BR http://doc.trolltech.com/ntqstringlist.html