Diffstat (limited to 'core/pim/todo/taskeditoroverviewimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/taskeditoroverviewimpl.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/core/pim/todo/taskeditoroverviewimpl.h b/core/pim/todo/taskeditoroverviewimpl.h new file mode 100644 index 0000000..4fab381 --- a/dev/null +++ b/core/pim/todo/taskeditoroverviewimpl.h | |||
@@ -0,0 +1,54 @@ | |||
1 | #ifndef OPIE_TASK_EDITOR_VIEW_IMPL_H | ||
2 | #define OPIE_TASK_EDITOR_VIEW_IMPL_H | ||
3 | |||
4 | #include <qsize.h> | ||
5 | |||
6 | #include <opie/otodo.h> | ||
7 | |||
8 | #include "taskeditoroverview.h" | ||
9 | |||
10 | class DateBookMonth; | ||
11 | class QPushButton; | ||
12 | class QPopupMenu; | ||
13 | class TaskEditorOverViewImpl : public TaskEditorOverView { | ||
14 | Q_OBJECT | ||
15 | public: | ||
16 | TaskEditorOverViewImpl(QWidget* parent, const char* name = 0); | ||
17 | ~TaskEditorOverViewImpl(); | ||
18 | |||
19 | void load( const OTodo& ); | ||
20 | void save( OTodo& ); | ||
21 | signals: | ||
22 | void recurranceEnabled( bool ); | ||
23 | |||
24 | private: | ||
25 | void init(); | ||
26 | void popup(QPushButton*, QPopupMenu*); | ||
27 | DateBookMonth* m_dueBook; | ||
28 | DateBookMonth* m_startBook; | ||
29 | DateBookMonth* m_compBook; | ||
30 | QDate m_start; | ||
31 | QDate m_comp; | ||
32 | QDate m_due; | ||
33 | QPopupMenu* m_startPop; | ||
34 | QPopupMenu* m_compPop; | ||
35 | QPopupMenu* m_duePop; | ||
36 | bool m_bDue : 1; | ||
37 | |||
38 | private slots: | ||
39 | void slotStartChecked(); | ||
40 | void slotStartChanged(int, int, int ); | ||
41 | void slotDueChecked(); | ||
42 | void slotDueChanged(int, int, int ); | ||
43 | void slotCompletedChecked(); | ||
44 | void slotCompletedChanged(int, int, int ); | ||
45 | |||
46 | void hackySlotHack1(); | ||
47 | void hackySlotHack2(); | ||
48 | void hackySlotHack3(); | ||
49 | |||
50 | void slotRecClicked(); | ||
51 | }; | ||
52 | |||
53 | |||
54 | #endif | ||