summaryrefslogtreecommitdiffstats
path: root/akregator/src/treenode.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit36a36a5c1015aa0d03f4515c401e907ddb9d6291 (patch)
tree0212ba6d2c749043134005a41f2bd0379619d40f /akregator/src/treenode.cpp
parent4c6f8d69e2d1501837affb472c4eb8fec4462240 (diff)
downloadtdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.tar.gz
tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.zip
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
Diffstat (limited to 'akregator/src/treenode.cpp')
-rw-r--r--akregator/src/treenode.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/akregator/src/treenode.cpp b/akregator/src/treenode.cpp
index 58e4ae8ea..9cc716b45 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<TreeNode*> tqchildren = d->tqparent->tqchildren();
+ TQValueList<TreeNode*> 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<TreeNode*> tqchildren = d->tqparent->tqchildren();
+ TQValueList<TreeNode*> 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)