summaryrefslogtreecommitdiffstats
path: root/doc/html/clientserver-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/clientserver-example.html')
-rw-r--r--doc/html/clientserver-example.html22
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 &lt;<a href="tqsocket-h.html">tqsocket.h</a>&gt;
#include &lt;<a href="tqserversocket-h.html">tqserversocket.h</a>&gt;
-#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
+#include &lt;<a href="tqapplication-h.html">tqapplication.h</a>&gt;
#include &lt;<a href="tqvbox-h.html">tqvbox.h</a>&gt;
#include &lt;<a href="tqtextview-h.html">tqtextview.h</a>&gt;
#include &lt;<a href="tqlabel-h.html">tqlabel.h</a>&gt;
@@ -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>( &amp;info );
+ app.<a href="tqapplication.html#setMainWidget">setMainWidget</a>( &amp;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 &lt;<a href="tqsocket-h.html">tqsocket.h</a>&gt;
-#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
+#include &lt;<a href="tqapplication-h.html">tqapplication.h</a>&gt;
#include &lt;<a href="tqvbox-h.html">tqvbox.h</a>&gt;
#include &lt;<a href="tqhbox-h.html">tqhbox.h</a>&gt;
#include &lt;<a href="tqtextview-h.html">tqtextview.h</a>&gt;
@@ -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&lt;2 ? "localhost" : argv[1], 4242 );
- app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &amp;client );
+ app.<a href="tqapplication.html#setMainWidget">setMainWidget</a>( &amp;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"