33 #ifndef RESOURCENOTES_H
34 #define RESOURCENOTES_H
36 #include <tderesources/resource.h>
37 #include <tdemacros.h>
38 #include <libkcal/alarm.h>
41 class KNotesResourceManager;
71 virtual bool addNote( KCal::Journal * ) = 0;
72 virtual bool deleteNote( KCal::Journal * ) = 0;
74 virtual KCal::Alarm::List alarms( const TQDateTime& from, const TQDateTime& to ) = 0;
76 void setManager( KNotesResourceManager *manager ) { mManager = manager; }
77 KNotesResourceManager *manager() const { return mManager; }
80 KNotesResourceManager *mManager;
This class provides the interfaces for a KNotes resource.
virtual bool save()=0 Save resource data.
virtual bool load()=0 Load resource data.
|