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.cpp32
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)