From fe39717cea0a53180e0f9aa0c4755ac68ee1e44e Mon Sep 17 00:00:00 2001 From: Warwick Allison Date: Fri, 21 May 2010 13:49:38 +1000 Subject: doc --- src/declarative/util/qdeclarativexmllistmodel.cpp | 4 ++-- 1 file 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 { -- cgit v0.12