class CollectionModel |
|
A model for collections.
This class provides the interface of QAbstractItemModel for the collection tree of the Akonadi storage.
If you want to list only collections of a special mime type, use CollectionFilterProxyModel on top of this model.
Author Volker Krause |
|
Creates a new collection model.
parent - The parent object. |
|
|
Returns the collection for a given collection id. |
|
|
|
|
Sets whether collection statistics information shall be provided
by the model.
See also CollectionStatistics. |
|
|
|
Sets whether unsubscribed collections shall be listed in the model. |
|
|
|
|
|
|
|
Describes the roles for collections.
CollectionIdRole | - Qt::UserRole+1 | - | ||
CollectionRole | - | - | ||
UserRole | - Qt::UserRole+42 | - |