akonadi
agentactionmanager.cpp
The agent instance itself.
Definition: agentinstancemodel.h:64
Configures the selected agent instance.
Definition: agentactionmanager.h:53
Manages generic actions for agent and agent instance views.
Definition: agentactionmanager.h:43
void createAllActions()
Convenience method to create all standard actions.
The text of an error message.
Definition: agentactionmanager.h:67
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
KAction * action(Type type) const
Returns the action of the given type, 0 if it has not been created (yet).
bool contains(const QString &str, Qt::CaseSensitivity cs) const
The window title of a dialog.
Definition: agentactionmanager.h:61
T value() const
void removeInstance(const AgentInstance &instance)
Removes the given agent instance.
Definition: agentmanager.cpp:406
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
The window title of an error message.
Definition: agentactionmanager.h:66
The window title of a message box.
Definition: agentactionmanager.h:63
KAction * createAction(Type type)
Creates the action of the given type and adds it to the action collection specified in the constructo...
Creates an agent instance.
Definition: agentactionmanager.h:51
const char * name() const
int count(const T &value) const
bool isEmpty() const
bool isValid() const
Returns whether the agent instance object is valid.
Definition: agentinstance.cpp:45
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.
Akonadi::AgentInstance::List selectedAgentInstances() const
Returns the list of agent instances that are currently selected.
T & first()
void setMimeTypeFilter(const QStringList &mimeTypes)
Sets the mime type 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...
Job for creating new agent instances.
Definition: agentinstancecreatejob.h:71
Definition: kcolumnfilterproxymodel_p.h:27
QVariant data(int role) const
void setSelectionModel(QItemSelectionModel *model)
Sets the agent selection model based on which the actions should operate.
Deletes the selected agent instance.
Definition: agentactionmanager.h:52
void setContextText(Type type, TextContext context, const QString &text)
Sets the text of the action type for the given context.
A dialog to select an available agent type.
Definition: agenttypedialog.h:53
static AgentManager * self()
Returns the global instance of the agent manager.
Definition: agentmanager.cpp:377
QString fromLatin1(const char *str, int size)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QObject * parent() const
AgentActionManager(KActionCollection *actionCollection, QWidget *parent=0)
Creates a new agent action manager.
The text of a message box.
Definition: agentactionmanager.h:64
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.