diff options
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. |