summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-04-27 00:56:47 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-04-27 00:56:47 (GMT)
commitf341a9ef26e462d69c7cc7063efa433a77ce63c2 (patch)
tree78582e025c5c2dd610f817e7fb25917f0ea3a2d6
parent7c85dd1abff4d2d04dc55504778bd31fc979cac3 (diff)
parentc7da65069b178d3edf82e05c4b954ac1270cc700 (diff)
downloadQt-f341a9ef26e462d69c7cc7063efa433a77ce63c2.zip
Qt-f341a9ef26e462d69c7cc7063efa433a77ce63c2.tar.gz
Qt-f341a9ef26e462d69c7cc7063efa433a77ce63c2.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
-rw-r--r--src/declarative/util/qdeclarativeutilmodule.cpp4
-rw-r--r--tools/qml/qmlruntime.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/util/qdeclarativeutilmodule.cpp b/src/declarative/util/qdeclarativeutilmodule.cpp
index eb59fb1..3cf07a7 100644
--- a/src/declarative/util/qdeclarativeutilmodule.cpp
+++ b/src/declarative/util/qdeclarativeutilmodule.cpp
@@ -122,6 +122,6 @@ void QDeclarativeUtilModule::defineModule()
qmlRegisterUncreatableType<QDeclarativeAbstractAnimation>("Qt",4,7,"Animation",QDeclarativeAbstractAnimation::tr("Animation is an abstract class"));
qmlRegisterCustomType<QDeclarativeListModel>("Qt", 4,7, "ListModel", new QDeclarativeListModelParser);
- qmlRegisterCustomType<QDeclarativePropertyChanges>("Qt", 4, 6, "PropertyChanges", new QDeclarativePropertyChangesParser);
- qmlRegisterCustomType<QDeclarativeConnections>("Qt", 4, 6, "Connections", new QDeclarativeConnectionsParser);
+ qmlRegisterCustomType<QDeclarativePropertyChanges>("Qt", 4, 7, "PropertyChanges", new QDeclarativePropertyChangesParser);
+ qmlRegisterCustomType<QDeclarativeConnections>("Qt", 4, 7, "Connections", new QDeclarativeConnectionsParser);
}
diff --git a/tools/qml/qmlruntime.cpp b/tools/qml/qmlruntime.cpp
index 9b9e4fe..008f163 100644
--- a/tools/qml/qmlruntime.cpp
+++ b/tools/qml/qmlruntime.cpp
@@ -1440,7 +1440,7 @@ void QDeclarativeViewer::registerTypes()
if (!registered) {
// registering only for exposing the DeviceOrientation::Orientation enum
- qmlRegisterUncreatableType<DeviceOrientation>("Qt",4,6,"Orientation","");
+ qmlRegisterUncreatableType<DeviceOrientation>("Qt",4,7,"Orientation","");
registered = true;
}
}