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 17:47:34 +0900 |
commit | 27fd576acbb8b9453dadd7d1ae949396eef8fc12 (patch) | |
tree | ee739b602572a496ce9ca24318cf1b371dbd7174 /plugins/webinterface | |
parent | 09d3e49e01a4b798762fd505810b092fd0c77b47 (diff) | |
download | ktorrent-27fd576acbb8b9453dadd7d1ae949396eef8fc12.tar.gz ktorrent-27fd576acbb8b9453dadd7d1ae949396eef8fc12.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'plugins/webinterface')
-rw-r--r-- | plugins/webinterface/httpclienthandler.cpp | 2 | ||||
-rw-r--r-- | plugins/webinterface/httpserver.cpp | 8 | ||||
-rw-r--r-- | plugins/webinterface/php_handler.cpp | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/plugins/webinterface/httpclienthandler.cpp b/plugins/webinterface/httpclienthandler.cpp index cba0372..bc2a4f6 100644 --- a/plugins/webinterface/httpclienthandler.cpp +++ b/plugins/webinterface/httpclienthandler.cpp @@ -212,7 +212,7 @@ namespace kt else { php_response_hdr = hdr; - connect(php,TQT_SIGNAL(finished()),this,TQT_SLOT(onPHPFinished())); + connect(php,TQ_SIGNAL(finished()),this,TQ_SLOT(onPHPFinished())); state = PROCESSING_PHP; } } 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) { diff --git a/plugins/webinterface/php_handler.cpp b/plugins/webinterface/php_handler.cpp index b8315ba..6586f7e 100644 --- a/plugins/webinterface/php_handler.cpp +++ b/plugins/webinterface/php_handler.cpp @@ -37,8 +37,8 @@ namespace kt PhpHandler::PhpHandler(const TQString & php_exe,PhpInterface *php) : TQProcess(php_exe),php_i(php) { - connect(this,TQT_SIGNAL(readyReadStdout()),this,TQT_SLOT(onReadyReadStdout())); - connect(this,TQT_SIGNAL(processExited()),this,TQT_SLOT(onExited())); + connect(this,TQ_SIGNAL(readyReadStdout()),this,TQ_SLOT(onReadyReadStdout())); + connect(this,TQ_SIGNAL(processExited()),this,TQ_SLOT(onExited())); } PhpHandler::~PhpHandler() |