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:
Marco Bubke
2011-07-11 13:48:34 +02:00
committed by Thomas Hartmann
parent 7c99c0cca3
commit b7d453b0c8
4 changed files with 224 additions and 1 deletions

View File

@@ -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"))