summaryrefslogtreecommitdiffstats
path: root/akregator/src/feedlistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/feedlistview.cpp')
-rw-r--r--akregator/src/feedlistview.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/akregator/src/feedlistview.cpp b/akregator/src/feedlistview.cpp
index aa6101ded..8998882ff 100644
--- a/akregator/src/feedlistview.cpp
+++ b/akregator/src/feedlistview.cpp
@@ -180,8 +180,8 @@ class NodeListView::DeleteItemVisitor : public TreeNodeVisitor
virtual bool visitFolder(Folder* node)
{
// delete child items recursively before deleting parent
- TQValueList<TreeNode*> tqchildren = node->tqchildren();
- for (TQValueList<TreeNode*>::ConstIterator it = tqchildren.begin(); it != tqchildren.end(); ++it )
+ TQValueList<TreeNode*> children = node->children();
+ for (TQValueList<TreeNode*>::ConstIterator it = children.begin(); it != children.end(); ++it )
visit(*it);
visitTreeNode(node);
@@ -267,10 +267,10 @@ class NodeListView::CreateItemVisitor : public TreeNodeVisitor
}
m_view->d->itemDict.insert(node, item);
- TQValueList<TreeNode*> tqchildren = node->tqchildren();
+ TQValueList<TreeNode*> children = node->children();
- // add tqchildren recursively
- for (TQValueList<TreeNode*>::ConstIterator it = tqchildren.begin(); it != tqchildren.end(); ++it )
+ // add children recursively
+ for (TQValueList<TreeNode*>::ConstIterator it = children.begin(); it != children.end(); ++it )
visit(*it);
m_view->connectToNode(node);
@@ -305,9 +305,9 @@ class NodeListView::CreateItemVisitor : public TreeNodeVisitor
}
m_view->d->itemDict.insert(node, item);
- // add tqchildren recursively
- TQValueList<TreeNode*> tqchildren = node->tqchildren();
- for (TQValueList<TreeNode*>::ConstIterator it = tqchildren.begin(); it != tqchildren.end(); ++it )
+ // add children recursively
+ TQValueList<TreeNode*> children = node->children();
+ for (TQValueList<TreeNode*>::ConstIterator it = children.begin(); it != children.end(); ++it )
visit(*it);
m_view->connectToNode(node);