diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-01 17:47:34 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-01 20:24:02 +0900 |
commit | 657dd888c8a6bdc820669c441d9e1647b2ed0be1 (patch) | |
tree | 514013ec3bf94a3dc193789fbddb80ca48d09805 /plugins/webinterface/httpserver.cpp | |
parent | 4caf6f3c92ecc2c41a5a1fe425d4eecc35cfe0e9 (diff) | |
download | ktorrent-657dd888c8a6bdc820669c441d9e1647b2ed0be1.tar.gz ktorrent-657dd888c8a6bdc820669c441d9e1647b2ed0be1.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 27fd576acbb8b9453dadd7d1ae949396eef8fc12)
Diffstat (limited to 'plugins/webinterface/httpserver.cpp')
-rw-r--r-- | plugins/webinterface/httpserver.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/webinterface/httpserver.cpp b/plugins/webinterface/httpserver.cpp index f7f9600..292ecc8 100644 --- a/plugins/webinterface/httpserver.cpp +++ b/plugins/webinterface/httpserver.cpp @@ -75,9 +75,9 @@ namespace kt TQSocket* socket = new TQSocket(this); socket->setSocket(s); - connect(socket, TQT_SIGNAL(readyRead()), this, TQT_SLOT(slotSocketReadyToRead())); - connect(socket, TQT_SIGNAL(delayedCloseFinished()), this, TQT_SLOT(slotConnectionClosed())); - connect(socket, TQT_SIGNAL(connectionClosed()), this, TQT_SLOT(slotConnectionClosed())); + connect(socket, TQ_SIGNAL(readyRead()), this, TQ_SLOT(slotSocketReadyToRead())); + connect(socket, TQ_SIGNAL(delayedCloseFinished()), this, TQ_SLOT(slotConnectionClosed())); + connect(socket, TQ_SIGNAL(connectionClosed()), this, TQ_SLOT(slotConnectionClosed())); HttpClientHandler* handler = new HttpClientHandler(this,socket); clients.insert(socket,handler); @@ -381,7 +381,7 @@ namespace kt { // first send back login page redirectToLoginPage(hdlr); - TQTimer::singleShot(1000,kapp,TQT_SLOT(quit())); + TQTimer::singleShot(1000,kapp,TQ_SLOT(quit())); } else if (redirect) { |