diff options
author | Sze Howe Koh <szehowe.koh@gmail.com> | 2020-08-29 18:57:46 +0800 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2020-08-30 03:26:08 +0000 |
commit | e42e7b39603296afb711b81b8214c0576617684b (patch) | |
tree | 4d54a505f2c8a22a536658e80e489182449f731c | |
parent | 8699697bacf876931875023ae2766c04bcdd2dff (diff) |
Doc: Clarify DelegateModelGroup::setGroups() description
The previous description had an awkward structure and was duplicated.
Change-Id: I46dbc804e1c907198364f441fd46eb853db97e6a
Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch>
(cherry picked from commit 3cf3434c1a898c834b2f0f6182068bbf8a95b9bc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/qmlmodels/qqmldelegatemodel.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/qmlmodels/qqmldelegatemodel.cpp b/src/qmlmodels/qqmldelegatemodel.cpp index 1c2762acb4..725b9e8bc3 100644 --- a/src/qmlmodels/qqmldelegatemodel.cpp +++ b/src/qmlmodels/qqmldelegatemodel.cpp @@ -3305,7 +3305,8 @@ void QQmlDelegateModelGroup::removeGroups(QQmlV4Function *args) /*! \qmlmethod QtQml.Models::DelegateModelGroup::setGroups(int index, int count, stringlist groups) - Sets the \a groups \a count items starting at \a index belong to. + Changes the group membership of \a count items starting at \a index. The items are removed from + their existing groups and added to \a groups. */ void QQmlDelegateModelGroup::setGroups(QQmlV4Function *args) @@ -3333,12 +3334,6 @@ void QQmlDelegateModelGroup::setGroups(QQmlV4Function *args) } /*! - \qmlmethod QtQml.Models::DelegateModelGroup::setGroups(int index, int count, stringlist groups) - - Sets the \a groups \a count items starting at \a index belong to. -*/ - -/*! \qmlmethod QtQml.Models::DelegateModelGroup::move(var from, var to, int count) Moves \a count at \a from in a group \a to a new position. |