summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/engine/linkchecker.h
diff options
context:
space:
mode:
Diffstat (limited to 'klinkstatus/src/engine/linkchecker.h')
-rw-r--r--klinkstatus/src/engine/linkchecker.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/klinkstatus/src/engine/linkchecker.h b/klinkstatus/src/engine/linkchecker.h
index 168776d9..74cf9eb9 100644
--- a/klinkstatus/src/engine/linkchecker.h
+++ b/klinkstatus/src/engine/linkchecker.h
@@ -37,25 +37,26 @@ using namespace std;
/**
@author Paulo Moura Guedes
*/
-class LinkChecker : public QObject
+class LinkChecker : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- LinkChecker(LinkStatus* linkstatus, int time_out = 50,
- TQObject *parent = 0, const char *name = 0);
+ LinkChecker(LinktqStatus* linkstatus, int time_out = 50,
+ TQObject *tqparent = 0, const char *name = 0);
~LinkChecker();
//virtual void run();
void check();
void setSearchManager(SearchManager* search_manager);
- LinkStatus const* linkStatus() const;
+ LinktqStatus const* linktqStatus() const;
static bool hasAnchor(KHTMLPart* html_part, TQString const& anchor);
signals:
- void transactionFinished(const LinkStatus * linkstatus,
+ void transactionFinished(const LinktqStatus * linkstatus,
LinkChecker * checker);
void jobFinnished(LinkChecker * checker);
@@ -75,8 +76,8 @@ protected:
private:
- LinkStatus::Status getHttpStatus() const;
- void checkRef(LinkStatus const* linkstatus_parent);
+ LinktqStatus::tqStatus getHttptqStatus() const;
+ void checkRef(LinktqStatus const* linkstatus_parent);
void checkRef(KURL const& url);
void killJob();
/**
@@ -90,7 +91,7 @@ private:
private:
SearchManager* search_manager_;
- LinkStatus* const linkstatus_;
+ LinktqStatus* const linkstatus_;
KIO::TransferJob* t_job_;
int time_out_;
LinkChecker* checker_;
@@ -119,7 +120,7 @@ private:
static int count_; // debug attribute that counts how many links were checked
};
-inline LinkStatus const* LinkChecker::linkStatus() const
+inline LinktqStatus const* LinkChecker::linktqStatus() const
{
return linkstatus_;
}