Change-Id: I58baee2a8e59f2cef8add0472a3ee0c2a13fd59a
Reviewed-on: http://codereview.qt.nokia.com/4005
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
return m_nodeInstance->object();
}
+QSGItem *ServerNodeInstance::internalSGItem() const
+{
+ return qobject_cast<QSGItem*>(internalObject());
+}
+
void ServerNodeInstance::activateState()
{
m_nodeInstance->activateState();
class QDeclarativeContext;
class QGraphicsItem;
class QGraphicsTransform;
+class QSGItem;
QT_END_NAMESPACE
namespace QmlDesigner {
QObject *internalObject() const; // should be not used outside of the nodeinstances!!!!
+ QSGItem *internalSGItem() const;
private: // variables
QSharedPointer<Internal::ObjectNodeInstance> m_nodeInstance;