diff options
author | Joona Petrell <joona.t.petrell@nokia.com> | 2011-01-10 05:40:11 (GMT) |
---|---|---|
committer | Joona Petrell <joona.t.petrell@nokia.com> | 2011-01-10 05:43:39 (GMT) |
commit | 6a36f1f6299980cd0338009cb31e2a36cd40e44f (patch) | |
tree | ccceb71fbf83293c6e01f49e453413565299be37 /src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp | |
parent | 7aae8a569809208318ad06017eda39c860c1b2a9 (diff) | |
download | Qt-6a36f1f6299980cd0338009cb31e2a36cd40e44f.zip Qt-6a36f1f6299980cd0338009cb31e2a36cd40e44f.tar.gz Qt-6a36f1f6299980cd0338009cb31e2a36cd40e44f.tar.bz2 |
Add property versioning checks for QtQuick 1.1 deselect() function
Task-number: QTBUG-16059
Reviewed-by: Martin Jones
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp b/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp index 7db4d85..0d386c6 100644 --- a/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp +++ b/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp @@ -179,8 +179,11 @@ void QDeclarativeItemModule::defineModule() qmlRegisterType<QDeclarativePinchArea>("QtQuick",1,1,"PinchArea"); qmlRegisterType<QDeclarativePinch>("QtQuick",1,1,"Pinch"); qmlRegisterType<QDeclarativePinchEvent>(); - qmlRegisterType<QDeclarativeRepeater, 1>("QtQuick",1,1,"Repeater"); + qmlRegisterType<QDeclarativeRepeater,1>("QtQuick",1,1,"Repeater"); qmlRegisterType<QDeclarativeTextEdit,1>("QtQuick",1,1,"TextEdit"); +#ifndef QT_NO_LINEEDIT + qmlRegisterType<QDeclarativeTextInput,1>("QtQuick",1,1,"TextInput"); +#endif #ifndef QT_NO_IMPORT_QT47_QML #ifdef QT_NO_MOVIE |