ksync Library API Documentation

CalendarSyncee Class Reference

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

#include <calendarsyncee.h>

Inheritance diagram for CalendarSyncee:

KSyncee List of all members.

Public Member Functions

CalendarSyncEntry * firstEntry ()
 Return the first KSyncEntry object of the data set.

CalendarSyncEntry * nextEntry ()
 Return the next KSyncEntry object of the data set.

void addEntry (KSyncEntry *)
 Add a KSyncEntry object to this data set.

void removeEntry (KSyncEntry *)
 Remove a KSyncEntry.

bool read ()
 Read the data set from disk from the file with the name filename().

bool write ()
 Write the data set to disk to the file with the name filename().


Detailed Description

This class provides an implementation of the interface for KSync.

It provides syncing of iCalendar files.

Definition at line 32 of file calendarsyncee.h.


Member Function Documentation

CalendarSyncEntry * CalendarSyncee::firstEntry  )  [virtual]
 

Return the first KSyncEntry object of the data set.

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

Implements KSyncee.

Definition at line 66 of file calendarsyncee.cpp.

References QPtrList< Event >::first().

CalendarSyncEntry * CalendarSyncee::nextEntry  )  [virtual]
 

Return the next KSyncEntry object of the data set.

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

Implements KSyncee.

Definition at line 73 of file calendarsyncee.cpp.

References QPtrList< Event >::next().

void CalendarSyncee::addEntry KSyncEntry  )  [virtual]
 

Add a KSyncEntry object to this data set.

Ownership of the object remains with the caller.

Implements KSyncee.

Definition at line 87 of file calendarsyncee.cpp.

void CalendarSyncee::removeEntry KSyncEntry  )  [virtual]
 

Remove a KSyncEntry.

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

Implements KSyncee.

Definition at line 108 of file calendarsyncee.cpp.

bool CalendarSyncee::read  )  [virtual]
 

Read the data set from disk from the file with the name filename().

This function has to be reimplemented by concrete subclasses to provide the actual reading from disk.

Returns:
true, if reading is successfull, otherwise false.

Implements KSyncee.

Definition at line 54 of file calendarsyncee.cpp.

References KSyncee::filename().

bool CalendarSyncee::write  )  [virtual]
 

Write the data set to disk to the file with the name filename().

This function has to be reimplemented by concrete subclasses to provide the actual writing to disk.

Returns:
true, if writing is successfull, otherwise false.

Implements KSyncee.

Definition at line 60 of file calendarsyncee.cpp.

References KSyncee::filename().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.4.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Sat Oct 18 02:47:17 2003 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001