34 #ifndef KNOTES_RESOURCEMANAGER_H
35 #define KNOTES_RESOURCEMANAGER_H
37 #include <knotes/resourcenotes.h>
38 #include <tderesources/manager.h>
40 #include <libkcal/alarm.h>
50 class KNotesResourceManager : public TQObject, public KRES::ManagerObserver<ResourceNotes>
55 KNotesResourceManager();
56 virtual ~KNotesResourceManager();
61 bool addNewNote( KCal::Journal *journal );
62 void registerNote( ResourceNotes *resource, KCal::Journal *journal );
64 void deleteNote( KCal::Journal *journal );
66 KCal::Alarm::List alarms( const TQDateTime& from, const TQDateTime& to );
74 void sigRegisteredNote( KCal::Journal *journal );
75 void sigDeregisteredNote( KCal::Journal *journal );
78 KRES::Manager<ResourceNotes> *m_manager;
79 TQDict<ResourceNotes> m_resourceMap;
This class provides the interfaces for a KNotes resource.
|