summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TelepathyQt4Yell/Models/tree-node.cpp24
-rw-r--r--TelepathyQt4Yell/Models/tree-node.h6
2 files changed, 15 insertions, 15 deletions
diff --git a/TelepathyQt4Yell/Models/tree-node.cpp b/TelepathyQt4Yell/Models/tree-node.cpp
index ae1ae2c..e805954 100644
--- a/TelepathyQt4Yell/Models/tree-node.cpp
+++ b/TelepathyQt4Yell/Models/tree-node.cpp
@@ -72,14 +72,14 @@ void TreeNode::addChild(TreeNode *node)
// chain changed and removed signals
connect(node,
- SIGNAL(changed(TreeNode*)),
- SIGNAL(changed(TreeNode*)));
+ SIGNAL(changed(Tpy::TreeNode*)),
+ SIGNAL(changed(Tpy::TreeNode*)));
connect(node,
- SIGNAL(childrenAdded(TreeNode*,QList<TreeNode*>)),
- SIGNAL(childrenAdded(TreeNode*,QList<TreeNode*>)));
+ SIGNAL(childrenAdded(Tpy::TreeNode*,QList<Tpy::TreeNode*>)),
+ SIGNAL(childrenAdded(Tpy::TreeNode*,QList<Tpy::TreeNode*>)));
connect(node,
- SIGNAL(childrenRemoved(TreeNode*,int,int)),
- SIGNAL(childrenRemoved(TreeNode*,int,int)));
+ SIGNAL(childrenRemoved(Tpy::TreeNode*,int,int)),
+ SIGNAL(childrenRemoved(Tpy::TreeNode*,int,int)));
}
int TreeNode::indexOf(TreeNode *node) const {
@@ -109,17 +109,17 @@ void TreeNode::remove()
{
if (mPriv->mParent) {
disconnect(this,
- SIGNAL(changed(TreeNode*)),
+ SIGNAL(changed(Tpy::TreeNode*)),
mPriv->mParent,
- SIGNAL(changed(TreeNode*)));
+ SIGNAL(changed(Tpy::TreeNode*)));
disconnect(this,
- SIGNAL(childrenAdded(TreeNode*,QList<TreeNode*>)),
+ SIGNAL(childrenAdded(Tpy::TreeNode*,QList<Tpy::TreeNode*>)),
mPriv->mParent,
- SIGNAL(childrenAdded(TreeNode*,QList<TreeNode*>)));
+ SIGNAL(childrenAdded(Tpy::TreeNode*,QList<Tpy::TreeNode*>)));
disconnect(this,
- SIGNAL(childrenRemoved(TreeNode*,int,int)),
+ SIGNAL(childrenRemoved(Tpy::TreeNode*,int,int)),
mPriv->mParent,
- SIGNAL(childrenRemoved(TreeNode*,int,int)));
+ SIGNAL(childrenRemoved(Tpy::TreeNode*,int,int)));
}
deleteLater();
}
diff --git a/TelepathyQt4Yell/Models/tree-node.h b/TelepathyQt4Yell/Models/tree-node.h
index 4d00e7d..3f7d366 100644
--- a/TelepathyQt4Yell/Models/tree-node.h
+++ b/TelepathyQt4Yell/Models/tree-node.h
@@ -58,9 +58,9 @@ public:
virtual void remove();
Q_SIGNALS:
- void changed(TreeNode *);
- void childrenAdded(TreeNode *parent, const QList<TreeNode *> &nodes);
- void childrenRemoved(TreeNode *parent, int first, int last);
+ void changed(Tpy::TreeNode *);
+ void childrenAdded(Tpy::TreeNode *parent, const QList<Tpy::TreeNode *> &nodes);
+ void childrenRemoved(Tpy::TreeNode *parent, int first, int last);
private:
struct Private;