diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:59:01 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:59:01 -0600 |
commit | 716a5de8870d7c02bb4d0aed72f30291b17b763a (patch) | |
tree | 29e58b213ead28151ccf7eb33d12c968ea844120 /akregator/src/feedlistview.cpp | |
parent | 0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78 (diff) | |
download | tdepim-716a5de8870d7c02bb4d0aed72f30291b17b763a.tar.gz tdepim-716a5de8870d7c02bb4d0aed72f30291b17b763a.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'akregator/src/feedlistview.cpp')
-rw-r--r-- | akregator/src/feedlistview.cpp | 16 |
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); |