diff options
author | artoka <arto.katajasalo@digia.com> | 2011-12-08 12:04:10 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-31 16:31:38 (GMT) |
commit | bacae725e584f51ee2fd83af7bef3e4515de9587 (patch) | |
tree | 6275b15e915e38c6e2ffb988354ea8ed3ada31d4 /doc/src/examples | |
parent | 40fb4750910e23d3e7128ca8e0f1c5920b05bd5a (diff) | |
download | Qt-bacae725e584f51ee2fd83af7bef3e4515de9587.zip Qt-bacae725e584f51ee2fd83af7bef3e4515de9587.tar.gz Qt-bacae725e584f51ee2fd83af7bef3e4515de9587.tar.bz2 |
Various Qt documentation fixes (wk 44)
Task-number: QTBUG-13362
Task-number: QTBUG-18356
Task-number: QTBUG-18417
Task-number: QTBUG-18664
Task-number: QTBUG-21562
Task-number: QTBUG-22094
Task-number: QTBUG-18741
Task-number: QTBUG-15921
Task-number: QTBUG-22172
Task-number: QTBUG-15738
Change-Id: I1d383a22612cd4fbcb7e03751e76409ca57fe7a2
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'doc/src/examples')
-rw-r--r-- | doc/src/examples/editabletreemodel.qdoc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/src/examples/editabletreemodel.qdoc b/doc/src/examples/editabletreemodel.qdoc index 6966ac5..d31e694 100644 --- a/doc/src/examples/editabletreemodel.qdoc +++ b/doc/src/examples/editabletreemodel.qdoc @@ -48,14 +48,15 @@ As described in the \l{Model Subclassing Reference}, models must provide implementations for the standard set of model functions: \l{QAbstractItemModel::}{flags()}, \l{QAbstractItemModel::}{data()}, - \l{QAbstractItemModel::}{headerData()}, and + \l{QAbstractItemModel::}{headerData()}, + \l{QAbstractItemModel::}{columnCount()}, and \l{QAbstractItemModel::}{rowCount()}. In addition, hierarchical models, such as this one, need to provide implementations of \l{QAbstractItemModel::}{index()} and \l{QAbstractItemModel::}{parent()}. An editable model needs to provide implementations of \l{QAbstractItemModel::}{setData()} and - \l{QAbstractItemModel::}{headerData()}, and must return a suitable + \l{QAbstractItemModel::}{setHeaderData()}, and must return a suitable combination of flags from its \l{QAbstractItemModel::}{flags()} function. Since this example allows the dimensions of the model to be changed, |