Akonadi
agentactionmanager.h
Manages generic actions for agent and agent instance views.
Definition agentactionmanager.h:34
void actionStateUpdated()
This signal is emitted whenever the action state has been updated.
~AgentActionManager() override
Destroys the agent action manager.
void setContextText(Type type, TextContext context, const QString &text)
Sets the text of the action type for the given context.
Definition agentactionmanager.cpp:309
void interceptAction(Type type, bool intercept=true)
Sets whether the default implementation for the given action type shall be executed when the action i...
Definition agentactionmanager.cpp:287
Akonadi::AgentInstance::List selectedAgentInstances() const
Returns the list of agent instances that are currently selected.
Definition agentactionmanager.cpp:304
void setCapabilityFilter(const QStringList &capabilities)
Sets the capability filter that will be used when creating new agent instances.
Definition agentactionmanager.cpp:240
void createAllActions()
Convenience method to create all standard actions.
Definition agentactionmanager.cpp:273
QAction * createAction(Type type)
Creates the action of the given type and adds it to the action collection specified in the constructo...
Definition agentactionmanager.cpp:245
AgentActionManager(KActionCollection *actionCollection, QWidget *parent=nullptr)
Creates a new agent action manager.
Definition agentactionmanager.cpp:217
void setMimeTypeFilter(const QStringList &mimeTypes)
Sets the mime type filter that will be used when creating new agent instances.
Definition agentactionmanager.cpp:235
void setSelectionModel(QItemSelectionModel *model)
Sets the agent selection model based on which the actions should operate.
Definition agentactionmanager.cpp:227
QAction * action(Type type) const
Returns the action of the given type, 0 if it has not been created (yet).
Definition agentactionmanager.cpp:281
Helper integration between Akonadi and Qt.
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.