diff options
Diffstat (limited to 'src/qmlmodels/qqmlitemmodels.qdoc')
-rw-r--r-- | src/qmlmodels/qqmlitemmodels.qdoc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/qmlmodels/qqmlitemmodels.qdoc b/src/qmlmodels/qqmlitemmodels.qdoc index 7f52e795c0..188ef3252d 100644 --- a/src/qmlmodels/qqmlitemmodels.qdoc +++ b/src/qmlmodels/qqmlitemmodels.qdoc @@ -29,7 +29,12 @@ \li \b internalId : quint64 \endlist - All these properties are read-only, as are their C++ counterparts. + All these properties are read-only, as are their C++ counterparts. In addition, + we also expose the following functions: + + \list + \li QVariant \b{data}(int \e role) (since Qt 6.7) + \endlist \note The usual caveats apply to QModelIndex in QML. If the underlying model changes or gets deleted, it may become dangerous to access its properties. Therefore, you |