summaryrefslogtreecommitdiffstats
path: root/doc/html/network.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-11-26 15:11:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-11-26 15:11:22 +0900
commitb87533f9904c10f24d6b2e8177c00944e3efe15b (patch)
treec1106a381c851b51e86004698457aef1211b77be /doc/html/network.html
parent894037c3e68e1573a34183d936171f8cda5085f3 (diff)
downloadtqt-r14.1.x.tar.gz
tqt-r14.1.x.zip
Replace TRUE/FALSE with boolean values true/false - part 4r14.1.x
Manually cherry-picked from commit 4d495175 Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/network.html')
-rw-r--r--doc/html/network.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/network.html b/doc/html/network.html
index 953b2ac3d..bd81898c0 100644
--- a/doc/html/network.html
+++ b/doc/html/network.html
@@ -80,7 +80,7 @@ and operate on URLs. For example, downloading a file from an FTP
server to the local filesystem can be done with following code:
<p> <pre>
<a href="ntqurloperator.html">TQUrlOperator</a> op;
- op.<a href="ntqurloperator.html#copy">copy</a>( "ftp://ftp.trolltech.com/qt/source/qt-2.1.0.tar.gz", "file:/tmp", FALSE );
+ op.<a href="ntqurloperator.html#copy">copy</a>( "ftp://ftp.trolltech.com/qt/source/qt-2.1.0.tar.gz", "file:/tmp", false );
</pre>
<p> And that's all! Of course an implementation of the FTP protocol has to
@@ -346,9 +346,9 @@ them, your implementation of <tt>supportedOperations()</tt> should do this:
bool TQNetworkProtocol::checkConnection( <a href="qnetworkoperation.html">TQNetworkOperation</a> *op );
</pre>
-<p> Here you must return TRUE, if the connection is up and okay (this means
+<p> Here you must return true, if the connection is up and okay (this means
operations on the protocol can be done). If the connection is not okay,
-return FALSE and start to try opening it. If you cannot open the
+return false and start to try opening it. If you cannot open the
connection at all (e.g. because the host is not found), emit a <tt>finished()</tt>
signal and set an error code and the <a href="ntqnetworkprotocol.html#State-enum">TQNetworkProtocol::StFailed</a> state to
the <a href="qnetworkoperation.html">TQNetworkOperation</a> pointer you get here.