diff options
Diffstat (limited to 'doc/html/ntqhttp.html')
-rw-r--r-- | doc/html/ntqhttp.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/ntqhttp.html b/doc/html/ntqhttp.html index 5bc3db1fe..0b13c8fd4 100644 --- a/doc/html/ntqhttp.html +++ b/doc/html/ntqhttp.html @@ -40,11 +40,11 @@ body { background: #ffffff; color: black; } <ul> <li class=fn><a href="#TQHttp"><b>TQHttp</b></a> ()</li> <li class=fn><a href="#TQHttp-2"><b>TQHttp</b></a> ( TQObject * parent, const char * name = 0 )</li> -<li class=fn><a href="#TQHttp-3"><b>TQHttp</b></a> ( const TQString & hostname, Q_UINT16 port = 80, TQObject * parent = 0, const char * name = 0 )</li> +<li class=fn><a href="#TQHttp-3"><b>TQHttp</b></a> ( const TQString & hostname, TQ_UINT16 port = 80, TQObject * parent = 0, const char * name = 0 )</li> <li class=fn>virtual <a href="#~TQHttp"><b>~TQHttp</b></a> ()</li> <li class=fn>enum <a href="#State-enum"><b>State</b></a> { Unconnected, HostLookup, Connecting, Sending, Reading, Connected, Closing }</li> <li class=fn>enum <a href="#Error-enum"><b>Error</b></a> { NoError, UnknownError, HostNotFound, ConnectionRefused, UnexpectedClose, InvalidResponseHeader, WrongContentLength, Aborted }</li> -<li class=fn>int <a href="#setHost"><b>setHost</b></a> ( const TQString & hostname, Q_UINT16 port = 80 )</li> +<li class=fn>int <a href="#setHost"><b>setHost</b></a> ( const TQString & hostname, TQ_UINT16 port = 80 )</li> <li class=fn>int <a href="#get"><b>get</b></a> ( const TQString & path, TQIODevice * to = 0 )</li> <li class=fn>int <a href="#post"><b>post</b></a> ( const TQString & path, TQIODevice * data, TQIODevice * to = 0 )</li> <li class=fn>int <a href="#post-2"><b>post</b></a> ( const TQString & path, const TQByteArray & data, TQIODevice * to = 0 )</li> @@ -52,8 +52,8 @@ body { background: #ffffff; color: black; } <li class=fn>int <a href="#request"><b>request</b></a> ( const TQHttpRequestHeader & header, TQIODevice * data = 0, TQIODevice * to = 0 )</li> <li class=fn>int <a href="#request-2"><b>request</b></a> ( const TQHttpRequestHeader & header, const TQByteArray & data, TQIODevice * to = 0 )</li> <li class=fn>int <a href="#closeConnection"><b>closeConnection</b></a> ()</li> -<li class=fn>Q_ULONG <a href="#bytesAvailable"><b>bytesAvailable</b></a> () const</li> -<li class=fn>Q_LONG <a href="#readBlock"><b>readBlock</b></a> ( char * data, Q_ULONG maxlen )</li> +<li class=fn>TQ_ULONG <a href="#bytesAvailable"><b>bytesAvailable</b></a> () const</li> +<li class=fn>TQ_LONG <a href="#readBlock"><b>readBlock</b></a> ( char * data, TQ_ULONG maxlen )</li> <li class=fn>TQByteArray <a href="#readAll"><b>readAll</b></a> ()</li> <li class=fn>int <a href="#currentId"><b>currentId</b></a> () const</li> <li class=fn>TQIODevice * <a href="#currentSourceDevice"><b>currentSourceDevice</b></a> () const</li> @@ -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="ntqobject.html">TQObject</a> constructor. -<h3 class=fn><a name="TQHttp-3"></a>TQHttp::TQHttp ( const <a href="ntqstring.html">TQString</a> & hostname, Q_UINT16 port = 80, <a href="ntqobject.html">TQObject</a> * parent = 0, const char * name = 0 ) +<h3 class=fn><a name="TQHttp-3"></a>TQHttp::TQHttp ( const <a href="ntqstring.html">TQString</a> & hostname, TQ_UINT16 port = 80, <a href="ntqobject.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 @@ -289,7 +289,7 @@ requests left and the <a href="#done">done</a>() signal is emitted (with the <tt argument <tt>TRUE</tt>). <p> <p>See also <a href="#clearPendingRequests">clearPendingRequests</a>(). -<h3 class=fn>Q_ULONG <a name="bytesAvailable"></a>TQHttp::bytesAvailable () const +<h3 class=fn>TQ_ULONG <a name="bytesAvailable"></a>TQHttp::bytesAvailable () const </h3> Returns the number of bytes that can be read from the response content at the moment. @@ -480,7 +480,7 @@ This is an overloaded member function, provided for convenience. It behaves esse Reads all the bytes from the response content and returns them. <p> <p>See also <a href="#get">get</a>(), <a href="#post">post</a>(), <a href="#request">request</a>(), <a href="#readyRead">readyRead</a>(), <a href="#bytesAvailable">bytesAvailable</a>(), and <a href="#readBlock">readBlock</a>(). -<h3 class=fn>Q_LONG <a name="readBlock"></a>TQHttp::readBlock ( char * data, Q_ULONG maxlen ) +<h3 class=fn>TQ_LONG <a name="readBlock"></a>TQHttp::readBlock ( char * data, TQ_ULONG maxlen ) </h3> Reads <em>maxlen</em> bytes from the response content into <em>data</em> and returns the number of bytes read. Returns -1 if an error occurred. @@ -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, Q_UINT16 port = 80 ) +<h3 class=fn>int <a name="setHost"></a>TQHttp::setHost ( const <a href="ntqstring.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>. |