Provides a data model for agent instances.
This class provides the interface of a QAbstractItemModel to
access all available agent instances: their name, identifier,
supported mimetypes and capabilities.
Akonadi.AgentInstanceModel *model = new Akonadi.AgentInstanceModel( this );
QListView *view = new QListView( this );
view->setModel( model );
To show only agent instances that match a given mime type or special
capabilities, use the AgentFilterProxyModel on top of this model.
Author Tobias Koenig
|