summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqdatastream.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqdatastream.3qt')
-rw-r--r--doc/man/man3/tqdatastream.3qt10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/man/man3/tqdatastream.3qt b/doc/man/man3/tqdatastream.3qt
index 9774e5f1..046771aa 100644
--- a/doc/man/man3/tqdatastream.3qt
+++ b/doc/man/man3/tqdatastream.3qt
@@ -22,7 +22,7 @@ All the functions in this class are reentrant when TQt is built with thread supp
.BI "\fBQDataStream\fR ( TQIODevice * d )"
.br
.ti -1c
-.BI "\fBQDataStream\fR ( QByteArray a, int mode )"
+.BI "\fBQDataStream\fR ( TQByteArray a, int mode )"
.br
.ti -1c
.BI "virtual \fB~QDataStream\fR ()"
@@ -313,7 +313,7 @@ Constructs a data stream that uses the IO device \fId\fR.
\fBWarning:\fR If you use QSocket or QSocketDevice as the IO device \fId\fR for reading data, you must make sure that enough data is available on the socket for the operation to successfully proceed; QDataStream does not have any means to handle or recover from short-reads.
.PP
See also setDevice() and device().
-.SH "QDataStream::QDataStream ( QByteArray a, int mode )"
+.SH "QDataStream::QDataStream ( TQByteArray a, int mode )"
Constructs a data stream that operates on a byte array, \fIa\fR, through an internal QBuffer device. The \fImode\fR is a TQIODevice::mode(), usually either IO_ReadOnly or IO_WriteOnly.
.PP
Example:
@@ -322,7 +322,7 @@ Example:
.br
static char bindata[] = { 231, 1, 44, ... };
.br
- QByteArray a;
+ TQByteArray a;
.br
a.setRawData( bindata, sizeof(bindata) ); // a points to bindata
.br
@@ -334,11 +334,11 @@ Example:
.br
.fi
.PP
-The QByteArray::setRawData() function is not for the inexperienced.
+The TQByteArray::setRawData() function is not for the inexperienced.
.SH "QDataStream::~QDataStream ()\fC [virtual]\fR"
Destroys the data stream.
.PP
-The destructor will not affect the current IO device, unless it is an internal IO device processing a QByteArray passed in the \fIconstructor\fR, in which case the internal IO device is destroyed.
+The destructor will not affect the current IO device, unless it is an internal IO device processing a TQByteArray passed in the \fIconstructor\fR, in which case the internal IO device is destroyed.
.SH "bool QDataStream::atEnd () const"
Returns TRUE if the IO device has reached the end position (end of the stream or file) or if there is no IO device set; otherwise returns FALSE, i.e. if the current position of the IO device is before the end position.
.PP