summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqsocketdevice.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/ntqsocketdevice.html')
-rw-r--r--doc/html/ntqsocketdevice.html36
1 files changed, 18 insertions, 18 deletions
diff --git a/doc/html/ntqsocketdevice.html b/doc/html/ntqsocketdevice.html
index c3a4afc75..7328da116 100644
--- a/doc/html/ntqsocketdevice.html
+++ b/doc/html/ntqsocketdevice.html
@@ -57,17 +57,17 @@ body { background: #ffffff; color: black; }
<li class=fn>virtual void <a href="#setReceiveBufferSize"><b>setReceiveBufferSize</b></a> ( uint&nbsp;size )</li>
<li class=fn>int <a href="#sendBufferSize"><b>sendBufferSize</b></a> () const</li>
<li class=fn>virtual void <a href="#setSendBufferSize"><b>setSendBufferSize</b></a> ( uint&nbsp;size )</li>
-<li class=fn>virtual bool <a href="#connect"><b>connect</b></a> ( const&nbsp;TQHostAddress&nbsp;&amp;&nbsp;addr, Q_UINT16&nbsp;port )</li>
-<li class=fn>virtual bool <a href="#bind"><b>bind</b></a> ( const&nbsp;TQHostAddress&nbsp;&amp;&nbsp;address, Q_UINT16&nbsp;port )</li>
+<li class=fn>virtual bool <a href="#connect"><b>connect</b></a> ( const&nbsp;TQHostAddress&nbsp;&amp;&nbsp;addr, TQ_UINT16&nbsp;port )</li>
+<li class=fn>virtual bool <a href="#bind"><b>bind</b></a> ( const&nbsp;TQHostAddress&nbsp;&amp;&nbsp;address, TQ_UINT16&nbsp;port )</li>
<li class=fn>virtual bool <a href="#listen"><b>listen</b></a> ( int&nbsp;backlog )</li>
<li class=fn>virtual int <a href="#accept"><b>accept</b></a> ()</li>
-<li class=fn>Q_LONG <a href="#bytesAvailable"><b>bytesAvailable</b></a> () const</li>
-<li class=fn>Q_LONG <a href="#waitForMore"><b>waitForMore</b></a> ( int&nbsp;msecs, bool&nbsp;*&nbsp;timeout = 0 ) const</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 Q_LONG <a href="#writeBlock-2"><b>writeBlock</b></a> ( const&nbsp;char&nbsp;*&nbsp;data, Q_ULONG&nbsp;len, const&nbsp;TQHostAddress&nbsp;&amp;&nbsp;host, Q_UINT16&nbsp;port )</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_LONG <a href="#bytesAvailable"><b>bytesAvailable</b></a> () const</li>
+<li class=fn>TQ_LONG <a href="#waitForMore"><b>waitForMore</b></a> ( int&nbsp;msecs, bool&nbsp;*&nbsp;timeout = 0 ) const</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 TQ_LONG <a href="#writeBlock-2"><b>writeBlock</b></a> ( const&nbsp;char&nbsp;*&nbsp;data, TQ_ULONG&nbsp;len, const&nbsp;TQHostAddress&nbsp;&amp;&nbsp;host, TQ_UINT16&nbsp;port )</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>enum <a href="#Error-enum"><b>Error</b></a> { NoError, AlreadyBound, Inaccessible, NoResources, InternalError, Bug = InternalError, Impossible, NoFiles, ConnectionRefused, NetworkFailure, UnknownError }</li>
@@ -199,7 +199,7 @@ sockets at the same time, and FALSE if this socket claims
exclusive ownership.
<p> <p>See also <a href="#setAddressReusable">setAddressReusable</a>().
-<h3 class=fn>bool <a name="bind"></a>TQSocketDevice::bind ( const&nbsp;<a href="ntqhostaddress.html">TQHostAddress</a>&nbsp;&amp;&nbsp;address, Q_UINT16&nbsp;port )<tt> [virtual]</tt>
+<h3 class=fn>bool <a name="bind"></a>TQSocketDevice::bind ( const&nbsp;<a href="ntqhostaddress.html">TQHostAddress</a>&nbsp;&amp;&nbsp;address, TQ_UINT16&nbsp;port )<tt> [virtual]</tt>
</h3>
Assigns a name to an unnamed socket. The name is the host address
<em>address</em> and the port number <em>port</em>. If the operation succeeds,
@@ -217,7 +217,7 @@ otherwise returns FALSE.
ioctlsocket() function is broken.
<p> <p>See also <a href="#setBlocking">setBlocking</a>() and <a href="#isValid">isValid</a>().
-<h3 class=fn>Q_LONG <a name="bytesAvailable"></a>TQSocketDevice::bytesAvailable () const
+<h3 class=fn>TQ_LONG <a name="bytesAvailable"></a>TQSocketDevice::bytesAvailable () const
</h3>
Returns the number of bytes available for reading, or -1 if an
error occurred.
@@ -228,7 +228,7 @@ incorrect number. The only safe way to determine the amount of
data on the socket is to read it using <a href="#readBlock">readBlock</a>(). <a href="ntqsocket.html">TQSocket</a> has
workarounds to deal with this problem.
-<h3 class=fn>bool <a name="connect"></a>TQSocketDevice::connect ( const&nbsp;<a href="ntqhostaddress.html">TQHostAddress</a>&nbsp;&amp;&nbsp;addr, Q_UINT16&nbsp;port )<tt> [virtual]</tt>
+<h3 class=fn>bool <a name="connect"></a>TQSocketDevice::connect ( const&nbsp;<a href="ntqhostaddress.html">TQHostAddress</a>&nbsp;&amp;&nbsp;addr, TQ_UINT16&nbsp;port )<tt> [virtual]</tt>
</h3>
Connects to the IP address and port specified by <em>addr</em> and <em>port</em>. Returns TRUE if it establishes a connection; otherwise returns FALSE.
If it returns FALSE, <a href="#error">error</a>() explains why.
@@ -262,7 +262,7 @@ sensible as soon as a sensible value is available.
<p> Note that for Datagram sockets, this is the source port of the
last packet received.
-<h3 class=fn>Q_UINT16 <a name="peerPort"></a>TQSocketDevice::peerPort () const
+<h3 class=fn>TQ_UINT16 <a name="peerPort"></a>TQSocketDevice::peerPort () const
</h3>
Returns the port number of the port this socket device is
connected to. This may be 0 for a while, but is set to something
@@ -270,7 +270,7 @@ sensible as soon as a sensible value is available.
<p> Note that for Datagram sockets, this is the source port of the
last packet received, and that it is in native byte order.
-<h3 class=fn>Q_UINT16 <a name="port"></a>TQSocketDevice::port () const
+<h3 class=fn>TQ_UINT16 <a name="port"></a>TQSocketDevice::port () const
</h3>
Returns the port number of this socket device. This may be 0 for a
while, but is set to something sensible as soon as a sensible
@@ -289,7 +289,7 @@ tries to determine the protocol family of the socket; if this fails, it
returns <a href="#Protocol-enum">Unknown</a>.
<p> <p>See also <a href="#Protocol-enum">Protocol</a> and <a href="#setSocket">setSocket</a>().
-<h3 class=fn>Q_LONG <a name="readBlock"></a>TQSocketDevice::readBlock ( char&nbsp;*&nbsp;data, Q_ULONG&nbsp;maxlen )<tt> [virtual]</tt>
+<h3 class=fn>TQ_LONG <a name="readBlock"></a>TQSocketDevice::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. Returning 0
@@ -376,7 +376,7 @@ Returns the socket number, or -1 if it is an invalid socket.
or <a href="#Type-enum">TQSocketDevice::Datagram</a>.
<p> <p>See also <a href="#socket">socket</a>().
-<h3 class=fn>Q_LONG <a name="waitForMore"></a>TQSocketDevice::waitForMore ( int&nbsp;msecs, bool&nbsp;*&nbsp;timeout = 0 ) const
+<h3 class=fn>TQ_LONG <a name="waitForMore"></a>TQSocketDevice::waitForMore ( int&nbsp;msecs, bool&nbsp;*&nbsp;timeout = 0 ) const
</h3>
Wait up to <em>msecs</em> milliseconds for more data to be available. If
<em>msecs</em> is -1 the call will block indefinitely.
@@ -391,14 +391,14 @@ closed the connection.
driven applications.
<p> <p>See also <a href="#bytesAvailable">bytesAvailable</a>().
-<h3 class=fn>Q_LONG <a name="writeBlock"></a>TQSocketDevice::writeBlock ( const&nbsp;char&nbsp;*&nbsp;data, Q_ULONG&nbsp;len )<tt> [virtual]</tt>
+<h3 class=fn>TQ_LONG <a name="writeBlock"></a>TQSocketDevice::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.
<p> This is used for <a href="#Type-enum">TQSocketDevice::Stream</a> sockets.
<p>Reimplemented from <a href="ntqiodevice.html#writeBlock">TQIODevice</a>.
-<h3 class=fn>Q_LONG <a name="writeBlock-2"></a>TQSocketDevice::writeBlock ( const&nbsp;char&nbsp;*&nbsp;data, Q_ULONG&nbsp;len, const&nbsp;<a href="ntqhostaddress.html">TQHostAddress</a>&nbsp;&amp;&nbsp;host, Q_UINT16&nbsp;port )<tt> [virtual]</tt>
+<h3 class=fn>TQ_LONG <a name="writeBlock-2"></a>TQSocketDevice::writeBlock ( const&nbsp;char&nbsp;*&nbsp;data, TQ_ULONG&nbsp;len, const&nbsp;<a href="ntqhostaddress.html">TQHostAddress</a>&nbsp;&amp;&nbsp;host, TQ_UINT16&nbsp;port )<tt> [virtual]</tt>
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Writes <em>len</em> bytes to the socket from <em>data</em> and returns the