summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/qdatastream.3qt
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-17 17:28:28 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-17 17:28:28 -0500
commit6dec101d43dcbd4195c47d54bd388db1a8d7230e (patch)
tree7c336cbed3a93807a34cd4df39b2f92a7d48a141 /doc/man/man3/qdatastream.3qt
parentf27c2533f735d53c6b555f387c6390c0690cc246 (diff)
downloadtqt3-6dec101d43dcbd4195c47d54bd388db1a8d7230e.tar.gz
tqt3-6dec101d43dcbd4195c47d54bd388db1a8d7230e.zip
Automated update from Qt3
Diffstat (limited to 'doc/man/man3/qdatastream.3qt')
-rw-r--r--doc/man/man3/qdatastream.3qt100
1 files changed, 50 insertions, 50 deletions
diff --git a/doc/man/man3/qdatastream.3qt b/doc/man/man3/qdatastream.3qt
index c2627a8b5..b4c5222eb 100644
--- a/doc/man/man3/qdatastream.3qt
+++ b/doc/man/man3/qdatastream.3qt
@@ -64,34 +64,34 @@ All the functions in this class are reentrant when Qt is built with thread suppo
.BI "void \fBsetVersion\fR ( int v )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( Q_INT8 & i )"
+.BI "QDataStream & \fBoperator>>\fR ( TQ_INT8 & i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( Q_UINT8 & i )"
+.BI "QDataStream & \fBoperator>>\fR ( TQ_UINT8 & i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( Q_INT16 & i )"
+.BI "QDataStream & \fBoperator>>\fR ( TQ_INT16 & i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( Q_UINT16 & i )"
+.BI "QDataStream & \fBoperator>>\fR ( TQ_UINT16 & i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( Q_INT32 & i )"
+.BI "QDataStream & \fBoperator>>\fR ( TQ_INT32 & i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( Q_UINT32 & i )"
+.BI "QDataStream & \fBoperator>>\fR ( TQ_UINT32 & i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( Q_INT64 & i )"
+.BI "QDataStream & \fBoperator>>\fR ( TQ_INT64 & i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( Q_UINT64 & i )"
+.BI "QDataStream & \fBoperator>>\fR ( TQ_UINT64 & i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( Q_LONG & i )"
+.BI "QDataStream & \fBoperator>>\fR ( TQ_LONG & i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( Q_ULONG & i )"
+.BI "QDataStream & \fBoperator>>\fR ( TQ_ULONG & i )"
.br
.ti -1c
.BI "QDataStream & \fBoperator>>\fR ( float & f )"
@@ -103,34 +103,34 @@ All the functions in this class are reentrant when Qt is built with thread suppo
.BI "QDataStream & \fBoperator>>\fR ( char *& s )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( Q_INT8 i )"
+.BI "QDataStream & \fBoperator<<\fR ( TQ_INT8 i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( Q_UINT8 i )"
+.BI "QDataStream & \fBoperator<<\fR ( TQ_UINT8 i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( Q_INT16 i )"
+.BI "QDataStream & \fBoperator<<\fR ( TQ_INT16 i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( Q_UINT16 i )"
+.BI "QDataStream & \fBoperator<<\fR ( TQ_UINT16 i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( Q_INT32 i )"
+.BI "QDataStream & \fBoperator<<\fR ( TQ_INT32 i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( Q_UINT32 i )"
+.BI "QDataStream & \fBoperator<<\fR ( TQ_UINT32 i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( Q_INT64 i )"
+.BI "QDataStream & \fBoperator<<\fR ( TQ_INT64 i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( Q_UINT64 i )"
+.BI "QDataStream & \fBoperator<<\fR ( TQ_UINT64 i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( Q_LONG i )"
+.BI "QDataStream & \fBoperator<<\fR ( TQ_LONG i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( Q_ULONG i )"
+.BI "QDataStream & \fBoperator<<\fR ( TQ_ULONG i )"
.br
.ti -1c
.BI "QDataStream & \fBoperator<<\fR ( float f )"
@@ -177,7 +177,7 @@ Example (write binary data to a stream):
.br
stream << "the answer is"; // serialize a string
.br
- stream << (Q_INT32)42; // serialize an integer
+ stream << (TQ_INT32)42; // serialize an integer
.br
.fi
.PP
@@ -193,7 +193,7 @@ Example (read binary data from a stream):
.br
QString str;
.br
- Q_INT32 a;
+ TQ_INT32 a;
.br
stream >> str >> a; // extract "the answer is" and 42
.br
@@ -224,9 +224,9 @@ If you are producing a new binary data format, such as a file format for documen
.br
// Write a header with a "magic number" and a version
.br
- stream << (Q_UINT32)0xA0B0C0D0;
+ stream << (TQ_UINT32)0xA0B0C0D0;
.br
- stream << (Q_INT32)123;
+ stream << (TQ_INT32)123;
.br
.br
// Write the data
@@ -248,7 +248,7 @@ Then read it in with:
.br
// Read and check the header
.br
- Q_UINT32 magic;
+ TQ_UINT32 magic;
.br
stream >> magic;
.br
@@ -259,7 +259,7 @@ Then read it in with:
.br
// Read the version
.br
- Q_INT32 version;
+ TQ_INT32 version;
.br
stream >> version;
.br
@@ -292,7 +292,7 @@ You can select which byte order to use when serializing data. The default settin
.SH "Reading and writing raw binary data"
You may wish to read/write your own raw binary data to/from the data stream directly. Data may be read from the stream into a preallocated char* using readRawBytes(). Similarly data can be written to the stream using writeRawBytes(). Notice that any encoding/decoding of the data must be done by you.
.PP
-A similar pair of functions is readBytes() and writeBytes(). These differ from their \fIraw\fR counterparts as follows: readBytes() reads a Q_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 Q_UINT32 containing the length of the data, followed by the data. Notice that any encoding/decoding of the data (apart from the length Q_UINT32) must be done by you.
+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 QTextStream, QVariant, and Input/Output and Networking.
.SS "Member Type Documentation"
@@ -363,41 +363,41 @@ See also QIODevice::atEnd().
Returns TRUE if the printable data flag has been set; otherwise returns FALSE.
.PP
See also setPrintableData().
-.SH "QDataStream & QDataStream::operator<< ( Q_INT8 i )"
+.SH "QDataStream & QDataStream::operator<< ( TQ_INT8 i )"
Writes a signed byte, \fIi\fR, to the stream and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator<< ( Q_UINT8 i )"
+.SH "QDataStream & QDataStream::operator<< ( TQ_UINT8 i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Writes an unsigned byte, \fIi\fR, to the stream and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator<< ( Q_INT16 i )"
+.SH "QDataStream & QDataStream::operator<< ( TQ_INT16 i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Writes a signed 16-bit integer, \fIi\fR, to the stream and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator<< ( Q_UINT16 i )"
+.SH "QDataStream & QDataStream::operator<< ( TQ_UINT16 i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Writes an unsigned 16-bit integer, \fIi\fR, to the stream and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator<< ( Q_INT32 i )"
+.SH "QDataStream & QDataStream::operator<< ( TQ_INT32 i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Writes a signed 32-bit integer, \fIi\fR, to the stream and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator<< ( Q_UINT32 i )"
+.SH "QDataStream & QDataStream::operator<< ( TQ_UINT32 i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
-Writes an unsigned integer, \fIi\fR, to the stream as a 32-bit unsigned integer (Q_UINT32). Returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator<< ( Q_INT64 i )"
+Writes an unsigned integer, \fIi\fR, to the stream as a 32-bit unsigned integer (TQ_UINT32). Returns a reference to the stream.
+.SH "QDataStream & QDataStream::operator<< ( TQ_INT64 i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Writes a signed 64-bit integer, \fIi\fR, to the stream and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator<< ( Q_UINT64 i )"
+.SH "QDataStream & QDataStream::operator<< ( TQ_UINT64 i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Writes an unsigned 64-bit integer, \fIi\fR, to the stream and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator<< ( Q_LONG i )"
+.SH "QDataStream & QDataStream::operator<< ( TQ_LONG i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Writes a signed integer \fIi\fR, of the system's word length, to the stream and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator<< ( Q_ULONG i )"
+.SH "QDataStream & QDataStream::operator<< ( TQ_ULONG i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Writes an unsigned integer \fIi\fR, of the system's word length, to the stream and returns a reference to the stream.
@@ -415,41 +415,41 @@ This is an overloaded member function, provided for convenience. It behaves esse
Writes the '&#92;0'-terminated string \fIs\fR to the stream and returns a reference to the stream.
.PP
The string is serialized using writeBytes().
-.SH "QDataStream & QDataStream::operator>> ( Q_INT8 & i )"
+.SH "QDataStream & QDataStream::operator>> ( TQ_INT8 & i )"
Reads a signed byte from the stream into \fIi\fR, and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator>> ( Q_UINT8 & i )"
+.SH "QDataStream & QDataStream::operator>> ( TQ_UINT8 & i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Reads an unsigned byte from the stream into \fIi\fR, and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator>> ( Q_INT16 & i )"
+.SH "QDataStream & QDataStream::operator>> ( TQ_INT16 & i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Reads a signed 16-bit integer from the stream into \fIi\fR, and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator>> ( Q_UINT16 & i )"
+.SH "QDataStream & QDataStream::operator>> ( TQ_UINT16 & i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Reads an unsigned 16-bit integer from the stream into \fIi\fR, and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator>> ( Q_INT32 & i )"
+.SH "QDataStream & QDataStream::operator>> ( TQ_INT32 & i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Reads a signed 32-bit integer from the stream into \fIi\fR, and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator>> ( Q_UINT32 & i )"
+.SH "QDataStream & QDataStream::operator>> ( TQ_UINT32 & i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Reads an unsigned 32-bit integer from the stream into \fIi\fR, and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator>> ( Q_INT64 & i )"
+.SH "QDataStream & QDataStream::operator>> ( TQ_INT64 & i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Reads a signed 64-bit integer from the stream into \fIi\fR, and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator>> ( Q_UINT64 & i )"
+.SH "QDataStream & QDataStream::operator>> ( TQ_UINT64 & i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Reads an unsigned 64-bit integer from the stream, into \fIi\fR, and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator>> ( Q_LONG & i )"
+.SH "QDataStream & QDataStream::operator>> ( TQ_LONG & i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Reads a signed integer of the system's word length from the stream into \fIi\fR, and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator>> ( Q_ULONG & i )"
+.SH "QDataStream & QDataStream::operator>> ( TQ_ULONG & i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Reads an unsigned integer of the system's word length from the stream, into \fIi\fR, and returns a reference to the stream.
@@ -474,7 +474,7 @@ The buffer \fIs\fR is allocated using \fCnew\fR. Destroy it with the \fCdelete[]
.PP
The \fIl\fR parameter will be set to the length of the buffer.
.PP
-The serialization format is a Q_UINT32 length specifier first, then \fIl\fR bytes of data. Note that the data is \fInot\fR encoded.
+The serialization format is a TQ_UINT32 length specifier first, then \fIl\fR bytes of data. Note that the data is \fInot\fR encoded.
.PP
See also readRawBytes() and writeBytes().
.SH "QDataStream & QDataStream::readRawBytes ( char * s, uint len )"
@@ -529,7 +529,7 @@ See also setVersion().
.SH "QDataStream & QDataStream::writeBytes ( const char * s, uint len )"
Writes the length specifier \fIlen\fR and the buffer \fIs\fR to the stream and returns a reference to the stream.
.PP
-The \fIlen\fR is serialized as a Q_UINT32, followed by \fIlen\fR bytes from \fIs\fR. Note that the data is \fInot\fR encoded.
+The \fIlen\fR is serialized as a TQ_UINT32, followed by \fIlen\fR bytes from \fIs\fR. Note that the data is \fInot\fR encoded.
.PP
See also writeRawBytes() and readBytes().
.SH "QDataStream & QDataStream::writeRawBytes ( const char * s, uint len )"