Diffstat (limited to 'core/pim/todo/todotemplatemanager.h') (more/less context) (show 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 | |||
@@ -2,9 +2,10 @@ | |||
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> | 9 | using namespace Opie; |
8 | |||
9 | 10 | ||
10 | namespace Todo { | 11 | namespace Todo { |
@@ -16,12 +17,12 @@ namespace Todo { | |||
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 | ||