libkcal

KCal::ResourceLocalDir Class Reference

Inheritance diagram for KCal::ResourceLocalDir:

KCal::ResourceCached KCal::ResourceCalendar KCal::Calendar::Observer List of all members.

Detailed Description

Definition at line 45 of file resourcelocaldir.h.


Public Member Functions

 ResourceLocalDir (const KConfig *)
 ResourceLocalDir (const QString &fileName)
virtual ~ResourceLocalDir ()
void readConfig (const KConfig *config)
void writeConfig (KConfig *config)
KABC::Lock * lock ()
bool deleteEvent (Event *)
bool deleteTodo (Todo *)
bool deleteJournal (Journal *)
void dump () const

Protected Slots

void reload (const QString &)

Protected Member Functions

virtual bool doLoad ()
virtual bool doSave ()
bool doSave (Incidence *)
virtual bool doFileLoad (CalendarLocal &, const QString &fileName)

Friends

class ResourceLocalDirConfig

Member Function Documentation

KABC::Lock * ResourceLocalDir::lock (  )  [virtual]

Return object for locking the resource.

Implements KCal::ResourceCalendar.

Definition at line 196 of file resourcelocaldir.cpp.

bool ResourceLocalDir::deleteEvent ( Event  )  [virtual]

deletes an event from this calendar.

Reimplemented from KCal::ResourceCached.

Definition at line 216 of file resourcelocaldir.cpp.

bool ResourceLocalDir::deleteTodo ( Todo  )  [virtual]

Remove a todo from the todolist.

Reimplemented from KCal::ResourceCached.

Definition at line 226 of file resourcelocaldir.cpp.

bool ResourceLocalDir::deleteJournal ( Journal  )  [virtual]

Remove a journal from the journallist.

Reimplemented from KCal::ResourceCached.

Definition at line 235 of file resourcelocaldir.cpp.

bool ResourceLocalDir::doLoad (  )  [protected, virtual]

Do the actual loading of the resource data.

Called by load().

Implements KCal::ResourceCalendar.

Definition at line 113 of file resourcelocaldir.cpp.

bool ResourceLocalDir::doSave (  )  [protected, virtual]

Do the actual saving of the resource data.

Called by save().

Implements KCal::ResourceCalendar.

Definition at line 165 of file resourcelocaldir.cpp.

bool ResourceLocalDir::doSave ( Incidence  )  [protected, virtual]

Do the actual saving of the resource data.

Called by save(). Save one Incidence. The default implementation calls doSave() to save everything

Reimplemented from KCal::ResourceCalendar.

Definition at line 180 of file resourcelocaldir.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys