filestorage.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef KCAL_FILESTORAGE_H
00021 #define KCAL_FILESTORAGE_H
00022
00023 #include "calstorage.h"
00024
00025 namespace KCal {
00026
00030 class FileStorage : public CalStorage
00031 {
00032 public:
00033 FileStorage( Calendar *, const QString &fileName = QString::null,
00034 CalFormat *format = 0 );
00035 virtual ~FileStorage();
00036
00037 void setFileName( const QString &mFileName );
00038 QString fileName();
00039
00043 void setSaveFormat( CalFormat * );
00044 CalFormat *saveFormat();
00045
00046 bool open();
00047 bool load();
00048 bool save();
00049 bool close();
00050
00051 private:
00052 QString mFileName;
00053 CalFormat *mSaveFormat;
00054 };
00055
00056 }
00057
00058 #endif
This file is part of the documentation for kdelibs Version 3.1.5.