diff options
author | Bea Lam <bea.lam@nokia.com> | 2011-01-07 00:24:54 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2011-01-07 00:24:54 (GMT) |
commit | c527a1ee371c4758776217e7d16c75e20fe6f5aa (patch) | |
tree | 1ed4b78cce9fb4a48f8cd7c7fba9daffc54c6629 /src/declarative/graphicsitems | |
parent | c1a87921c8a85d5ecee9aba3b3578ae8d042c28a (diff) | |
download | Qt-c527a1ee371c4758776217e7d16c75e20fe6f5aa.zip Qt-c527a1ee371c4758776217e7d16c75e20fe6f5aa.tar.gz Qt-c527a1ee371c4758776217e7d16c75e20fe6f5aa.tar.bz2 |
Fix to register Repeater for QtQuick 1.1
Task-number: QTBUG-15161
Reviewed-by: Martin Jones
Diffstat (limited to 'src/declarative/graphicsitems')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp b/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp index a462763..f06b256 100644 --- a/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp +++ b/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp @@ -175,6 +175,10 @@ void QDeclarativeItemModule::defineModule() qmlRegisterType<QGraphicsEffect>(); #endif + // QtQuick 1.1 items + qmlRegisterType<QDeclarativeRepeater, 1>("QtQuick",1,1,"Repeater"); + + qmlRegisterUncreatableType<QDeclarativeKeyNavigationAttached>("QtQuick",1,0,"KeyNavigation",QDeclarativeKeyNavigationAttached::tr("KeyNavigation is only available via attached properties")); qmlRegisterUncreatableType<QDeclarativeKeysAttached>("QtQuick",1,0,"Keys",QDeclarativeKeysAttached::tr("Keys is only available via attached properties")); |