aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/qmlmodels/qqmldelegatemodel.cpp9
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.