summaryrefslogtreecommitdiff
path: root/core/pim/todo/todotemplatemanager.h
Unidiff
Diffstat (limited to 'core/pim/todo/todotemplatemanager.h') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/todo/todotemplatemanager.h11
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,11 +1,12 @@
1#ifndef OPIE_TODO_TEMPLATE_H 1#ifndef OPIE_TODO_TEMPLATE_H
2#define OPIE_TODO_TEMPLATE_H 2#define OPIE_TODO_TEMPLATE_H
3 3
4#include <opie2/opimtodo.h>
5
4#include <qstring.h> 6#include <qstring.h>
5#include <qmap.h> 7#include <qmap.h>
6 8
7#include <opie/otodo.h> 9using namespace Opie;
8
9 10
10namespace Todo { 11namespace Todo {
11 class TemplateManager { 12 class TemplateManager {
@@ -15,14 +16,14 @@ namespace Todo {
15 void load(); 16 void load();
16 void save(); 17 void save();
17 QStringList templates()const; 18 QStringList templates()const;
18 OTodo templateEvent( const QString& templateName ); 19 OPimTodo templateEvent( const QString& templateName );
19 20
20 /* also replaces one */ 21 /* also replaces one */
21 void addEvent( const QString&, const OTodo& ); 22 void addEvent( const QString&, const OPimTodo& );
22 void removeEvent( const QString& ); 23 void removeEvent( const QString& );
23 private: 24 private:
24 QString m_path; 25 QString m_path;
25 QMap<QString, OTodo> m_templates; 26 QMap<QString, OPimTodo> m_templates;
26 27
27 28
28 29