summaryrefslogtreecommitdiff
path: root/core/pim/todo/todoeditor.h
blob: bcfd2054f5a13d720fb36256beab45949225eef8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef OPIE_TODO_EDITOR_H
#define OPIE_TODO_EDITOR_H

#include <opie2/opimtodo.h>


class OTaskEditor;
namespace Todo {
    class Editor {
    public:
        Editor();
        ~Editor();

        OPimTodo newTodo( int currentCatId,
                           QWidget* par );
        OPimTodo edit( QWidget* par,
                        const OPimTodo& ev = OPimTodo() );


        bool accepted()const;
    protected:
        OTaskEditor* self();
    private:
        bool m_accepted: 1;
        OTaskEditor* m_self;
    };
};

#endif