class AgentTypeModel |
|
Provides a data model for agent types.
This class provides the interface of a QAbstractItemModel to access all available agent types: their name, identifier, supported mimetypes and capabilities.
To show only agent types that match a given mime type or special capabilities, use the AgentFilterProxyModel on top of this model.
Author Tobias Koenig |
|
Creates a new agent type model. |
|
|
|
|
|
Describes the roles of this model.
| TypeRole | - Qt::UserRole+1 | - | ||
| IdentifierRole | - | - | ||
| DescriptionRole | - | - | ||
| MimeTypesRole | - | - | ||
| CapabilitiesRole | - | - | ||
| UserRole | - Qt::UserRole+42 | - |