aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlmodels
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2020-11-04 13:06:48 +0100
committerTopi Reinio <topi.reinio@qt.io>2020-11-05 09:00:41 +0100
commit9eea418e1a13e0cee239903103dbccb83e936c40 (patch)
treeca43a44dddd6932f4b265b605bcf00861a8a92d4 /src/qmlmodels
parent4fd12eef18204920b0974e7252eb6d97c4f1d485 (diff)
Doc: Fix documentation warnings for QML Models and Test modules
Fixes: QTBUG-88156 Change-Id: Ie9723f1bb612f4603d15455a0320cc01b27ff181 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/qmlmodels')
-rw-r--r--src/qmlmodels/qqmldelegatemodel.cpp4
-rw-r--r--src/qmlmodels/qqmllistmodel.cpp2
-rw-r--r--src/qmlmodels/qqmlobjectmodel.cpp4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/qmlmodels/qqmldelegatemodel.cpp b/src/qmlmodels/qqmldelegatemodel.cpp
index 9e1e635032..5f6fe93dc8 100644
--- a/src/qmlmodels/qqmldelegatemodel.cpp
+++ b/src/qmlmodels/qqmldelegatemodel.cpp
@@ -363,8 +363,8 @@ void QQmlDelegateModel::componentComplete()
provided by a C++ model object. The C++ model object must be a \l
{QAbstractItemModel} subclass or a simple list.
- Models can also be created directly in QML, using a \l{ListModel} or
- \l{QtQuick.XmlListModel::XmlListModel}{XmlListModel}.
+ Models can also be created directly in QML, for example using
+ ListModel.
\sa {qml-data-models}{Data Models}
\keyword dm-model-property
diff --git a/src/qmlmodels/qqmllistmodel.cpp b/src/qmlmodels/qqmllistmodel.cpp
index ef305562a5..0d556a2e0e 100644
--- a/src/qmlmodels/qqmllistmodel.cpp
+++ b/src/qmlmodels/qqmllistmodel.cpp
@@ -2283,7 +2283,7 @@ void QQmlListModel::clear()
/*!
\qmlmethod ListModel::remove(int index, int count = 1)
- Deletes the content at \a index from the model.
+ Deletes \a count number of items at \a index from the model.
\sa clear()
*/
diff --git a/src/qmlmodels/qqmlobjectmodel.cpp b/src/qmlmodels/qqmlobjectmodel.cpp
index dac868a0a2..b498f3567d 100644
--- a/src/qmlmodels/qqmlobjectmodel.cpp
+++ b/src/qmlmodels/qqmlobjectmodel.cpp
@@ -396,7 +396,7 @@ void QQmlObjectModel::insert(int index, QObject *object)
\qmlmethod QtQml.Models::ObjectModel::move(int from, int to, int n = 1)
\since 5.6
- Moves \e n items \a from one position \a to another.
+ Moves \a n items \a from one position \a to another.
The from and to ranges must exist; for example, to move the first 3 items
to the end of the model:
@@ -423,7 +423,7 @@ void QQmlObjectModel::move(int from, int to, int n)
\qmlmethod QtQml.Models::ObjectModel::remove(int index, int n = 1)
\since 5.6
- Removes \e n items at \a index from the model.
+ Removes \a n items at \a index from the model.
\sa clear()
*/