summaryrefslogtreecommitdiffstats
path: root/doc/html/tqfile.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tqfile.html')
-rw-r--r--doc/html/tqfile.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/tqfile.html b/doc/html/tqfile.html
index ff845a39c..b4e97f799 100644
--- a/doc/html/tqfile.html
+++ b/doc/html/tqfile.html
@@ -100,7 +100,7 @@ and write with <a href="tqiodevice.html#writeBlock">writeBlock</a>(). TQFile als
<p> The size of the file is returned by <a href="#size">size</a>(). You can get the
current file position or move to a new file position using the
<a href="tqiodevice.html#at">at</a>() functions. If you've reached the end of the file, <a href="#atEnd">atEnd</a>()
-returns TRUE. The file handle is returned by <a href="#handle">handle</a>().
+returns true. The file handle is returned by <a href="#handle">handle</a>().
<p> Here is a code fragment that uses <a href="tqtextstream.html">TQTextStream</a> to read a text file
line by line. It prints each line with a line number.
<pre>
@@ -166,7 +166,7 @@ Destroys a TQFile. Calls <a href="#close">close</a>().
<h3 class=fn>bool <a name="atEnd"></a>TQFile::atEnd () const<tt> [virtual]</tt>
</h3>
-Returns TRUE if the end of file has been reached; otherwise returns FALSE.
+Returns true if the end of file has been reached; otherwise returns false.
If TQFile has not been <a href="#open">open</a>()'d, then the behavior is undefined.
<p> <p>See also <a href="#size">size</a>().
@@ -238,14 +238,14 @@ should translate it first, for example:
<h3 class=fn>bool <a name="exists"></a>TQFile::exists ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;fileName )<tt> [static]</tt>
</h3>
-Returns TRUE if the file given by <em>fileName</em> exists; otherwise
-returns FALSE.
+Returns true if the file given by <em>fileName</em> exists; otherwise
+returns false.
<p>Examples: <a href="tutorial2-05.html#x2563">chart/chartform.cpp</a>, <a href="dirview-example.html#x1674">dirview/dirview.cpp</a>, and <a href="helpviewer-example.html#x988">helpviewer/helpwindow.cpp</a>.
<h3 class=fn>bool <a name="exists-2"></a>TQFile::exists () const
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
-<p> Returns TRUE if this file exists; otherwise returns FALSE.
+<p> Returns true if this file exists; otherwise returns false.
<p> <p>See also <a href="#name">name</a>().
<h3 class=fn>void <a name="flush"></a>TQFile::flush ()<tt> [virtual]</tt>
@@ -281,7 +281,7 @@ can be used with <a href="tqsocketnotifier.html">TQSocketNotifier</a> as well.
<h3 class=fn>bool <a name="open"></a>TQFile::open ( int&nbsp;m )<tt> [virtual]</tt>
</h3>
Opens the file specified by the file name currently set, using the
-mode <em>m</em>. Returns TRUE if successful, otherwise FALSE.
+mode <em>m</em>. Returns true if successful, otherwise false.
<p> <!-- index IO_Raw --><!-- index IO_ReadOnly --><!-- index IO_WriteOnly --><!-- index IO_ReadWrite --><!-- index IO_Append --><!-- index IO_Truncate --><!-- index IO_Translate -->
<p> The mode parameter <em>m</em> must be a combination of the following flags:
<center><table cellpadding="4" cellspacing="2" border="0">
@@ -342,7 +342,7 @@ is specified, it is created.
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Opens a file in the mode <em>m</em> using an existing file handle <em>f</em>.
-Returns TRUE if successful, otherwise FALSE.
+Returns true if successful, otherwise false.
<p> Example:
<pre>
#include &lt;stdio.h&gt;
@@ -367,7 +367,7 @@ information.
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Opens a file in the mode <em>m</em> using an existing file descriptor <em>f</em>.
-Returns TRUE if successful, otherwise FALSE.
+Returns true if successful, otherwise false.
<p> When a TQFile is opened using this function, <a href="#close">close</a>() does not actually
close the file.
<p> The TQFile that is opened using this function, is automatically set to be in
@@ -420,14 +420,14 @@ flag.
<h3 class=fn>bool <a name="remove"></a>TQFile::remove ()
</h3>
Removes the file specified by the file name currently set. Returns
-TRUE if successful; otherwise returns FALSE.
+true if successful; otherwise returns false.
<p> The file is closed before it is removed.
<h3 class=fn>bool <a name="remove-2"></a>TQFile::remove ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;fileName )<tt> [static]</tt>
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Removes the file <em>fileName</em>.
-Returns TRUE if successful, otherwise FALSE.
+Returns true if successful, otherwise false.
<h3 class=fn>void <a name="setDecodingFunction"></a>TQFile::setDecodingFunction ( <a href="tqfile.html#DecoderFn">DecoderFn</a>&nbsp;f )<tt> [static]</tt>
</h3><p><b>Warning:</b> This function is <i>not</i> <a href="threads.html#reentrant">reentrant</a>.</p>