summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2011-01-11 03:09:01 (GMT)
committerMartin Jones <martin.jones@nokia.com>2011-01-11 03:11:17 (GMT)
commit11347a267125ecd0eaa5b022547297082954eb86 (patch)
treeb1d26c63667d6d9cd4a0ca979baa319c9db27b42 /src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp
parent39d2f837f5d5ac67d0cfcc3710aa23d22a84d3c1 (diff)
downloadQt-11347a267125ecd0eaa5b022547297082954eb86.zip
Qt-11347a267125ecd0eaa5b022547297082954eb86.tar.gz
Qt-11347a267125ecd0eaa5b022547297082954eb86.tar.bz2
Add methods to position view at beginning or end.
Takes into account header/footer. Task-number: QTBUG-16213 Reviewed-by: Michael Brasser
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp')
-rw-r--r--src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp b/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp
index ddbde0b..529686e 100644
--- a/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp
+++ b/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp
@@ -180,6 +180,8 @@ void QDeclarativeItemModule::defineModule()
qmlRegisterType<QDeclarativePinch>("QtQuick",1,1,"Pinch");
qmlRegisterType<QDeclarativePinchEvent>();
qmlRegisterType<QDeclarativeFlickable,1>("QtQuick",1,1,"Flickable");
+ qmlRegisterType<QDeclarativeListView,1>("QtQuick",1,1,"ListView");
+ qmlRegisterType<QDeclarativeGridView,1>("QtQuick",1,1,"GridView");
qmlRegisterType<QDeclarativeRepeater,1>("QtQuick",1,1,"Repeater");
qmlRegisterType<QDeclarativeTextEdit,1>("QtQuick",1,1,"TextEdit");
#ifndef QT_NO_LINEEDIT