forked from qt-creator/qt-creator
QmlDesigner.NodeInstance: Add instance wrapper for anchor changes
Task-number: QTCREATORBUG-5026 Change-Id: I56116fc3f1823e41bfd8e50781d2b4e8fccbfe04 Reviewed-on: http://codereview.qt.nokia.com/1329 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
#include "qmlpropertychangesnodeinstance.h"
|
||||
#include "behaviornodeinstance.h"
|
||||
#include "qmlstatenodeinstance.h"
|
||||
#include "anchorchangesnodeinstance.h"
|
||||
|
||||
#if QT_VERSION >= 0x050000
|
||||
#include "sgitemnodeinstance.h"
|
||||
@@ -185,6 +186,8 @@ Internal::ObjectNodeInstance::Pointer ServerNodeInstance::createInstance(QObject
|
||||
#endif
|
||||
else if (isSubclassOf(objectToBeWrapped, "QDeclarativeComponent"))
|
||||
instance = Internal::ComponentNodeInstance::create(objectToBeWrapped);
|
||||
else if (isSubclassOf(objectToBeWrapped, "QDeclarativeAnchorChanges"))
|
||||
instance = Internal::AnchorChangesNodeInstance::create(objectToBeWrapped);
|
||||
else if (isSubclassOf(objectToBeWrapped, "QDeclarativePropertyChanges"))
|
||||
instance = Internal::QmlPropertyChangesNodeInstance::create(objectToBeWrapped);
|
||||
else if (isSubclassOf(objectToBeWrapped, "QDeclarativeState"))
|
||||
|
||||
Reference in New Issue
Block a user