summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/engine/linkstatus.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 12:01:04 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-19 19:42:53 +0200
commit39356ff58b6a5a76b0ee7fa85c538598ededdeff (patch)
treea1b23858695a8eb832455abc977da3a9160a661b /klinkstatus/src/engine/linkstatus.cpp
parenta177b05ccc4f6a94c52944e4015831d766058b0e (diff)
downloadtdewebdev-39356ff58b6a5a76b0ee7fa85c538598ededdeff.tar.gz
tdewebdev-39356ff58b6a5a76b0ee7fa85c538598ededdeff.zip
Remove additional unneeded tq method conversions
(cherry picked from commit 84c989c19db5daab602a67f47ca0f5fd7a2b53d2)
Diffstat (limited to 'klinkstatus/src/engine/linkstatus.cpp')
-rw-r--r--klinkstatus/src/engine/linkstatus.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/klinkstatus/src/engine/linkstatus.cpp b/klinkstatus/src/engine/linkstatus.cpp
index 6666ad53..58841a63 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)