diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2012-03-26 18:56:47 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-27 05:29:41 +0200 |
commit | f931ec39513854e56560fe85d55a5d144e22af88 (patch) | |
tree | c57b2e2e94b01412c4aa42c7063c2683b68451da /src/qml/qml/qqmllist.cpp | |
parent | 9734187f9e34ee7d81217f22f20073b46a89eed1 (diff) |
Update documentation
Added \inmodule tags for qml module classes which were lacking them.
Also updated the \since to 5.0.
Change-Id: Ia5d393d593fdb484893cd4e3796b6854d4c637b3
Reviewed-by: Jerome Pasion <jerome.pasion@nokia.com>
Reviewed-by: Chris Adams <christopher.adams@nokia.com>
Diffstat (limited to 'src/qml/qml/qqmllist.cpp')
-rw-r--r-- | src/qml/qml/qqmllist.cpp | 9 |
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} |