Clarify mention of QAbstractItemView in the canFetchMore docs.

Change-Id: Ic93054d8fc68497fb0bcc2c5491924b9c57b78ad
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
This commit is contained in:
Stephen Kelly 2013-03-11 11:51:11 +01:00 committed by The Qt Project
parent 6365f002a9
commit 865a5f0cda

View File

@ -2088,9 +2088,8 @@ void QAbstractItemModel::fetchMore(const QModelIndex &)
The default implementation always returns false.
If canFetchMore() returns true, QAbstractItemView will call fetchMore().
However, the fetchMore() function is only called when the model is being
populated incrementally.
If canFetchMore() returns true, the fetchMore() function should
be called. This is the behavior of QAbstractItemView, for example.
\sa fetchMore()
*/