diff options
Diffstat (limited to 'klinkstatus/src/engine/searchmanager.h')
-rw-r--r-- | klinkstatus/src/engine/searchmanager.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/klinkstatus/src/engine/searchmanager.h b/klinkstatus/src/engine/searchmanager.h index 135d267a..4dc68352 100644 --- a/klinkstatus/src/engine/searchmanager.h +++ b/klinkstatus/src/engine/searchmanager.h @@ -23,11 +23,11 @@ #include <kurl.h> -#include <qobject.h> -#include <qstring.h> -#include <qdatetime.h> -#include <qregexp.h> -#include <qmap.h> +#include <tqobject.h> +#include <tqstring.h> +#include <tqdatetime.h> +#include <tqregexp.h> +#include <tqmap.h> class QDomElement; #include <vector> @@ -39,7 +39,7 @@ class QDomElement; using namespace std; -typedef QMap<QString, KHTMLPart*> KHTMLPartMap; +typedef TQMap<TQString, KHTMLPart*> KHTMLPartMap; class SearchManager: public QObject { @@ -54,16 +54,16 @@ public: }; SearchManager(int max_simultaneous_connections = 3, int time_out = 50, - QObject *parent = 0, const char *name = 0); + TQObject *parent = 0, const char *name = 0); ~SearchManager(); - QString toXML() const; - void save(QDomElement& element) const; + TQString toXML() const; + void save(TQDomElement& element) const; KHTMLPartMap const& htmlParts() const { return html_parts_; } - KHTMLPart* htmlPart(QString const& key_url) const; - void addHtmlPart(QString const& key_url, KHTMLPart* html_part); + KHTMLPart* htmlPart(TQString const& key_url) const; + void addHtmlPart(TQString const& key_url, KHTMLPart* html_part); void removeHtmlParts(); void startSearch(KURL const& root); @@ -78,11 +78,11 @@ public: void setSearchMode(SearchMode modo); void setDepth(int depth); void setExternalDomainDepth(int depth); - void setDomain(QString const& domain); + void setDomain(TQString const& domain); void setCheckParentDirs(bool flag); void setCheckExternalLinks(bool flag); void setCheckRegularExpressions(bool flag); - void setRegularExpression(QString const& reg_exp, bool case_sensitive); + void setRegularExpression(TQString const& reg_exp, bool case_sensitive); void setTimeOut(int time_out); void cleanItems(); @@ -94,9 +94,9 @@ public: SearchMode const& searchMode() const; bool checkRegularExpressions() const { return check_regular_expressions_; } bool existUrl(KURL const& url, KURL const& url_parent) const; - LinkStatus const* linkStatus(QString const& s_url) const; + LinkStatus const* linkStatus(TQString const& s_url) const; int checkedLinks() const; - QTime timeElapsed() const; + TQTime timeElapsed() const; bool checkParentDirs() const; bool checkExternalLinks() const; LinkStatus const* linkStatusRoot() const; @@ -104,7 +104,7 @@ public: int timeOut() const; bool sendIdentification() const { return send_identification_; } - QString const& userAgent() const { return user_agent_; } + TQString const& userAgent() const { return user_agent_; } private: @@ -165,19 +165,19 @@ private: int links_being_checked_; int finished_connections_; int maximum_current_connections_; - QRegExp reg_exp_; - QString domain_; + TQRegExp reg_exp_; + TQString domain_; bool general_domain_; bool checked_general_domain_; int time_out_; int current_connections_; bool send_identification_; // user-agent - QString user_agent_; + TQString user_agent_; bool canceled_; bool searching_; int checked_links_; - QTime time_; + TQTime time_; int ignored_links_; bool check_parent_dirs_; bool check_external_links_; |