summaryrefslogtreecommitdiffstats
path: root/src/modules/http
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-28 21:15:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-01 20:33:17 +0900
commit677dae3bd35bd025d338292a296632d3d2f183e4 (patch)
treea5a9e2839e3a8045686adf8f52a02e4a6b0eb740 /src/modules/http
parent0066e291146de702674fb38a0a2428db405698b0 (diff)
downloadkvirc-677dae3bd35bd025d338292a296632d3d2f183e4.tar.gz
kvirc-677dae3bd35bd025d338292a296632d3d2f183e4.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 209ac1e561619ff446be4b3411ed74e59fff168e)
Diffstat (limited to 'src/modules/http')
-rw-r--r--src/modules/http/httpfiletransfer.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/modules/http/httpfiletransfer.cpp b/src/modules/http/httpfiletransfer.cpp
index 48a8ee37..c9ee4ff1 100644
--- a/src/modules/http/httpfiletransfer.cpp
+++ b/src/modules/http/httpfiletransfer.cpp
@@ -58,14 +58,14 @@ KviHttpFileTransfer::KviHttpFileTransfer()
m_pHttpRequest = new KviHttpRequest();
- connect(m_pHttpRequest,TQT_SIGNAL(status(const TQString &)),this,TQT_SLOT(statusMessage(const TQString &)));
- connect(m_pHttpRequest,TQT_SIGNAL(terminated(bool)),this,TQT_SLOT(transferTerminated(bool)));
- connect(m_pHttpRequest,TQT_SIGNAL(header(KviPointerHashTable<const char *,KviStr> *)),this,TQT_SLOT(headersReceived(KviPointerHashTable<const char *,KviStr> *)));
- connect(m_pHttpRequest,TQT_SIGNAL(resolvingHost(const TQString &)),this,TQT_SLOT(resolvingHost(const TQString &)));
- connect(m_pHttpRequest,TQT_SIGNAL(requestSent(const TQStringList &)),this,TQT_SLOT(requestSent(const TQStringList &)));
- connect(m_pHttpRequest,TQT_SIGNAL(contactingHost(const TQString &)),this,TQT_SLOT(contactingHost(const TQString &)));
- connect(m_pHttpRequest,TQT_SIGNAL(receivedResponse(const TQString &)),this,TQT_SLOT(receivedResponse(const TQString &)));
- connect(m_pHttpRequest,TQT_SIGNAL(connectionEstabilished()),this,TQT_SLOT(connectionEstabilished()));
+ connect(m_pHttpRequest,TQ_SIGNAL(status(const TQString &)),this,TQ_SLOT(statusMessage(const TQString &)));
+ connect(m_pHttpRequest,TQ_SIGNAL(terminated(bool)),this,TQ_SLOT(transferTerminated(bool)));
+ connect(m_pHttpRequest,TQ_SIGNAL(header(KviPointerHashTable<const char *,KviStr> *)),this,TQ_SLOT(headersReceived(KviPointerHashTable<const char *,KviStr> *)));
+ connect(m_pHttpRequest,TQ_SIGNAL(resolvingHost(const TQString &)),this,TQ_SLOT(resolvingHost(const TQString &)));
+ connect(m_pHttpRequest,TQ_SIGNAL(requestSent(const TQStringList &)),this,TQ_SLOT(requestSent(const TQStringList &)));
+ connect(m_pHttpRequest,TQ_SIGNAL(contactingHost(const TQString &)),this,TQ_SLOT(contactingHost(const TQString &)));
+ connect(m_pHttpRequest,TQ_SIGNAL(receivedResponse(const TQString &)),this,TQ_SLOT(receivedResponse(const TQString &)));
+ connect(m_pHttpRequest,TQ_SIGNAL(connectionEstabilished()),this,TQ_SLOT(connectionEstabilished()));
m_eGeneralStatus = Initializing;
m_szStatusString = __tr2qs_ctx("Initializing","http");
@@ -104,7 +104,7 @@ void KviHttpFileTransfer::abort()
void KviHttpFileTransfer::fillContextPopup(KviTalPopupMenu * m,int column)
{
- int id = m->insertItem(__tr2qs_ctx("Abort","http"),this,TQT_SLOT(abort()));
+ int id = m->insertItem(__tr2qs_ctx("Abort","http"),this,TQ_SLOT(abort()));
if(!active())m->setItemEnabled(id,false);
}
@@ -457,7 +457,7 @@ void KviHttpFileTransfer::transferTerminated(bool bSuccess)
{
if(m_pAutoCleanTimer)delete m_pAutoCleanTimer;
m_pAutoCleanTimer = new TQTimer();
- connect(m_pAutoCleanTimer,TQT_SIGNAL(timeout()),this,TQT_SLOT(autoClean()));
+ connect(m_pAutoCleanTimer,TQ_SIGNAL(timeout()),this,TQ_SLOT(autoClean()));
m_pAutoCleanTimer->start(100,true);
}
}