summaryrefslogtreecommitdiffstats
path: root/akregator/src/treenode.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:01 -0600
commit716a5de8870d7c02bb4d0aed72f30291b17b763a (patch)
tree29e58b213ead28151ccf7eb33d12c968ea844120 /akregator/src/treenode.cpp
parent0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78 (diff)
downloadtdepim-716a5de8870d7c02bb4d0aed72f30291b17b763a.tar.gz
tdepim-716a5de8870d7c02bb4d0aed72f30291b17b763a.zip
Remove additional unneeded tq method conversions
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 9cc716b45..a4ae0936e 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*> tqchildren = d->parent->tqchildren();
+ TQValueList<TreeNode*> children = d->parent->children();
TreeNode* me = (TreeNode*)this;
- int idx = tqchildren.findIndex(me);
+ int idx = children.findIndex(me);
- return idx+1 < tqchildren.size() ? *(tqchildren.at(idx+1)) : 0L;
+ return idx+1 < children.size() ? *(children.at(idx+1)) : 0L;
}
TreeNode* TreeNode::prevSibling() const
{
if (!d->parent)
return 0;
- TQValueList<TreeNode*> tqchildren = d->parent->tqchildren();
+ TQValueList<TreeNode*> children = d->parent->children();
TreeNode* me = (TreeNode*)this;
- int idx = tqchildren.findIndex(me);
- return idx > 0 ? *(d->parent->tqchildren().at(idx-1)) : 0L;
+ int idx = children.findIndex(me);
+ return idx > 0 ? *(d->parent->children().at(idx-1)) : 0L;
}
Folder* TreeNode::parent() const