akonadi
agentactionmanager.cpp
KAction * createAction(Type type)
Creates the action of the given type and adds it to the action collection specified in the constructo...
AgentActionManager(KActionCollection *actionCollection, QWidget *parent=0)
Creates a new agent action manager.
Akonadi::AgentInstance::List selectedAgentInstances() const
Returns the list of agent instances that are currently selected.
void removeInstance(const AgentInstance &instance)
Removes the given agent instance.
Definition: agentmanager.cpp:406
QStringList capabilities() const
Returns the list of supported capabilities of the agent type.
Definition: agenttype.cpp:76
void setCapabilityFilter(const QStringList &capabilities)
Sets the capability filter that will be used when creating new agent instances.
void interceptAction(Type type, bool intercept=true)
Sets whether the default implementation for the given action type shall be executed when the action i...
Manages generic actions for agent and agent instance views.
Definition: agentactionmanager.h:43
void setSelectionModel(QItemSelectionModel *model)
Sets the agent selection model based on which the actions should operate.
KAction * action(Type type) const
Returns the action of the given type, 0 if it has not been created (yet).
void createAllActions()
Convenience method to create all standard actions.
static AgentManager * self()
Returns the global instance of the agent manager.
Definition: agentmanager.cpp:377
bool isValid() const
Returns whether the agent instance object is valid.
Definition: agentinstance.cpp:45
void setMimeTypeFilter(const QStringList &mimeTypes)
Sets the mime type filter that will be used when creating new agent instances.
void configure(QWidget *parent=0)
Setup the job to show agent configuration dialog once the agent instance has been successfully starte...
Definition: agentinstancecreatejob.cpp:165
Job for creating new agent instances.
Definition: agentinstancecreatejob.h:71
void setContextText(Type type, TextContext context, const QString &text)
Sets the text of the action type for the given context.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Jan 29 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Jan 29 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.