summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/engine/linkstatus_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'klinkstatus/src/engine/linkstatus_impl.h')
-rw-r--r--klinkstatus/src/engine/linkstatus_impl.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/klinkstatus/src/engine/linkstatus_impl.h b/klinkstatus/src/engine/linkstatus_impl.h
index 3359664c..5a875b2e 100644
--- a/klinkstatus/src/engine/linkstatus_impl.h
+++ b/klinkstatus/src/engine/linkstatus_impl.h
@@ -78,17 +78,17 @@ inline void LinkStatus::setAbsoluteUrl(KURL const& url_absoluto)
absolute_url_ = url_absoluto;
}
-inline void LinkStatus::setOriginalUrl(QString const& url_original)
+inline void LinkStatus::setOriginalUrl(TQString const& url_original)
{
original_url_ = url_original;
}
-inline void LinkStatus::setLabel(QString const& label)
+inline void LinkStatus::setLabel(TQString const& label)
{
label_ = label;
}
-inline void LinkStatus::setDocHtml(QString const& doc_html)
+inline void LinkStatus::setDocHtml(TQString const& doc_html)
{
Q_ASSERT(!doc_html.isEmpty());
doc_html_ = doc_html;
@@ -99,13 +99,13 @@ inline void LinkStatus::setHttpHeader(HttpResponseHeader const& cabecalho_http)
http_header_ = cabecalho_http;
}
-inline void LinkStatus::setStatusText(QString const& status)
+inline void LinkStatus::setStatusText(TQString const& status)
{
Q_ASSERT(!status.isEmpty());
status_text_ = status;
}
-inline void LinkStatus::setError(QString const& error)
+inline void LinkStatus::setError(TQString const& error)
{
Q_ASSERT(!error.isEmpty());
error_ = error;
@@ -186,7 +186,7 @@ inline void LinkStatus::setBaseURI(KURL const& base_url)
base_URI_ = base_url;
}
-inline void LinkStatus::setHtmlDocTitle(QString const& title)
+inline void LinkStatus::setHtmlDocTitle(TQString const& title)
{
if(title.isNull() || title.isEmpty())
{
@@ -204,7 +204,7 @@ inline void LinkStatus::setIgnored(bool flag)
ignored_ = flag;
}
-inline void LinkStatus::setMimeType(QString const& mimetype)
+inline void LinkStatus::setMimeType(TQString const& mimetype)
{
Q_ASSERT(!mimetype.isNull() && !mimetype.isEmpty());
mimetype_ = mimetype;
@@ -266,12 +266,12 @@ inline LinkStatus const* LinkStatus::parent() const
return parent_;
}
-inline QString const& LinkStatus::originalUrl() const
+inline TQString const& LinkStatus::originalUrl() const
{
return original_url_;
}
-inline QString const& LinkStatus::label() const
+inline TQString const& LinkStatus::label() const
{
return label_;
}
@@ -281,7 +281,7 @@ inline KURL const& LinkStatus::absoluteUrl() const
return absolute_url_;
}
-inline QString const& LinkStatus::docHtml() const
+inline TQString const& LinkStatus::docHtml() const
{
return doc_html_;
}
@@ -296,7 +296,7 @@ inline HttpResponseHeader& LinkStatus::httpHeader()
return http_header_;
}
-inline QString LinkStatus::statusText() const
+inline TQString LinkStatus::statusText() const
{
if(errorOccurred())
return error();
@@ -304,7 +304,7 @@ inline QString LinkStatus::statusText() const
return status_text_;
else
{
- QString string_code = QString::number(httpHeader().statusCode());
+ TQString string_code = TQString::number(httpHeader().statusCode());
if(absoluteUrl().hasRef()) // ref URL
return status_text_;
else if(string_code == "200"/* or string_code == "304"*/)
@@ -314,7 +314,7 @@ inline QString LinkStatus::statusText() const
}
}
-inline QString const& LinkStatus::error() const
+inline TQString const& LinkStatus::error() const
{
return error_;
}
@@ -383,7 +383,7 @@ inline KURL const& LinkStatus::baseURI() const
return base_URI_;
}
-inline QString const& LinkStatus::htmlDocTitle() const
+inline TQString const& LinkStatus::htmlDocTitle() const
{
Q_ASSERT(has_html_doc_title_);
return html_doc_title_;
@@ -394,7 +394,7 @@ inline bool LinkStatus::ignored() const
return ignored_;
}
-inline QString LinkStatus::mimeType() const
+inline TQString LinkStatus::mimeType() const
{
Q_ASSERT(!mimetype_.isNull());
return mimetype_;
@@ -410,7 +410,7 @@ inline TreeViewItem* LinkStatus::treeViewItem() const
return tree_view_item_;
}
-inline QValueVector<KURL> const& LinkStatus::referrers() const
+inline TQValueVector<KURL> const& LinkStatus::referrers() const
{
return referrers_;
}