summaryrefslogtreecommitdiffstats
path: root/examples/network/clientserver
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/clientserver')
-rw-r--r--examples/network/clientserver/client/client.cpp4
-rw-r--r--examples/network/clientserver/server/server.cpp6
2 files changed, 5 insertions, 5 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 );
diff --git a/examples/network/clientserver/server/server.cpp b/examples/network/clientserver/server/server.cpp
index f80adda84..b6ac44794 100644
--- a/examples/network/clientserver/server/server.cpp
+++ b/examples/network/clientserver/server/server.cpp
@@ -118,12 +118,12 @@ public:
TQLabel *lb = new TQLabel( itext, this );
lb->setAlignment( AlignHCenter );
infoText = new TQTextView( this );
- TQPushButton *tquit = new TQPushButton( tr("Quit") , this );
+ TQPushButton *quit = new TQPushButton( tr("Quit") , this );
connect( server, SIGNAL(newConnect(ClientSocket*)),
SLOT(newConnect(ClientSocket*)) );
- connect( tquit, SIGNAL(clicked()), qApp,
- SLOT(tquit()) );
+ connect( quit, SIGNAL(clicked()), qApp,
+ SLOT(quit()) );
}
~ServerInfo()