akonadi
agentfilterproxymodel.cpp
35 BOOST_STATIC_ASSERT( (int)AgentTypeModel::CapabilitiesRole == (int)AgentInstanceModel::CapabilitiesRole );
36 BOOST_STATIC_ASSERT( (int)AgentTypeModel::MimeTypesRole == (int)AgentInstanceModel::MimeTypesRole );
103 foreach ( const QString &mimeType, index.data( AgentTypeModel::MimeTypesRole ).toStringList() ) {
130 foreach ( const QString &capability, index.data( AgentTypeModel::CapabilitiesRole ).toStringList() ) {
142 foreach ( const QString &capability, index.data( AgentTypeModel::CapabilitiesRole ).toStringList() ) {
~AgentFilterProxyModel()
Destroys the agent filter proxy model.
Definition: agentfilterproxymodel.cpp:56
void addMimeTypeFilter(const QString &mimeType)
Accept agents supporting mimeType.
Definition: agentfilterproxymodel.cpp:61
void excludeCapabilities(const QString &capability)
Excludes agents with the given capability.
Definition: agentfilterproxymodel.cpp:73
AgentFilterProxyModel(QObject *parent=0)
Create a new agent filter proxy model.
Definition: agentfilterproxymodel.cpp:49
The identifier of the agent type.
Definition: agenttypemodel.h:60
A list of supported capabilities.
Definition: agentinstancemodel.h:63
A list of supported capabilities.
Definition: agenttypemodel.h:63
void addCapabilityFilter(const QString &capability)
Accept agents with the given capability.
Definition: agentfilterproxymodel.cpp:67
void clearFilters()
Clear the filters ( mimeTypes & capabilities ).
Definition: agentfilterproxymodel.cpp:79
A list of supported mimetypes.
Definition: agentinstancemodel.h:62
A list of supported mimetypes.
Definition: agenttypemodel.h:62
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.