summaryrefslogtreecommitdiffstats
path: root/doc/network.doc
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/network.doc
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/network.doc')
-rw-r--r--doc/network.doc6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/network.doc b/doc/network.doc
index f37a911d8..a82dd721f 100644
--- a/doc/network.doc
+++ b/doc/network.doc
@@ -90,7 +90,7 @@ server to the local filesystem can be done with following code:
\code
QUrlOperator op;
- op.copy( "ftp://ftp.trolltech.com/qt/source/qt-2.1.0.tar.gz", "file:/tmp", FALSE );
+ op.copy( "ftp://ftp.trolltech.com/qt/source/qt-2.1.0.tar.gz", "file:/tmp", false );
\endcode
And that's all! Of course an implementation of the FTP protocol has to
@@ -391,9 +391,9 @@ The last method you must reimplement is
bool QNetworkProtocol::checkConnection( QNetworkOperation *op );
\endcode
-Here you must return TRUE, if the connection is up and okay (this means
+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 \c finished()
signal and set an error code and the \c QNetworkProtocol::StFailed state to
the \c QNetworkOperation pointer you get here.