diff options
Diffstat (limited to 'doc/man/man3/tqdatastream.3qt')
-rw-r--r-- | doc/man/man3/tqdatastream.3qt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/man/man3/tqdatastream.3qt b/doc/man/man3/tqdatastream.3qt index b67fae99d..3267c50c2 100644 --- a/doc/man/man3/tqdatastream.3qt +++ b/doc/man/man3/tqdatastream.3qt @@ -205,7 +205,7 @@ For integers it is best to always cast to a TQt integer type for writing, and to .PP To take one example, a \fCchar*\fR string is written as a 32-bit integer equal to the length of the string including the NUL byte ('\0'), followed by all the characters of the string including the NUL byte. When reading a \fCchar*\fR string, 4 bytes are read to create the 32-bit length value, then that many characters for the \fCchar*\fR string including the NUL are read. .PP -The initial IODevice is usually set in the constructor, but can be changed with setDevice(). If you've reached the end of the data (or if there is no IODevice set) atEnd() will return TRUE. +The initial IODevice is usually set in the constructor, but can be changed with setDevice(). If you've reached the end of the data (or if there is no IODevice set) atEnd() will return true. .PP If you want the data to be compatible with an earlier version of TQt use setVersion(). .PP @@ -340,7 +340,7 @@ Destroys the data stream. .PP 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 TQDataStream::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. +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 See also TQIODevice::atEnd(). .SH "int TQDataStream::byteOrder () const" @@ -354,13 +354,13 @@ See also setDevice() and unsetDevice(). .SH "bool TQDataStream::eof () const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP -Returns TRUE if the IO device has reached the end position (end of stream or file) or if there is no IO device set. +Returns true if the IO device has reached the end position (end of stream or file) or if there is no IO device set. .PP -Returns FALSE if the current position of the read/write head of the IO device is somewhere before the end position. +Returns false if the current position of the read/write head of the IO device is somewhere before the end position. .PP See also TQIODevice::atEnd(). .SH "bool TQDataStream::isPrintableData () const" -Returns TRUE if the printable data flag has been set; otherwise returns FALSE. +Returns true if the printable data flag has been set; otherwise returns false. .PP See also setPrintableData(). .SH "TQDataStream & TQDataStream::operator<< ( TQ_INT8 i )" @@ -498,9 +498,9 @@ Sets the IO device to \fId\fR. .PP See also device() and unsetDevice(). .SH "void TQDataStream::setPrintableData ( bool enable )" -If \fIenable\fR is TRUE, data will be output in a human readable format. If \fIenable\fR is FALSE, data will be output in a binary format. +If \fIenable\fR is true, data will be output in a human readable format. If \fIenable\fR is false, data will be output in a binary format. .PP -If \fIenable\fR is TRUE, the write functions will generate output that consists of printable characters (7 bit ASCII). This output will typically be a lot larger than the default binary output, and consequently slower to write. +If \fIenable\fR is true, the write functions will generate output that consists of printable characters (7 bit ASCII). This output will typically be a lot larger than the default binary output, and consequently slower to write. .PP We recommend only enabling printable data for debugging purposes. .SH "void TQDataStream::setVersion ( int v )" |