KDE PIM / Developers / API Docs / kitchensync

KSync::SyncAlgorithm Class Reference

A very simple sync interface for KitchenSync. More...

#include <syncalgorithm.h>

Inherited by KSync::StandardSync.

List of all members.

Public Member Functions

Protected Member Functions


Detailed Description

A very simple sync interface for KitchenSync.

It'll be possible to install different sync algorithms.


Constructor & Destructor Documentation

KSync::SyncAlgorithm::SyncAlgorithm (  SyncUi *  ui = 0  )  [inline]
 

Constructor.

virtual KSync::SyncAlgorithm::~SyncAlgorithm (   )  [inline, virtual]
 

Destructor.


Member Function Documentation

virtual void KSync::SyncAlgorithm::syncToTarget (  Syncee *  syncee,
Syncee *  target,
bool  override = false
)  [pure virtual]
 

Sync one Syncee object to another one.

The data from the two Syncees is synced and written back to the target Syncee.

Parameters:
syncee Source Syncee
target Target Syncee
override If set to true, override target in case of conflicts.

The documentation for this class was generated from the following files: