diff options
author | Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com> | 2015-06-24 15:59:45 +0200 |
---|---|---|
committer | Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com> | 2015-06-26 08:36:18 +0000 |
commit | 7ccfa59664b8bdb24c06025d3ffc5c4da7f0bb1e (patch) | |
tree | a8dcc63cb99f7f512ba6847def49bc9ace40486a /src/qml | |
parent | 30a65658c84e9e631b55f03303e19148b391b08b (diff) |
Fix documentation for ItemSelectionModel
Change-Id: I28f61e1853ea2cc75fbf814f76a7ef09e0d17f5d
Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
Diffstat (limited to 'src/qml')
-rw-r--r-- | src/qml/types/qqmlitemselectionmodel.qdoc | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/src/qml/types/qqmlitemselectionmodel.qdoc b/src/qml/types/qqmlitemselectionmodel.qdoc index 7a61416153..185ffb5fa4 100644 --- a/src/qml/types/qqmlitemselectionmodel.qdoc +++ b/src/qml/types/qqmlitemselectionmodel.qdoc @@ -50,22 +50,31 @@ /*! \qmlproperty bool ItemSelectionModel::hasSelection + \readonly - Read-only property. It will trigger property binding updates every time - \l selectionChanged() is emitted, even though its value hasn't changed. + It will trigger property binding updates every time \l selectionChanged() + is emitted, even though its value hasn't changed. \sa selection(), selectedIndexes(), select(), selectionChanged() */ /*! \qmlproperty QModelIndex ItemSelectionModel::currentIndex + \readonly - Read-only property. Use \l setCurrentIndex() to set its value. + Use \l setCurrentIndex() to set its value. \sa setCurrentIndex(), currentChanged() */ /*! + \qmlproperty QModelIndexList ItemSelectionModel::selectedIndexes + \readonly + + Contains the list of all the indexes in the selection model. +*/ + +/*! \qmlmethod bool ItemSelectionModel::isSelected(QModelIndex index) */ @@ -86,10 +95,6 @@ */ /*! - \qmlmethod QModelIndexList ItemSelectionModel::selectedIndexes() -*/ - -/*! \qmlmethod QModelIndexList ItemSelectionModel::selectedRows(int column) */ |