-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 @@ +#ifndef OPIE_TODO_EDITOR_H +#define OPIE_TODO_EDITOR_H + +#include <opie/otodo.h> + + +namespace Todo { + class Editor { + public: + Editor(); + ~Editor(); + + OTodo newTodo( int currentCatId, + QWidget* par ); + OTodo edit( QWidget* par, + const OTodo& ev = OTodo() ); + + + bool accepted()const; + private: + bool m_accepted: 1; + }; +}; + +#endif |