aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmllist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmllist.cpp')
-rw-r--r--src/qml/qml/qqmllist.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/qml/qml/qqmllist.cpp b/src/qml/qml/qqmllist.cpp
index 00fd805ee0..ad28e38a64 100644
--- a/src/qml/qml/qqmllist.cpp
+++ b/src/qml/qml/qqmllist.cpp
@@ -87,7 +87,7 @@ void QQmlListReferencePrivate::release()
/*!
\class QQmlListReference
-\since 4.7
+\since 5.0
\module QtQml
\brief The QQmlListReference class allows the manipulation of QQmlListProperty properties.
@@ -111,6 +111,8 @@ Attempting to add objects of the incorrect type to a list property will fail.
Like with normal lists, when accessing a list element by index, it is the callers responsibility to ensure
that it does not request an out of range element using the count() method before calling at().
+
+The QtQuick 1 version of this class is named QDeclarativeListReference.
*/
/*!
@@ -306,7 +308,8 @@ int QQmlListReference::count() const
/*!
\class QQmlListProperty
-\since 4.7
+\since 5.0
+\inmodule QtQml
\brief The QQmlListProperty class allows applications to expose list-like
properties to QML.
@@ -340,6 +343,8 @@ Q_PROPERTY(QQmlListProperty<Fruit> fruit READ fruit);
QML list properties are typesafe - in this case \c {Fruit} is a QObject type that
\c {Apple}, \c {Orange} and \c {Banana} all derive from.
+The QtQuick 1 version of this class is named QDeclarativeListProperty.
+
\note QQmlListProperty can only be used for lists of QObject-derived object pointers.
\sa {Object and List Property Types}