diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-26 11:44:58 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-30 14:26:34 +0900 |
commit | 6dd781c483eea56f51ae0eff47d857976b5d0f0d (patch) | |
tree | 0ddd4408e142ae6f8b13d3538359abd127988b2f /doc/man/man3/tqnetworkprotocol.3qt | |
parent | ff56b6fec14de4cd4b89d5b322531671d200b6e0 (diff) | |
download | tqt-6dd781c483eea56f51ae0eff47d857976b5d0f0d.tar.gz tqt-6dd781c483eea56f51ae0eff47d857976b5d0f0d.zip |
Replace TRUE/FALSE with boolean values true/false - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqnetworkprotocol.3qt')
-rw-r--r-- | doc/man/man3/tqnetworkprotocol.3qt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/man/man3/tqnetworkprotocol.3qt b/doc/man/man3/tqnetworkprotocol.3qt index 3d1727a81..c0622cfa9 100644 --- a/doc/man/man3/tqnetworkprotocol.3qt +++ b/doc/man/man3/tqnetworkprotocol.3qt @@ -222,11 +222,11 @@ Destructor. .SH "void TQNetworkProtocol::addOperation ( TQNetworkOperation * op )\fC [virtual]\fR" Adds the operation \fIop\fR to the operation queue. The operation will be processed as soon as possible. This method returns immediately. .SH "bool TQNetworkProtocol::autoDelete () const" -Returns TRUE if auto-deleting is enabled; otherwise returns FALSE. +Returns true if auto-deleting is enabled; otherwise returns false. .PP See also TQNetworkProtocol::setAutoDelete(). .SH "bool TQNetworkProtocol::checkConnection ( TQNetworkOperation * op )\fC [virtual protected]\fR" -For processing operations the network protocol base class calls this method quite often. This should be reimplemented by new network protocols. It should return TRUE if the connection is OK (open); otherwise it should return FALSE. If the connection is not open the protocol should open it. +For processing operations the network protocol base class calls this method quite often. This should be reimplemented by new network protocols. It should return true if the connection is OK (open); otherwise it should return false. If the connection is not open the protocol should open it. .PP If the connection can't be opened (e.g. because you already tried but the host couldn't be found), set the state of \fIop\fR to TQNetworkProtocol::StFailed and emit the finished() signal with this TQNetworkOperation as argument. .PP @@ -267,7 +267,7 @@ Normally you should not work directly with network protocols, so you will not ne .PP See also TQUrlOperator. .SH "bool TQNetworkProtocol::hasOnlyLocalFileSystem ()\fC [static]\fR" -Returns TRUE if the only protocol registered is for working on the local filesystem; returns FALSE if other network protocols are also registered. +Returns true if the only protocol registered is for working on the local filesystem; returns false if other network protocols are also registered. .SH "void TQNetworkProtocol::itemChanged ( TQNetworkOperation * op )\fC [signal]\fR" This signal is emitted whenever a file which is a child of this URL has been changed, e.g. by successfully calling rename(). \fIop\fR holds the original and the new file names in the first and second arguments, accessible with op->arg( 0 ) and op->arg( 1 ) respectively. \fIop\fR is the pointer to the operation object which contains all the information about the operation, including the state, etc. .PP @@ -340,7 +340,7 @@ This signal is emitted when remove() has been succesful and the file has been re .PP When a protocol emits this signal, TQNetworkProtocol is smart enough to let the TQUrlOperator, which is used by the network protocol, emit its corresponding signal. .SH "void TQNetworkProtocol::setAutoDelete ( bool b, int i = 10000 )\fC [virtual]\fR" -Because it's sometimes hard to take care of removing network protocol instances, TQNetworkProtocol provides an auto-delete mechanism. If you set \fIb\fR to TRUE, the network protocol instance is removed after it has been inactive for \fIi\fR milliseconds (i.e. \fIi\fR milliseconds after the last operation has been processed). If you set \fIb\fR to FALSE the auto-delete mechanism is switched off. +Because it's sometimes hard to take care of removing network protocol instances, TQNetworkProtocol provides an auto-delete mechanism. If you set \fIb\fR to true, the network protocol instance is removed after it has been inactive for \fIi\fR milliseconds (i.e. \fIi\fR milliseconds after the last operation has been processed). If you set \fIb\fR to false the auto-delete mechanism is switched off. .PP If you switch on auto-delete, the TQNetworkProtocol also deletes its TQUrlOperator. .SH "void TQNetworkProtocol::setUrl ( TQUrlOperator * u )\fC [virtual]\fR" |