diff options
Diffstat (limited to 'src/declarative/util')
-rw-r--r-- | src/declarative/util/qdeclarativexmllistmodel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/util/qdeclarativexmllistmodel.cpp b/src/declarative/util/qdeclarativexmllistmodel.cpp index 9b8b26c..d08e37b 100644 --- a/src/declarative/util/qdeclarativexmllistmodel.cpp +++ b/src/declarative/util/qdeclarativexmllistmodel.cpp @@ -754,13 +754,13 @@ void QDeclarativeXmlListModel::setNamespaceDeclarations(const QString &declarati query: "/feed/entry" XmlRole { name: "title"; query: "title/string()" } } - \qml + \endqml This will access the \c title value for the first item in the model: \qml var title = model.get(0).title; - \qml + \endqml */ QScriptValue QDeclarativeXmlListModel::get(int index) const { |