diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
commit | ea318d1431c89e647598c510c4245c6571aa5f46 (patch) | |
tree | 996d29b80c30d453dda86d1a23162d441628f169 /doc/html/qcopchannel.html | |
parent | aaf89d4b48f69c9293feb187db26362e550b5561 (diff) | |
download | tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip |
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/html/qcopchannel.html')
-rw-r--r-- | doc/html/qcopchannel.html | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/doc/html/qcopchannel.html b/doc/html/qcopchannel.html index 4de884fb5..23461cef3 100644 --- a/doc/html/qcopchannel.html +++ b/doc/html/qcopchannel.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } between several clients. <a href="#details">More...</a> <p><tt>#include <<a href="qcopchannel_qws-h.html">qcopchannel_qws.h</a>></tt> -<p>Inherits <a href="qobject.html">TQObject</a>. +<p>Inherits <a href="ntqobject.html">TQObject</a>. <p><a href="qcopchannel-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -70,14 +70,14 @@ functions usable without an object. <p> The <a href="#channel">channel</a>() function returns the name of the channel. <p> In order to <em>listen</em> to the traffic on a channel, you should either subclass TQCopChannel and reimplement <a href="#receive">receive</a>(), or -<a href="qobject.html#connect">connect</a>() to the <a href="#received">received</a>() signal. +<a href="ntqobject.html#connect">connect</a>() to the <a href="#received">received</a>() signal. <hr><h2>Member Function Documentation</h2> -<h3 class=fn><a name="TQCopChannel"></a>TQCopChannel::TQCopChannel ( const <a href="qcstring.html">TQCString</a> & channel, <a href="qobject.html">TQObject</a> * parent = 0, const char * name = 0 ) +<h3 class=fn><a name="TQCopChannel"></a>TQCopChannel::TQCopChannel ( const <a href="ntqcstring.html">TQCString</a> & channel, <a href="ntqobject.html">TQObject</a> * parent = 0, const char * name = 0 ) </h3> Constructs a TQCop channel and registers it with the server using the name <em>channel</em>. The standard <em>parent</em> and <em>name</em> arguments -are passed on to the <a href="qobject.html">TQObject</a> constructor. +are passed on to the <a href="ntqobject.html">TQObject</a> constructor. <h3 class=fn><a name="~TQCopChannel"></a>TQCopChannel::~TQCopChannel ()<tt> [virtual]</tt> </h3> @@ -85,16 +85,16 @@ Destroys the client's end of the channel and notifies the server that the client has closed its connection. The server will keep the channel open until the last registered client detaches. -<h3 class=fn><a href="qcstring.html">TQCString</a> <a name="channel"></a>TQCopChannel::channel () const +<h3 class=fn><a href="ntqcstring.html">TQCString</a> <a name="channel"></a>TQCopChannel::channel () const </h3> Returns the name of the channel. -<h3 class=fn>bool <a name="isRegistered"></a>TQCopChannel::isRegistered ( const <a href="qcstring.html">TQCString</a> & channel )<tt> [static]</tt> +<h3 class=fn>bool <a name="isRegistered"></a>TQCopChannel::isRegistered ( const <a href="ntqcstring.html">TQCString</a> & channel )<tt> [static]</tt> </h3> Queries the server for the existence of <em>channel</em>. <p> Returns TRUE if <em>channel</em> is registered; otherwise returns FALSE. -<h3 class=fn>void <a name="receive"></a>TQCopChannel::receive ( const <a href="qcstring.html">TQCString</a> & msg, const <a href="qbytearray.html">TQByteArray</a> & data )<tt> [virtual]</tt> +<h3 class=fn>void <a name="receive"></a>TQCopChannel::receive ( const <a href="ntqcstring.html">TQCString</a> & msg, const <a href="qbytearray.html">TQByteArray</a> & data )<tt> [virtual]</tt> </h3> This virtual function allows subclasses of TQCopChannel to process data received from their channel. @@ -103,15 +103,15 @@ data received from their channel. extract the information it contains. <p> Example: <pre> - void MyClass::receive( const <a href="qcstring.html">TQCString</a> &msg, const <a href="qbytearray.html">TQByteArray</a> &data ) + void MyClass::receive( const <a href="ntqcstring.html">TQCString</a> &msg, const <a href="qbytearray.html">TQByteArray</a> &data ) { - <a href="qdatastream.html">TQDataStream</a> stream( data, <a href="qfile.html#open">IO_ReadOnly</a> ); + <a href="ntqdatastream.html">TQDataStream</a> stream( data, <a href="ntqfile.html#open">IO_ReadOnly</a> ); if ( msg == "execute(TQString,TQString)" ) { - <a href="qstring.html">TQString</a> cmd, arg; + <a href="ntqstring.html">TQString</a> cmd, arg; stream >> cmd >> arg; ... } else if ( msg == "delete(TQString)" ) { - <a href="qstring.html">TQString</a> filenname; + <a href="ntqstring.html">TQString</a> filenname; stream >> filename; ... } else ... @@ -126,23 +126,23 @@ requirement. Whatever convention you use the sender and receiver <em>must</em> agree on the argument types. <p> <p>See also <a href="#send">send</a>(). -<h3 class=fn>void <a name="received"></a>TQCopChannel::received ( const <a href="qcstring.html">TQCString</a> & msg, const <a href="qbytearray.html">TQByteArray</a> & data )<tt> [signal]</tt> +<h3 class=fn>void <a name="received"></a>TQCopChannel::received ( const <a href="ntqcstring.html">TQCString</a> & msg, const <a href="qbytearray.html">TQByteArray</a> & data )<tt> [signal]</tt> </h3> <p> This signal is emitted with the <em>msg</em> and <em>data</em> whenever the <a href="#receive">receive</a>() function gets incoming data. -<h3 class=fn>bool <a name="send"></a>TQCopChannel::send ( const <a href="qcstring.html">TQCString</a> & channel, const <a href="qcstring.html">TQCString</a> & msg, const <a href="qbytearray.html">TQByteArray</a> & data )<tt> [static]</tt> +<h3 class=fn>bool <a name="send"></a>TQCopChannel::send ( const <a href="ntqcstring.html">TQCString</a> & channel, const <a href="ntqcstring.html">TQCString</a> & msg, const <a href="qbytearray.html">TQByteArray</a> & data )<tt> [static]</tt> </h3> Send the message <em>msg</em> on channel <em>channel</em> with data <em>data</em>. The message will be distributed to all clients subscribed to the channel. -<p> Note that <a href="qdatastream.html">TQDataStream</a> provides a convenient way to fill the byte +<p> Note that <a href="ntqdatastream.html">TQDataStream</a> provides a convenient way to fill the byte array with auxiliary data. <p> Example: <pre> <a href="qbytearray.html">TQByteArray</a> ba; - <a href="qdatastream.html">TQDataStream</a> stream( ba, <a href="qfile.html#open">IO_WriteOnly</a> ); + <a href="ntqdatastream.html">TQDataStream</a> stream( ba, <a href="ntqfile.html#open">IO_WriteOnly</a> ); stream << TQString("cat") << TQString("file.txt"); TQCopChannel::<a href="#send">send</a>( "System/Shell", "execute(TQString,TQString)", ba ); </pre> @@ -158,7 +158,7 @@ requirement. Whatever convention you use the sender and receiver <em>must</em> agree on the argument types. <p> <p>See also <a href="#receive">receive</a>(). -<h3 class=fn>bool <a name="send-2"></a>TQCopChannel::send ( const <a href="qcstring.html">TQCString</a> & channel, const <a href="qcstring.html">TQCString</a> & msg )<tt> [static]</tt> +<h3 class=fn>bool <a name="send-2"></a>TQCopChannel::send ( const <a href="ntqcstring.html">TQCString</a> & channel, const <a href="ntqcstring.html">TQCString</a> & msg )<tt> [static]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Send the message <em>msg</em> on channel <em>channel</em>. The message will be |