akonadi
20 #ifndef AKONADI_AGENTACTIONMANAGER_H
21 #define AKONADI_AGENTACTIONMANAGER_H
23 #include "akonadi_export.h"
25 #include <akonadi/agentinstance.h>
27 #include <QtCore/QObject>
30 class KActionCollection;
31 class KLocalizedString;
32 class QItemSelectionModel;
88 void setSelectionModel(QItemSelectionModel *model);
93 void setMimeTypeFilter(
const QStringList &mimeTypes);
98 void setCapabilityFilter(
const QStringList &capabilities);
106 KAction *createAction(Type type);
112 void createAllActions();
117 KAction *action(Type type)
const;
128 void interceptAction(Type type,
bool intercept =
true);
147 void setContextText(Type type, TextContext context,
const QString &text);
157 void setContextText(Type type, TextContext context,
const KLocalizedString &text);
165 void actionStateUpdated();
172 Q_PRIVATE_SLOT(d,
void updateActions())
174 Q_PRIVATE_SLOT(d,
void slotCreateAgentInstance())
175 Q_PRIVATE_SLOT(d,
void slotDeleteAgentInstance())
176 Q_PRIVATE_SLOT(d,
void slotConfigureAgentInstance())
178 Q_PRIVATE_SLOT(d,
void slotAgentInstanceCreationResult(KJob *))
@ ErrorMessageTitle
The window title of an error message.
@ DeleteAgentInstance
Deletes the selected agent instance.
TextContext
Describes the text context that can be customized.
@ MessageBoxText
The text of a message box.
@ MessageBoxTitle
The window title of a message box.
Type
Describes the supported actions.
QList< AgentInstance > List
Describes a list of agent instances.
Manages generic actions for agent and agent instance views.
@ DialogTitle
The window title of a dialog.
@ MessageBoxAlternativeText
An alternative text of a message box.
@ DialogText
The text of a dialog.
@ CreateAgentInstance
Creates an agent instance.
@ ConfigureAgentInstance
Configures the selected agent instance.
FreeBusyManager::Singleton.
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
KDE's Doxygen guidelines are available online.