From ecca365daf06c711cf30f93f4c773dabf5642790 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 27 Dec 2023 19:25:43 +0900 Subject: Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT Signed-off-by: Michele Calgaro (cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611) --- examples/network/httpd/httpd.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'examples/network/httpd/httpd.cpp') 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() -- cgit v1.2.3