summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqsocket.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/ntqsocket.html')
-rw-r--r--doc/html/ntqsocket.html44
1 files changed, 22 insertions, 22 deletions
diff --git a/doc/html/ntqsocket.html b/doc/html/ntqsocket.html
index 7faad57d0..925fc8572 100644
--- a/doc/html/ntqsocket.html
+++ b/doc/html/ntqsocket.html
@@ -47,7 +47,7 @@ body { background: #ffffff; color: black; }
<li class=fn>virtual void <a href="#setSocket"><b>setSocket</b></a> ( int&nbsp;socket )</li>
<li class=fn>TQSocketDevice * <a href="#socketDevice"><b>socketDevice</b></a> ()</li>
<li class=fn>virtual void <a href="#setSocketDevice"><b>setSocketDevice</b></a> ( TQSocketDevice&nbsp;*&nbsp;device )</li>
-<li class=fn>virtual void <a href="#connectToHost"><b>connectToHost</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;host, Q_UINT16&nbsp;port )</li>
+<li class=fn>virtual void <a href="#connectToHost"><b>connectToHost</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;host, TQ_UINT16&nbsp;port )</li>
<li class=fn>TQString <a href="#peerName"><b>peerName</b></a> () const</li>
<li class=fn>virtual bool <a href="#open"><b>open</b></a> ( int&nbsp;m )</li>
<li class=fn>virtual void <a href="#close"><b>close</b></a> ()</li>
@@ -56,24 +56,24 @@ body { background: #ffffff; color: black; }
<li class=fn>virtual Offset <a href="#at"><b>at</b></a> () const</li>
<li class=fn>virtual bool <a href="#at-2"><b>at</b></a> ( Offset&nbsp;index )</li>
<li class=fn>virtual bool <a href="#atEnd"><b>atEnd</b></a> () const</li>
-<li class=fn>Q_ULONG <a href="#bytesAvailable"><b>bytesAvailable</b></a> () const</li>
-<li class=fn>Q_ULONG <a href="#waitForMore"><b>waitForMore</b></a> ( int&nbsp;msecs, bool&nbsp;*&nbsp;timeout ) const</li>
-<li class=fn>Q_ULONG <a href="#waitForMore-2"><b>waitForMore</b></a> ( int&nbsp;msecs ) const</li>
-<li class=fn>Q_ULONG <a href="#bytesToWrite"><b>bytesToWrite</b></a> () const</li>
+<li class=fn>TQ_ULONG <a href="#bytesAvailable"><b>bytesAvailable</b></a> () const</li>
+<li class=fn>TQ_ULONG <a href="#waitForMore"><b>waitForMore</b></a> ( int&nbsp;msecs, bool&nbsp;*&nbsp;timeout ) const</li>
+<li class=fn>TQ_ULONG <a href="#waitForMore-2"><b>waitForMore</b></a> ( int&nbsp;msecs ) const</li>
+<li class=fn>TQ_ULONG <a href="#bytesToWrite"><b>bytesToWrite</b></a> () const</li>
<li class=fn>void <a href="#clearPendingData"><b>clearPendingData</b></a> ()</li>
-<li class=fn>virtual Q_LONG <a href="#readBlock"><b>readBlock</b></a> ( char&nbsp;*&nbsp;data, Q_ULONG&nbsp;maxlen )</li>
-<li class=fn>virtual Q_LONG <a href="#writeBlock"><b>writeBlock</b></a> ( const&nbsp;char&nbsp;*&nbsp;data, Q_ULONG&nbsp;len )</li>
+<li class=fn>virtual TQ_LONG <a href="#readBlock"><b>readBlock</b></a> ( char&nbsp;*&nbsp;data, TQ_ULONG&nbsp;maxlen )</li>
+<li class=fn>virtual TQ_LONG <a href="#writeBlock"><b>writeBlock</b></a> ( const&nbsp;char&nbsp;*&nbsp;data, TQ_ULONG&nbsp;len )</li>
<li class=fn>virtual int <a href="#getch"><b>getch</b></a> ()</li>
<li class=fn>virtual int <a href="#putch"><b>putch</b></a> ( int&nbsp;ch )</li>
<li class=fn>virtual int <a href="#ungetch"><b>ungetch</b></a> ( int&nbsp;ch )</li>
<li class=fn>bool <a href="#canReadLine"><b>canReadLine</b></a> () const</li>
<li class=fn>virtual TQString <a href="#readLine"><b>readLine</b></a> ()</li>
-<li class=fn>Q_UINT16 <a href="#port"><b>port</b></a> () const</li>
-<li class=fn>Q_UINT16 <a href="#peerPort"><b>peerPort</b></a> () const</li>
+<li class=fn>TQ_UINT16 <a href="#port"><b>port</b></a> () const</li>
+<li class=fn>TQ_UINT16 <a href="#peerPort"><b>peerPort</b></a> () const</li>
<li class=fn>TQHostAddress <a href="#address"><b>address</b></a> () const</li>
<li class=fn>TQHostAddress <a href="#peerAddress"><b>peerAddress</b></a> () const</li>
-<li class=fn>void <a href="#setReadBufferSize"><b>setReadBufferSize</b></a> ( Q_ULONG&nbsp;bufSize )</li>
-<li class=fn>Q_ULONG <a href="#readBufferSize"><b>readBufferSize</b></a> () const</li>
+<li class=fn>void <a href="#setReadBufferSize"><b>setReadBufferSize</b></a> ( TQ_ULONG&nbsp;bufSize )</li>
+<li class=fn>TQ_ULONG <a href="#readBufferSize"><b>readBufferSize</b></a> () const</li>
</ul>
<h2>Signals</h2>
<ul>
@@ -197,7 +197,7 @@ index forward means skipping incoming data.
Returns TRUE if there is no more data to read; otherwise returns FALSE.
<p>Reimplemented from <a href="ntqiodevice.html#atEnd">TQIODevice</a>.
-<h3 class=fn>Q_ULONG <a name="bytesAvailable"></a>TQSocket::bytesAvailable () const
+<h3 class=fn>TQ_ULONG <a name="bytesAvailable"></a>TQSocket::bytesAvailable () const
</h3>
Returns the number of incoming bytes that can be read, i.e. the
size of the input buffer. Equivalent to <a href="#size">size</a>().
@@ -206,7 +206,7 @@ arrived on the socket.
<p> <p>See also <a href="#bytesToWrite">bytesToWrite</a>().
<p>Example: <a href="networkprotocol-example.html#x677">network/networkprotocol/nntp.cpp</a>.
-<h3 class=fn>Q_ULONG <a name="bytesToWrite"></a>TQSocket::bytesToWrite () const
+<h3 class=fn>TQ_ULONG <a name="bytesToWrite"></a>TQSocket::bytesToWrite () const
</h3>
Returns the number of bytes that are waiting to be written, i.e.
the size of the output buffer.
@@ -258,7 +258,7 @@ At this point, the <a href="#delayedCloseFinished">delayedCloseFinished</a>() si
<p>Examples: <a href="clientserver-example.html#x796">network/clientserver/client/client.cpp</a>, <a href="httpd-example.html#x728">network/httpd/httpd.cpp</a>, and <a href="networkprotocol-example.html#x679">network/networkprotocol/nntp.cpp</a>.
<p>Reimplemented from <a href="ntqiodevice.html#close">TQIODevice</a>.
-<h3 class=fn>void <a name="connectToHost"></a>TQSocket::connectToHost ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;host, Q_UINT16&nbsp;port )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="connectToHost"></a>TQSocket::connectToHost ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;host, TQ_UINT16&nbsp;port )<tt> [virtual]</tt>
</h3>
Attempts to make a connection to <em>host</em> on the specified <em>port</em>
and return immediately.
@@ -350,7 +350,7 @@ Returns the host name as specified to the <a href="#connectToHost">connectToHost
function. An empty string is returned if none has been set.
<p>Example: <a href="mail-example.html#x712">network/mail/smtp.cpp</a>.
-<h3 class=fn>Q_UINT16 <a name="peerPort"></a>TQSocket::peerPort () const
+<h3 class=fn>TQ_UINT16 <a name="peerPort"></a>TQSocket::peerPort () const
</h3>
Returns the peer's host port number, normally as specified to the
<a href="#connectToHost">connectToHost</a>() function. If none has been set, this function
@@ -358,7 +358,7 @@ returns 0.
<p> Note that TQt always uses native byte order, i.e. 67 is 67 in TQt;
there is no need to call htons().
-<h3 class=fn>Q_UINT16 <a name="port"></a>TQSocket::port () const
+<h3 class=fn>TQ_UINT16 <a name="port"></a>TQSocket::port () const
</h3>
Returns the host port number of this socket, in native byte order.
@@ -369,14 +369,14 @@ Writes the character <em>ch</em> to the output buffer.
<p> <p>See also <a href="#getch">getch</a>().
<p>Reimplemented from <a href="ntqiodevice.html#putch">TQIODevice</a>.
-<h3 class=fn>Q_LONG <a name="readBlock"></a>TQSocket::readBlock ( char&nbsp;*&nbsp;data, Q_ULONG&nbsp;maxlen )<tt> [virtual]</tt>
+<h3 class=fn>TQ_LONG <a name="readBlock"></a>TQSocket::readBlock ( char&nbsp;*&nbsp;data, TQ_ULONG&nbsp;maxlen )<tt> [virtual]</tt>
</h3>
Reads <em>maxlen</em> bytes from the socket into <em>data</em> and returns the
number of bytes read. Returns -1 if an error occurred.
<p>Example: <a href="networkprotocol-example.html#x685">network/networkprotocol/nntp.cpp</a>.
<p>Reimplemented from <a href="ntqiodevice.html#readBlock">TQIODevice</a>.
-<h3 class=fn>Q_ULONG <a name="readBufferSize"></a>TQSocket::readBufferSize () const
+<h3 class=fn>TQ_ULONG <a name="readBufferSize"></a>TQSocket::readBufferSize () const
</h3>
Returns the size of the read buffer.
<p> <p>See also <a href="#setReadBufferSize">setReadBufferSize</a>().
@@ -400,7 +400,7 @@ you need to receive more data to be able to process it.
<p> <p>See also <a href="#readBlock">readBlock</a>(), <a href="#readLine">readLine</a>(), and <a href="#bytesAvailable">bytesAvailable</a>().
<p>Examples: <a href="clientserver-example.html#x803">network/clientserver/client/client.cpp</a>, <a href="httpd-example.html#x731">network/httpd/httpd.cpp</a>, <a href="mail-example.html#x714">network/mail/smtp.cpp</a>, and <a href="networkprotocol-example.html#x687">network/networkprotocol/nntp.cpp</a>.
-<h3 class=fn>void <a name="setReadBufferSize"></a>TQSocket::setReadBufferSize ( Q_ULONG&nbsp;bufSize )
+<h3 class=fn>void <a name="setReadBufferSize"></a>TQSocket::setReadBufferSize ( TQ_ULONG&nbsp;bufSize )
</h3>
Sets the size of the TQSocket's internal read buffer to <em>bufSize</em>.
<p> Usually TQSocket reads all data that is available from the operating
@@ -463,7 +463,7 @@ prepends the character <em>ch</em> to the read buffer so that the next
read returns this character as the first character of the output.
<p>Reimplemented from <a href="ntqiodevice.html#ungetch">TQIODevice</a>.
-<h3 class=fn>Q_ULONG <a name="waitForMore"></a>TQSocket::waitForMore ( int&nbsp;msecs, bool&nbsp;*&nbsp;timeout ) const
+<h3 class=fn>TQ_ULONG <a name="waitForMore"></a>TQSocket::waitForMore ( int&nbsp;msecs, bool&nbsp;*&nbsp;timeout ) const
</h3>
Wait up to <em>msecs</em> milliseconds for more data to be available.
<p> If <em>msecs</em> is -1 the call will block indefinitely.
@@ -477,10 +477,10 @@ closed the connection.
driven applications.
<p> <p>See also <a href="#bytesAvailable">bytesAvailable</a>().
-<h3 class=fn>Q_ULONG <a name="waitForMore-2"></a>TQSocket::waitForMore ( int&nbsp;msecs ) const
+<h3 class=fn>TQ_ULONG <a name="waitForMore-2"></a>TQSocket::waitForMore ( int&nbsp;msecs ) const
</h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p>
-<h3 class=fn>Q_LONG <a name="writeBlock"></a>TQSocket::writeBlock ( const&nbsp;char&nbsp;*&nbsp;data, Q_ULONG&nbsp;len )<tt> [virtual]</tt>
+<h3 class=fn>TQ_LONG <a name="writeBlock"></a>TQSocket::writeBlock ( const&nbsp;char&nbsp;*&nbsp;data, TQ_ULONG&nbsp;len )<tt> [virtual]</tt>
</h3>
Writes <em>len</em> bytes to the socket from <em>data</em> and returns the
number of bytes written. Returns -1 if an error occurred.