diff options
author | Topi Reinio <topi.reinio@qt.io> | 2020-11-04 12:37:45 +0100 |
---|---|---|
committer | Topi Reinio <topi.reinio@qt.io> | 2020-11-05 09:00:48 +0100 |
commit | 0b12055548a8781b0c328991c267d62222667e8e (patch) | |
tree | de91b0183203dd00318fed9fa5ca4cff6713142a /src/quick/items/qquickgridview.cpp | |
parent | c01ad45d67ec0ce96d6944496dc292a94f17efea (diff) |
Doc: Fix documentation warnings for Qt Quick
- Remove links to modules and examples that are not part of Qt 6.
- Remove links to entities marked as \internal
- Add missing enum value and QML property docs where it's trivial
to do so.
Task-number: QTBUG-88156
Change-Id: I10a1c7bcc5fe0e2354ea69eaf24930362edb7415
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/quick/items/qquickgridview.cpp')
-rw-r--r-- | src/quick/items/qquickgridview.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/quick/items/qquickgridview.cpp b/src/quick/items/qquickgridview.cpp index 32cc5edf40..90fa05f492 100644 --- a/src/quick/items/qquickgridview.cpp +++ b/src/quick/items/qquickgridview.cpp @@ -1315,8 +1315,8 @@ void QQuickGridView::setHighlightFollowsCurrentItem(bool autoHighlight) The model provides the set of data that is used to create the items in the view. Models can be created directly in QML using \l ListModel, - \l XmlListModel, \l DelegateModel, or \l ObjectModel, or provided by C++ - model classes. If a C++ model class is used, it must be a subclass of + \l DelegateModel, \l ObjectModel, or provided by C++ model classes. + If a C++ model class is used, it must be a subclass of \l QAbstractItemModel or a simple list. \sa {qml-data-models}{Data Models} @@ -1758,7 +1758,8 @@ void QQuickGridView::setSnapMode(SnapMode mode) \list \li The view is first created \li The view's \l model changes in such a way that the visible delegates are completely replaced - \li The view's \l model is \l {QAbstractItemModel::reset()}{reset}, if the model is a QAbstractItemModel subclass + \li The view's \l model is \l {QAbstractItemModel::beginResetModel()}{reset}, + if the model is a QAbstractItemModel subclass \endlist For example, here is a view that specifies such a transition: |