KCal::FileStorage Class Reference
#include <filestorage.h>
Inheritance diagram for KCal::FileStorage:

Public Member Functions | |
FileStorage (Calendar *, const TQString &fileName=TQString(), CalFormat *format=0) | |
void | setFileName (const TQString &mFileName) |
TQString | fileName () const |
void | setSaveFormat (CalFormat *) |
CalFormat * | saveFormat () const |
bool | open () |
bool | load () |
bool | save () |
bool | close () |
![]() | |
CalStorage (Calendar *calendar) | |
Calendar * | calendar () const |
virtual bool | open ()=0 |
virtual bool | load ()=0 |
virtual bool | save ()=0 |
virtual bool | close ()=0 |
Detailed Description
This class provides a calendar storage as a local file.
Definition at line 32 of file filestorage.h.
Constructor & Destructor Documentation
◆ FileStorage()
FileStorage::FileStorage | ( | Calendar * | cal, |
const TQString & | fileName = TQString() , |
||
CalFormat * | format = 0 |
||
) |
Definition at line 39 of file filestorage.cpp.
◆ ~FileStorage()
|
virtual |
Definition at line 47 of file filestorage.cpp.
Member Function Documentation
◆ close()
|
virtual |
Implements KCal::CalStorage.
Definition at line 152 of file filestorage.cpp.
◆ fileName()
TQString FileStorage::fileName | ( | ) | const |
Definition at line 57 of file filestorage.cpp.
◆ load()
|
virtual |
Implements KCal::CalStorage.
Definition at line 80 of file filestorage.cpp.
◆ open()
|
virtual |
Implements KCal::CalStorage.
Definition at line 75 of file filestorage.cpp.
◆ save()
|
virtual |
Implements KCal::CalStorage.
Definition at line 125 of file filestorage.cpp.
◆ saveFormat()
CalFormat * FileStorage::saveFormat | ( | ) | const |
Definition at line 69 of file filestorage.cpp.
◆ setFileName()
void FileStorage::setFileName | ( | const TQString & | mFileName | ) |
Definition at line 52 of file filestorage.cpp.
◆ setSaveFormat()
void FileStorage::setSaveFormat | ( | CalFormat * | format | ) |
FileStorage takes ownership of format object.
Definition at line 63 of file filestorage.cpp.
The documentation for this class was generated from the following files: