diff options
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 5960ccbe4..7a1af3584 100644 --- a/doc/man/man3/tqnetworkprotocol.3qt +++ b/doc/man/man3/tqnetworkprotocol.3qt @@ -222,11 +222,11 @@ Destructor. .SH "void QNetworkProtocol::addOperation ( QNetworkOperation * 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 QNetworkProtocol::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 QNetworkProtocol::setAutoDelete(). .SH "bool QNetworkProtocol::checkConnection ( QNetworkOperation * 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 QNetworkProtocol::StFailed and emit the finished() signal with this QNetworkOperation as argument. .PP @@ -267,7 +267,7 @@ Normally you should not work directly with network protocols, so you will not ne .PP See also QUrlOperator. .SH "bool QNetworkProtocol::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 QNetworkProtocol::itemChanged ( QNetworkOperation * 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, QNetworkProtocol is smart enough to let the QUrlOperator, which is used by the network protocol, emit its corresponding signal. .SH "void QNetworkProtocol::setAutoDelete ( bool b, int i = 10000 )\fC [virtual]\fR" -Because it's sometimes hard to take care of removing network protocol instances, QNetworkProtocol 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, QNetworkProtocol 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 QNetworkProtocol also deletes its QUrlOperator. .SH "void QNetworkProtocol::setUrl ( QUrlOperator * u )\fC [virtual]\fR" |
