author | drw <drw> | 2004-02-25 16:32:24 (UTC) |
---|---|---|
committer | drw <drw> | 2004-02-25 16:32:24 (UTC) |
commit | bea97f98bfb31994425908e7ce982b2450696706 (patch) (unidiff) | |
tree | 2f2bc2f55d4656b7c63a06cdce6bc35346d9388f /core/pim/todo/todotemplatemanager.h | |
parent | f84a46fce6c1b7702ec1eaebd40e363b67253649 (diff) | |
download | opie-bea97f98bfb31994425908e7ce982b2450696706.zip opie-bea97f98bfb31994425908e7ce982b2450696706.tar.gz opie-bea97f98bfb31994425908e7ce982b2450696706.tar.bz2 |
Todo: libopie->libopie2
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,12 +1,13 @@ | |||
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> | 9 | using namespace Opie; |
8 | |||
9 | 10 | ||
10 | namespace Todo { | 11 | namespace Todo { |
11 | class TemplateManager { | 12 | class TemplateManager { |
12 | public: | 13 | public: |
@@ -14,16 +15,16 @@ namespace Todo { | |||
14 | ~TemplateManager(); | 15 | ~TemplateManager(); |
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 | ||
29 | }; | 30 | }; |