Diffstat (limited to 'core/pim/datebook2/templatemanager.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook2/templatemanager.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/core/pim/datebook2/templatemanager.h b/core/pim/datebook2/templatemanager.h new file mode 100644 index 0000000..f885677 --- a/dev/null +++ b/core/pim/datebook2/templatemanager.h @@ -0,0 +1,36 @@ +#ifndef OPIE_DATEBOOK_TEMPLATE_MANAGER_ZECKE_H_RANDOM_CAUSE_BJARNE +#define OPIE_DATEBOOK_TEMPLATE_MANAGER_ZECKE_H_RANDOM_CAUSE_BJARNE + +#include <qobject.h> + +#include <opie/oevent.h> + +#include "managertemplate.h" + +namespace Datebook { + /** + * The OEvent Template Manager + */ + class TemplateManager : public ManagerTemplate<OEvent> { + public: + TemplateManager(); + ~TemplateManager(); + + private: + virtual bool doSave(); + virtual bool doLoad(); + }; + /** + * a QDialog for editing it + */ + class TemplateDialog : public QDialog { + Q_OBJECT + public: + TemplateDialog(const TemplateManager& man); + ~TemplateDialog(); + + virtual TemplateManager manager()const; + }; +} + +#endif |