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