aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qdeclarativeutilmodule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/util/qdeclarativeutilmodule.cpp')
-rw-r--r--src/declarative/util/qdeclarativeutilmodule.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/util/qdeclarativeutilmodule.cpp b/src/declarative/util/qdeclarativeutilmodule.cpp
index 4bea2e651a..dc7930bff0 100644
--- a/src/declarative/util/qdeclarativeutilmodule.cpp
+++ b/src/declarative/util/qdeclarativeutilmodule.cpp
@@ -73,6 +73,7 @@
#ifndef QT_NO_XMLPATTERNS
#include "private/qdeclarativexmllistmodel_p.h"
#endif
+#include "qdeclarativestatechange_p.h"
void QDeclarativeUtilModule::defineModule()
{
@@ -126,6 +127,8 @@ void QDeclarativeUtilModule::defineModule()
qmlRegisterCustomType<QDeclarativePropertyChanges>("QtQuick",1,0,"PropertyChanges", new QDeclarativePropertyChangesParser);
qmlRegisterCustomType<QDeclarativeConnections>("QtQuick",1,0,"Connections", new QDeclarativeConnectionsParser);
+ qmlRegisterType<QDeclarativeStateChange>("QtQuick",2,0,"StateChange");
+
#ifndef QT_NO_IMPORT_QT47_QML
qmlRegisterType<QDeclarativeAnchorAnimation>("Qt",4,7,"AnchorAnimation");
qmlRegisterType<QDeclarativeAnchorChanges>("Qt",4,7,"AnchorChanges");