diff options
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" |
