summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/engine/linkstatus.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
commitdc6b8e72fed2586239e3514819238c520636c9d9 (patch)
tree88b200df0a0b7fab9d6f147596173556f1ed9a13 /klinkstatus/src/engine/linkstatus.h
parent6927d4436e54551917f600b706a8d6109e49de1c (diff)
downloadtdewebdev-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/linkstatus.h')
-rw-r--r--klinkstatus/src/engine/linkstatus.h56
1 files changed, 28 insertions, 28 deletions
diff --git a/klinkstatus/src/engine/linkstatus.h b/klinkstatus/src/engine/linkstatus.h
index e7567460..6e924129 100644
--- a/klinkstatus/src/engine/linkstatus.h
+++ b/klinkstatus/src/engine/linkstatus.h
@@ -30,9 +30,9 @@
class TreeView;
class TreeViewItem;
-#include <qstring.h>
-#include <qobject.h>
-#include <qvaluevector.h>
+#include <tqstring.h>
+#include <tqobject.h>
+#include <tqvaluevector.h>
class QDomElement;
#include <vector>
@@ -64,20 +64,20 @@ public:
LinkStatus(Node* node, LinkStatus* parent);
~LinkStatus();
- void save(QDomElement& element) const;
+ void save(TQDomElement& element) const;
void reset();
void setRootUrl(KURL const& url);
void setStatus(Status status);
void setDepth(uint depth);
void setParent(LinkStatus* parent);
- void setOriginalUrl(QString const& url_original);
- void setLabel(QString const& label);
+ void setOriginalUrl(TQString const& url_original);
+ void setLabel(TQString const& label);
void setAbsoluteUrl(KURL const& url_absoluto);
- void setDocHtml(QString const& doc_html);
+ void setDocHtml(TQString const& doc_html);
void setHttpHeader(HttpResponseHeader const& cabecalho_http);
- void setStatusText(QString const& statusText); // FIXME Legacy. This should be eliminated in favor of LinkStatus::Status
- void setError(QString const& error);
+ void setStatusText(TQString const& statusText); // FIXME Legacy. This should be eliminated in favor of LinkStatus::Status
+ void setError(TQString const& error);
void setIsRoot(bool flag);
void setErrorOccurred(bool houve_error);
void setIsRedirection(bool e_redirection);
@@ -93,9 +93,9 @@ public:
void setHasBaseURI(bool flag = true);
void setHasHtmlDocTitle(bool flag = true);
void setBaseURI(KURL const& base_url);
- void setHtmlDocTitle(QString const& title);
+ void setHtmlDocTitle(TQString const& title);
void setIgnored(bool flag = true);
- void setMimeType(QString const& mimetype);
+ void setMimeType(TQString const& mimetype);
void setIsErrorPage(bool flag);
void setIsLocalRestrict(bool flag);
void setTreeViewItem(TreeViewItem* tree_view_item);
@@ -107,21 +107,21 @@ public:
bool local() const; // linkstatus.paradigma.co.pt == paradigma.co.pt
bool isLocalRestrict() const; // linkstatus.paradigma.co.pt != paradigma.co.pt
LinkStatus const* parent() const;
- QString const& originalUrl() const;
- QString const& label() const;
+ TQString const& originalUrl() const;
+ TQString const& label() const;
KURL const& absoluteUrl() const;
- QString const& docHtml() const;
+ TQString const& docHtml() const;
HttpResponseHeader const& httpHeader() const;
HttpResponseHeader& httpHeader();
- QString statusText() const; // FIXME Legacy. This should be eliminated in favor of LinkStatus::Status
- QString const& error() const;
+ TQString statusText() const; // FIXME Legacy. This should be eliminated in favor of LinkStatus::Status
+ TQString const& error() const;
bool isRoot() const;
bool errorOccurred() const;
bool isRedirection() const;
LinkStatus* redirection() const;
Node* node() const;
vector<Node*> const& childrenNodes() const;
- QString const toString() const;
+ TQString const toString() const;
bool checked() const;
int externalDomainDepth() const;
bool onlyCheckHeader() const;
@@ -129,13 +129,13 @@ public:
bool hasBaseURI() const;
bool hasHtmlDocTitle() const;
KURL const& baseURI() const;
- QString const& htmlDocTitle() const;
+ TQString const& htmlDocTitle() const;
bool ignored() const;
bool redirectionExists(KURL const& url) const; // to avoid cyclic links
- QString mimeType() const;
+ TQString mimeType() const;
bool isErrorPage() const;
TreeViewItem* treeViewItem() const;
- QValueVector<KURL> const& referrers() const;
+ TQValueVector<KURL> const& referrers() const;
static LinkStatus* lastRedirection(LinkStatus* ls);
@@ -152,13 +152,13 @@ private:
Status status_;
int depth_;
int external_domain_depth_; // Para se poder escolher explorar domains diferentes ate n depth
- QString original_url_;
- QString label_;
+ TQString original_url_;
+ TQString label_;
KURL absolute_url_;
- QString doc_html_;
+ TQString doc_html_;
HttpResponseHeader http_header_;
- QString status_text_; // FIXME Legacy. This should be eliminated in favor of LinkStatus::Status
- QString error_;
+ TQString status_text_; // FIXME Legacy. This should be eliminated in favor of LinkStatus::Status
+ TQString error_;
bool is_root_;
bool error_occurred_;
bool is_redirection_;
@@ -172,13 +172,13 @@ private:
bool has_base_URI_;
bool has_html_doc_title_;
KURL base_URI_;
- QString html_doc_title_;
+ TQString html_doc_title_;
bool ignored_;
- QString mimetype_;
+ TQString mimetype_;
bool is_error_page_;
bool is_local_restrict_;
TreeViewItem* tree_view_item_;
- QValueVector<KURL> referrers_;
+ TQValueVector<KURL> referrers_;
};
#include "../parser/url.h"