diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
commit | dcce5b1f2c449ed9a02b1752e0d74f147a83d07d (patch) | |
tree | d57fe27457a96451f1a67e2a2db268a441d917fc /doc/network.doc | |
parent | 649c4c61a1f1f479f4532b196f68df476cef2680 (diff) | |
download | tqt-rename/true-false-4.tar.gz tqt-rename/true-false-4.zip |
Replace TRUE/FALSE with boolean values true/false - part 4rename/true-false-4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/network.doc')
-rw-r--r-- | doc/network.doc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/network.doc b/doc/network.doc index 1edfa3212..7ec4f276e 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 TQUrlOperator 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 TQNetworkProtocol::checkConnection( TQNetworkOperation *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 TQNetworkProtocol::StFailed state to the \c TQNetworkOperation pointer you get here. |