libkcal
KCal::ResourceLocal Class Reference
This class provides a calendar resource stored as a local file. More...
#include <resourcelocal.h>
Inheritance diagram for KCal::ResourceLocal:
Public Member Functions | |
| ResourceLocal (const TDEConfig *) | |
| ResourceLocal (const TQString &fileName) | |
| virtual void | writeConfig (TDEConfig *config) |
| TDEABC::Lock * | lock () |
| TQString | fileName () const |
| bool | setFileName (const TQString &fileName) |
| bool | setValue (const TQString &key, const TQString &value) |
| void | dump () const |
Protected Slots | |
| void | reload () |
Protected Member Functions | |
| virtual bool | doLoad () |
| virtual bool | doSave () |
| virtual bool | doReload () |
| TQDateTime | readLastModified () |
Friends | |
| class | ResourceLocalConfig |
Detailed Description
This class provides a calendar resource stored as a local file.
Definition at line 45 of file resourcelocal.h.
Constructor & Destructor Documentation
| ResourceLocal::ResourceLocal | ( | const TDEConfig * | config | ) |
Create resource from configuration information stored in a TDEConfig object.
Definition at line 59 of file resourcelocal.cpp.
| ResourceLocal::ResourceLocal | ( | const TQString & | fileName | ) |
Create resource for file named fileName.
Definition at line 81 of file resourcelocal.cpp.
Member Function Documentation
| bool ResourceLocal::doReload | ( | ) | [protected, virtual] |
Called by reload() to reload the resource, if it is already open.
- Returns:
- true if successful, else false. If true is returned, reload() will emit a resourceChanged() signal.
Definition at line 174 of file resourcelocal.cpp.
The documentation for this class was generated from the following files:
