kitchensync Library API Documentation

KSync::CalendarSyncee Class Reference

This class provides an implementation of the interface for KSync. More...

#include <calendarsyncee.h>

Inheritance diagram for KSync::CalendarSyncee:

Inheritance graph
[legend]
Collaboration diagram for KSync::CalendarSyncee:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CalendarSyncee (KCal::Calendar *)
QString type () const
void reset ()
CalendarSyncEntry * firstEntry ()
CalendarSyncEntry * nextEntry ()
void addEntry (SyncEntry *)
void removeEntry (SyncEntry *)
SyncEntry::PtrList added ()
SyncEntry::PtrList modified ()
SyncEntry::PtrList removed ()
Synceeclone ()
KCal::Calendar * calendar () const
bool writeBackup (const QString &)
bool restoreBackup (const QString &)

Detailed Description

This class provides an implementation of the interface for KSync.

It provides syncing of iCalendar files.

Definition at line 56 of file calendarsyncee.h.


Member Function Documentation

QString KSync::CalendarSyncee::type  )  const [inline, virtual]
 

The type of the Syncee.

Reimplemented from KSync::Syncee.

Definition at line 62 of file calendarsyncee.h.

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.

Definition at line 106 of file calendarsyncee.cpp.

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.

Definition at line 120 of file calendarsyncee.cpp.

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.

Definition at line 137 of file calendarsyncee.cpp.

void CalendarSyncee::addEntry SyncEntry  )  [virtual]
 

Add a SyncEntry object to this data set.

Ownership of the object remains with the caller.

Implements KSync::Syncee.

Definition at line 168 of file calendarsyncee.cpp.

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.

Definition at line 191 of file calendarsyncee.cpp.

SyncEntry::PtrList KSync::CalendarSyncee::added  )  [inline, virtual]
 

What was added?

Reimplemented from KSync::Syncee.

Definition at line 74 of file calendarsyncee.h.

SyncEntry::PtrList KSync::CalendarSyncee::modified  )  [inline, virtual]
 

What was modified?

Reimplemented from KSync::Syncee.

Definition at line 75 of file calendarsyncee.h.

SyncEntry::PtrList KSync::CalendarSyncee::removed  )  [inline, virtual]
 

What was removed?

Reimplemented from KSync::Syncee.

Definition at line 76 of file calendarsyncee.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kitchensync Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Jan 31 15:53:57 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003