diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-31 22:16:03 +0900 |
commit | ecca365daf06c711cf30f93f4c773dabf5642790 (patch) | |
tree | 0b2f6780f60fd7eb35c84cc899e7d51db189d67d /examples/network/httpd/httpd.cpp | |
parent | 1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff) | |
download | tqt-ecca365daf06c711cf30f93f4c773dabf5642790.tar.gz tqt-ecca365daf06c711cf30f93f4c773dabf5642790.zip |
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611)
Diffstat (limited to 'examples/network/httpd/httpd.cpp')
-rw-r--r-- | examples/network/httpd/httpd.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/network/httpd/httpd.cpp b/examples/network/httpd/httpd.cpp index 28e0bd37a..09942bcc3 100644 --- a/examples/network/httpd/httpd.cpp +++ b/examples/network/httpd/httpd.cpp @@ -39,8 +39,8 @@ public: // works asynchronouslyl, this means that all the communication is done // in the two slots readClient() and discardClient(). TQSocket* s = new TQSocket( this ); - connect( s, SIGNAL(readyRead()), this, SLOT(readClient()) ); - connect( s, SIGNAL(delayedCloseFinished()), this, SLOT(discardClient()) ); + connect( s, TQ_SIGNAL(readyRead()), this, TQ_SLOT(readClient()) ); + connect( s, TQ_SIGNAL(delayedCloseFinished()), this, TQ_SLOT(discardClient()) ); s->setSocket( socket ); emit newConnect(); } @@ -100,10 +100,10 @@ public: infoText = new TQTextView( 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( quit, SIGNAL(pressed()), tqApp, SLOT(quit()) ); + connect( httpd, TQ_SIGNAL(newConnect()), TQ_SLOT(newConnect()) ); + connect( httpd, TQ_SIGNAL(endConnect()), TQ_SLOT(endConnect()) ); + connect( httpd, TQ_SIGNAL(wroteToClient()), TQ_SLOT(wroteToClient()) ); + connect( quit, TQ_SIGNAL(pressed()), tqApp, TQ_SLOT(quit()) ); } ~HttpInfo() |