forked from qt-creator/qt-creator
QmlDesigner: Use the root NodeInstance for item collection
Change-Id: I0ed67997c371af8acb3db480446ea5d577380804 Reviewed-by: Marco Bubke <marco.bubke@digia.com>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user