• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

akonadi

Akonadi::CollectionSync

Akonadi::CollectionSync Class Reference

#include <collectionsync.h>

Inheritance diagram for Akonadi::CollectionSync:

Inheritance graph
[legend]

List of all members.


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

CollectionSync::CollectionSync ( const QString &  resourceId,
QObject *  parent = 0 
) [explicit]

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 (  ) 

Destroys this job.

Definition at line 73 of file collectionsync.cpp.


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:
  • collectionsync.h
  • collectionsync.cpp

akonadi

Skip menu "akonadi"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  • kabc
  • kblog
  • kcal
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.8
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal