diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:50:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:50:21 -0600 |
commit | 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (patch) | |
tree | 89de88213bd261e4ccaade899ab2d6ec34b3a5a7 /akregator/src/treenode.cpp | |
parent | 1dad5f662a09dfc5cc041caffe0f674044a4dcec (diff) | |
download | tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.tar.gz tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'akregator/src/treenode.cpp')
-rw-r--r-- | akregator/src/treenode.cpp | 12 |
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 |