From 0f92dd542b65bc910caaf190b7c623aa5158c86a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 14 Nov 2011 22:33:41 -0600 Subject: Fix native TQt3 accidental conversion to tquit --- doc/html/clientserver-example.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/html/clientserver-example.html') 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: 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() @@ -245,11 +245,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 ); -- cgit v1.2.1