diff options
author | Stephen Kelly <ske@ableton.com> | 2015-03-20 10:19:00 +0100 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-03-27 21:13:28 +0000 |
commit | ebafb2f14bb2855176de17a1131c1e7db01f2e0c (patch) | |
tree | edd24360617ef8345fe5bd8c7211a18a388198e7 /src/corelib/itemmodels/qitemselectionmodel.cpp | |
parent | 1a1c2b6aaaa7028d7937ce7100baf4577963b2e5 (diff) |
QItemSelectionModel: Make selectedIndexes a Q_PROPERTY.
With reasoning similar to commit v5.5.0-alpha1~124 (Make the
QItemSelectionModel::selection a property., 2015-02-25), this should
be a property instead of a Q_INVOKABLE so that it can participate in
persistent bindings.
Change-Id: Ib9a7900dfa3acbd6f9f7df7b6f00deb6e05c3937
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/corelib/itemmodels/qitemselectionmodel.cpp')
-rw-r--r-- | src/corelib/itemmodels/qitemselectionmodel.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/corelib/itemmodels/qitemselectionmodel.cpp b/src/corelib/itemmodels/qitemselectionmodel.cpp index 3882da30a7..47fcab9b24 100644 --- a/src/corelib/itemmodels/qitemselectionmodel.cpp +++ b/src/corelib/itemmodels/qitemselectionmodel.cpp @@ -1734,6 +1734,11 @@ const QItemSelection QItemSelectionModel::selection() const /*! \since 5.5 + \property QItemSelectionModel::selectedIndexes +*/ +/*! + \since 5.5 + \property QItemSelectionModel::model \internal */ |