diff options
author | Sze Howe Koh <szehowe.koh@gmail.com> | 2020-08-29 18:57:46 +0800 |
---|---|---|
committer | Sze Howe Koh <szehowe.koh@gmail.com> | 2020-08-30 09:59:44 +0800 |
commit | 3cf3434c1a898c834b2f0f6182068bbf8a95b9bc (patch) | |
tree | 4214f54b090dfcd2579e59beaf3737f597ff47c7 /src/qmlmodels | |
parent | 498149fc8ea7a58b355351a1697b6496e76f9a70 (diff) |
Doc: Clarify DelegateModelGroup::setGroups() description
The previous description had an awkward structure and was duplicated.
Pick-to: 5.15
Change-Id: I46dbc804e1c907198364f441fd46eb853db97e6a
Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch>
Diffstat (limited to 'src/qmlmodels')
-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 fa8fe83dc5..df02be45bb 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. |