libkcal Library API Documentation

KCal::ResourceLocal Class Reference

This class provides a calendar resource stored as a local file. More...

#include <resourcelocal.h>

Inheritance diagram for KCal::ResourceLocal:

Inheritance graph
[legend]
Collaboration diagram for KCal::ResourceLocal:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ResourceLocal (const KConfig *)
 ResourceLocal (const QString &fileName)
virtual void writeConfig (KConfig *config)
KABC::Lock * lock ()
QString fileName () const
void dump () const

Protected Slots

void reload ()

Protected Member Functions

bool doOpen ()
void doClose ()
bool doLoad ()
bool doSave ()
QDateTime readLastModified ()

Friends

class ResourceLocalConfig

Detailed Description

This class provides a calendar resource stored as a local file.

Definition at line 43 of file resourcelocal.h.


Constructor & Destructor Documentation

KCal::ResourceLocal::ResourceLocal const KConfig *   ) 
 

Create resource from configuration information stored in a KConfig object.

KCal::ResourceLocal::ResourceLocal const QString fileName  ) 
 

Create resource for file named fileName.


Member Function Documentation

KABC::Lock* KCal::ResourceLocal::lock  )  [virtual]
 

Return object for locking the resource.

Implements KCal::ResourceCalendar.

void KCal::ResourceLocal::doClose  )  [protected]
 

clears out the current calendar, freeing all used memory etc.

etc.

bool KCal::ResourceLocal::doLoad  )  [protected, virtual]
 

Do the actual loading of the resource data.

Called by load().

Implements KCal::ResourceCalendar.

bool KCal::ResourceLocal::doSave  )  [protected, virtual]
 

Do the actual saving of the resource data.

Called by save().

Implements KCal::ResourceCalendar.


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for libkcal Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Jul 25 11:17:46 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003