diff options
Diffstat (limited to 'doc/man/man3/tqvariant.3qt')
-rw-r--r-- | doc/man/man3/tqvariant.3qt | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/doc/man/man3/tqvariant.3qt b/doc/man/man3/tqvariant.3qt index b1b255170..01fdc28ca 100644 --- a/doc/man/man3/tqvariant.3qt +++ b/doc/man/man3/tqvariant.3qt @@ -32,7 +32,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "\fBQVariant\fR ( const TQString & val )" .br .ti -1c -.BI "\fBQVariant\fR ( const QCString & val )" +.BI "\fBQVariant\fR ( const TQCString & val )" .br .ti -1c .BI "\fBQVariant\fR ( const char * val )" @@ -80,7 +80,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "\fBQVariant\fR ( const QRegion & val )" .br .ti -1c -.BI "\fBQVariant\fR ( const QBitmap & val )" +.BI "\fBQVariant\fR ( const TQBitmap & val )" .br .ti -1c .BI "\fBQVariant\fR ( const QCursor & val )" @@ -95,10 +95,10 @@ QVariant \- Acts like a union for the most common TQt data types .BI "\fBQVariant\fR ( const TQDateTime & val )" .br .ti -1c -.BI "\fBQVariant\fR ( const QByteArray & val )" +.BI "\fBQVariant\fR ( const TQByteArray & val )" .br .ti -1c -.BI "\fBQVariant\fR ( const QBitArray & val )" +.BI "\fBQVariant\fR ( const TQBitArray & val )" .br .ti -1c .BI "\fBQVariant\fR ( const QKeySequence & val )" @@ -167,7 +167,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "const TQString \fBtoString\fR () const" .br .ti -1c -.BI "const QCString \fBtoCString\fR () const" +.BI "const TQCString \fBtoCString\fR () const" .br .ti -1c .BI "const TQStringList \fBtoStringList\fR () const" @@ -209,7 +209,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "const QPointArray \fBtoPointArray\fR () const" .br .ti -1c -.BI "const QBitmap \fBtoBitmap\fR () const" +.BI "const TQBitmap \fBtoBitmap\fR () const" .br .ti -1c .BI "const QRegion \fBtoRegion\fR () const" @@ -227,10 +227,10 @@ QVariant \- Acts like a union for the most common TQt data types .BI "const TQDateTime \fBtoDateTime\fR () const" .br .ti -1c -.BI "const QByteArray \fBtoByteArray\fR () const" +.BI "const TQByteArray \fBtoByteArray\fR () const" .br .ti -1c -.BI "const QBitArray \fBtoBitArray\fR () const" +.BI "const TQBitArray \fBtoBitArray\fR () const" .br .ti -1c .BI "const QKeySequence \fBtoKeySequence\fR () const" @@ -290,7 +290,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "TQString & \fBasString\fR ()" .br .ti -1c -.BI "QCString & \fBasCString\fR ()" +.BI "TQCString & \fBasCString\fR ()" .br .ti -1c .BI "TQStringList & \fBasStringList\fR ()" @@ -332,7 +332,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "QPointArray & \fBasPointArray\fR ()" .br .ti -1c -.BI "QBitmap & \fBasBitmap\fR ()" +.BI "TQBitmap & \fBasBitmap\fR ()" .br .ti -1c .BI "QRegion & \fBasRegion\fR ()" @@ -350,10 +350,10 @@ QVariant \- Acts like a union for the most common TQt data types .BI "TQDateTime & \fBasDateTime\fR ()" .br .ti -1c -.BI "QByteArray & \fBasByteArray\fR ()" +.BI "TQByteArray & \fBasByteArray\fR ()" .br .ti -1c -.BI "QBitArray & \fBasBitArray\fR ()" +.BI "TQBitArray & \fBasBitArray\fR ()" .br .ti -1c .BI "QKeySequence & \fBasKeySequence\fR ()" @@ -407,7 +407,7 @@ A QVariant object holds a single value of a single type() at a time. (Some type( .PP The methods named toT() (for any supported T, see the Type documentation for a list) are const. If you ask for the stored type, they return a copy of the stored object. If you ask for a type that can be generated from the stored type, toT() copies and converts and leaves the object itself unchanged. If you ask for a type that cannot be generated from the stored type, the result depends on the type (see the function documentation for details). .PP -Note that three data types supported by QVariant are explicitly shared, namely TQImage, QPointArray, and QCString, and in these cases the toT() methods return a shallow copy. In almost all cases you must make a deep copy of the returned values before modifying them. +Note that three data types supported by QVariant are explicitly shared, namely TQImage, QPointArray, and TQCString, and in these cases the toT() methods return a shallow copy. In almost all cases you must make a deep copy of the returned values before modifying them. .PP The asT() functions are not const. They do conversion like the toT() methods, set the variant to hold the converted value, and return a reference to the new contents of the variant. .PP @@ -423,7 +423,7 @@ Here is some example code to demonstrate the use of QVariant: .br out << v; // Writes a type tag and an int to out .br - v = QVariant("hello"); // The variant now contains a QCString + v = QVariant("hello"); // The variant now contains a TQCString .br v = QVariant(tr("hello"));// The variant now contains a TQString .br @@ -476,11 +476,11 @@ This enum type defines the types of variable that a QVariant can contain. .TP \fCQVariant::Invalid\fR - no type .TP -\fCQVariant::BitArray\fR - a QBitArray +\fCQVariant::BitArray\fR - a TQBitArray .TP -\fCQVariant::ByteArray\fR - a QByteArray +\fCQVariant::ByteArray\fR - a TQByteArray .TP -\fCQVariant::Bitmap\fR - a QBitmap +\fCQVariant::Bitmap\fR - a TQBitmap .TP \fCQVariant::Bool\fR - a bool .TP @@ -536,7 +536,7 @@ This enum type defines the types of variable that a QVariant can contain. .TP \fCQVariant::String\fR - a TQString .TP -\fCQVariant::CString\fR - a QCString +\fCQVariant::CString\fR - a TQCString .TP \fCQVariant::StringList\fR - a TQStringList .TP @@ -560,10 +560,10 @@ Constructs a copy of the variant, \fIp\fR, passed as the argument to this constr Reads the variant from the data stream, \fIs\fR. .SH "QVariant::QVariant ( const TQString & val )" Constructs a new variant with a string value, \fIval\fR. -.SH "QVariant::QVariant ( const QCString & val )" +.SH "QVariant::QVariant ( const TQCString & val )" Constructs a new variant with a C-string value, \fIval\fR. .PP -If you want to modify the QCString after you've passed it to this constructor, we recommend passing a deep copy (see QCString::copy()). +If you want to modify the TQCString after you've passed it to this constructor, we recommend passing a deep copy (see TQCString::copy()). .SH "QVariant::QVariant ( const char * val )" 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 @@ -600,7 +600,7 @@ Constructs a new variant with a point array value, \fIval\fR. Because QPointArray is explicitly shared, you may need to pass a deep copy to the variant using QPointArray::copy(), e.g. if you intend changing the point array you've passed later on. .SH "QVariant::QVariant ( const QRegion & val )" Constructs a new variant with a region value, \fIval\fR. -.SH "QVariant::QVariant ( const QBitmap & val )" +.SH "QVariant::QVariant ( const TQBitmap & val )" Constructs a new variant with a bitmap value, \fIval\fR. .SH "QVariant::QVariant ( const QCursor & val )" Constructs a new variant with a cursor value, \fIval\fR. @@ -610,9 +610,9 @@ Constructs a new variant with a date value, \fIval\fR. Constructs a new variant with a time value, \fIval\fR. .SH "QVariant::QVariant ( const TQDateTime & val )" Constructs a new variant with a date/time value, \fIval\fR. -.SH "QVariant::QVariant ( const QByteArray & val )" +.SH "QVariant::QVariant ( const TQByteArray & val )" Constructs a new variant with a bytearray value, \fIval\fR. -.SH "QVariant::QVariant ( const QBitArray & val )" +.SH "QVariant::QVariant ( const TQBitArray & val )" Constructs a new variant with a bitarray value, \fIval\fR. .SH "QVariant::QVariant ( const QKeySequence & val )" Constructs a new variant with a key sequence value, \fIval\fR. @@ -634,13 +634,13 @@ Constructs a new variant with an unsigned long long integer value, \fIval\fR. Destroys the QVariant and the contained object. .PP Note that subclasses that reimplement clear() should reimplement the destructor to call clear(). This destructor calls clear(), but because it is the destructor, QVariant::clear() is called rather than a subclass's clear(). -.SH "QBitArray & QVariant::asBitArray ()" -Tries to convert the variant to hold a QBitArray value. If that is not possible then the variant is set to an empty bitarray. +.SH "TQBitArray & QVariant::asBitArray ()" +Tries to convert the variant to hold a TQBitArray value. If that is not possible then the variant is set to an empty bitarray. .PP Returns a reference to the stored bitarray. .PP See also toBitArray(). -.SH "QBitmap & QVariant::asBitmap ()" +.SH "TQBitmap & QVariant::asBitmap ()" Tries to convert the variant to hold a bitmap value. If that is not possible the variant is set to a null bitmap. .PP Returns a reference to the stored bitmap. @@ -654,13 +654,13 @@ Tries to convert the variant to hold a brush value. If that is not possible the Returns a reference to the stored brush. .PP See also toBrush(). -.SH "QByteArray & QVariant::asByteArray ()" -Tries to convert the variant to hold a QByteArray value. If that is not possible then the variant is set to an empty bytearray. +.SH "TQByteArray & QVariant::asByteArray ()" +Tries to convert the variant to hold a TQByteArray value. If that is not possible then the variant is set to an empty bytearray. .PP Returns a reference to the stored bytearray. .PP See also toByteArray(). -.SH "QCString & QVariant::asCString ()" +.SH "TQCString & QVariant::asCString ()" Tries to convert the variant to hold a string value. If that is not possible the variant is set to an empty string. .PP Returns a reference to the stored string. @@ -915,12 +915,12 @@ Returns an iterator to the first string in the list if the variant's type is Str \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. -.SH "const QBitArray QVariant::toBitArray () const" -Returns the variant as a QBitArray if the variant has type() BitArray; otherwise returns an empty bitarray. +.SH "const TQBitArray QVariant::toBitArray () const" +Returns the variant as a TQBitArray if the variant has type() BitArray; otherwise returns an empty bitarray. .PP See also asBitArray(). -.SH "const QBitmap QVariant::toBitmap () const" -Returns the variant as a QBitmap if the variant has type() Bitmap; otherwise returns a null QBitmap. +.SH "const TQBitmap QVariant::toBitmap () const" +Returns the variant as a TQBitmap if the variant has type() Bitmap; otherwise returns a null TQBitmap. .PP See also asBitmap(). .SH "bool QVariant::toBool () const" @@ -933,12 +933,12 @@ See also asBool() and canCast(). Returns the variant as a QBrush if the variant has type() Brush; otherwise returns a default brush (with all black colors). .PP See also asBrush(). -.SH "const QByteArray QVariant::toByteArray () const" -Returns the variant as a QByteArray if the variant can be cast to a ByteArray; otherwise returns an empty bytearray. +.SH "const TQByteArray QVariant::toByteArray () const" +Returns the variant as a TQByteArray if the variant can be cast to a ByteArray; otherwise returns an empty bytearray. .PP See also asByteArray() and canCast(). -.SH "const QCString QVariant::toCString () const" -Returns the variant as a QCString if the variant can be cast to a CString; otherwise returns 0. +.SH "const TQCString QVariant::toCString () const" +Returns the variant as a TQCString if the variant can be cast to a CString; otherwise returns 0. .PP See also asCString() and canCast(). .SH "const TQColor QVariant::toColor () const" |