akonadi
#include <agenttypemodel.h>
Inherits QAbstractItemModel.
Public Types | |
enum | Roles { TypeRole = Qt::UserRole + 1, IdentifierRole, DescriptionRole, MimeTypesRole, CapabilitiesRole, UserRole = Qt::UserRole + 42 } |
Public Member Functions | |
AgentTypeModel (QObject *parent=0) | |
virtual | ~AgentTypeModel () |
virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const |
virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
virtual Qt::ItemFlags | flags (const QModelIndex &index) const |
virtual QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
virtual QModelIndex | parent (const QModelIndex &index) const |
virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
Detailed Description
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.
Definition at line 50 of file agenttypemodel.h.
Member Enumeration Documentation
Describes the roles of this model.
Definition at line 58 of file agenttypemodel.h.
Constructor & Destructor Documentation
|
explicit |
Creates a new agent type model.
Definition at line 62 of file agenttypemodel.cpp.
|
virtual |
Destroys the agent type model.
Definition at line 71 of file agenttypemodel.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.