21 #ifndef KCAL_RESOURCELOCALDIRDIR_H
22 #define KCAL_RESOURCELOCALDIRDIR_H
25 #include <kdirwatch.h>
26 #include <tdemacros.h>
28 #include "resourcecached.h"
30 #include "libkcal_export.h"
45 class LIBKCAL_EXPORT ResourceLocalDir : public ResourceCached
50 friend class ResourceLocalDirConfig;
53 ResourceLocalDir( const TDEConfig * );
54 ResourceLocalDir( const TQString& fileName );
55 virtual ~ResourceLocalDir();
57 void readConfig( const TDEConfig *config );
58 void writeConfig( TDEConfig* config );
63 bool deleteEvent(Event *);
68 bool deleteTodo( Todo * );
73 bool deleteJournal( Journal * );
78 void reload( const TQString & );
81 virtual bool doOpen();
82 virtual bool doLoad();
83 virtual bool doSave();
84 bool doSave( Incidence * );
85 virtual bool doFileLoad( CalendarLocal &, const TQString &fileName );
89 bool deleteIncidenceFile(Incidence *incidence);
98 TQPtrList<Incidence>mDeletedIncidences;
Namespace KCal is for global classes, objects and/or functions in libkcal.
|