diff options
Diffstat (limited to 'akregator/src/nodelist.cpp')
-rw-r--r-- | akregator/src/nodelist.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/akregator/src/nodelist.cpp b/akregator/src/nodelist.cpp index 1ed274d1c..6bcee5f6d 100644 --- a/akregator/src/nodelist.cpp +++ b/akregator/src/nodelist.cpp @@ -118,7 +118,7 @@ class NodeList::RemoveNodeVisitor : public TreeNodeVisitor NodeList* m_list; }; -NodeList::NodeList(TQObject *tqparent, const char *name) : d(new NodeListPrivate) +NodeList::NodeList(TQObject *parent, const char *name) : d(new NodeListPrivate) { d->rootNode = 0; d->addNodeVisitor = new AddNodeVisitor(this); @@ -215,8 +215,8 @@ int NodeList::generateID() void NodeList::slotNodeAdded(TreeNode* node) { - Folder* tqparent = node->tqparent(); - if ( !node || !d->flatList.contains(tqparent) || d->flatList.contains(node) ) + Folder* parent = node->parent(); + if ( !node || !d->flatList.contains(parent) || d->flatList.contains(node) ) return; addNode(node, false); @@ -230,7 +230,7 @@ void NodeList::slotNodeDestroyed(TreeNode* node) removeNode(node); } -void NodeList::slotNodeRemoved(Folder* /*tqparent*/, TreeNode* node) +void NodeList::slotNodeRemoved(Folder* /*parent*/, TreeNode* node) { if ( !node || !d->flatList.contains(node) ) return; |