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.3qt124
1 files changed, 62 insertions, 62 deletions
diff --git a/doc/man/man3/tqvariant.3qt b/doc/man/man3/tqvariant.3qt
index 5a75879ed..6623e73cd 100644
--- a/doc/man/man3/tqvariant.3qt
+++ b/doc/man/man3/tqvariant.3qt
@@ -44,7 +44,7 @@ QVariant \- Acts like a union for the most common TQt data types
.BI "\fBQVariant\fR ( const TQFont & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const QPixmap & val )"
+.BI "\fBQVariant\fR ( const TQPixmap & val )"
.br
.ti -1c
.BI "\fBQVariant\fR ( const TQImage & val )"
@@ -53,10 +53,10 @@ QVariant \- Acts like a union for the most common TQt data types
.BI "\fBQVariant\fR ( const TQBrush & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const QPoint & val )"
+.BI "\fBQVariant\fR ( const TQPoint & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const QRect & val )"
+.BI "\fBQVariant\fR ( const TQRect & val )"
.br
.ti -1c
.BI "\fBQVariant\fR ( const TQSize & val )"
@@ -65,7 +65,7 @@ QVariant \- Acts like a union for the most common TQt data types
.BI "\fBQVariant\fR ( const TQColor & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const QPalette & val )"
+.BI "\fBQVariant\fR ( const TQPalette & val )"
.br
.ti -1c
.BI "\fBQVariant\fR ( const TQColorGroup & val )"
@@ -74,10 +74,10 @@ QVariant \- Acts like a union for the most common TQt data types
.BI "\fBQVariant\fR ( const TQIconSet & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const QPointArray & val )"
+.BI "\fBQVariant\fR ( const TQPointArray & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const QRegion & val )"
+.BI "\fBQVariant\fR ( const TQRegion & val )"
.br
.ti -1c
.BI "\fBQVariant\fR ( const TQBitmap & val )"
@@ -104,7 +104,7 @@ QVariant \- Acts like a union for the most common TQt data types
.BI "\fBQVariant\fR ( const QKeySequence & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const QPen & val )"
+.BI "\fBQVariant\fR ( const TQPen & val )"
.br
.ti -1c
.BI "\fBQVariant\fR ( const TQValueList<QVariant> & val )"
@@ -176,7 +176,7 @@ QVariant \- Acts like a union for the most common TQt data types
.BI "const TQFont \fBtoFont\fR () const"
.br
.ti -1c
-.BI "const QPixmap \fBtoPixmap\fR () const"
+.BI "const TQPixmap \fBtoPixmap\fR () const"
.br
.ti -1c
.BI "const TQImage \fBtoImage\fR () const"
@@ -185,10 +185,10 @@ QVariant \- Acts like a union for the most common TQt data types
.BI "const TQBrush \fBtoBrush\fR () const"
.br
.ti -1c
-.BI "const QPoint \fBtoPoint\fR () const"
+.BI "const TQPoint \fBtoPoint\fR () const"
.br
.ti -1c
-.BI "const QRect \fBtoRect\fR () const"
+.BI "const TQRect \fBtoRect\fR () const"
.br
.ti -1c
.BI "const TQSize \fBtoSize\fR () const"
@@ -197,7 +197,7 @@ QVariant \- Acts like a union for the most common TQt data types
.BI "const TQColor \fBtoColor\fR () const"
.br
.ti -1c
-.BI "const QPalette \fBtoPalette\fR () const"
+.BI "const TQPalette \fBtoPalette\fR () const"
.br
.ti -1c
.BI "const TQColorGroup \fBtoColorGroup\fR () const"
@@ -206,13 +206,13 @@ QVariant \- Acts like a union for the most common TQt data types
.BI "const TQIconSet \fBtoIconSet\fR () const"
.br
.ti -1c
-.BI "const QPointArray \fBtoPointArray\fR () const"
+.BI "const TQPointArray \fBtoPointArray\fR () const"
.br
.ti -1c
.BI "const TQBitmap \fBtoBitmap\fR () const"
.br
.ti -1c
-.BI "const QRegion \fBtoRegion\fR () const"
+.BI "const TQRegion \fBtoRegion\fR () const"
.br
.ti -1c
.BI "const QCursor \fBtoCursor\fR () const"
@@ -236,7 +236,7 @@ QVariant \- Acts like a union for the most common TQt data types
.BI "const QKeySequence \fBtoKeySequence\fR () const"
.br
.ti -1c
-.BI "const QPen \fBtoPen\fR () const"
+.BI "const TQPen \fBtoPen\fR () const"
.br
.ti -1c
.BI "int \fBtoInt\fR ( bool * ok = 0 ) const"
@@ -299,7 +299,7 @@ QVariant \- Acts like a union for the most common TQt data types
.BI "TQFont & \fBasFont\fR ()"
.br
.ti -1c
-.BI "QPixmap & \fBasPixmap\fR ()"
+.BI "TQPixmap & \fBasPixmap\fR ()"
.br
.ti -1c
.BI "TQImage & \fBasImage\fR ()"
@@ -308,10 +308,10 @@ QVariant \- Acts like a union for the most common TQt data types
.BI "TQBrush & \fBasBrush\fR ()"
.br
.ti -1c
-.BI "QPoint & \fBasPoint\fR ()"
+.BI "TQPoint & \fBasPoint\fR ()"
.br
.ti -1c
-.BI "QRect & \fBasRect\fR ()"
+.BI "TQRect & \fBasRect\fR ()"
.br
.ti -1c
.BI "TQSize & \fBasSize\fR ()"
@@ -320,7 +320,7 @@ QVariant \- Acts like a union for the most common TQt data types
.BI "TQColor & \fBasColor\fR ()"
.br
.ti -1c
-.BI "QPalette & \fBasPalette\fR ()"
+.BI "TQPalette & \fBasPalette\fR ()"
.br
.ti -1c
.BI "TQColorGroup & \fBasColorGroup\fR ()"
@@ -329,13 +329,13 @@ QVariant \- Acts like a union for the most common TQt data types
.BI "TQIconSet & \fBasIconSet\fR ()"
.br
.ti -1c
-.BI "QPointArray & \fBasPointArray\fR ()"
+.BI "TQPointArray & \fBasPointArray\fR ()"
.br
.ti -1c
.BI "TQBitmap & \fBasBitmap\fR ()"
.br
.ti -1c
-.BI "QRegion & \fBasRegion\fR ()"
+.BI "TQRegion & \fBasRegion\fR ()"
.br
.ti -1c
.BI "QCursor & \fBasCursor\fR ()"
@@ -359,7 +359,7 @@ QVariant \- Acts like a union for the most common TQt data types
.BI "QKeySequence & \fBasKeySequence\fR ()"
.br
.ti -1c
-.BI "QPen & \fBasPen\fR ()"
+.BI "TQPen & \fBasPen\fR ()"
.br
.ti -1c
.BI "int & \fBasInt\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 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.
+Note that three data types supported by QVariant are explicitly shared, namely TQImage, TQPointArray, 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
@@ -516,19 +516,19 @@ This enum type defines the types of variable that a QVariant can contain.
.TP
\fCQVariant::Map\fR - a TQMap<TQString,QVariant>
.TP
-\fCQVariant::Palette\fR - a QPalette
+\fCQVariant::Palette\fR - a TQPalette
.TP
-\fCQVariant::Pen\fR - a QPen
+\fCQVariant::Pen\fR - a TQPen
.TP
-\fCQVariant::Pixmap\fR - a QPixmap
+\fCQVariant::Pixmap\fR - a TQPixmap
.TP
-\fCQVariant::Point\fR - a QPoint
+\fCQVariant::Point\fR - a TQPoint
.TP
-\fCQVariant::PointArray\fR - a QPointArray
+\fCQVariant::PointArray\fR - a TQPointArray
.TP
-\fCQVariant::Rect\fR - a QRect
+\fCQVariant::Rect\fR - a TQRect
.TP
-\fCQVariant::Region\fR - a QRegion
+\fCQVariant::Region\fR - a TQRegion
.TP
\fCQVariant::Size\fR - a TQSize
.TP
@@ -572,7 +572,7 @@ If \fIval\fR is null, the resulting variant has type Invalid.
Constructs a new variant with a string list value, \fIval\fR.
.SH "QVariant::QVariant ( const TQFont & val )"
Constructs a new variant with a font value, \fIval\fR.
-.SH "QVariant::QVariant ( const QPixmap & val )"
+.SH "QVariant::QVariant ( const TQPixmap & val )"
Constructs a new variant with a pixmap value, \fIval\fR.
.SH "QVariant::QVariant ( const TQImage & val )"
Constructs a new variant with an image value, \fIval\fR.
@@ -580,25 +580,25 @@ Constructs a new variant with an image value, \fIval\fR.
Because TQImage is explicitly shared, you may need to pass a deep copy to the variant using TQImage::copy(), e.g. if you intend changing the image you've passed later on.
.SH "QVariant::QVariant ( const TQBrush & val )"
Constructs a new variant with a brush value, \fIval\fR.
-.SH "QVariant::QVariant ( const QPoint & val )"
+.SH "QVariant::QVariant ( const TQPoint & val )"
Constructs a new variant with a point value, \fIval\fR.
-.SH "QVariant::QVariant ( const QRect & val )"
+.SH "QVariant::QVariant ( const TQRect & val )"
Constructs a new variant with a rect value, \fIval\fR.
.SH "QVariant::QVariant ( const TQSize & val )"
Constructs a new variant with a size value, \fIval\fR.
.SH "QVariant::QVariant ( const TQColor & val )"
Constructs a new variant with a color value, \fIval\fR.
-.SH "QVariant::QVariant ( const QPalette & val )"
+.SH "QVariant::QVariant ( const TQPalette & val )"
Constructs a new variant with a color palette value, \fIval\fR.
.SH "QVariant::QVariant ( const TQColorGroup & val )"
Constructs a new variant with a color group value, \fIval\fR.
.SH "QVariant::QVariant ( const TQIconSet & val )"
Constructs a new variant with an icon set value, \fIval\fR.
-.SH "QVariant::QVariant ( const QPointArray & val )"
+.SH "QVariant::QVariant ( const TQPointArray & val )"
Constructs a new variant with a point array value, \fIval\fR.
.PP
-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 )"
+Because TQPointArray is explicitly shared, you may need to pass a deep copy to the variant using TQPointArray::copy(), e.g. if you intend changing the point array you've passed later on.
+.SH "QVariant::QVariant ( const TQRegion & val )"
Constructs a new variant with a region value, \fIval\fR.
.SH "QVariant::QVariant ( const TQBitmap & val )"
Constructs a new variant with a bitmap value, \fIval\fR.
@@ -616,7 +616,7 @@ Constructs a new variant with a bytearray value, \fIval\fR.
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.
-.SH "QVariant::QVariant ( const QPen & val )"
+.SH "QVariant::QVariant ( const TQPen & val )"
Constructs a new variant with a pen value, \fIval\fR.
.SH "QVariant::QVariant ( const TQValueList<QVariant> & val )"
Constructs a new variant with a list value, \fIval\fR.
@@ -766,44 +766,44 @@ Note that if you want to iterate over the map, you should iterate over a copy, e
}
.br
.fi
-.SH "QPalette & QVariant::asPalette ()"
-Tries to convert the variant to hold a QPalette value. If that is not possible the variant is set to a palette of black colors.
+.SH "TQPalette & QVariant::asPalette ()"
+Tries to convert the variant to hold a TQPalette value. If that is not possible the variant is set to a palette of black colors.
.PP
Returns a reference to the stored palette.
.PP
See also toString().
-.SH "QPen & QVariant::asPen ()"
-Tries to convert the variant to hold a QPen value. If that is not possible then the variant is set to an empty pen.
+.SH "TQPen & QVariant::asPen ()"
+Tries to convert the variant to hold a TQPen value. If that is not possible then the variant is set to an empty pen.
.PP
Returns a reference to the stored pen.
.PP
See also toPen().
-.SH "QPixmap & QVariant::asPixmap ()"
+.SH "TQPixmap & QVariant::asPixmap ()"
Tries to convert the variant to hold a pixmap value. If that is not possible the variant is set to a null pixmap.
.PP
Returns a reference to the stored pixmap.
.PP
See also toPixmap().
-.SH "QPoint & QVariant::asPoint ()"
+.SH "TQPoint & QVariant::asPoint ()"
Tries to convert the variant to hold a point value. If that is not possible the variant is set to a (0, 0) point.
.PP
Returns a reference to the stored point.
.PP
See also toPoint().
-.SH "QPointArray & QVariant::asPointArray ()"
-Tries to convert the variant to hold a QPointArray value. If that is not possible the variant is set to an empty point array.
+.SH "TQPointArray & QVariant::asPointArray ()"
+Tries to convert the variant to hold a TQPointArray value. If that is not possible the variant is set to an empty point array.
.PP
Returns a reference to the stored point array.
.PP
See also toPointArray().
-.SH "QRect & QVariant::asRect ()"
+.SH "TQRect & QVariant::asRect ()"
Tries to convert the variant to hold a rectangle value. If that is not possible the variant is set to an empty rectangle.
.PP
Returns a reference to the stored rectangle.
.PP
See also toRect().
-.SH "QRegion & QVariant::asRegion ()"
-Tries to convert the variant to hold a QRegion value. If that is not possible the variant is set to a null region.
+.SH "TQRegion & QVariant::asRegion ()"
+Tries to convert the variant to hold a TQRegion value. If that is not possible the variant is set to a null region.
.PP
Returns a reference to the stored region.
.PP
@@ -1043,32 +1043,32 @@ Note that if you want to iterate over the map, you should iterate over a copy, e
.fi
.PP
See also asMap().
-.SH "const QPalette QVariant::toPalette () const"
-Returns the variant as a QPalette if the variant has type() Palette; otherwise returns a completely black palette.
+.SH "const TQPalette QVariant::toPalette () const"
+Returns the variant as a TQPalette if the variant has type() Palette; otherwise returns a completely black palette.
.PP
See also asPalette().
-.SH "const QPen QVariant::toPen () const"
-Returns the variant as a QPen if the variant has type() Pen; otherwise returns an empty QPen.
+.SH "const TQPen QVariant::toPen () const"
+Returns the variant as a TQPen if the variant has type() Pen; otherwise returns an empty TQPen.
.PP
See also asPen().
-.SH "const QPixmap QVariant::toPixmap () const"
-Returns the variant as a QPixmap if the variant has type() Pixmap; otherwise returns a null pixmap.
+.SH "const TQPixmap QVariant::toPixmap () const"
+Returns the variant as a TQPixmap if the variant has type() Pixmap; otherwise returns a null pixmap.
.PP
See also asPixmap().
-.SH "const QPoint QVariant::toPoint () const"
-Returns the variant as a QPoint if the variant has type() Point; otherwise returns a point (0, 0).
+.SH "const TQPoint QVariant::toPoint () const"
+Returns the variant as a TQPoint if the variant has type() Point; otherwise returns a point (0, 0).
.PP
See also asPoint().
-.SH "const QPointArray QVariant::toPointArray () const"
-Returns the variant as a QPointArray if the variant has type() PointArray; otherwise returns an empty QPointArray.
+.SH "const TQPointArray QVariant::toPointArray () const"
+Returns the variant as a TQPointArray if the variant has type() PointArray; otherwise returns an empty TQPointArray.
.PP
See also asPointArray().
-.SH "const QRect QVariant::toRect () const"
-Returns the variant as a QRect if the variant has type() Rect; otherwise returns an empty rectangle.
+.SH "const TQRect QVariant::toRect () const"
+Returns the variant as a TQRect if the variant has type() Rect; otherwise returns an empty rectangle.
.PP
See also asRect().
-.SH "const QRegion QVariant::toRegion () const"
-Returns the variant as a QRegion if the variant has type() Region; otherwise returns an empty QRegion.
+.SH "const TQRegion QVariant::toRegion () const"
+Returns the variant as a TQRegion if the variant has type() Region; otherwise returns an empty TQRegion.
.PP
See also asRegion().
.SH "const TQSize QVariant::toSize () const"