summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqvariant.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-06-06 13:44:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-06-06 13:52:29 +0900
commite6077c30d14e9d662e8843c554db86c0d366d0b6 (patch)
tree672319afee32f0316bad258c0e9a1e0dd737bd61 /doc/man/man3/tqvariant.3qt
parent8c029298d9d3f1f84b65ac4a3a16cd1fa28d9cde (diff)
downloadtqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.tar.gz
tqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.zip
Rename str nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqvariant.3qt')
-rw-r--r--doc/man/man3/tqvariant.3qt28
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/man/man3/tqvariant.3qt b/doc/man/man3/tqvariant.3qt
index 02cdd692..e197a7fc 100644
--- a/doc/man/man3/tqvariant.3qt
+++ b/doc/man/man3/tqvariant.3qt
@@ -38,7 +38,7 @@ QVariant \- Acts like a union for the most common TQt data types
.BI "\fBQVariant\fR ( const char * val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const QStringList & val )"
+.BI "\fBQVariant\fR ( const TQStringList & val )"
.br
.ti -1c
.BI "\fBQVariant\fR ( const QFont & val )"
@@ -170,7 +170,7 @@ QVariant \- Acts like a union for the most common TQt data types
.BI "const QCString \fBtoCString\fR () const"
.br
.ti -1c
-.BI "const QStringList \fBtoStringList\fR () const"
+.BI "const TQStringList \fBtoStringList\fR () const"
.br
.ti -1c
.BI "const QFont \fBtoFont\fR () const"
@@ -293,7 +293,7 @@ QVariant \- Acts like a union for the most common TQt data types
.BI "QCString & \fBasCString\fR ()"
.br
.ti -1c
-.BI "QStringList & \fBasStringList\fR ()"
+.BI "TQStringList & \fBasStringList\fR ()"
.br
.ti -1c
.BI "QFont & \fBasFont\fR ()"
@@ -447,7 +447,7 @@ Here is some example code to demonstrate the use of QVariant:
.br
v.asInt() += 100; // The variant now hold the value 223.
.br
- v = QVariant( QStringList() );
+ v = QVariant( TQStringList() );
.br
v.asStringList().append( "Hello" );
.br
@@ -538,7 +538,7 @@ This enum type defines the types of variable that a QVariant can contain.
.TP
\fCQVariant::CString\fR - a QCString
.TP
-\fCQVariant::StringList\fR - a QStringList
+\fCQVariant::StringList\fR - a TQStringList
.TP
\fCQVariant::Time\fR - a QTime
.TP
@@ -568,7 +568,7 @@ If you want to modify the QCString after you've passed it to this constructor, w
Constructs a new variant with a C-string value of \fIval\fR if \fIval\fR is non-null. The variant creates a deep copy of \fIval\fR.
.PP
If \fIval\fR is null, the resulting variant has type Invalid.
-.SH "QVariant::QVariant ( const QStringList & val )"
+.SH "QVariant::QVariant ( const TQStringList & val )"
Constructs a new variant with a string list value, \fIval\fR.
.SH "QVariant::QVariant ( const QFont & val )"
Constructs a new variant with a font value, \fIval\fR.
@@ -822,8 +822,8 @@ Tries to convert the variant to hold a string value. If that is not possible the
Returns a reference to the stored string.
.PP
See also toString().
-.SH "QStringList & QVariant::asStringList ()"
-Tries to convert the variant to hold a QStringList value. If that is not possible the variant is set to an empty string list.
+.SH "TQStringList & QVariant::asStringList ()"
+Tries to convert the variant to hold a TQStringList value. If that is not possible the variant is set to an empty string list.
.PP
Returns a reference to the stored string list.
.PP
@@ -831,9 +831,9 @@ Note that if you want to iterate over the list, you should iterate over a copy,
.PP
.nf
.br
- QStringList list = myVariant.asStringList();
+ TQStringList list = myVariant.asStringList();
.br
- QStringList::Iterator it = list.begin();
+ TQStringList::Iterator it = list.begin();
.br
while( it != list.end() ) {
.br
@@ -1081,16 +1081,16 @@ Returns the variant as a QSizePolicy if the variant has type() SizePolicy; other
Returns the variant as a TQString if the variant can be cast to String, otherwise returns TQString::null.
.PP
See also asString() and canCast().
-.SH "const QStringList QVariant::toStringList () const"
-Returns the variant as a QStringList if the variant has type() StringList or List of a type that can be converted to TQString; otherwise returns an empty list.
+.SH "const TQStringList QVariant::toStringList () const"
+Returns the variant as a TQStringList if the variant has type() StringList or List of a type that can be converted to TQString; otherwise returns an empty list.
.PP
Note that if you want to iterate over the list, you should iterate over a copy, e.g.
.PP
.nf
.br
- QStringList list = myVariant.toStringList();
+ TQStringList list = myVariant.toStringList();
.br
- QStringList::Iterator it = list.begin();
+ TQStringList::Iterator it = list.begin();
.br
while( it != list.end() ) {
.br