From 7ccfa59664b8bdb24c06025d3ffc5c4da7f0bb1e Mon Sep 17 00:00:00 2001 From: Gabriel de Dietrich Date: Wed, 24 Jun 2015 15:59:45 +0200 Subject: Fix documentation for ItemSelectionModel Change-Id: I28f61e1853ea2cc75fbf814f76a7ef09e0d17f5d Reviewed-by: Caroline Chao --- src/qml/types/qqmlitemselectionmodel.qdoc | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'src/qml/types') 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,21 +50,30 @@ /*! \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) */ @@ -85,10 +94,6 @@ \qmlmethod bool ItemSelectionModel::columnIntersectsSelection(int column, QModelIndex parent) */ -/*! - \qmlmethod QModelIndexList ItemSelectionModel::selectedIndexes() -*/ - /*! \qmlmethod QModelIndexList ItemSelectionModel::selectedRows(int column) */ -- cgit v1.2.3