Commit 3483365f authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner: Add root item getter to ServerNodeInstance

Change-Id: I9f31390b478d8638038998682fb606dea5d1c81a
Reviewed-by: default avatarMarco Bubke <>
parent 2870ca45
......@@ -633,6 +633,11 @@ QList<ServerNodeInstance> ServerNodeInstance::childItems() const
return m_nodeInstance->childItems();
QQuickItem *ServerNodeInstance::rootQuickItem() const
return qobject_cast<QQuickItem*>(internalObject());
QString ServerNodeInstance::id() const
return m_nodeInstance->id();
......@@ -157,6 +157,7 @@ public:
QList<ServerNodeInstance> childItems() const;
QQuickItem *rootQuickItem() const;
QString id() const;
qint32 instanceId() const;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment