forked from qt-creator/qt-creator
QmlDesinger: Fix AnchorChanges are not exported
This reverts commit 6f161c99f7.
Task-number: QTCREATORBUG-5026
Change-Id: I51cb29887a35f8a9d0aee7d9b974aa037dc446bd
Reviewed-on: http://codereview.qt.nokia.com/1443
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
This commit is contained in:
committed by
Thomas Hartmann
parent
7c99c0cca3
commit
b7d453b0c8
@@ -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 (objectToBeWrapped->inherits("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