summaryrefslogtreecommitdiffstats
path: root/examples/network/httpd
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
commitfb401a891f1b426e9419c0cb16403df407138611 (patch)
tree045b51949b3140039e37d898d8b0513016a86bea /examples/network/httpd
parenta9d178f1000475ba1727ffe123a2c54585488c01 (diff)
downloadtqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz
tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples/network/httpd')
-rw-r--r--examples/network/httpd/httpd.cpp12
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()