kitchensync
KSync::CalendarSyncee Class Reference
#include <calendarsyncee.h>
Inheritance diagram for KSync::CalendarSyncee:

Detailed Description
This class provides an implementation of the KSyncee interface for KSync.It provides syncing of iCalendar files.
Definition at line 61 of file calendarsyncee.h.
Public Member Functions | |
CalendarSyncee (KCal::Calendar *, CalendarMerger *merger=0) | |
~CalendarSyncee () | |
void | reset () |
CalendarSyncEntry * | firstEntry () |
CalendarSyncEntry * | nextEntry () |
void | addEntry (SyncEntry *) |
void | removeEntry (SyncEntry *) |
KCal::Calendar * | calendar () const |
bool | writeBackup (const QString &) |
bool | restoreBackup (const QString &) |
QString | generateNewId () const |
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.
Definition at line 137 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 151 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 169 of file calendarsyncee.cpp.
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.
Definition at line 193 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 216 of file calendarsyncee.cpp.
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.
Definition at line 279 of file calendarsyncee.cpp.
The documentation for this class was generated from the following files: