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/linkstatus.cpp | |
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/linkstatus.cpp')
-rw-r--r-- | klinkstatus/src/engine/linkstatus.cpp | 16 |
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); |