summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/engine/linkstatus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'klinkstatus/src/engine/linkstatus.cpp')
-rw-r--r--klinkstatus/src/engine/linkstatus.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/klinkstatus/src/engine/linkstatus.cpp b/klinkstatus/src/engine/linkstatus.cpp
index c8b359ed..58841a63 100644
--- a/klinkstatus/src/engine/linkstatus.cpp
+++ b/klinkstatus/src/engine/linkstatus.cpp
@@ -25,7 +25,7 @@
#include <klocale.h>
#include <kcharsets.h>
-#include <qdom.h>
+#include <tqdom.h>
LinkStatus::~LinkStatus()
@@ -94,9 +94,9 @@ void LinkStatus::reset()
base_URI_ = "";
}
-QString const LinkStatus::toString() const
+TQString const LinkStatus::toString() const
{
- QString aux;
+ TQString aux;
if(!is_root_)
{
@@ -174,12 +174,12 @@ void LinkStatus::setMalformed(bool flag)
}
}
-void LinkStatus::save(QDomElement& element) const
+void LinkStatus::save(TQDomElement& element) const
{
- QDomElement child_element = element.ownerDocument().createElement("link");
+ TQDomElement child_element = element.ownerDocument().createElement("link");
// <url>
- QDomElement tmp_1 = element.ownerDocument().createElement("url");
+ TQDomElement tmp_1 = element.ownerDocument().createElement("url");
tmp_1.appendChild(element.ownerDocument().createTextNode(absoluteUrl().prettyURL()));
child_element.appendChild(tmp_1);
@@ -199,9 +199,9 @@ void LinkStatus::save(QDomElement& element) const
// <referers>
tmp_1 = element.ownerDocument().createElement("referrers");
- for(QValueVector<KURL>::const_iterator it = referrers_.begin(); it != referrers_.end(); ++it)
+ for(TQValueVector<KURL>::const_iterator it = referrers_.begin(); it != referrers_.end(); ++it)
{
- QDomElement tmp_2 = element.ownerDocument().createElement("url");
+ TQDomElement tmp_2 = element.ownerDocument().createElement("url");
tmp_2.appendChild(element.ownerDocument().createTextNode(it->prettyURL()));
tmp_1.appendChild(tmp_2);