-rw-r--r-- | core/pim/todo/todoeditor.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/core/pim/todo/todoeditor.h b/core/pim/todo/todoeditor.h new file mode 100644 index 0000000..bbfdcb5 --- a/dev/null +++ b/core/pim/todo/todoeditor.h | |||
@@ -0,0 +1,25 @@ | |||
1 | #ifndef OPIE_TODO_EDITOR_H | ||
2 | #define OPIE_TODO_EDITOR_H | ||
3 | |||
4 | #include <opie/otodo.h> | ||
5 | |||
6 | |||
7 | namespace Todo { | ||
8 | class Editor { | ||
9 | public: | ||
10 | Editor(); | ||
11 | ~Editor(); | ||
12 | |||
13 | OTodo newTodo( int currentCatId, | ||
14 | QWidget* par ); | ||
15 | OTodo edit( QWidget* par, | ||
16 | const OTodo& ev = OTodo() ); | ||
17 | |||
18 | |||
19 | bool accepted()const; | ||
20 | private: | ||
21 | bool m_accepted: 1; | ||
22 | }; | ||
23 | }; | ||
24 | |||
25 | #endif | ||