akonadi
resourcesynchronizationjob.cpp
63 ResourceSynchronizationJob::ResourceSynchronizationJob(const AgentInstance& instance, QObject* parent) :
103 interface = new QDBusInterface( ServerManager::agentServiceName( ServerManager::Resource, instance.identifier() ),
121 q->setErrorText( i18n( "Unable to obtain D-Bus interface for resource '%1'", instance.identifier() ) );
The agent instance does currently nothing.
Definition: agentinstance.h:77
bool collectionTreeOnly() const
Returns whether a full synchronization will be done, or just the collection tree (without items)...
Definition: resourcesynchronizationjob.cpp:84
QString identifier() const
Returns the unique identifier of the agent instance.
Definition: agentinstance.cpp:55
ResourceSynchronizationJob(const AgentInstance &instance, QObject *parent=0)
Creates a new synchronization job for the given resource.
Definition: resourcesynchronizationjob.cpp:63
AgentInstance instance(const QString &identifier) const
Returns the agent instance with the given identifier or an invalid agent instance if the identifier d...
Definition: agentmanager.cpp:404
~ResourceSynchronizationJob()
Destroys the synchronization job.
Definition: resourcesynchronizationjob.cpp:74
AgentInstance resource() const
Returns the resource that has been synchronized.
Definition: resourcesynchronizationjob.cpp:160
static AgentManager * self()
Returns the global instance of the agent manager.
Definition: agentmanager.cpp:380
void setCollectionTreeOnly(bool collectionTreeOnly)
Sets the collectionTreeOnly property.
Definition: resourcesynchronizationjob.cpp:89
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.