diff options
Diffstat (limited to 'doc/html/tqdatastream.html')
-rw-r--r-- | doc/html/tqdatastream.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/tqdatastream.html b/doc/html/tqdatastream.html index 8645f78fd..83dc0d459 100644 --- a/doc/html/tqdatastream.html +++ b/doc/html/tqdatastream.html @@ -142,7 +142,7 @@ create the 32-bit length value, then that many characters for the <tt>char*</tt> string including the NUL are read. <p> The initial IODevice is usually set in the constructor, but can be changed with <a href="#setDevice">setDevice</a>(). If you've reached the end of the data -(or if there is no IODevice set) <a href="#atEnd">atEnd</a>() will return TRUE. +(or if there is no IODevice set) <a href="#atEnd">atEnd</a>() will return true. <p> If you want the data to be compatible with an earlier version of TQt use <a href="#setVersion">setVersion</a>(). <p> If you want the data to be human-readable, e.g. for debugging, you @@ -268,9 +268,9 @@ an internal IO device processing a <a href="tqbytearray.html">TQByteArray</a> pa <h3 class=fn>bool <a name="atEnd"></a>TQDataStream::atEnd () const </h3> -<p> Returns TRUE if the IO device has reached the end position (end of +<p> 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 +returns false, i.e. if the current position of the IO device is before the end position. <p> <p>See also <a href="tqiodevice.html#atEnd">TQIODevice::atEnd</a>(). @@ -290,17 +290,17 @@ before the end position. <h3 class=fn>bool <a name="eof"></a>TQDataStream::eof () const </h3> <p> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. -<p> Returns TRUE if the IO device has reached the end position (end of +<p> Returns true if the IO device has reached the end position (end of stream or file) or if there is no IO device set. -<p> Returns FALSE if the current position of the read/write head of the IO +<p> Returns false if the current position of the read/write head of the IO device is somewhere before the end position. <p> <p>See also <a href="tqiodevice.html#atEnd">TQIODevice::atEnd</a>(). <h3 class=fn>bool <a name="isPrintableData"></a>TQDataStream::isPrintableData () const </h3> -<p> Returns TRUE if the printable data flag has been set; otherwise -returns FALSE. +<p> Returns true if the printable data flag has been set; otherwise +returns false. <p> <p>See also <a href="#setPrintableData">setPrintableData</a>(). <h3 class=fn><a href="tqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt"></a>TQDataStream::operator<< ( TQ_INT8 i ) @@ -497,10 +497,10 @@ void <a href="#setDevice">TQDataStream::setDevice</a>(<a href="tqiodevice.html"> <h3 class=fn>void <a name="setPrintableData"></a>TQDataStream::setPrintableData ( bool enable ) </h3> -<p> If <em>enable</em> is TRUE, data will be output in a human readable -format. If <em>enable</em> is FALSE, data will be output in a binary +<p> If <em>enable</em> is true, data will be output in a human readable +format. If <em>enable</em> is false, data will be output in a binary format. -<p> If <em>enable</em> is TRUE, the write functions will generate output +<p> If <em>enable</em> 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. |