summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2011-01-18 04:52:01 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2011-01-18 06:02:23 (GMT)
commitec6a1c33a930e38cb22efd9fa268d80329745062 (patch)
tree2b1e2ba6fa1cef62d286b6a44eeafe427de40bb9 /src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp
parentac2df91cf83918d1b247382fe75a30fafc1a896f (diff)
downloadQt-ec6a1c33a930e38cb22efd9fa268d80329745062.zip
Qt-ec6a1c33a930e38cb22efd9fa268d80329745062.tar.gz
Qt-ec6a1c33a930e38cb22efd9fa268d80329745062.tar.bz2
Implement layoutDirection property on Row, Grid, Flow
Task-number: QTBUG-11042 Reviewed-by: Joona Petrell
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp')
-rw-r--r--src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp b/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp
index 529686e..32c71dd 100644
--- a/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp
+++ b/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp
@@ -182,6 +182,9 @@ void QDeclarativeItemModule::defineModule()
qmlRegisterType<QDeclarativeFlickable,1>("QtQuick",1,1,"Flickable");
qmlRegisterType<QDeclarativeListView,1>("QtQuick",1,1,"ListView");
qmlRegisterType<QDeclarativeGridView,1>("QtQuick",1,1,"GridView");
+ qmlRegisterType<QDeclarativeRow,1>("QtQuick",1,1,"Row");
+ qmlRegisterType<QDeclarativeGrid,1>("QtQuick",1,1,"Grid");
+ qmlRegisterType<QDeclarativeFlow,1>("QtQuick",1,1,"Flow");
qmlRegisterType<QDeclarativeRepeater,1>("QtQuick",1,1,"Repeater");
qmlRegisterType<QDeclarativeTextEdit,1>("QtQuick",1,1,"TextEdit");
#ifndef QT_NO_LINEEDIT