summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmllistmodel.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-07-20 01:00:52 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-07-20 01:00:52 (GMT)
commit3b4ef95d18631845d34e63186fdf76124443ac79 (patch)
tree37e69f8be02a77dc05bffb2109695852353c03c1 /src/declarative/util/qmllistmodel.cpp
parent1dc2e92b4630a0c19d1d2bdf5a05cd18003c566a (diff)
downloadQt-3b4ef95d18631845d34e63186fdf76124443ac79.zip
Qt-3b4ef95d18631845d34e63186fdf76124443ac79.tar.gz
Qt-3b4ef95d18631845d34e63186fdf76124443ac79.tar.bz2
Add missing docs.
Diffstat (limited to 'src/declarative/util/qmllistmodel.cpp')
-rw-r--r--src/declarative/util/qmllistmodel.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/declarative/util/qmllistmodel.cpp b/src/declarative/util/qmllistmodel.cpp
index 61d32f4..8edd871 100644
--- a/src/declarative/util/qmllistmodel.cpp
+++ b/src/declarative/util/qmllistmodel.cpp
@@ -331,6 +331,10 @@ QHash<int,QVariant> QmlListModel::data(int index, const QList<int> &roles) const
return rv;
}
+/*!
+ \qmlproperty int ListModel::count
+ The number of data entries in the model.
+*/
int QmlListModel::count() const
{
if (!_root) return 0;