summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqvariant.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqvariant.3qt')
-rw-r--r--doc/man/man3/tqvariant.3qt80
1 files changed, 40 insertions, 40 deletions
diff --git a/doc/man/man3/tqvariant.3qt b/doc/man/man3/tqvariant.3qt
index 5a8876570..02cdd692f 100644
--- a/doc/man/man3/tqvariant.3qt
+++ b/doc/man/man3/tqvariant.3qt
@@ -107,10 +107,10 @@ QVariant \- Acts like a union for the most common TQt data types
.BI "\fBQVariant\fR ( const QPen & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const QValueList<QVariant> & val )"
+.BI "\fBQVariant\fR ( const TQValueList<QVariant> & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const QMap<TQString, QVariant> & val )"
+.BI "\fBQVariant\fR ( const TQMap<TQString, QVariant> & val )"
.br
.ti -1c
.BI "\fBQVariant\fR ( int val )"
@@ -257,34 +257,34 @@ QVariant \- Acts like a union for the most common TQt data types
.BI "double \fBtoDouble\fR ( bool * ok = 0 ) const"
.br
.ti -1c
-.BI "const QValueList<QVariant> \fBtoList\fR () const"
+.BI "const TQValueList<QVariant> \fBtoList\fR () const"
.br
.ti -1c
-.BI "const QMap<TQString, QVariant> \fBtoMap\fR () const"
+.BI "const TQMap<TQString, QVariant> \fBtoMap\fR () const"
.br
.ti -1c
.BI "QSizePolicy \fBtoSizePolicy\fR () const"
.br
.ti -1c
-.BI "QValueListConstIterator<TQString> stringListBegin () const \fI(obsolete)\fR"
+.BI "TQValueListConstIterator<TQString> stringListBegin () const \fI(obsolete)\fR"
.br
.ti -1c
-.BI "QValueListConstIterator<TQString> stringListEnd () const \fI(obsolete)\fR"
+.BI "TQValueListConstIterator<TQString> stringListEnd () const \fI(obsolete)\fR"
.br
.ti -1c
-.BI "QValueListConstIterator<QVariant> listBegin () const \fI(obsolete)\fR"
+.BI "TQValueListConstIterator<QVariant> listBegin () const \fI(obsolete)\fR"
.br
.ti -1c
-.BI "QValueListConstIterator<QVariant> listEnd () const \fI(obsolete)\fR"
+.BI "TQValueListConstIterator<QVariant> listEnd () const \fI(obsolete)\fR"
.br
.ti -1c
-.BI "QMapConstIterator<TQString, QVariant> mapBegin () const \fI(obsolete)\fR"
+.BI "TQMapConstIterator<TQString, QVariant> mapBegin () const \fI(obsolete)\fR"
.br
.ti -1c
-.BI "QMapConstIterator<TQString, QVariant> mapEnd () const \fI(obsolete)\fR"
+.BI "TQMapConstIterator<TQString, QVariant> mapEnd () const \fI(obsolete)\fR"
.br
.ti -1c
-.BI "QMapConstIterator<TQString, QVariant> mapFind ( const TQString & key ) const \fI(obsolete)\fR"
+.BI "TQMapConstIterator<TQString, QVariant> mapFind ( const TQString & key ) const \fI(obsolete)\fR"
.br
.ti -1c
.BI "TQString & \fBasString\fR ()"
@@ -380,10 +380,10 @@ QVariant \- Acts like a union for the most common TQt data types
.BI "double & \fBasDouble\fR ()"
.br
.ti -1c
-.BI "QValueList<QVariant> & \fBasList\fR ()"
+.BI "TQValueList<QVariant> & \fBasList\fR ()"
.br
.ti -1c
-.BI "QMap<TQString, QVariant> & \fBasMap\fR ()"
+.BI "TQMap<TQString, QVariant> & \fBasMap\fR ()"
.br
.ti -1c
.BI "QSizePolicy & \fBasSizePolicy\fR ()"
@@ -453,7 +453,7 @@ Here is some example code to demonstrate the use of QVariant:
.br
.fi
.PP
-You can even store QValueList<QVariant>s and QMap<TQString,QVariant>s in a variant, so you can easily construct arbitrarily complex data structures of arbitrary types. This is very powerful and versatile, but may prove less memory and speed efficient than storing specific types in standard data structures.
+You can even store TQValueList<QVariant>s and TQMap<TQString,QVariant>s in a variant, so you can easily construct arbitrarily complex data structures of arbitrary types. This is very powerful and versatile, but may prove less memory and speed efficient than storing specific types in standard data structures.
.PP
QVariant also supports the notion of NULL values, where you have a defined type with no value set.
.PP
@@ -508,13 +508,13 @@ This enum type defines the types of variable that a QVariant can contain.
.TP
\fCQVariant::KeySequence\fR - a QKeySequence
.TP
-\fCQVariant::List\fR - a QValueList<QVariant>
+\fCQVariant::List\fR - a TQValueList<QVariant>
.TP
\fCQVariant::LongLong\fR - a long long
.TP
\fCQVariant::ULongLong\fR - an unsigned long long
.TP
-\fCQVariant::Map\fR - a QMap<TQString,QVariant>
+\fCQVariant::Map\fR - a TQMap<TQString,QVariant>
.TP
\fCQVariant::Palette\fR - a QPalette
.TP
@@ -618,9 +618,9 @@ Constructs a new variant with a bitarray value, \fIval\fR.
Constructs a new variant with a key sequence value, \fIval\fR.
.SH "QVariant::QVariant ( const QPen & val )"
Constructs a new variant with a pen value, \fIval\fR.
-.SH "QVariant::QVariant ( const QValueList<QVariant> & val )"
+.SH "QVariant::QVariant ( const TQValueList<QVariant> & val )"
Constructs a new variant with a list value, \fIval\fR.
-.SH "QVariant::QVariant ( const QMap<TQString, QVariant> & val )"
+.SH "QVariant::QVariant ( const TQMap<TQString, QVariant> & val )"
Constructs a new variant with a map of QVariants, \fIval\fR.
.SH "QVariant::QVariant ( int val )"
Constructs a new variant with an integer value, \fIval\fR.
@@ -724,16 +724,16 @@ Tries to convert the variant to hold a QKeySequence value. If that is not possib
Returns a reference to the stored key sequence.
.PP
See also toKeySequence().
-.SH "QValueList<QVariant> & QVariant::asList ()"
+.SH "TQValueList<QVariant> & QVariant::asList ()"
Returns the variant's value as variant list reference.
.PP
Note that if you want to iterate over the list, you should iterate over a copy, e.g.
.PP
.nf
.br
- QValueList<QVariant> list = myVariant.asList();
+ TQValueList<QVariant> list = myVariant.asList();
.br
- QValueList<QVariant>::Iterator it = list.begin();
+ TQValueList<QVariant>::Iterator it = list.begin();
.br
while( it != list.end() ) {
.br
@@ -746,16 +746,16 @@ Note that if you want to iterate over the list, you should iterate over a copy,
.fi
.SH "TQ_LLONG & QVariant::asLongLong ()"
Returns the variant's value as long long reference.
-.SH "QMap<TQString, QVariant> & QVariant::asMap ()"
+.SH "TQMap<TQString, QVariant> & QVariant::asMap ()"
Returns the variant's value as variant map reference.
.PP
Note that if you want to iterate over the map, you should iterate over a copy, e.g.
.PP
.nf
.br
- QMap<TQString, QVariant> map = myVariant.asMap();
+ TQMap<TQString, QVariant> map = myVariant.asMap();
.br
- QMap<TQString, QVariant>::Iterator it = map.begin();
+ TQMap<TQString, QVariant>::Iterator it = map.begin();
.br
while( it != map.end() ) {
.br
@@ -875,23 +875,23 @@ Convert this variant to type Invalid and free up any resources used.
Returns TRUE if this is a NULL variant, FALSE otherwise.
.SH "bool QVariant::isValid () const"
Returns TRUE if the storage type of this variant is not QVariant::Invalid; otherwise returns FALSE.
-.SH "QValueListConstIterator<QVariant> QVariant::listBegin () const"
+.SH "TQValueListConstIterator<QVariant> QVariant::listBegin () const"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
Returns an iterator to the first item in the list if the variant's type is appropriate; otherwise returns a null iterator.
-.SH "QValueListConstIterator<QVariant> QVariant::listEnd () const"
+.SH "TQValueListConstIterator<QVariant> QVariant::listEnd () const"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
Returns the end iterator for the list if the variant's type is appropriate; otherwise returns a null iterator.
-.SH "QMapConstIterator<TQString, QVariant> QVariant::mapBegin () const"
+.SH "TQMapConstIterator<TQString, QVariant> QVariant::mapBegin () const"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
Returns an iterator to the first item in the map, if the variant's type is appropriate; otherwise returns a null iterator.
-.SH "QMapConstIterator<TQString, QVariant> QVariant::mapEnd () const"
+.SH "TQMapConstIterator<TQString, QVariant> QVariant::mapEnd () const"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
Returns the end iterator for the map, if the variant's type is appropriate; otherwise returns a null iterator.
-.SH "QMapConstIterator<TQString, QVariant> QVariant::mapFind ( const TQString & key ) const"
+.SH "TQMapConstIterator<TQString, QVariant> QVariant::mapFind ( const TQString & key ) const"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
Returns an iterator to the item in the map with \fIkey\fR as key, if the variant's type is appropriate and \fIkey\fR is a valid key; otherwise returns a null iterator.
@@ -907,11 +907,11 @@ Assigns the value of the variant \fIvariant\fR to this variant.
This is a deep copy of the variant, but note that if the variant holds an explicitly shared type such as TQImage, a shallow copy is performed.
.SH "bool QVariant::operator== ( const QVariant & v ) const"
Compares this QVariant with \fIv\fR and returns TRUE if they are equal; otherwise returns FALSE.
-.SH "QValueListConstIterator<TQString> QVariant::stringListBegin () const"
+.SH "TQValueListConstIterator<TQString> QVariant::stringListBegin () const"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
Returns an iterator to the first string in the list if the variant's type is StringList; otherwise returns a null iterator.
-.SH "QValueListConstIterator<TQString> QVariant::stringListEnd () const"
+.SH "TQValueListConstIterator<TQString> QVariant::stringListEnd () const"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
Returns the end iterator for the list if the variant's type is StringList; otherwise returns a null iterator.
@@ -993,16 +993,16 @@ See also asInt() and canCast().
Returns the variant as a QKeySequence if the variant can be cast to a KeySequence; otherwise returns an empty key sequence.
.PP
See also asKeySequence() and canCast().
-.SH "const QValueList<QVariant> QVariant::toList () const"
-Returns the variant as a QValueList<QVariant> if the variant has type() List or StringList; otherwise returns an empty list.
+.SH "const TQValueList<QVariant> QVariant::toList () const"
+Returns the variant as a TQValueList<QVariant> if the variant has type() List or StringList; 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
- QValueList<QVariant> list = myVariant.toList();
+ TQValueList<QVariant> list = myVariant.toList();
.br
- QValueList<QVariant>::Iterator it = list.begin();
+ TQValueList<QVariant>::Iterator it = list.begin();
.br
while( it != list.end() ) {
.br
@@ -1021,16 +1021,16 @@ Returns the variant as a long long int if the variant can be cast to LongLong; o
If \fIok\fR is non-null: \fI*ok\fR is set to TRUE if the value could be converted to an int; otherwise \fI*ok\fR is set to FALSE.
.PP
See also asLongLong() and canCast().
-.SH "const QMap<TQString, QVariant> QVariant::toMap () const"
-Returns the variant as a QMap<TQString,QVariant> if the variant has type() Map; otherwise returns an empty map.
+.SH "const TQMap<TQString, QVariant> QVariant::toMap () const"
+Returns the variant as a TQMap<TQString,QVariant> if the variant has type() Map; otherwise returns an empty map.
.PP
Note that if you want to iterate over the map, you should iterate over a copy, e.g.
.PP
.nf
.br
- QMap<TQString, QVariant> map = myVariant.toMap();
+ TQMap<TQString, QVariant> map = myVariant.toMap();
.br
- QMap<TQString, QVariant>::Iterator it = map.begin();
+ TQMap<TQString, QVariant>::Iterator it = map.begin();
.br
while( it != map.end() ) {
.br
@@ -1124,7 +1124,7 @@ See also asULongLong() and canCast().
.SH "Type QVariant::type () const"
Returns the storage type of the value stored in the variant. Usually it's best to test with canCast() whether the variant can deliver the data type you are interested in.
.SH "const char * QVariant::typeName () const"
-Returns the name of the type stored in the variant. The returned strings describe the C++ datatype used to store the data: for example, "QFont", "TQString", or "QValueList<QVariant>". An Invalid variant returns 0.
+Returns the name of the type stored in the variant. The returned strings describe the C++ datatype used to store the data: for example, "QFont", "TQString", or "TQValueList<QVariant>". An Invalid variant returns 0.
.SH "const char * QVariant::typeToName ( Type typ )\fC [static]\fR"
Converts the enum representation of the storage type, \fItyp\fR, to
its string representation.