libkcal

KCal::FileStorage Class Reference

This class provides a calendar storage as a local file. More...

#include <filestorage.h>

Inheritance diagram for KCal::FileStorage:

List of all members.


Public Member Functions

bool close ()
QString fileName () const
 FileStorage (Calendar *, const QString &fileName=QString::null, CalFormat *format=0)
bool load ()
bool open ()
bool save ()
CalFormatsaveFormat () const
void setFileName (const QString &mFileName)
void setSaveFormat (CalFormat *)
virtual ~FileStorage ()

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 ( Calendar cal,
const QString fileName = QString::null,
CalFormat format = 0 
)

Definition at line 39 of file filestorage.cpp.

FileStorage::~FileStorage (  )  [virtual]

Definition at line 47 of file filestorage.cpp.


Member Function Documentation

bool FileStorage::close (  )  [virtual]

Implements KCal::CalStorage.

Definition at line 152 of file filestorage.cpp.

QString FileStorage::fileName (  )  const

Definition at line 57 of file filestorage.cpp.

bool FileStorage::load (  )  [virtual]

Implements KCal::CalStorage.

Definition at line 80 of file filestorage.cpp.

bool FileStorage::open (  )  [virtual]

Implements KCal::CalStorage.

Definition at line 75 of file filestorage.cpp.

bool FileStorage::save (  )  [virtual]

Implements KCal::CalStorage.

Definition at line 125 of file filestorage.cpp.

CalFormat * FileStorage::saveFormat (  )  const

Definition at line 69 of file filestorage.cpp.

void FileStorage::setFileName ( const QString mFileName  ) 

Definition at line 52 of file filestorage.cpp.

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: