summaryrefslogtreecommitdiffstats
path: root/doc/html/tqhttp.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tqhttp.html')
-rw-r--r--doc/html/tqhttp.html34
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/html/tqhttp.html b/doc/html/tqhttp.html
index a6dc5072c..9b4fae625 100644
--- a/doc/html/tqhttp.html
+++ b/doc/html/tqhttp.html
@@ -150,7 +150,7 @@ can also be written as:
(with small variations, depending on network traffic, etc.):
<p> <pre>
<a href="#requestStarted">requestStarted</a>( 1 )
- <a href="#requestFinished">requestFinished</a>( 1, FALSE )
+ <a href="#requestFinished">requestFinished</a>( 1, false )
<a href="#requestStarted">requestStarted</a>( 2 )
<a href="#stateChanged">stateChanged</a>( <a href="#State-enum">Connecting</a> )
@@ -163,9 +163,9 @@ can also be written as:
<a href="#dataReadProgress">dataReadProgress</a>( 18300, 0 )
<a href="#readyRead">readyRead</a>( responseheader )
<a href="#stateChanged">stateChanged</a>( <a href="#State-enum">Connected</a> )
- <a href="#requestFinished">requestFinished</a>( 2, FALSE )
+ <a href="#requestFinished">requestFinished</a>( 2, false )
- <a href="#done">done</a>( FALSE )
+ <a href="#done">done</a>( false )
<a href="#stateChanged">stateChanged</a>( <a href="#State-enum">Closing</a> )
<a href="#stateChanged">stateChanged</a>( <a href="#State-enum">Unconnected</a> )
@@ -199,13 +199,13 @@ the <a href="#post">post</a>() request is never executed and the signals would l
like this:
<p> <pre>
<a href="#requestStarted">requestStarted</a>( 1 )
- <a href="#requestFinished">requestFinished</a>( 1, FALSE )
+ <a href="#requestFinished">requestFinished</a>( 1, false )
<a href="#requestStarted">requestStarted</a>( 2 )
<a href="#stateChanged">stateChanged</a>( <a href="#State-enum">HostLookup</a> )
- <a href="#requestFinished">requestFinished</a>( 2, TRUE )
+ <a href="#requestFinished">requestFinished</a>( 2, true )
- <a href="#done">done</a>( TRUE )
+ <a href="#done">done</a>( true )
<a href="#stateChanged">stateChanged</a>( <a href="#State-enum">Unconnected</a> )
</pre>
@@ -281,11 +281,11 @@ closed.
<h3 class=fn>void <a name="abort"></a>TQHttp::abort ()<tt> [slot]</tt>
</h3>
Aborts the current request and deletes all scheduled requests.
-<p> For the current request, the <a href="#requestFinished">requestFinished</a>() signal with the <tt>error</tt> argument <tt>TRUE</tt> is emitted. For all other requests that are
+<p> For the current request, the <a href="#requestFinished">requestFinished</a>() signal with the <tt>error</tt> argument <tt>true</tt> is emitted. For all other requests that are
affected by the <a href="#abort">abort</a>(), no signals are emitted.
<p> Since this slot also deletes the scheduled requests, there are no
requests left and the <a href="#done">done</a>() signal is emitted (with the <tt>error</tt>
-argument <tt>TRUE</tt>).
+argument <tt>true</tt>).
<p> <p>See also <a href="#clearPendingRequests">clearPendingRequests</a>().
<h3 class=fn>TQ_ULONG <a name="bytesAvailable"></a>TQHttp::bytesAvailable () const
@@ -341,7 +341,7 @@ there is no request being executed (i.e. they've all finished).
Returns the request header of the HTTP request being executed. If
the request is one issued by <a href="#setHost">setHost</a>() or <a href="#closeConnection">closeConnection</a>(), it
returns an invalid request header, i.e.
-<a href="tqhttpheader.html#isValid">TQHttpRequestHeader::isValid</a>() returns FALSE.
+<a href="tqhttpheader.html#isValid">TQHttpRequestHeader::isValid</a>() returns false.
<p> <p>See also <a href="#currentId">currentId</a>().
<h3 class=fn><a href="tqiodevice.html">TQIODevice</a>&nbsp;* <a name="currentSourceDevice"></a>TQHttp::currentSourceDevice () const
@@ -386,22 +386,22 @@ bytes, since for large files these values might need to be
<p> This signal is emitted when the last pending request has finished;
(it is emitted after the last request's <a href="#requestFinished">requestFinished</a>() signal).
-<em>error</em> is TRUE if an error occurred during the processing;
-otherwise <em>error</em> is FALSE.
+<em>error</em> is true if an error occurred during the processing;
+otherwise <em>error</em> is false.
<p> <p>See also <a href="#requestFinished">requestFinished</a>(), <a href="#error">error</a>(), and <a href="#errorString">errorString</a>().
<h3 class=fn><a href="tqhttp.html#Error-enum">Error</a> <a name="error"></a>TQHttp::error () const
</h3>
Returns the last error that occurred. This is useful to find out
what happened when receiving a <a href="#requestFinished">requestFinished</a>() or a <a href="#done">done</a>()
-signal with the <tt>error</tt> argument <tt>TRUE</tt>.
+signal with the <tt>error</tt> argument <tt>true</tt>.
<p> If you start a new request, the error status is reset to <a href="#Error-enum">NoError</a>.
<h3 class=fn><a href="tqstring.html">TQString</a> <a name="errorString"></a>TQHttp::errorString () const
</h3>
Returns a human-readable description of the last error that
occurred. This is useful to present a error message to the user
-when receiving a <a href="#requestFinished">requestFinished</a>() or a <a href="#done">done</a>() signal with the <tt>error</tt> argument <tt>TRUE</tt>.
+when receiving a <a href="#requestFinished">requestFinished</a>() or a <a href="#done">done</a>() signal with the <tt>error</tt> argument <tt>true</tt>.
<h3 class=fn>int <a name="get"></a>TQHttp::get ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;path, <a href="tqiodevice.html">TQIODevice</a>&nbsp;*&nbsp;to = 0 )
</h3>
@@ -426,8 +426,8 @@ emitted.
<h3 class=fn>bool <a name="hasPendingRequests"></a>TQHttp::hasPendingRequests () const
</h3>
-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.
<p> The request that is being executed is <em>not</em> considered as a
scheduled request.
<p> <p>See also <a href="#clearPendingRequests">clearPendingRequests</a>(), <a href="#currentId">currentId</a>(), and <a href="#currentRequest">currentRequest</a>().
@@ -531,8 +531,8 @@ This is an overloaded member function, provided for convenience. It behaves esse
</h3>
<p> This signal is emitted when processing the request identified by
-<em>id</em> has finished. <em>error</em> is TRUE if an error occurred during
-the processing; otherwise <em>error</em> is FALSE.
+<em>id</em> has finished. <em>error</em> is true if an error occurred during
+the processing; otherwise <em>error</em> is false.
<p> <p>See also <a href="#requestStarted">requestStarted</a>(), <a href="#done">done</a>(), <a href="#error">error</a>(), and <a href="#errorString">errorString</a>().
<h3 class=fn>void <a name="requestStarted"></a>TQHttp::requestStarted ( int&nbsp;id )<tt> [signal]</tt>