diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-04-21 06:12:31 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-04-21 06:12:31 (GMT) |
commit | 6a61351ae264efb4df17794f97642f63dd0c3690 (patch) | |
tree | 75842665831872f15102eea191b04489b7074729 /tests/auto/declarative/declarative.pro | |
parent | 6abe7f1ef6021a1174d88d1a2811c58241a96707 (diff) | |
download | Qt-6a61351ae264efb4df17794f97642f63dd0c3690.zip Qt-6a61351ae264efb4df17794f97642f63dd0c3690.tar.gz Qt-6a61351ae264efb4df17794f97642f63dd0c3690.tar.bz2 |
Add hasModelChildren property to delegates with QAbstractItemModel model type.
Also add some helper function to VisualDataModel:
- VisualDataModel::modelIndex(int) returns a QModelIndex which can be
assigned to VisualDataModel::rootIndex
- VisualDataModel::parentModelIndex() returns a QModelIndex which can
be assigned to VisualDataModel::rootIndex
Diffstat (limited to 'tests/auto/declarative/declarative.pro')
-rw-r--r-- | tests/auto/declarative/declarative.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/declarative/declarative.pro b/tests/auto/declarative/declarative.pro index 58371c1..9b3b3d0 100644 --- a/tests/auto/declarative/declarative.pro +++ b/tests/auto/declarative/declarative.pro @@ -64,6 +64,7 @@ SUBDIRS += \ qdeclarativeimageprovider \ # Cover qdeclarativestyledtext \ # Cover qdeclarativesqldatabase \ # Cover + qdeclarativevisualdatamodel \ # Cover qmlvisual # Cover contains(QT_CONFIG, webkit) { |