summaryrefslogtreecommitdiffstats
path: root/akregator/src/treenode.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /akregator/src/treenode.cpp
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
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