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.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/clientserver-example.html b/doc/html/clientserver-example.html
index 97547494e..e43ac9e61 100644
--- a/doc/html/clientserver-example.html
+++ b/doc/html/clientserver-example.html
@@ -166,12 +166,12 @@ public:
<a href="qlabel.html">TQLabel</a> *lb = new <a href="qlabel.html">TQLabel</a>( itext, this );
<a name="x784"></a> lb-&gt;<a href="qlabel.html#setAlignment">setAlignment</a>( AlignHCenter );
infoText = new <a href="qtextview.html">TQTextView</a>( this );
- <a href="qpushbutton.html">TQPushButton</a> *tquit = new <a href="qpushbutton.html">TQPushButton</a>( tr("Quit") , this );
+ <a href="qpushbutton.html">TQPushButton</a> *quit = new <a href="qpushbutton.html">TQPushButton</a>( tr("Quit") , this );
connect( server, SIGNAL(newConnect(ClientSocket*)),
SLOT(newConnect(ClientSocket*)) );
- connect( tquit, SIGNAL(<a href="qbutton.html#clicked">clicked</a>()), qApp,
- SLOT(<a href="qapplication.html#tquit">tquit</a>()) );
+ connect( quit, SIGNAL(<a href="qbutton.html#clicked">clicked</a>()), qApp,
+ SLOT(<a href="qapplication.html#quit">quit</a>()) );
}
~ServerInfo()
@@ -245,11 +245,11 @@ public:
inputText = new <a href="qlineedit.html">TQLineEdit</a>( hb );
<a href="qpushbutton.html">TQPushButton</a> *send = new <a href="qpushbutton.html">TQPushButton</a>( tr("Send") , hb );
<a href="qpushbutton.html">TQPushButton</a> *close = new <a href="qpushbutton.html">TQPushButton</a>( tr("Close connection") , this );
- <a href="qpushbutton.html">TQPushButton</a> *tquit = new <a href="qpushbutton.html">TQPushButton</a>( tr("Quit") , this );
+ <a href="qpushbutton.html">TQPushButton</a> *quit = new <a href="qpushbutton.html">TQPushButton</a>( tr("Quit") , this );
<a name="x792"></a> connect( send, SIGNAL(<a href="qbutton.html#clicked">clicked</a>()), SLOT(sendToServer()) );
connect( close, SIGNAL(<a href="qbutton.html#clicked">clicked</a>()), SLOT(closeConnection()) );
- connect( tquit, SIGNAL(<a href="qbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="qapplication.html#tquit">tquit</a>()) );
+ connect( quit, SIGNAL(<a href="qbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="qapplication.html#quit">quit</a>()) );
// create the socket and connect various of its signals
socket = new <a href="qsocket.html">TQSocket</a>( this );