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.3qt8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/man/man3/tqvariant.3qt b/doc/man/man3/tqvariant.3qt
index 01fdc28ca..37125f393 100644
--- a/doc/man/man3/tqvariant.3qt
+++ b/doc/man/man3/tqvariant.3qt
@@ -26,7 +26,7 @@ QVariant \- Acts like a union for the most common TQt data types
.BI "\fBQVariant\fR ( const QVariant & p )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( QDataStream & s )"
+.BI "\fBQVariant\fR ( TQDataStream & s )"
.br
.ti -1c
.BI "\fBQVariant\fR ( const TQString & val )"
@@ -415,7 +415,7 @@ Here is some example code to demonstrate the use of QVariant:
.PP
.nf
.br
- QDataStream out(...);
+ TQDataStream out(...);
.br
QVariant v(123); // The variant now contains an int
.br
@@ -435,7 +435,7 @@ Here is some example code to demonstrate the use of QVariant:
.br
...
.br
- QDataStream in(...); // (opening the previously written stream)
+ TQDataStream in(...); // (opening the previously written stream)
.br
in >> v; // Reads an Int variant
.br
@@ -556,7 +556,7 @@ Constructs a new variant with a floating point value, \fIval\fR.
Constructs a new variant with a size policy value, \fIval\fR.
.SH "QVariant::QVariant ( const QVariant & p )"
Constructs a copy of the variant, \fIp\fR, passed as the argument to this constructor. Usually this is a deep copy, but a shallow copy is made if the stored data type is explicitly shared, as e.g. TQImage is.
-.SH "QVariant::QVariant ( QDataStream & s )"
+.SH "QVariant::QVariant ( TQDataStream & s )"
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.