summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-05-21 03:49:38 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-05-21 03:49:38 (GMT)
commitfe39717cea0a53180e0f9aa0c4755ac68ee1e44e (patch)
tree93420e46cab6fb90fcf972a27901cc232da97410
parent54e9fdb0ddf673b3c8ee9a5ffce561114db2329c (diff)
downloadQt-fe39717cea0a53180e0f9aa0c4755ac68ee1e44e.zip
Qt-fe39717cea0a53180e0f9aa0c4755ac68ee1e44e.tar.gz
Qt-fe39717cea0a53180e0f9aa0c4755ac68ee1e44e.tar.bz2
doc
-rw-r--r--src/declarative/util/qdeclarativexmllistmodel.cpp4
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
{