diff options
Diffstat (limited to 'doc/man/man3/tqvariant.3qt')
-rw-r--r-- | doc/man/man3/tqvariant.3qt | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/man/man3/tqvariant.3qt b/doc/man/man3/tqvariant.3qt index 02cdd692f..e197a7fc4 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 |