Akonadi
akonadicontrol/agentmanager.h
182 void agentInstanceSynchronizeCollection(const QString &identifier, qint64 collection, bool recursive);
259 void agentInstanceStatusChanged(const QString &agentIdentifier, int status, const QString &message);
268 void agentInstanceAdvancedStatusChanged(const QString &agentIdentifier, const QVariantMap &status);
278 void agentInstanceProgressChanged(const QString &agentIdentifier, uint progress, const QString &message);
Represents one agent instance and takes care of communication with it.
Definition akonadicontrol/agentinstance.h:35
The agent manager has knowledge about all available agents (it scans for .desktop files in the agent ...
Definition akonadicontrol/agentmanager.h:29
bool agentInstanceOnline(const QString &identifier)
Returns if the agent instance identifier is in online mode.
Definition akonadicontrol/agentmanager.cpp:397
void setAgentInstanceName(const QString &identifier, const QString &name)
Sets the name of the agent instance with the given identifier.
Definition akonadicontrol/agentmanager.cpp:452
QString agentInstanceStatusMessage(const QString &identifier) const
Returns the i18n'ed description of the current status of the agent with the given identifier.
Definition akonadicontrol/agentmanager.cpp:363
void agentInstanceAdded(const QString &agentIdentifier)
This signal is emitted whenever a new agent instance was created.
void agentTypeAdded(const QString &agentType)
This signal is emitted whenever a new agent type was installed on the system.
QStringList agentInstances() const
Returns the list of identifiers of configured instances.
Definition akonadicontrol/agentmanager.cpp:349
void agentInstanceError(const QString &agentIdentifier, const QString &message)
This signal is emitted whenever an agent instance raised an error.
QString agentInstanceName(const QString &identifier) const
Returns the name of the agent instance with the given identifier.
Definition akonadicontrol/agentmanager.cpp:461
QStringList agentTypes() const
Returns the list of identifiers of all available agent types.
Definition akonadicontrol/agentmanager.cpp:179
void removeAgentInstance(const QString &identifier)
Removes the agent with the given identifier.
Definition akonadicontrol/agentmanager.cpp:296
void agentInstanceSynchronizeCollectionTree(const QString &identifier)
Trigger a synchronization of the collection tree by the given resource agent.
Definition akonadicontrol/agentmanager.cpp:488
AgentManager(bool verbose, QObject *parent=nullptr)
Creates a new agent manager.
Definition akonadicontrol/agentmanager.cpp:100
void agentInstanceProgressChanged(const QString &agentIdentifier, uint progress, const QString &message)
This signal is emitted whenever the progress of an agent instance has changed.
void agentInstanceNameChanged(const QString &agentIdentifier, const QString &name)
This signal is emitted whenever the name of the agent instance has changed.
QString agentInstanceProgressMessage(const QString &identifier) const
Returns the i18n'ed description of the current progress of the agent with the given identifier.
Definition akonadicontrol/agentmanager.cpp:381
void agentInstanceStatusChanged(const QString &agentIdentifier, int status, const QString &message)
This signal is emitted whenever the status of an agent instance has changed.
uint agentInstanceProgress(const QString &identifier) const
Returns the current progress of the agent with the given identifier in percentage.
Definition akonadicontrol/agentmanager.cpp:372
void agentInstanceSynchronizeCollection(const QString &identifier, qint64 collection)
Trigger a synchronization of the given collection by its owning resource agent.
Definition akonadicontrol/agentmanager.cpp:497
void removeSearch(quint64 resultCollectionId)
Removes a persistent search for the given result collection.
Definition akonadicontrol/agentmanager.cpp:948
QVariantMap agentCustomProperties(const QString &identifier) const
Returns a list of Custom added properties of the agent type for the given identifier.
Definition akonadicontrol/agentmanager.cpp:233
QStringList agentMimeTypes(const QString &identifier) const
Returns a list of supported mimetypes of the agent type for the given identifier.
Definition akonadicontrol/agentmanager.cpp:216
QString agentInstanceType(const QString &identifier)
Returns the type of the agent instance with the given identifier.
Definition akonadicontrol/agentmanager.cpp:338
void agentInstanceAdvancedStatusChanged(const QString &agentIdentifier, const QVariantMap &status)
This signal is emitted whenever the status of an agent instance has changed.
void agentInstanceSynchronizeTags(const QString &identifier)
Trigger a synchronization of tags by the given resource agent.
Definition akonadicontrol/agentmanager.cpp:511
void agentInstanceRemoved(const QString &agentIdentifier)
This signal is emitted whenever an agent instance was removed.
QString agentComment(const QString &identifier) const
Returns the i18n'ed comment of the agent type for the given identifier.
Definition akonadicontrol/agentmanager.cpp:193
QStringList agentCapabilities(const QString &identifier) const
Returns a list of supported capabilities of the agent type for the given identifier.
Definition akonadicontrol/agentmanager.cpp:225
QString agentName(const QString &identifier) const
Returns the i18n'ed name of the agent type for the given identifier.
Definition akonadicontrol/agentmanager.cpp:184
void addSearch(const QString &query, const QString &queryLanguage, qint64 resultCollectionId)
Add a persistent search to remote search agents.
Definition akonadicontrol/agentmanager.cpp:937
void setAgentInstanceOnline(const QString &identifier, bool state)
Sets agent instance identifier to online or offline mode.
Definition akonadicontrol/agentmanager.cpp:406
void agentInstanceConfigure(const QString &identifier, qlonglong windowId)
Triggers the agent instance with the given identifier to show its configuration dialog.
Definition akonadicontrol/agentmanager.cpp:388
void restartAgentInstance(const QString &identifier)
Restarts the agent instance identifier.
Definition akonadicontrol/agentmanager.cpp:520
void cleanup()
Called by the crash handler and dtor to terminate the child processes.
Definition akonadicontrol/agentmanager.cpp:168
void agentTypeRemoved(const QString &agentType)
This signal is emitted whenever an agent type was removed from the system.
QString agentIcon(const QString &identifier) const
Returns the icon name of the agent type for the given identifier.
Definition akonadicontrol/agentmanager.cpp:202
int agentInstanceStatus(const QString &identifier) const
Returns the current status code of the agent with the given identifier.
Definition akonadicontrol/agentmanager.cpp:354
void agentInstanceWarning(const QString &agentIdentifier, const QString &message)
This signal is emitted whenever an agent instance raised a warning.
QString createAgentInstance(const QString &identifier)
Creates a new agent of the given agent type identifier.
Definition akonadicontrol/agentmanager.cpp:257
void agentInstanceSynchronize(const QString &identifier)
Triggers the agent instance with the given identifier to start synchronization.
Definition akonadicontrol/agentmanager.cpp:479
void agentInstanceOnlineChanged(const QString &agentIdentifier, bool state)
Emitted when the online state of an agent changed.
Q_SCRIPTABLE CaptureState status()
Helper integration between Akonadi and Qt.
const QDBusMessage & message() const const
Q_CLASSINFO(Name, Value)
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:31:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:31:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.