diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 12:01:04 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 12:01:04 -0600 |
commit | 84c989c19db5daab602a67f47ca0f5fd7a2b53d2 (patch) | |
tree | dc5875bd392dce2d636a94bebcf5c44a270fac6d /klinkstatus/src/engine/linkstatus.cpp | |
parent | 9445f97b426e97c6ce46de18fba4030da45d56df (diff) | |
download | tdewebdev-84c989c19db5daab602a67f47ca0f5fd7a2b53d2.tar.gz tdewebdev-84c989c19db5daab602a67f47ca0f5fd7a2b53d2.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'klinkstatus/src/engine/linkstatus.cpp')
-rw-r--r-- | klinkstatus/src/engine/linkstatus.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/klinkstatus/src/engine/linkstatus.cpp b/klinkstatus/src/engine/linkstatus.cpp index 2c31dd73..bf5986f5 100644 --- a/klinkstatus/src/engine/linkstatus.cpp +++ b/klinkstatus/src/engine/linkstatus.cpp @@ -32,16 +32,16 @@ LinkStatus::~LinkStatus() { //kdDebug(23100) << "|"; - for(uint i = 0; i != tqchildren_nodes_.size(); ++i) + for(uint i = 0; i != children_nodes_.size(); ++i) { - if(tqchildren_nodes_[i]) + if(children_nodes_[i]) { - delete tqchildren_nodes_[i]; - tqchildren_nodes_[i] = 0; + delete children_nodes_[i]; + children_nodes_[i] = 0; } } - tqchildren_nodes_.clear(); + children_nodes_.clear(); if(isRedirection()) { @@ -71,16 +71,16 @@ void LinkStatus::reset() http_header_ = HttpResponseHeader(); error_ = ""; - for(uint i = 0; i != tqchildren_nodes_.size(); ++i) + for(uint i = 0; i != children_nodes_.size(); ++i) { - if(tqchildren_nodes_[i]) + if(children_nodes_[i]) { - delete tqchildren_nodes_[i]; - tqchildren_nodes_[i] = 0; + delete children_nodes_[i]; + children_nodes_[i] = 0; } } - tqchildren_nodes_.clear(); + children_nodes_.clear(); if(isRedirection()) { @@ -101,14 +101,14 @@ TQString const LinkStatus::toString() const if(!is_root_) { Q_ASSERT(parent_); - aux += i18n( "Parent: %1" ).tqarg( parent()->absoluteUrl().prettyURL() ) + "\n"; + aux += i18n( "Parent: %1" ).arg( parent()->absoluteUrl().prettyURL() ) + "\n"; } Q_ASSERT(!original_url_.isNull()); - aux += i18n( "URL: %1" ).tqarg( absoluteUrl().prettyURL() ) + "\n"; - aux += i18n( "Original URL: %1" ).tqarg( originalUrl() ) + "\n"; + aux += i18n( "URL: %1" ).arg( absoluteUrl().prettyURL() ) + "\n"; + aux += i18n( "Original URL: %1" ).arg( originalUrl() ) + "\n"; if(node()) - aux += i18n( "Node: %1" ).tqarg( node()->content() ) + "\n"; + aux += i18n( "Node: %1" ).arg( node()->content() ) + "\n"; return aux; } @@ -150,8 +150,8 @@ bool LinkStatus::malformed() const // don't inline please (#include "node.h") void LinkStatus::setChildrenNodes(vector<Node*> const& nodes) // don't inline please (#include "node.h") { - tqchildren_nodes_.reserve(nodes.size()); - tqchildren_nodes_ = nodes; + children_nodes_.reserve(nodes.size()); + children_nodes_ = nodes; } void LinkStatus::setMalformed(bool flag) |