diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-10-15 13:05:33 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-10-22 10:05:58 +0900 |
| commit | 397b7afa8e3f32268c4454bf4783ac2a5a799658 (patch) | |
| tree | 0b41c33e457556bd2b9371788ddbce25263f00d6 /doc/html/clientserver-example.html | |
| parent | 755d46927cc6a5719e695aeb8133be6897de62d8 (diff) | |
| download | tqt-397b7afa.tar.gz tqt-397b7afa.zip | |
Rename ntqapplication, ntqconfig and ntqmodules files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/clientserver-example.html')
| -rw-r--r-- | doc/html/clientserver-example.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/clientserver-example.html b/doc/html/clientserver-example.html index 3c68667e1..ba5e9ef9f 100644 --- a/doc/html/clientserver-example.html +++ b/doc/html/clientserver-example.html @@ -56,7 +56,7 @@ specified. You can send single lines to the server. #include <<a href="tqsocket-h.html">tqsocket.h</a>> #include <<a href="tqserversocket-h.html">tqserversocket.h</a>> -#include <<a href="qapplication-h.html">ntqapplication.h</a>> +#include <<a href="tqapplication-h.html">tqapplication.h</a>> #include <<a href="tqvbox-h.html">tqvbox.h</a>> #include <<a href="tqtextview-h.html">tqtextview.h</a>> #include <<a href="tqlabel-h.html">tqlabel.h</a>> @@ -126,7 +126,7 @@ public: <a href="tqserversocket.html">TQServerSocket</a>( 4242, 1, parent ) { if ( !ok() ) { - <a href="ntqapplication.html#qWarning">tqWarning</a>("Failed to bind to port 4242"); + <a href="tqapplication.html#qWarning">tqWarning</a>("Failed to bind to port 4242"); exit(1); } } @@ -170,7 +170,7 @@ public: connect( server, TQ_SIGNAL(newConnect(ClientSocket*)), TQ_SLOT(newConnect(ClientSocket*)) ); connect( quit, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), tqApp, - TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + TQ_SLOT(<a href="tqapplication.html#quit">quit</a>()) ); } ~ServerInfo() @@ -199,11 +199,11 @@ private: int main( int argc, char** argv ) { - <a href="ntqapplication.html">TQApplication</a> app( argc, argv ); + <a href="tqapplication.html">TQApplication</a> app( argc, argv ); ServerInfo info; - app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &info ); + app.<a href="tqapplication.html#setMainWidget">setMainWidget</a>( &info ); info.<a href="tqwidget.html#show">show</a>(); - return app.<a href="ntqapplication.html#exec">exec</a>(); + return app.<a href="tqapplication.html#exec">exec</a>(); } #include "server.moc" @@ -222,7 +222,7 @@ int main( int argc, char** argv ) *****************************************************************************/ #include <<a href="tqsocket-h.html">tqsocket.h</a>> -#include <<a href="qapplication-h.html">ntqapplication.h</a>> +#include <<a href="tqapplication-h.html">tqapplication.h</a>> #include <<a href="tqvbox-h.html">tqvbox.h</a>> #include <<a href="tqhbox-h.html">tqhbox.h</a>> #include <<a href="tqtextview-h.html">tqtextview.h</a>> @@ -248,7 +248,7 @@ public: <a name="x792"></a> connect( send, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), TQ_SLOT(sendToServer()) ); connect( close, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), TQ_SLOT(closeConnection()) ); - connect( quit, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + connect( quit, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), tqApp, TQ_SLOT(<a href="tqapplication.html#quit">quit</a>()) ); // create the socket and connect various of its signals socket = new <a href="tqsocket.html">TQSocket</a>( this ); @@ -329,11 +329,11 @@ private: int main( int argc, char** argv ) { - <a href="ntqapplication.html">TQApplication</a> app( argc, argv ); + <a href="tqapplication.html">TQApplication</a> app( argc, argv ); Client client( argc<2 ? "localhost" : argv[1], 4242 ); - app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &client ); + app.<a href="tqapplication.html#setMainWidget">setMainWidget</a>( &client ); client.<a href="tqwidget.html#show">show</a>(); - return app.<a href="ntqapplication.html#exec">exec</a>(); + return app.<a href="tqapplication.html#exec">exec</a>(); } #include "client.moc" |
