summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2011-04-20 08:59:13 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2011-04-20 08:59:13 (GMT)
commit97d57498481598d0d4babfa77f816761dead29b8 (patch)
tree8709b1f70c8ad75e225acf476e827cf4e15b85f3 /src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp
parent0edbaca5e7b718bb9bbbeaccc9e322b525b4327e (diff)
parent6037cb7f68fe0dec52f922d9e2f18c8e12a396cb (diff)
downloadQt-97d57498481598d0d4babfa77f816761dead29b8.zip
Qt-97d57498481598d0d4babfa77f816761dead29b8.tar.gz
Qt-97d57498481598d0d4babfa77f816761dead29b8.tar.bz2
Merge branch '4.7-upstream' into 4.7
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp')
-rw-r--r--src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp b/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp
index a8082f8..97ce059 100644
--- a/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp
+++ b/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp
@@ -839,7 +839,8 @@ void QDeclarativeVisualDataModel::setDelegate(QDeclarativeComponent *delegate)
QML only operates on list data. \c rootIndex allows the children of
any node in a QAbstractItemModel to be provided by this model.
- This property only affects models of type QAbstractItemModel.
+ This property only affects models of type QAbstractItemModel that
+ are hierarchical (e.g, a tree model).
For example, here is a simple interactive file system browser.
When a directory name is clicked, the view's \c rootIndex is set to the