Diffstat (limited to 'core/pim/datebook2/templatemanager.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/datebook2/templatemanager.h | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/core/pim/datebook2/templatemanager.h b/core/pim/datebook2/templatemanager.h index f885677..91d8b2e 100644 --- a/core/pim/datebook2/templatemanager.h +++ b/core/pim/datebook2/templatemanager.h @@ -8,8 +8,10 @@ #include "managertemplate.h" +class QListView; namespace Datebook { /** * The OEvent Template Manager */ + class Editor; class TemplateManager : public ManagerTemplate<OEvent> { public: @@ -17,7 +19,6 @@ namespace Datebook { ~TemplateManager(); - private: - virtual bool doSave(); - virtual bool doLoad(); + bool save(); + bool load(); }; /** @@ -27,8 +28,19 @@ namespace Datebook { Q_OBJECT public: - TemplateDialog(const TemplateManager& man); + TemplateDialog(const TemplateManager& man, Editor*); ~TemplateDialog(); - virtual TemplateManager manager()const; + TemplateManager manager()const; + + private slots: + void init( const TemplateManager& ); + void slotAdd(); + void slotEdit(); + void slotRename(); + void slotRemove(); + + private: + QListView* m_view; + Editor* m_edit; }; } |