summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-04-09 06:37:48 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-04-09 06:37:48 (GMT)
commitda8dda3a3b66fed6d5da878f3b4617aa0b5f3953 (patch)
tree120401a37b5364f3fde52bcb599c3c005e9d526a /src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp
parent44efb487bbd2a9e4de416d566839cdffff1d69e2 (diff)
downloadQt-da8dda3a3b66fed6d5da878f3b4617aa0b5f3953.zip
Qt-da8dda3a3b66fed6d5da878f3b4617aa0b5f3953.tar.gz
Qt-da8dda3a3b66fed6d5da878f3b4617aa0b5f3953.tar.bz2
Remove QT_VERSION checks in QML
We only support Qt 4.7 now.
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp')
-rw-r--r--src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp b/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp
index 7664af1..8e5b863 100644
--- a/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp
+++ b/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp
@@ -112,10 +112,8 @@ void QDeclarativeItemModule::defineModule()
qmlRegisterType<QDeclarativePathQuad>("Qt",4,6,"PathQuad");
qmlRegisterType<QDeclarativePathView>("Qt",4,6,"PathView");
qmlRegisterType<QIntValidator>("Qt",4,6,"IntValidator");
-#if (QT_VERSION >= QT_VERSION_CHECK(4,7,0))
qmlRegisterType<QDoubleValidator>("Qt",4,7,"DoubleValidator");
qmlRegisterType<QRegExpValidator>("Qt",4,7,"RegExpValidator");
-#endif
qmlRegisterType<QDeclarativeRectangle>("Qt",4,6,"Rectangle");
qmlRegisterType<QDeclarativeRepeater>("Qt",4,6,"Repeater");
qmlRegisterType<QGraphicsRotation>("Qt",4,6,"Rotation");