From 716a5de8870d7c02bb4d0aed72f30291b17b763a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:59:01 -0600 Subject: Remove additional unneeded tq method conversions --- akregator/src/feedlist.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'akregator/src/feedlist.cpp') 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 tqchildren = list->rootNode()->tqchildren(); + TQValueList children = list->rootNode()->children(); - TQValueList::ConstIterator end( tqchildren.end() ); - for (TQValueList::ConstIterator it = tqchildren.begin(); it != end; ++it) + TQValueList::ConstIterator end( children.end() ); + for (TQValueList::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 tqchildren = rootNode()->tqchildren(); + TQValueList children = rootNode()->children(); - TQValueList::ConstIterator end( tqchildren.end() ); + TQValueList::ConstIterator end( children.end() ); - for (TQValueList::ConstIterator it = tqchildren.begin(); it != end; ++it) + for (TQValueList::ConstIterator it = children.begin(); it != end; ++it) body.appendChild( (*it)->toOPML(body, doc) ); return doc; -- cgit v1.2.1