akonadi
Akonadi::CollectionSync Class Reference
#include <collectionsync.h>
Inheritance diagram for Akonadi::CollectionSync:

Public Member Functions | |
CollectionSync (const QString &resourceId, QObject *parent=0) | |
void | setRemoteCollections (const Collection::List &changedCollections, const Collection::List &removedCollections) |
void | setRemoteCollections (const Collection::List &remoteCollections) |
~CollectionSync () | |
Protected Member Functions | |
void | doStart () |
Detailed Description
For internal use only.
Syncs remote and local collections.
Definition at line 33 of file collectionsync.h.
Constructor & Destructor Documentation
Creates a new collection synchronzier.
- Parameters:
-
resourceId The identifier of the resource we are syncing. parent The parent object.
Definition at line 66 of file collectionsync.cpp.
CollectionSync::~CollectionSync | ( | ) |
Member Function Documentation
void CollectionSync::doStart | ( | ) | [protected, virtual] |
This method must be reimplemented in the concrete jobs.
It will be called after the job has been started and a connection to the Akonadi backend has been established.
Reimplemented from Akonadi::TransactionSequence.
Definition at line 94 of file collectionsync.cpp.
void CollectionSync::setRemoteCollections | ( | const Collection::List & | changedCollections, | |
const Collection::List & | removedCollections | |||
) |
Sets the result of an incremental remote collection listing.
- Parameters:
-
changedCollections A list of remotely added or changed collections. removedCollections A lost of remotely deleted collections.
Definition at line 85 of file collectionsync.cpp.
void CollectionSync::setRemoteCollections | ( | const Collection::List & | remoteCollections | ) |
Sets the result of a full remote collection listing.
- Parameters:
-
remoteCollections A list of collections. Important: All of these need a unique remote identifier and parent remote identifier.
Definition at line 78 of file collectionsync.cpp.
The documentation for this class was generated from the following files: