Diffstat (limited to 'core/pim/todo/taskeditorstatus.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/taskeditorstatus.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/core/pim/todo/taskeditorstatus.h b/core/pim/todo/taskeditorstatus.h index 3544200..97129f0 100644 --- a/core/pim/todo/taskeditorstatus.h +++ b/core/pim/todo/taskeditorstatus.h | |||
@@ -26,31 +26,34 @@ | |||
26 | 26 | ||
27 | */ | 27 | */ |
28 | 28 | ||
29 | #ifndef TASKEDITORSTATUS_H | 29 | #ifndef TASKEDITORSTATUS_H |
30 | #define TASKEDITORSTATUS_H | 30 | #define TASKEDITORSTATUS_H |
31 | 31 | ||
32 | #include <opie2/opimtodo.h> | ||
33 | |||
32 | #include <qdatetime.h> | 34 | #include <qdatetime.h> |
33 | #include <qwidget.h> | 35 | #include <qwidget.h> |
34 | 36 | ||
35 | class DateBookMonth; | 37 | class DateBookMonth; |
36 | class OTodo; | ||
37 | class QCheckBox; | 38 | class QCheckBox; |
38 | class QComboBox; | 39 | class QComboBox; |
39 | class QLabel; | 40 | class QLabel; |
40 | class QPushButton; | 41 | class QPushButton; |
41 | class QToolButton; | 42 | class QToolButton; |
42 | 43 | ||
44 | using namespace Opie; | ||
45 | |||
43 | /** | 46 | /** |
44 | * This is the implementation of the Opie Task Editor Advanced tab | 47 | * This is the implementation of the Opie Task Editor Advanced tab |
45 | * it features the State! | 48 | * it features the State! |
46 | * MaintainerMode | 49 | * MaintainerMode |
47 | * Description | 50 | * Description |
48 | */ | 51 | */ |
49 | class TaskEditorStatus : public QWidget | 52 | class TaskEditorStatus : public QWidget |
50 | { | 53 | { |
51 | Q_OBJECT | 54 | Q_OBJECT |
52 | 55 | ||
53 | public: | 56 | public: |
54 | TaskEditorStatus( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | 57 | TaskEditorStatus( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); |
55 | ~TaskEditorStatus(); | 58 | ~TaskEditorStatus(); |
56 | 59 | ||
@@ -65,20 +68,20 @@ public: | |||
65 | QCheckBox *ckbComp; | 68 | QCheckBox *ckbComp; |
66 | QPushButton *btnComp; | 69 | QPushButton *btnComp; |
67 | QComboBox *cmbProgress; | 70 | QComboBox *cmbProgress; |
68 | 71 | ||
69 | /* | 72 | /* |
70 | * I could have a struct which returns a QWidget* | 73 | * I could have a struct which returns a QWidget* |
71 | * load and save to a OTodo | 74 | * load and save to a OPimTodo |
72 | * and use multiple inheretence with all other widgets | 75 | * and use multiple inheretence with all other widgets |
73 | * and then simply iterate over the list of structs | 76 | * and then simply iterate over the list of structs |
74 | * this way I could easily have plugins for the whole editor.... | 77 | * this way I could easily have plugins for the whole editor.... |
75 | * but I do not do it -zecke | 78 | * but I do not do it -zecke |
76 | */ | 79 | */ |
77 | void load( const OTodo & ); | 80 | void load( const OPimTodo & ); |
78 | void save( OTodo & ); | 81 | void save( OPimTodo & ); |
79 | 82 | ||
80 | private: | 83 | private: |
81 | QDate m_start; | 84 | QDate m_start; |
82 | QDate m_comp; | 85 | QDate m_comp; |
83 | QDate m_due; | 86 | QDate m_due; |
84 | DateBookMonth *m_startBook; | 87 | DateBookMonth *m_startBook; |