summaryrefslogtreecommitdiffstats
path: root/akregator/src/feedlist.cpp
diff options
context:
space:
mode:
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;