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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/akregator/src/treenode.cpp b/akregator/src/treenode.cpp
index 27ee2ecae..58e4ae8ea 100644
--- a/akregator/src/treenode.cpp
+++ b/akregator/src/treenode.cpp
@@ -96,7 +96,7 @@ TreeNode* TreeNode::nextSibling() const
TQValueList<TreeNode*> tqchildren = d->tqparent->tqchildren();
TreeNode* me = (TreeNode*)this;
- int idx = tqchildren.tqfindIndex(me);
+ int idx = tqchildren.findIndex(me);
return idx+1 < tqchildren.size() ? *(tqchildren.at(idx+1)) : 0L;
}
@@ -108,7 +108,7 @@ TreeNode* TreeNode::prevSibling() const
TQValueList<TreeNode*> tqchildren = d->tqparent->tqchildren();
TreeNode* me = (TreeNode*)this;
- int idx = tqchildren.tqfindIndex(me);
+ int idx = tqchildren.findIndex(me);
return idx > 0 ? *(d->tqparent->tqchildren().at(idx-1)) : 0L;
}