diff options
Diffstat (limited to 'examples/network/clientserver/client')
-rw-r--r-- | examples/network/clientserver/client/client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/network/clientserver/client/client.cpp b/examples/network/clientserver/client/client.cpp index d76b59a9d..0155a4fa1 100644 --- a/examples/network/clientserver/client/client.cpp +++ b/examples/network/clientserver/client/client.cpp @@ -30,11 +30,11 @@ public: inputText = new TQLineEdit( hb ); TQPushButton *send = new TQPushButton( tr("Send") , hb ); TQPushButton *close = new TQPushButton( tr("Close connection") , this ); - TQPushButton *tquit = new TQPushButton( tr("Quit") , this ); + TQPushButton *quit = new TQPushButton( tr("Quit") , this ); connect( send, SIGNAL(clicked()), SLOT(sendToServer()) ); connect( close, SIGNAL(clicked()), SLOT(closeConnection()) ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); // create the socket and connect various of its signals socket = new TQSocket( this ); |