diff options
author | Bea Lam <bea.lam@nokia.com> | 2011-01-06 04:22:35 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2011-01-06 04:22:35 (GMT) |
commit | c1a87921c8a85d5ecee9aba3b3578ae8d042c28a (patch) | |
tree | f22f87c37f965f277fbb39b4a392586c617fc790 /doc/src | |
parent | fa5c838636a8cf4e483706696d19afef495da994 (diff) | |
download | Qt-c1a87921c8a85d5ecee9aba3b3578ae8d042c28a.zip Qt-c1a87921c8a85d5ecee9aba3b3578ae8d042c28a.tar.gz Qt-c1a87921c8a85d5ecee9aba3b3578ae8d042c28a.tar.bz2 |
Add Repeater itemAdded(), itemRemoved() signals and itemAt() method
Task-number: QTBUG-15161
Reviewed-by: Martin Jones
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/declarative/qdeclarativemodels.qdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/declarative/qdeclarativemodels.qdoc b/doc/src/declarative/qdeclarativemodels.qdoc index e11cd56..9fc6696 100644 --- a/doc/src/declarative/qdeclarativemodels.qdoc +++ b/doc/src/declarative/qdeclarativemodels.qdoc @@ -161,7 +161,7 @@ while QAbstractItemModel provides a more flexible solution for more complex models. -\section2 QStringList +\section2 QStringList-based model A model may be a simple QStringList, which provides the contents of the list via the \e modelData role. @@ -182,7 +182,7 @@ have changed. If the QStringList changes, it will be necessary to reset the model by calling QDeclarativeContext::setContextProperty() again. -\section2 QList<QObject*> +\section2 QObjectList-based model A list of QObject* values can also be used as a model. A QList<QObject*> provides the properties of the objects in the list as roles. |