akonadi
agentinstance.cpp
void configure(QWidget *parent=0)
Triggers the agent instance to show its configuration dialog.
Definition: agentinstance.cpp:105
bool isValid() const
The agent instance does currently nothing.
Definition: agentinstance.h:77
void synchronizeCollectionTree()
Triggers a synchronization of the collection tree by the given agent instance.
Definition: agentinstance.cpp:115
void synchronize()
Triggers the agent instance to start synchronization.
Definition: agentinstance.cpp:110
QString message() const
bool isValid() const
The agent instance is working on something.
Definition: agentinstance.h:78
The agent is lacking required configuration.
Definition: agentinstance.h:80
QString identifier() const
Returns the unique identifier of the agent instance.
Definition: agentinstance.cpp:55
static QString serviceName(ServiceType serviceType)
Returns the namespaced D-Bus service name for serviceType.
Definition: servermanager.cpp:307
QDBusMessage call(const QString &method, const QVariant &arg1, const QVariant &arg2, const QVariant &arg3, const QVariant &arg4, const QVariant &arg5, const QVariant &arg6, const QVariant &arg7, const QVariant &arg8)
int progress() const
Returns the progress of the agent instance in percent, or -1 if no progress information are available...
Definition: agentinstance.cpp:90
void setIsOnline(bool online)
Sets online status of the agent instance.
Definition: agentinstance.cpp:100
AgentInstance & operator=(const AgentInstance &other)
Definition: agentinstance.cpp:120
bool isValid() const
Returns whether the agent instance object is valid.
Definition: agentinstance.cpp:45
bool isOnline() const
Returns whether the agent instance is online currently.
Definition: agentinstance.cpp:95
static QString agentServiceName(ServiceAgentType agentType, const QString &identifier)
Returns the namespaced D-Bus service name for an agent of type agentType with agent identifier identi...
Definition: servermanager.cpp:323
void setName(const char *name)
void setName(const QString &name)
Sets the user visible name of the agent instance.
Definition: agentinstance.cpp:60
QString name() const
Returns the user visible name of the agent instance.
Definition: agentinstance.cpp:65
static AgentManager * self()
Returns the global instance of the agent manager.
Definition: agentmanager.cpp:377
QString fromLatin1(const char *str, int size)
QDBusError lastError() const
bool operator==(const AgentInstance &other) const
Definition: agentinstance.cpp:129
QString statusMessage() const
Returns a textual presentation of the status of the agent instance.
Definition: agentinstance.cpp:85
The agent instance encountered an error state.
Definition: agentinstance.h:79
void abortCurrentTask() const
Tell the agent to abort its current operation.
Definition: agentinstance.cpp:134
void reconfigure() const
Tell the agent that its configuration has been changed remotely via D-Bus.
Definition: agentinstance.cpp:149
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.