summaryrefslogtreecommitdiffstats
path: root/akregator/src/treenode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/treenode.cpp')
-rw-r--r--akregator/src/treenode.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/akregator/src/treenode.cpp b/akregator/src/treenode.cpp
index a4ae0936e..9cc716b45 100644
--- a/akregator/src/treenode.cpp
+++ b/akregator/src/treenode.cpp
@@ -93,23 +93,23 @@ TreeNode* TreeNode::nextSibling() const
{
if (!d->parent)
return 0;
- TQValueList<TreeNode*> children = d->parent->children();
+ TQValueList<TreeNode*> tqchildren = d->parent->tqchildren();
TreeNode* me = (TreeNode*)this;
- int idx = children.findIndex(me);
+ int idx = tqchildren.findIndex(me);
- return idx+1 < children.size() ? *(children.at(idx+1)) : 0L;
+ return idx+1 < tqchildren.size() ? *(tqchildren.at(idx+1)) : 0L;
}
TreeNode* TreeNode::prevSibling() const
{
if (!d->parent)
return 0;
- TQValueList<TreeNode*> children = d->parent->children();
+ TQValueList<TreeNode*> tqchildren = d->parent->tqchildren();
TreeNode* me = (TreeNode*)this;
- int idx = children.findIndex(me);
- return idx > 0 ? *(d->parent->children().at(idx-1)) : 0L;
+ int idx = tqchildren.findIndex(me);
+ return idx > 0 ? *(d->parent->tqchildren().at(idx-1)) : 0L;
}
Folder* TreeNode::parent() const