author | zecke <zecke> | 2002-10-07 11:39:30 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-07 11:39:30 (UTC) |
commit | f11d4bda64b58abfebf77485d5d77143a10dc8c9 (patch) (side-by-side diff) | |
tree | a4e80550c4abe867303553de608316941dd943f1 /core/pim/todo/todotemplatemanager.h | |
parent | c2cd5470fa3ec69394fa65ad16ab29a6cadab56f (diff) | |
download | opie-f11d4bda64b58abfebf77485d5d77143a10dc8c9.zip opie-f11d4bda64b58abfebf77485d5d77143a10dc8c9.tar.gz opie-f11d4bda64b58abfebf77485d5d77143a10dc8c9.tar.bz2 |
Re add files
for todo
Diffstat (limited to 'core/pim/todo/todotemplatemanager.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/todotemplatemanager.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/core/pim/todo/todotemplatemanager.h b/core/pim/todo/todotemplatemanager.h new file mode 100644 index 0000000..387ced1 --- a/dev/null +++ b/core/pim/todo/todotemplatemanager.h @@ -0,0 +1,32 @@ +#ifndef OPIE_TODO_TEMPLATE_H +#define OPIE_TODO_TEMPLATE_H + +#include <qstring.h> +#include <qmap.h> + +#include <opie/otodo.h> + + +namespace Todo { + class TemplateManager { + public: + TemplateManager(); + ~TemplateManager(); + void load(); + void save(); + QStringList templates()const; + OTodo templateEvent( const QString& templateName ); + + /* also replaces one */ + void addEvent( const QString&, const OTodo& ); + void removeEvent( const QString& ); + private: + QString m_path; + QMap<QString, OTodo> m_templates; + + + + }; +}; + +#endif |