Diffstat (limited to 'core/pim/todo/todotemplatemanager.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/todotemplatemanager.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/core/pim/todo/todotemplatemanager.h b/core/pim/todo/todotemplatemanager.h index 387ced1..ee8aaaf 100644 --- a/core/pim/todo/todotemplatemanager.h +++ b/core/pim/todo/todotemplatemanager.h @@ -1,32 +1,33 @@ #ifndef OPIE_TODO_TEMPLATE_H #define OPIE_TODO_TEMPLATE_H +#include <opie2/opimtodo.h> + #include <qstring.h> #include <qmap.h> -#include <opie/otodo.h> - +using namespace Opie; namespace Todo { class TemplateManager { public: TemplateManager(); ~TemplateManager(); void load(); void save(); QStringList templates()const; - OTodo templateEvent( const QString& templateName ); + OPimTodo templateEvent( const QString& templateName ); /* also replaces one */ - void addEvent( const QString&, const OTodo& ); + void addEvent( const QString&, const OPimTodo& ); void removeEvent( const QString& ); private: QString m_path; - QMap<QString, OTodo> m_templates; + QMap<QString, OPimTodo> m_templates; }; }; #endif |