akonadi
Akonadi::CollectionAttributesSynchronizationJob Class Reference
#include <collectionattributessynchronizationjob.h>
Inherits KJob.
Public Member Functions | |
CollectionAttributesSynchronizationJob (const Collection &collection, QObject *parent=0) | |
~CollectionAttributesSynchronizationJob () | |
void | start () |
Detailed Description
Job that synchronizes the attributes of a collection.
This job will trigger a resource to synchronize the attributes of a collection based on what the backend is reporting to store them in the Akonadi storage.
Example:
using namespace Akonadi;
const Collection collection = ...;
CollectionAttributesSynchronizationJob *job = new CollectionAttributesSynchronizationJob( collection );
connect( job, SIGNAL(result(KJob*)), SLOT(synchronizationFinished(KJob*)) );
- Note
- This is a KJob not an Akonadi::Job, so it wont auto-start!
- Since
- 4.6
Definition at line 54 of file collectionattributessynchronizationjob.h.
Constructor & Destructor Documentation
|
explicit |
Creates a new synchronization job for the given collection.
- Parameters
-
collection The collection to synchronize.
Definition at line 64 of file collectionattributessynchronizationjob.cpp.
Akonadi::CollectionAttributesSynchronizationJob::~CollectionAttributesSynchronizationJob | ( | ) |
Destroys the synchronization job.
Definition at line 76 of file collectionattributessynchronizationjob.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:04 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:04 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.