summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqhttp.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/ntqhttp.html')
-rw-r--r--doc/html/ntqhttp.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/ntqhttp.html b/doc/html/ntqhttp.html
index 5bc3db1f..0b13c8fd 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&nbsp;*&nbsp;parent, const&nbsp;char&nbsp;*&nbsp;name = 0 )</li>
-<li class=fn><a href="#TQHttp-3"><b>TQHttp</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;hostname, Q_UINT16&nbsp;port = 80, TQObject&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0 )</li>
+<li class=fn><a href="#TQHttp-3"><b>TQHttp</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;hostname, TQ_UINT16&nbsp;port = 80, TQObject&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;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&nbsp;TQString&nbsp;&amp;&nbsp;hostname, Q_UINT16&nbsp;port = 80 )</li>
+<li class=fn>int <a href="#setHost"><b>setHost</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;hostname, TQ_UINT16&nbsp;port = 80 )</li>
<li class=fn>int <a href="#get"><b>get</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;path, TQIODevice&nbsp;*&nbsp;to = 0 )</li>
<li class=fn>int <a href="#post"><b>post</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;path, TQIODevice&nbsp;*&nbsp;data, TQIODevice&nbsp;*&nbsp;to = 0 )</li>
<li class=fn>int <a href="#post-2"><b>post</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;path, const&nbsp;TQByteArray&nbsp;&amp;&nbsp;data, TQIODevice&nbsp;*&nbsp;to = 0 )</li>
@@ -52,8 +52,8 @@ body { background: #ffffff; color: black; }
<li class=fn>int <a href="#request"><b>request</b></a> ( const&nbsp;TQHttpRequestHeader&nbsp;&amp;&nbsp;header, TQIODevice&nbsp;*&nbsp;data = 0, TQIODevice&nbsp;*&nbsp;to = 0 )</li>
<li class=fn>int <a href="#request-2"><b>request</b></a> ( const&nbsp;TQHttpRequestHeader&nbsp;&amp;&nbsp;header, const&nbsp;TQByteArray&nbsp;&amp;&nbsp;data, TQIODevice&nbsp;*&nbsp;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&nbsp;*&nbsp;data, Q_ULONG&nbsp;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&nbsp;*&nbsp;data, TQ_ULONG&nbsp;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&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;hostname, Q_UINT16&nbsp;port = 80, <a href="ntqobject.html">TQObject</a>&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0 )
+<h3 class=fn><a name="TQHttp-3"></a>TQHttp::TQHttp ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;hostname, TQ_UINT16&nbsp;port = 80, <a href="ntqobject.html">TQObject</a>&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;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&nbsp;*&nbsp;data, Q_ULONG&nbsp;maxlen )
+<h3 class=fn>TQ_LONG <a name="readBlock"></a>TQHttp::readBlock ( char&nbsp;*&nbsp;data, TQ_ULONG&nbsp;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&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;hostname, Q_UINT16&nbsp;port = 80 )
+<h3 class=fn>int <a name="setHost"></a>TQHttp::setHost ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;hostname, TQ_UINT16&nbsp;port = 80 )
</h3>
Sets the HTTP server that is used for requests to <em>hostname</em> on
port <em>port</em>.