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 @@ | |||
1 | #ifndef OPIE_DATEBOOK_TEMPLATE_MANAGER_ZECKE_H_RANDOM_CAUSE_BJARNE | ||
2 | #define OPIE_DATEBOOK_TEMPLATE_MANAGER_ZECKE_H_RANDOM_CAUSE_BJARNE | ||
3 | |||
4 | #include <qobject.h> | ||
5 | |||
6 | #include <opie/oevent.h> | ||
7 | |||
8 | #include "managertemplate.h" | ||
9 | |||
10 | namespace Datebook { | ||
11 | /** | ||
12 | * The OEvent Template Manager | ||
13 | */ | ||
14 | class TemplateManager : public ManagerTemplate<OEvent> { | ||
15 | public: | ||
16 | TemplateManager(); | ||
17 | ~TemplateManager(); | ||
18 | |||
19 | private: | ||
20 | virtual bool doSave(); | ||
21 | virtual bool doLoad(); | ||
22 | }; | ||
23 | /** | ||
24 | * a QDialog for editing it | ||
25 | */ | ||
26 | class TemplateDialog : public QDialog { | ||
27 | Q_OBJECT | ||
28 | public: | ||
29 | TemplateDialog(const TemplateManager& man); | ||
30 | ~TemplateDialog(); | ||
31 | |||
32 | virtual TemplateManager manager()const; | ||
33 | }; | ||
34 | } | ||
35 | |||
36 | #endif | ||