diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-31 13:38:31 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-31 13:43:03 +0900 |
| commit | 6e4a70d41a2636ce99a1da7b6827ac5685ed3186 (patch) | |
| tree | b029ebf1d5be6d1ac0ee361e7bfb68a7dbed0eec /doc/man/man3/tqhttp.3qt | |
| parent | 81ade129093a279e6537db25710583fd2bba9427 (diff) | |
| download | tqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.tar.gz tqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.zip | |
Replace TRUE/FALSE with boolean values true/false - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked and manually edited from commit 6dd781c483eea56f51ae0eff47d857976b5d0f0d)
Diffstat (limited to 'doc/man/man3/tqhttp.3qt')
| -rw-r--r-- | doc/man/man3/tqhttp.3qt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/man/man3/tqhttp.3qt b/doc/man/man3/tqhttp.3qt index f31d5fdee..6cae32a36 100644 --- a/doc/man/man3/tqhttp.3qt +++ b/doc/man/man3/tqhttp.3qt @@ -186,7 +186,7 @@ For this example the following sequence of signals is emitted (with small variat .br requestStarted( 1 ) .br - requestFinished( 1, FALSE ) + requestFinished( 1, false ) .br .br requestStarted( 2 ) @@ -211,10 +211,10 @@ For this example the following sequence of signals is emitted (with small variat .br stateChanged( Connected ) .br - requestFinished( 2, FALSE ) + requestFinished( 2, false ) .br .br - done( FALSE ) + done( false ) .br .br stateChanged( Closing ) @@ -249,17 +249,17 @@ and the get() request fails because the host lookup fails, then the post() reque .br requestStarted( 1 ) .br - requestFinished( 1, FALSE ) + requestFinished( 1, false ) .br .br requestStarted( 2 ) .br stateChanged( HostLookup ) .br - requestFinished( 2, TRUE ) + requestFinished( 2, true ) .br .br - done( TRUE ) + done( true ) .br .br stateChanged( Unconnected ) @@ -362,7 +362,7 @@ Returns the identifier of the HTTP request being executed or 0 if there is no re .PP See also currentRequest(). .SH "QHttpRequestHeader QHttp::currentRequest () const" -Returns the request header of the HTTP request being executed. If the request is one issued by setHost() or closeConnection(), it returns an invalid request header, i.e. QHttpRequestHeader::isValid() returns FALSE. +Returns the request header of the HTTP request being executed. If the request is one issued by setHost() or closeConnection(), it returns an invalid request header, i.e. QHttpRequestHeader::isValid() returns false. .PP See also currentId(). .SH "TQIODevice * QHttp::currentSourceDevice () const" @@ -388,7 +388,7 @@ This signal is emitted when this object sends data to a HTTP server to inform it .PP See also dataReadProgress(), post(), request(), and QProgressBar::progress. .SH "void QHttp::done ( bool error )\fC [signal]\fR" -This signal is emitted when the last pending request has finished; (it is emitted after the last request's requestFinished() signal). \fIerror\fR is TRUE if an error occurred during the processing; otherwise \fIerror\fR is FALSE. +This signal is emitted when the last pending request has finished; (it is emitted after the last request's requestFinished() signal). \fIerror\fR is true if an error occurred during the processing; otherwise \fIerror\fR is false. .PP See also requestFinished(), error(), and errorString(). .SH "Error QHttp::error () const" @@ -412,7 +412,7 @@ When the request is started the requestStarted() signal is emitted. When it is f .PP See also setHost(), post(), head(), request(), requestStarted(), requestFinished(), and done(). .SH "bool QHttp::hasPendingRequests () const" -Returns TRUE if there are any requests scheduled that have not yet been executed; otherwise returns FALSE. +Returns true if there are any requests scheduled that have not yet been executed; otherwise returns false. .PP The request that is being executed is \fInot\fR considered as a scheduled request. .PP @@ -486,7 +486,7 @@ This is an overloaded member function, provided for convenience. It behaves esse .PP \fIdata\fR is used as the content data of the HTTP request. .SH "void QHttp::requestFinished ( int id, bool error )\fC [signal]\fR" -This signal is emitted when processing the request identified by \fIid\fR has finished. \fIerror\fR is TRUE if an error occurred during the processing; otherwise \fIerror\fR is FALSE. +This signal is emitted when processing the request identified by \fIid\fR has finished. \fIerror\fR is true if an error occurred during the processing; otherwise \fIerror\fR is false. .PP See also requestStarted(), done(), error(), and errorString(). .SH "void QHttp::requestStarted ( int id )\fC [signal]\fR" |
