akonadi
collectionattributessynchronizationjob.cpp
64 CollectionAttributesSynchronizationJob::CollectionAttributesSynchronizationJob(const Collection &collection, QObject *parent)
102 interface = new QDBusInterface(ServerManager::agentServiceName(ServerManager::Resource, instance.identifier()),
110 const QDBusMessage reply = interface->call(QString::fromUtf8("synchronizeCollectionAttributes"), collection.id());
112 // This means that the resource doesn't provide a synchronizeCollectionAttributes method, so we just finish the job
119 q->setErrorText(i18n("Unable to obtain D-Bus interface for resource '%1'", instance.identifier()));
150 kDebug() << "trying again to sync collection attributes" << collection.id() << instance.identifier();
~CollectionAttributesSynchronizationJob()
Destroys the synchronization job.
Definition: collectionattributessynchronizationjob.cpp:76
The agent instance does currently nothing.
Definition: agentinstance.h:77
QString fromUtf8(const char *str, int size)
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:401
static AgentManager * self()
Returns the global instance of the agent manager.
Definition: agentmanager.cpp:377
QString fromLatin1(const char *str, int size)
CollectionAttributesSynchronizationJob(const Collection &collection, QObject *parent=0)
Creates a new synchronization job for the given collection.
Definition: collectionattributessynchronizationjob.cpp:64
QString resource() const
Returns the identifier of the resource owning the collection.
Definition: collection.cpp:207
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.