diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 6c79d50fa9fbdff7f69ca57a8ab5fcc942375593 (patch) | |
tree | f47737d56c3239a0d8bc600674f0ca04b6e30d6e /klinkstatus/src/engine/linkstatus_impl.h | |
parent | 36c36b53a129509d56fdaa0a7c9fcbcacd0c5826 (diff) | |
download | tdewebdev-6c79d50fa9fbdff7f69ca57a8ab5fcc942375593.tar.gz tdewebdev-6c79d50fa9fbdff7f69ca57a8ab5fcc942375593.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'klinkstatus/src/engine/linkstatus_impl.h')
-rw-r--r-- | klinkstatus/src/engine/linkstatus_impl.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/klinkstatus/src/engine/linkstatus_impl.h b/klinkstatus/src/engine/linkstatus_impl.h index a29bcdcc..3b1b3062 100644 --- a/klinkstatus/src/engine/linkstatus_impl.h +++ b/klinkstatus/src/engine/linkstatus_impl.h @@ -36,7 +36,7 @@ inline LinktqStatus::LinktqStatus(KURL const& absolute_url) setAbsoluteUrl(absolute_url); } -inline LinktqStatus::LinktqStatus(Node* node, LinktqStatus* tqparent) +inline LinktqStatus::LinktqStatus(Node* node, LinktqStatus* parent) : status_(LinktqStatus::UNDETERMINED), depth_(-1), external_domain_depth_(-1), is_root_(false), error_occurred_(false), is_redirection_(false), parent_(0), redirection_(0), checked_(false), only_check_header_(true), malformed_(false), @@ -45,9 +45,9 @@ inline LinktqStatus::LinktqStatus(Node* node, LinktqStatus* tqparent) { loadNode(); - setDepth(tqparent->depth() + 1); - setParent(tqparent); - setRootUrl(tqparent->rootUrl()); + setDepth(parent->depth() + 1); + setParent(parent); + setRootUrl(parent->rootUrl()); } inline void LinktqStatus::setRootUrl(KURL const& url) @@ -65,12 +65,12 @@ inline void LinktqStatus::setDepth(uint depth) depth_ = depth; } -inline void LinktqStatus::setParent(LinktqStatus* tqparent) +inline void LinktqStatus::setParent(LinktqStatus* parent) { - Q_ASSERT(tqparent); + Q_ASSERT(parent); - parent_ = tqparent; - addReferrer(tqparent->absoluteUrl()); + parent_ = parent; + addReferrer(parent->absoluteUrl()); } inline void LinktqStatus::setAbsoluteUrl(KURL const& url_absoluto) @@ -176,7 +176,7 @@ inline void LinktqStatus::setBaseURI(KURL const& base_url) if(!base_url.isValid()) { kdWarning(23100) << "base url not valid: " << endl - << "tqparent: " << tqparent()->absoluteUrl().prettyURL() << endl + << "parent: " << parent()->absoluteUrl().prettyURL() << endl << "url: " << absoluteUrl().prettyURL() << endl << "base url resolved: " << base_url.prettyURL() << endl; } @@ -261,7 +261,7 @@ inline bool LinktqStatus::isLocalRestrict() const return is_local_restrict_; } -inline LinktqStatus const* LinktqStatus::tqparent() const +inline LinktqStatus const* LinktqStatus::parent() const { return parent_; } |