summaryrefslogtreecommitdiffstats
path: root/examples/network/clientserver/client/client.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-14 22:33:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-14 22:33:41 -0600
commit0f92dd542b65bc910caaf190b7c623aa5158c86a (patch)
tree120ab7e08fa0ffc354ef58d100f79a33c92aa6e6 /examples/network/clientserver/client/client.cpp
parentd796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff)
downloadtqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz
tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'examples/network/clientserver/client/client.cpp')
-rw-r--r--examples/network/clientserver/client/client.cpp4
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 );