diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-14 22:33:41 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-14 22:33:41 -0600 |
commit | 0f92dd542b65bc910caaf190b7c623aa5158c86a (patch) | |
tree | 120ab7e08fa0ffc354ef58d100f79a33c92aa6e6 /examples/network | |
parent | d796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff) | |
download | tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip |
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'examples/network')
-rw-r--r-- | examples/network/archivesearch/main.cpp | 2 | ||||
-rw-r--r-- | examples/network/clientserver/client/client.cpp | 4 | ||||
-rw-r--r-- | examples/network/clientserver/server/server.cpp | 6 | ||||
-rw-r--r-- | examples/network/httpd/httpd.cpp | 4 | ||||
-rw-r--r-- | examples/network/infoprotocol/infoclient/client.cpp | 2 | ||||
-rw-r--r-- | examples/network/infoprotocol/infoserver/server.cpp | 2 | ||||
-rw-r--r-- | examples/network/infoprotocol/infourlclient/client.cpp | 2 | ||||
-rw-r--r-- | examples/network/networkprotocol/nntp.cpp | 2 | ||||
-rw-r--r-- | examples/network/remotecontrol/main.cpp | 2 | ||||
-rw-r--r-- | examples/network/remotecontrol/remotectrl.ui | 4 |
10 files changed, 15 insertions, 15 deletions
diff --git a/examples/network/archivesearch/main.cpp b/examples/network/archivesearch/main.cpp index c08a00031..8a8588a1a 100644 --- a/examples/network/archivesearch/main.cpp +++ b/examples/network/archivesearch/main.cpp @@ -17,7 +17,7 @@ int main(int argc, char **argv) ad.show(); TQObject::connect( &a, SIGNAL(lastWindowClosed()), - &a, SLOT(tquit()) ); + &a, SLOT(quit()) ); return a.exec(); } 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() diff --git a/examples/network/httpd/httpd.cpp b/examples/network/httpd/httpd.cpp index fd42891bb..f96fc4554 100644 --- a/examples/network/httpd/httpd.cpp +++ b/examples/network/httpd/httpd.cpp @@ -98,12 +98,12 @@ public: TQLabel *lb = new TQLabel( itext, this ); lb->setAlignment( AlignHCenter ); infoText = new TQTextView( this ); - TQPushButton *tquit = new TQPushButton( "tquit" , this ); + TQPushButton *quit = new TQPushButton( "quit" , this ); connect( httpd, SIGNAL(newConnect()), SLOT(newConnect()) ); connect( httpd, SIGNAL(endConnect()), SLOT(endConnect()) ); connect( httpd, SIGNAL(wroteToClient()), SLOT(wroteToClient()) ); - connect( tquit, SIGNAL(pressed()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(pressed()), qApp, SLOT(quit()) ); } ~HttpInfo() diff --git a/examples/network/infoprotocol/infoclient/client.cpp b/examples/network/infoprotocol/infoclient/client.cpp index 24861ab55..a1852eb2e 100644 --- a/examples/network/infoprotocol/infoclient/client.cpp +++ b/examples/network/infoprotocol/infoclient/client.cpp @@ -28,7 +28,7 @@ ClientInfo::ClientInfo( TQWidget *parent, const char *name ) : connect( infoList, SIGNAL(selected(const TQString&)), SLOT(selectItem(const TQString&)) ); connect( btnConnect, SIGNAL(clicked()), SLOT(connectToServer()) ); connect( btnBack, SIGNAL(clicked()), SLOT(stepBack()) ); - connect( btnQuit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( btnQuit, SIGNAL(clicked()), qApp, SLOT(quit()) ); } diff --git a/examples/network/infoprotocol/infoserver/server.cpp b/examples/network/infoprotocol/infoserver/server.cpp index 4e5ef6d17..e85e6120b 100644 --- a/examples/network/infoprotocol/infoserver/server.cpp +++ b/examples/network/infoprotocol/infoserver/server.cpp @@ -23,7 +23,7 @@ ServerInfo::ServerInfo( Q_UINT16 port, TQWidget *parent, const char *name ) : { SimpleServer *server = new SimpleServer( port, this, "simple server" ); connect( server, SIGNAL(newConnect()), SLOT(newConnect()) ); - connect( btnQuit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( btnQuit, SIGNAL(clicked()), qApp, SLOT(quit()) ); } void ServerInfo::newConnect() diff --git a/examples/network/infoprotocol/infourlclient/client.cpp b/examples/network/infoprotocol/infourlclient/client.cpp index ba61d3b31..a1625e299 100644 --- a/examples/network/infoprotocol/infourlclient/client.cpp +++ b/examples/network/infoprotocol/infourlclient/client.cpp @@ -22,7 +22,7 @@ ClientInfo::ClientInfo( TQWidget *parent, const char *name ) : ClientInfoBase( parent, name ) { connect( btnOpen, SIGNAL(clicked()), SLOT(downloadFile()) ); - connect( btnQuit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( btnQuit, SIGNAL(clicked()), qApp, SLOT(quit()) ); connect( &op, SIGNAL( data( const TQByteArray &, TQNetworkOperation * ) ), this, SLOT( newData( const TQByteArray & ) ) ); } diff --git a/examples/network/networkprotocol/nntp.cpp b/examples/network/networkprotocol/nntp.cpp index eccc1f974..6a4e1245a 100644 --- a/examples/network/networkprotocol/nntp.cpp +++ b/examples/network/networkprotocol/nntp.cpp @@ -103,7 +103,7 @@ void Nntp::close() { // close the command socket if ( commandSocket->isOpen() ) { - commandSocket->writeBlock( "tquit\r\n", strlen( "tquit\r\n" ) ); + commandSocket->writeBlock( "quit\r\n", strlen( "quit\r\n" ) ); commandSocket->close(); } } diff --git a/examples/network/remotecontrol/main.cpp b/examples/network/remotecontrol/main.cpp index c153d02d2..c617df233 100644 --- a/examples/network/remotecontrol/main.cpp +++ b/examples/network/remotecontrol/main.cpp @@ -6,6 +6,6 @@ int main( int argc, char **argv ) { TQApplication a( argc, argv ); StartUp s; - TQObject::connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(tquit()) ); + TQObject::connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) ); return a.exec(); } diff --git a/examples/network/remotecontrol/remotectrl.ui b/examples/network/remotecontrol/remotectrl.ui index c28482ff2..13a9fd792 100644 --- a/examples/network/remotecontrol/remotectrl.ui +++ b/examples/network/remotecontrol/remotectrl.ui @@ -123,7 +123,7 @@ </spacer> <widget class="TQPushButton"> <property name="name"> - <cstring>tquitButton</cstring> + <cstring>quitButton</cstring> </property> <property name="text"> <string>&Quit</string> @@ -135,7 +135,7 @@ </widget> <connections> <connection> - <sender>tquitButton</sender> + <sender>quitButton</sender> <signal>clicked()</signal> <receiver>RemoteCtrl</receiver> <slot>close()</slot> |