diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-05-21 03:49:38 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-05-21 03:49:38 (GMT) |
commit | fe39717cea0a53180e0f9aa0c4755ac68ee1e44e (patch) | |
tree | 93420e46cab6fb90fcf972a27901cc232da97410 /src/declarative | |
parent | 54e9fdb0ddf673b3c8ee9a5ffce561114db2329c (diff) | |
download | Qt-fe39717cea0a53180e0f9aa0c4755ac68ee1e44e.zip Qt-fe39717cea0a53180e0f9aa0c4755ac68ee1e44e.tar.gz Qt-fe39717cea0a53180e0f9aa0c4755ac68ee1e44e.tar.bz2 |
doc
Diffstat (limited to 'src/declarative')
-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 { |