akonadi
agentactionmanager.h
55 };
68 };
Manages generic actions for agent and agent instance views.
Definition: agentactionmanager.h:44
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 setContextText(Type type, TextContext context, const KLocalizedString &text)
Sets the text of the action type for the given context.
void actionStateUpdated()
This signal is emitted whenever the action state has been updated.
KAction * action(Type type) const
Returns the action of the given type, 0 if it has not been created (yet).
void interceptAction(Type type, bool intercept=true)
Sets whether the default implementation for the given action type shall be executed when the action i...
KAction * createAction(Type type)
Creates the action of the given type and adds it to the action collection specified in the constructo...
void setMimeTypeFilter(const QStringList &mimeTypes)
Sets the mime type filter that will be used when creating new agent instances.
void setContextText(Type type, TextContext context, const QString &text)
Sets the text of the action type for the given context.
~AgentActionManager()
Destroys the agent action manager.
void setSelectionModel(QItemSelectionModel *model)
Sets the agent selection model based on which the actions should operate.
void createAllActions()
Convenience method to create all standard actions.
void setCapabilityFilter(const QStringList &capabilities)
Sets the capability filter that will be used when creating new agent instances.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.