diff options
author | Timothy Pearson <[email protected]> | 2012-06-17 17:28:28 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-06-17 17:28:28 -0500 |
commit | 6dec101d43dcbd4195c47d54bd388db1a8d7230e (patch) | |
tree | 7c336cbed3a93807a34cd4df39b2f92a7d48a141 /doc/html/ntqsocket.html | |
parent | f27c2533f735d53c6b555f387c6390c0690cc246 (diff) | |
download | tqt3-6dec101d43dcbd4195c47d54bd388db1a8d7230e.tar.gz tqt3-6dec101d43dcbd4195c47d54bd388db1a8d7230e.zip |
Automated update from Qt3
Diffstat (limited to 'doc/html/ntqsocket.html')
-rw-r--r-- | doc/html/ntqsocket.html | 44 |
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 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 * device )</li> -<li class=fn>virtual void <a href="#connectToHost"><b>connectToHost</b></a> ( const TQString & host, Q_UINT16 port )</li> +<li class=fn>virtual void <a href="#connectToHost"><b>connectToHost</b></a> ( const TQString & host, TQ_UINT16 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 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 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 msecs, bool * timeout ) const</li> -<li class=fn>Q_ULONG <a href="#waitForMore-2"><b>waitForMore</b></a> ( int 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 msecs, bool * timeout ) const</li> +<li class=fn>TQ_ULONG <a href="#waitForMore-2"><b>waitForMore</b></a> ( int 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 * data, Q_ULONG maxlen )</li> -<li class=fn>virtual Q_LONG <a href="#writeBlock"><b>writeBlock</b></a> ( const char * data, Q_ULONG len )</li> +<li class=fn>virtual TQ_LONG <a href="#readBlock"><b>readBlock</b></a> ( char * data, TQ_ULONG maxlen )</li> +<li class=fn>virtual TQ_LONG <a href="#writeBlock"><b>writeBlock</b></a> ( const char * data, TQ_ULONG 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 ch )</li> <li class=fn>virtual int <a href="#ungetch"><b>ungetch</b></a> ( int 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 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 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 <a href="ntqstring.html">TQString</a> & host, Q_UINT16 port )<tt> [virtual]</tt> +<h3 class=fn>void <a name="connectToHost"></a>TQSocket::connectToHost ( const <a href="ntqstring.html">TQString</a> & host, TQ_UINT16 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 * data, Q_ULONG maxlen )<tt> [virtual]</tt> +<h3 class=fn>TQ_LONG <a name="readBlock"></a>TQSocket::readBlock ( char * data, TQ_ULONG 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 bufSize ) +<h3 class=fn>void <a name="setReadBufferSize"></a>TQSocket::setReadBufferSize ( TQ_ULONG 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 msecs, bool * timeout ) const +<h3 class=fn>TQ_ULONG <a name="waitForMore"></a>TQSocket::waitForMore ( int msecs, bool * 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 msecs ) const +<h3 class=fn>TQ_ULONG <a name="waitForMore-2"></a>TQSocket::waitForMore ( int 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 char * data, Q_ULONG len )<tt> [virtual]</tt> +<h3 class=fn>TQ_LONG <a name="writeBlock"></a>TQSocket::writeBlock ( const char * data, TQ_ULONG 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. |