From 36a36a5c1015aa0d03f4515c401e907ddb9d6291 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- akregator/src/treenode.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'akregator/src/treenode.cpp') diff --git a/akregator/src/treenode.cpp b/akregator/src/treenode.cpp index 58e4ae8e..9cc716b4 100644 --- a/akregator/src/treenode.cpp +++ b/akregator/src/treenode.cpp @@ -40,7 +40,7 @@ class TreeNode::TreeNodePrivate bool nodeChangeOccurred; bool articleChangeOccurred; TQString title; - Folder* tqparent; + Folder* parent; uint id; bool signalDestroyedEmitted; }; @@ -52,7 +52,7 @@ TreeNode::TreeNode() d->nodeChangeOccurred = false; d->articleChangeOccurred = false; d->title = ""; - d->tqparent = 0; + d->parent = 0; d->id = 0; d->signalDestroyedEmitted = false; @@ -91,9 +91,9 @@ void TreeNode::setTitle(const TQString& title) TreeNode* TreeNode::nextSibling() const { - if (!d->tqparent) + if (!d->parent) return 0; - TQValueList tqchildren = d->tqparent->tqchildren(); + TQValueList tqchildren = d->parent->tqchildren(); TreeNode* me = (TreeNode*)this; int idx = tqchildren.findIndex(me); @@ -103,23 +103,23 @@ TreeNode* TreeNode::nextSibling() const TreeNode* TreeNode::prevSibling() const { - if (!d->tqparent) + if (!d->parent) return 0; - TQValueList tqchildren = d->tqparent->tqchildren(); + TQValueList tqchildren = d->parent->tqchildren(); TreeNode* me = (TreeNode*)this; int idx = tqchildren.findIndex(me); - return idx > 0 ? *(d->tqparent->tqchildren().at(idx-1)) : 0L; + return idx > 0 ? *(d->parent->tqchildren().at(idx-1)) : 0L; } -Folder* TreeNode::tqparent() const +Folder* TreeNode::parent() const { - return d->tqparent; + return d->parent; } -void TreeNode::setParent(Folder* tqparent) +void TreeNode::setParent(Folder* parent) { - d->tqparent = tqparent; + d->parent = parent; } void TreeNode::setNotificationMode(bool doNotify, bool notifyOccurredChanges) -- cgit v1.2.3