diff options
Diffstat (limited to 'doc/html/tqiodevice.html')
-rw-r--r-- | doc/html/tqiodevice.html | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/doc/html/tqiodevice.html b/doc/html/tqiodevice.html index de139b46e..f97d6dcb5 100644 --- a/doc/html/tqiodevice.html +++ b/doc/html/tqiodevice.html @@ -150,14 +150,14 @@ after you ask to read it. <a href="#isSynchronous">isSynchronous</a>() and <a hr tell the user how this device operates. <p> <li> CR/LF translation. For simplicity, applications often like to see just a single CR/LF style, and TQIODevice subclasses can -provide this. <a href="#isTranslated">isTranslated</a>() returns TRUE if this object +provide this. <a href="#isTranslated">isTranslated</a>() returns true if this object translates CR/LF to just LF. (This can often be set by the application in the call to open().) <p> <li> Permissions. Some files cannot be written. For example, <a href="#isReadable">isReadable</a>(), <a href="#isWritable">isWritable</a>() and <a href="#isReadWrite">isReadWrite</a>() tell the application whether it can read from and write to a given device. (This can often be set by the application in the call to <a href="#open">open</a>().) -<p> <li> Finally, <a href="#isOpen">isOpen</a>() returns TRUE if the device is open, i.e. +<p> <li> Finally, <a href="#isOpen">isOpen</a>() returns true if the device is open, i.e. after an open() call. <p> </ul> <p> TQIODevice provides numerous pure virtual functions that you need @@ -220,15 +220,15 @@ device. <h3 class=fn>bool <a name="at-2"></a>TQIODevice::at ( <a href="tqiodevice.html#Offset">Offset</a> pos )<tt> [virtual]</tt> </h3> Virtual function that sets the I/O device position to <em>pos</em>. -Returns TRUE if the position was successfully set, i.e. <em>pos</em> is -within range and the seek was successful; otherwise returns FALSE. +Returns true if the position was successfully set, i.e. <em>pos</em> is +within range and the seek was successful; otherwise returns false. <p> <p>See also <a href="#size">size</a>(). <p>Reimplemented in <a href="tqsocket.html#at-2">TQSocket</a>. <h3 class=fn>bool <a name="atEnd"></a>TQIODevice::atEnd () const<tt> [virtual]</tt> </h3> -Virtual function that returns TRUE if the I/O device position is -at the end of the input; otherwise returns FALSE. +Virtual function that returns true if the I/O device position is +at the end of the input; otherwise returns false. <p>Reimplemented in <a href="tqfile.html#atEnd">TQFile</a> and <a href="tqsocket.html#atEnd">TQSocket</a>. <h3 class=fn>void <a name="close"></a>TQIODevice::close ()<tt> [pure virtual]</tt> @@ -266,74 +266,74 @@ device has been reached. <h3 class=fn>bool <a name="isAsynchronous"></a>TQIODevice::isAsynchronous () const </h3> -<p> Returns TRUE if the device is an asynchronous device; otherwise -returns FALSE, i.e. if the device is a synchronous device. +<p> Returns true if the device is an asynchronous device; otherwise +returns false, i.e. if the device is a synchronous device. <p> This mode is currently not in use. <p> <p>See also <a href="#isSynchronous">isSynchronous</a>(). <h3 class=fn>bool <a name="isBuffered"></a>TQIODevice::isBuffered () const </h3> -<p> Returns TRUE if the I/O device is a buffered device; otherwise -returns FALSE, i.e. the device is a raw device. +<p> Returns true if the I/O device is a buffered device; otherwise +returns false, i.e. the device is a raw device. <p> <p>See also <a href="#isRaw">isRaw</a>(). <h3 class=fn>bool <a name="isCombinedAccess"></a>TQIODevice::isCombinedAccess () const </h3> -<p> Returns TRUE if the I/O device is a combined access (both direct -and sequential) device; otherwise returns FALSE. +<p> Returns true if the I/O device is a combined access (both direct +and sequential) device; otherwise returns false. <p> This access method is currently not in use. <h3 class=fn>bool <a name="isDirectAccess"></a>TQIODevice::isDirectAccess () const </h3> -<p> Returns TRUE if the I/O device is a direct access device; -otherwise returns FALSE, i.e. if the device is a sequential access +<p> Returns true if the I/O device is a direct access device; +otherwise returns false, i.e. if the device is a sequential access device. <p> <p>See also <a href="#isSequentialAccess">isSequentialAccess</a>(). <h3 class=fn>bool <a name="isInactive"></a>TQIODevice::isInactive () const </h3> -<p> Returns TRUE if the I/O device state is 0, i.e. the device is not -open; otherwise returns FALSE. +<p> Returns true if the I/O device state is 0, i.e. the device is not +open; otherwise returns false. <p> <p>See also <a href="#isOpen">isOpen</a>(). <h3 class=fn>bool <a name="isOpen"></a>TQIODevice::isOpen () const </h3> -<p> Returns TRUE if the I/O device has been opened; otherwise returns -FALSE. +<p> Returns true if the I/O device has been opened; otherwise returns +false. <p> <p>See also <a href="#isInactive">isInactive</a>(). <p>Example: <a href="networkprotocol-example.html#x670">network/networkprotocol/nntp.cpp</a>. <h3 class=fn>bool <a name="isRaw"></a>TQIODevice::isRaw () const </h3> -<p> Returns TRUE if the device is a raw device; otherwise returns -FALSE, i.e. if the device is a buffered device. +<p> Returns true if the device is a raw device; otherwise returns +false, i.e. if the device is a buffered device. <p> <p>See also <a href="#isBuffered">isBuffered</a>(). <h3 class=fn>bool <a name="isReadWrite"></a>TQIODevice::isReadWrite () const </h3> -<p> Returns TRUE if the I/O device was opened using <a href="tqfile.html#open">IO_ReadWrite</a> -mode; otherwise returns FALSE. +<p> Returns true if the I/O device was opened using <a href="tqfile.html#open">IO_ReadWrite</a> +mode; otherwise returns false. <p> <p>See also <a href="#isReadable">isReadable</a>() and <a href="#isWritable">isWritable</a>(). <h3 class=fn>bool <a name="isReadable"></a>TQIODevice::isReadable () const </h3> -<p> Returns TRUE if the I/O device was opened using <a href="tqfile.html#open">IO_ReadOnly</a> or -<a href="tqfile.html#open">IO_ReadWrite</a> mode; otherwise returns FALSE. +<p> Returns true if the I/O device was opened using <a href="tqfile.html#open">IO_ReadOnly</a> or +<a href="tqfile.html#open">IO_ReadWrite</a> mode; otherwise returns false. <p> <p>See also <a href="#isWritable">isWritable</a>() and <a href="#isReadWrite">isReadWrite</a>(). <h3 class=fn>bool <a name="isSequentialAccess"></a>TQIODevice::isSequentialAccess () const </h3> -<p> Returns TRUE if the device is a sequential access device; -otherwise returns FALSE, i.e. if the device is a direct access +<p> Returns true if the device is a sequential access device; +otherwise returns false, i.e. if the device is a direct access device. <p> Operations involving <a href="#size">size</a>() and <a href="#at">at</a>(int) are not valid on sequential devices. @@ -342,23 +342,23 @@ sequential devices. <h3 class=fn>bool <a name="isSynchronous"></a>TQIODevice::isSynchronous () const </h3> -<p> Returns TRUE if the I/O device is a synchronous device; otherwise -returns FALSE, i.e. the device is an asynchronous device. +<p> Returns true if the I/O device is a synchronous device; otherwise +returns false, i.e. the device is an asynchronous device. <p> <p>See also <a href="#isAsynchronous">isAsynchronous</a>(). <h3 class=fn>bool <a name="isTranslated"></a>TQIODevice::isTranslated () const </h3> -<p> Returns TRUE if the I/O device translates carriage-return and -linefeed characters; otherwise returns FALSE. +<p> Returns true if the I/O device translates carriage-return and +linefeed characters; otherwise returns false. <p> A <a href="tqfile.html">TQFile</a> is translated if it is opened with the <a href="tqfile.html#open">IO_Translate</a> mode flag. <h3 class=fn>bool <a name="isWritable"></a>TQIODevice::isWritable () const </h3> -<p> Returns TRUE if the I/O device was opened using <a href="tqfile.html#open">IO_WriteOnly</a> or -<a href="tqfile.html#open">IO_ReadWrite</a> mode; otherwise returns FALSE. +<p> Returns true if the I/O device was opened using <a href="tqfile.html#open">IO_WriteOnly</a> or +<a href="tqfile.html#open">IO_ReadWrite</a> mode; otherwise returns false. <p> <p>See also <a href="#isReadable">isReadable</a>() and <a href="#isReadWrite">isReadWrite</a>(). <h3 class=fn>int <a name="mode"></a>TQIODevice::mode () const @@ -373,8 +373,8 @@ mode. <h3 class=fn>bool <a name="open"></a>TQIODevice::open ( int mode )<tt> [pure virtual]</tt> </h3> -<p> Opens the I/O device using the specified <em>mode</em>. Returns TRUE if -the device was successfully opened; otherwise returns FALSE. +<p> Opens the I/O device using the specified <em>mode</em>. Returns true if +the device was successfully opened; otherwise returns false. <p> The mode parameter <em>mode</em> must be an OR'ed combination of the following flags. <center><table cellpadding="4" cellspacing="2" border="0"> @@ -490,7 +490,7 @@ Used by subclasses to set the device status (not state) to <em>s</em>. <p> Returns the I/O device status. <p> The I/O device status returns an error code. If <a href="#open">open</a>() returns -FALSE or <a href="#readBlock">readBlock</a>() or <a href="#writeBlock">writeBlock</a>() return -1, this function can +false or <a href="#readBlock">readBlock</a>() or <a href="#writeBlock">writeBlock</a>() return -1, this function can be called to find out the reason why the operation failed. <p> <!-- index IO_Ok --><!-- index IO_ReadError --><!-- index IO_WriteError --><!-- index IO_FatalError --><!-- index IO_OpenError --><!-- index IO_ConnectError --><!-- index IO_AbortError --><!-- index IO_TimeOutError --><!-- index IO_UnspecifiedError --> <p> The status codes are: |