diff options
Diffstat (limited to 'doc/html/ntqhttp.html')
-rw-r--r-- | doc/html/ntqhttp.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/ntqhttp.html b/doc/html/ntqhttp.html index dcdddb0c0..a4641bb0a 100644 --- a/doc/html/ntqhttp.html +++ b/doc/html/ntqhttp.html @@ -266,7 +266,7 @@ Constructs a TQHttp object. Constructs a TQHttp object. The parameters <em>parent</em> and <em>name</em> are passed on to the <a href="tqobject.html">TQObject</a> constructor. -<h3 class=fn><a name="TQHttp-3"></a>TQHttp::TQHttp ( const <a href="ntqstring.html">TQString</a> & hostname, TQ_UINT16 port = 80, <a href="tqobject.html">TQObject</a> * parent = 0, const char * name = 0 ) +<h3 class=fn><a name="TQHttp-3"></a>TQHttp::TQHttp ( const <a href="tqstring.html">TQString</a> & hostname, TQ_UINT16 port = 80, <a href="tqobject.html">TQObject</a> * parent = 0, const char * name = 0 ) </h3> Constructs a TQHttp object. Subsequent requests are done by connecting to the server <em>hostname</em> on port <em>port</em>. The @@ -398,13 +398,13 @@ what happened when receiving a <a href="#requestFinished">requestFinished</a>() 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="ntqstring.html">TQString</a> <a name="errorString"></a>TQHttp::errorString () const +<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>. -<h3 class=fn>int <a name="get"></a>TQHttp::get ( const <a href="ntqstring.html">TQString</a> & path, <a href="ntqiodevice.html">TQIODevice</a> * to = 0 ) +<h3 class=fn>int <a name="get"></a>TQHttp::get ( const <a href="tqstring.html">TQString</a> & path, <a href="ntqiodevice.html">TQIODevice</a> * to = 0 ) </h3> Sends a get request for <em>path</em> to the server set by <a href="#setHost">setHost</a>() or as specified in the constructor. @@ -433,7 +433,7 @@ been executed; otherwise returns FALSE. scheduled request. <p> <p>See also <a href="#clearPendingRequests">clearPendingRequests</a>(), <a href="#currentId">currentId</a>(), and <a href="#currentRequest">currentRequest</a>(). -<h3 class=fn>int <a name="head"></a>TQHttp::head ( const <a href="ntqstring.html">TQString</a> & path ) +<h3 class=fn>int <a name="head"></a>TQHttp::head ( const <a href="tqstring.html">TQString</a> & path ) </h3> Sends a header request for <em>path</em> to the server set by <a href="#setHost">setHost</a>() or as specified in the constructor. @@ -448,7 +448,7 @@ emitted. When it is finished the requestFinished() signal is emitted. <p> <p>See also <a href="#setHost">setHost</a>(), <a href="#get">get</a>(), <a href="#post">post</a>(), <a href="#request">request</a>(), <a href="#requestStarted">requestStarted</a>(), <a href="#requestFinished">requestFinished</a>(), and <a href="#done">done</a>(). -<h3 class=fn>int <a name="post"></a>TQHttp::post ( const <a href="ntqstring.html">TQString</a> & path, <a href="ntqiodevice.html">TQIODevice</a> * data, <a href="ntqiodevice.html">TQIODevice</a> * to = 0 ) +<h3 class=fn>int <a name="post"></a>TQHttp::post ( const <a href="tqstring.html">TQString</a> & path, <a href="ntqiodevice.html">TQIODevice</a> * data, <a href="ntqiodevice.html">TQIODevice</a> * to = 0 ) </h3> Sends a post request for <em>path</em> to the server set by <a href="#setHost">setHost</a>() or as specified in the constructor. @@ -470,7 +470,7 @@ emitted. When it is finished the requestFinished() signal is emitted. <p> <p>See also <a href="#setHost">setHost</a>(), <a href="#get">get</a>(), <a href="#head">head</a>(), <a href="#request">request</a>(), <a href="#requestStarted">requestStarted</a>(), <a href="#requestFinished">requestFinished</a>(), and <a href="#done">done</a>(). -<h3 class=fn>int <a name="post-2"></a>TQHttp::post ( const <a href="ntqstring.html">TQString</a> & path, const <a href="qbytearray.html">TQByteArray</a> & data, <a href="ntqiodevice.html">TQIODevice</a> * to = 0 ) +<h3 class=fn>int <a name="post-2"></a>TQHttp::post ( const <a href="tqstring.html">TQString</a> & path, const <a href="qbytearray.html">TQByteArray</a> & data, <a href="ntqiodevice.html">TQIODevice</a> * to = 0 ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> <em>data</em> is used as the content data of the HTTP request. @@ -550,7 +550,7 @@ the processing; otherwise <em>error</em> is FALSE. is available. The header is passed in <em>resp</em>. <p> <p>See also <a href="#get">get</a>(), <a href="#post">post</a>(), <a href="#head">head</a>(), <a href="#request">request</a>(), and <a href="#readyRead">readyRead</a>(). -<h3 class=fn>int <a name="setHost"></a>TQHttp::setHost ( const <a href="ntqstring.html">TQString</a> & hostname, TQ_UINT16 port = 80 ) +<h3 class=fn>int <a name="setHost"></a>TQHttp::setHost ( const <a href="tqstring.html">TQString</a> & hostname, TQ_UINT16 port = 80 ) </h3> Sets the HTTP server that is used for requests to <em>hostname</em> on port <em>port</em>. |