summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/engine
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 14:38:52 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-21 23:13:10 +0900
commitdd3ce2e1c41671cffcb72c90f88f536269079869 (patch)
treeb87fa0d6f8911e0009d033326f5e36972ae2f6d3 /klinkstatus/src/engine
parent40eb6401dea18d69ccd84eb13526b9356db621d1 (diff)
downloadtdewebdev-dd3ce2e1c41671cffcb72c90f88f536269079869.tar.gz
tdewebdev-dd3ce2e1c41671cffcb72c90f88f536269079869.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 931991843ab3b6b0b0157dd433c226f7fc2ebc1b)
Diffstat (limited to 'klinkstatus/src/engine')
-rw-r--r--klinkstatus/src/engine/linkchecker.cpp20
-rw-r--r--klinkstatus/src/engine/searchmanager.cpp16
2 files changed, 18 insertions, 18 deletions
diff --git a/klinkstatus/src/engine/linkchecker.cpp b/klinkstatus/src/engine/linkchecker.cpp
index 82572997..1f36c485 100644
--- a/klinkstatus/src/engine/linkchecker.cpp
+++ b/klinkstatus/src/engine/linkchecker.cpp
@@ -97,16 +97,16 @@ void LinkChecker::check()
t_job_->addMetaData("SendUserAgent", "false");
- TQObject::connect(t_job_, TQT_SIGNAL(data(TDEIO::Job *, const TQByteArray &)),
- this, TQT_SLOT(slotData(TDEIO::Job *, const TQByteArray &)));
- TQObject::connect(t_job_, TQT_SIGNAL(mimetype(TDEIO::Job *, const TQString &)),
- this, TQT_SLOT(slotMimetype(TDEIO::Job *, const TQString &)));
- TQObject::connect(t_job_, TQT_SIGNAL(result(TDEIO::Job *)),
- this, TQT_SLOT(slotResult(TDEIO::Job *)));
- TQObject::connect(t_job_, TQT_SIGNAL(redirection(TDEIO::Job *, const KURL &)),
- this, TQT_SLOT(slotRedirection(TDEIO::Job *, const KURL &)));
-
- TQTimer::singleShot( time_out_ * 1000, this, TQT_SLOT(slotTimeOut()) );
+ TQObject::connect(t_job_, TQ_SIGNAL(data(TDEIO::Job *, const TQByteArray &)),
+ this, TQ_SLOT(slotData(TDEIO::Job *, const TQByteArray &)));
+ TQObject::connect(t_job_, TQ_SIGNAL(mimetype(TDEIO::Job *, const TQString &)),
+ this, TQ_SLOT(slotMimetype(TDEIO::Job *, const TQString &)));
+ TQObject::connect(t_job_, TQ_SIGNAL(result(TDEIO::Job *)),
+ this, TQ_SLOT(slotResult(TDEIO::Job *)));
+ TQObject::connect(t_job_, TQ_SIGNAL(redirection(TDEIO::Job *, const KURL &)),
+ this, TQ_SLOT(slotRedirection(TDEIO::Job *, const KURL &)));
+
+ TQTimer::singleShot( time_out_ * 1000, this, TQ_SLOT(slotTimeOut()) );
t_job_->setInteractive(false);
}
diff --git a/klinkstatus/src/engine/searchmanager.cpp b/klinkstatus/src/engine/searchmanager.cpp
index 45fdc24b..e05087d1 100644
--- a/klinkstatus/src/engine/searchmanager.cpp
+++ b/klinkstatus/src/engine/searchmanager.cpp
@@ -191,11 +191,11 @@ void SearchManager::checkRoot()
LinkChecker* checker = new LinkChecker(&root_, time_out_, this, "link_checker");
checker->setSearchManager(this);
- connect(checker, TQT_SIGNAL(transactionFinished(const LinkStatus *, LinkChecker *)),
- this, TQT_SLOT(slotRootChecked(const LinkStatus *, LinkChecker *)));
+ connect(checker, TQ_SIGNAL(transactionFinished(const LinkStatus *, LinkChecker *)),
+ this, TQ_SLOT(slotRootChecked(const LinkStatus *, LinkChecker *)));
/*
- connect(checker, TQT_SIGNAL(jobFinnished(LinkChecker *)),
- this, TQT_SLOT(slotLinkCheckerFinnished(LinkChecker *)));
+ connect(checker, TQ_SIGNAL(jobFinnished(LinkChecker *)),
+ this, TQ_SLOT(slotLinkCheckerFinnished(LinkChecker *)));
*/
checker->check();
}
@@ -524,11 +524,11 @@ void SearchManager::checkLinksSimultaneously(vector<LinkStatus*> const& links)
LinkChecker* checker = new LinkChecker(ls, time_out_, this, "link_checker");
checker->setSearchManager(this);
- connect(checker, TQT_SIGNAL(transactionFinished(const LinkStatus *, LinkChecker *)),
- this, TQT_SLOT(slotLinkChecked(const LinkStatus *, LinkChecker *)));
+ connect(checker, TQ_SIGNAL(transactionFinished(const LinkStatus *, LinkChecker *)),
+ this, TQ_SLOT(slotLinkChecked(const LinkStatus *, LinkChecker *)));
/*
- connect(checker, TQT_SIGNAL(jobFinnished(LinkChecker *)),
- this, TQT_SLOT(slotLinkCheckerFinnished(LinkChecker *)));
+ connect(checker, TQ_SIGNAL(jobFinnished(LinkChecker *)),
+ this, TQ_SLOT(slotLinkCheckerFinnished(LinkChecker *)));
*/
checker->check();
}