diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:54:04 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:54:04 +0000 |
commit | dc6b8e72fed2586239e3514819238c520636c9d9 (patch) | |
tree | 88b200df0a0b7fab9d6f147596173556f1ed9a13 /klinkstatus/src/engine/linkchecker.h | |
parent | 6927d4436e54551917f600b706a8d6109e49de1c (diff) | |
download | tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'klinkstatus/src/engine/linkchecker.h')
-rw-r--r-- | klinkstatus/src/engine/linkchecker.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/klinkstatus/src/engine/linkchecker.h b/klinkstatus/src/engine/linkchecker.h index a992e5fd..168776d9 100644 --- a/klinkstatus/src/engine/linkchecker.h +++ b/klinkstatus/src/engine/linkchecker.h @@ -20,9 +20,9 @@ #ifndef LINKCHECKER_H #define LINKCHECKER_H -#include <qobject.h> -#include <qthread.h> -#include <qstring.h> +#include <tqobject.h> +#include <tqthread.h> +#include <tqstring.h> #include <kio/jobclasses.h> class KHTMLPart; @@ -42,7 +42,7 @@ class LinkChecker : public QObject Q_OBJECT public: LinkChecker(LinkStatus* linkstatus, int time_out = 50, - QObject *parent = 0, const char *name = 0); + TQObject *parent = 0, const char *name = 0); ~LinkChecker(); //virtual void run(); @@ -51,7 +51,7 @@ public: LinkStatus const* linkStatus() const; - static bool hasAnchor(KHTMLPart* html_part, QString const& anchor); + static bool hasAnchor(KHTMLPart* html_part, TQString const& anchor); signals: @@ -61,9 +61,9 @@ signals: protected slots: - void slotData(KIO::Job *, const QByteArray &data); + void slotData(KIO::Job *, const TQByteArray &data); void slotRedirection (KIO::Job *, const KURL &url); - void slotMimetype(KIO::Job *, const QString &type); + void slotMimetype(KIO::Job *, const TQString &type); void slotResult(KIO::Job* job); void slotTimeOut(); @@ -85,7 +85,7 @@ private: */ bool processRedirection(KURL const& url); - void findDocumentCharset(QString const& data); + void findDocumentCharset(TQString const& data); private: @@ -94,12 +94,12 @@ private: KIO::TransferJob* t_job_; int time_out_; LinkChecker* checker_; - QString document_charset_; + TQString document_charset_; /* A redirection has appened, with the current URL. Several redirections can happen until the final URL is reached.*/ bool redirection_; KURL redirection_url_; - QString doc_html_; + TQString doc_html_; bool header_checked_; bool finnished_; bool parsing_; |