libkcal
KCal::ResourceLocalDir Class Reference
Inheritance diagram for KCal::ResourceLocalDir:

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 | doOpen () |
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 215 of file resourcelocaldir.cpp.
bool ResourceLocalDir::deleteEvent | ( | Event * | ) | [virtual] |
deletes an event from this calendar.
Reimplemented from KCal::ResourceCached.
Definition at line 236 of file resourcelocaldir.cpp.
bool ResourceLocalDir::deleteTodo | ( | Todo * | ) | [virtual] |
Remove a todo from the todolist.
Reimplemented from KCal::ResourceCached.
Definition at line 252 of file resourcelocaldir.cpp.
bool ResourceLocalDir::deleteJournal | ( | Journal * | ) | [virtual] |
Remove a journal from the journallist.
Reimplemented from KCal::ResourceCached.
Definition at line 267 of file resourcelocaldir.cpp.
bool ResourceLocalDir::doOpen | ( | ) | [protected, virtual] |
Opens the resource.
Dummy implementation, so child classes don't have to reimplement this method. By default, this does not do anything, but can be reimplemented in child classes
Reimplemented from KCal::ResourceCached.
Definition at line 116 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 123 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 179 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 194 of file resourcelocaldir.cpp.
The documentation for this class was generated from the following files: