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.3qt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/man/man3/tqdatastream.3qt b/doc/man/man3/tqdatastream.3qt
index 238235b4..b67fae99 100644
--- a/doc/man/man3/tqdatastream.3qt
+++ b/doc/man/man3/tqdatastream.3qt
@@ -199,7 +199,7 @@ Example (read binary data from a stream):
.br
.fi
.PP
-Each item written to the stream is written in a predefined binary format that varies depending on the item's type. Supported TQt types include TQBrush, TQColor, TQDateTime, TQFont, TQPixmap, TQString, QVariant and many others. For the complete list of all TQt types supporting data streaming see the Format of the TQDataStream operators.
+Each item written to the stream is written in a predefined binary format that varies depending on the item's type. Supported TQt types include TQBrush, TQColor, TQDateTime, TQFont, TQPixmap, TQString, TQVariant and many others. For the complete list of all TQt types supporting data streaming see the Format of the TQDataStream operators.
.PP
For integers it is best to always cast to a TQt integer type for writing, and to read back into the same TQt integer type. This ensures that you get integers of the size you want and insulates you from compiler and platform differences.
.PP
@@ -294,7 +294,7 @@ You may wish to read/write your own raw binary data to/from the data stream dire
.PP
A similar pair of functions is readBytes() and writeBytes(). These differ from their \fIraw\fR counterparts as follows: readBytes() reads a TQ_UINT32 which is taken to be the length of the data to be read, then that number of bytes is read into the preallocated char*; writeBytes() writes a TQ_UINT32 containing the length of the data, followed by the data. Notice that any encoding/decoding of the data (apart from the length TQ_UINT32) must be done by you.
.PP
-See also TQTextStream, QVariant, and Input/Output and Networking.
+See also TQTextStream, TQVariant, and Input/Output and Networking.
.SS "Member Type Documentation"
.SH "TQDataStream::ByteOrder"
The byte order used for reading/writing the data.