QmlDesigner: Use the root NodeInstance for item collection

Change-Id: I0ed67997c371af8acb3db480446ea5d577380804
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
This commit is contained in:
Marco Bubke
2014-04-16 12:33:50 +02:00
parent 6f5a5a989f
commit 9818f714f4
7 changed files with 40 additions and 7 deletions
@@ -638,6 +638,11 @@ QQuickItem *ServerNodeInstance::rootQuickItem() const
return qobject_cast<QQuickItem*>(internalObject());
}
QList<QQuickItem *> ServerNodeInstance::allItemsRecursive() const
{
return m_nodeInstance->allItemsRecursive();
}
QString ServerNodeInstance::id() const
{
return m_nodeInstance->id();