KDE PIM / Developers / API Docs / kitchensync

KSync::CalendarSyncee Class Reference

This class provides an implementation of the. More...

#include <calendarsyncee.h>

Inherits KSync::Syncee.

List of all members.

Public Member Functions


Detailed Description

This class provides an implementation of the.

See also:
KSyncee interface for KSync. It provides syncing of iCalendar files.


Constructor & Destructor Documentation

CalendarSyncee::CalendarSyncee KCal::Calendar *  ,
CalendarMerger *  merger = 0
 

Syncee starts here.


Member Function Documentation

void CalendarSyncee::reset  )  [virtual]
 

Reset Syncee to initial state.

This is called when the data the Syncee operates on is changed externally, i.e. without using the Syncees addEntry() removeEntry(), replaceEntry() methods.

Reimplemented from KSync::Syncee.

CalendarSyncEntry * CalendarSyncee::firstEntry  )  [virtual]
 

Return the first SyncEntry object of the data set.

This function together with nextEntry() is used to iterate through all entries of a Syncee data set.

Implements KSync::Syncee.

CalendarSyncEntry * CalendarSyncee::nextEntry  )  [virtual]
 

Return the next SyncEntry object of the data set.

This function together with firstEntry() is used to iterate through all entries of a Syncee data set.

Implements KSync::Syncee.

void CalendarSyncee::addEntry SyncEntry  )  [virtual]
 

Add a SyncEntry object to this data set.

Ownership of the object is transfered and the SyncEntry now belongs to this Syncee. Use KSync::SyncEntry::clone() to create an exact copy of a KSync::SyncEntry.

See also:
KSync::SyncEntry::clone

Implements KSync::Syncee.

void CalendarSyncee::removeEntry SyncEntry  )  [virtual]
 

Remove a SyncEntry.

The entry is removed from the data set, but the object is not deleted.

Implements KSync::Syncee.

QString CalendarSyncee::generateNewId  )  const [virtual]
 

When dealing with special uid Konnector- You might want a new uid to be generated.

To later find an Entry again you'll need this map

Reimplemented from KSync::Syncee.


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