summaryrefslogtreecommitdiffstats
path: root/akregator/src/feedlist.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:01 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 04:24:39 +0200
commitad4317e2e02c018dcfb6c49259cfdf580637f5bd (patch)
tree4ff3110491ed677d979aca9a5711507195a66715 /akregator/src/feedlist.cpp
parente3649f744289c180537d2d8474dc0e39050e654f (diff)
downloadtdepim-ad4317e2e02c018dcfb6c49259cfdf580637f5bd.tar.gz
tdepim-ad4317e2e02c018dcfb6c49259cfdf580637f5bd.zip
Remove additional unneeded tq method conversions
(cherry picked from commit 716a5de8870d7c02bb4d0aed72f30291b17b763a)
Diffstat (limited to 'akregator/src/feedlist.cpp')
-rw-r--r--akregator/src/feedlist.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/akregator/src/feedlist.cpp b/akregator/src/feedlist.cpp
index 1daf1aa63..e05aded8a 100644
--- a/akregator/src/feedlist.cpp
+++ b/akregator/src/feedlist.cpp
@@ -222,10 +222,10 @@ void FeedList::append(FeedList* list, Folder* parent, TreeNode* after)
if ( !flatList()->contains(parent) )
parent = rootNode();
- TQValueList<TreeNode*> tqchildren = list->rootNode()->tqchildren();
+ TQValueList<TreeNode*> children = list->rootNode()->children();
- TQValueList<TreeNode*>::ConstIterator end( tqchildren.end() );
- for (TQValueList<TreeNode*>::ConstIterator it = tqchildren.begin(); it != end; ++it)
+ TQValueList<TreeNode*>::ConstIterator end( children.end() );
+ for (TQValueList<TreeNode*>::ConstIterator it = children.begin(); it != end; ++it)
{
list->rootNode()->removeChild(*it);
parent->insertChild(*it, after);
@@ -254,11 +254,11 @@ TQDomDocument FeedList::toXML() const
TQDomElement body = doc.createElement( "body" );
root.appendChild( body );
- TQValueList<TreeNode*> tqchildren = rootNode()->tqchildren();
+ TQValueList<TreeNode*> children = rootNode()->children();
- TQValueList<TreeNode*>::ConstIterator end( tqchildren.end() );
+ TQValueList<TreeNode*>::ConstIterator end( children.end() );
- for (TQValueList<TreeNode*>::ConstIterator it = tqchildren.begin(); it != end; ++it)
+ for (TQValueList<TreeNode*>::ConstIterator it = children.begin(); it != end; ++it)
body.appendChild( (*it)->toOPML(body, doc) );
return doc;