Diffstat (limited to 'core/pim/todo/taskeditoroverview.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/taskeditoroverview.h | 35 |
1 files changed, 6 insertions, 29 deletions
diff --git a/core/pim/todo/taskeditoroverview.h b/core/pim/todo/taskeditoroverview.h index 223b72c..d5f5125 100644 --- a/core/pim/todo/taskeditoroverview.h +++ b/core/pim/todo/taskeditoroverview.h | |||
@@ -22,71 +22,48 @@ | |||
22 | -- :-=` this library; see the file COPYING.LIB. | 22 | -- :-=` this library; see the file COPYING.LIB. |
23 | If not, write to the Free Software Foundation, | 23 | If not, write to the Free Software Foundation, |
24 | Inc., 59 Temple Place - Suite 330, | 24 | Inc., 59 Temple Place - Suite 330, |
25 | Boston, MA 02111-1307, USA. | 25 | Boston, MA 02111-1307, USA. |
26 | 26 | ||
27 | */ | 27 | */ |
28 | 28 | ||
29 | #ifndef TASKEDITOROVERVIEW_H | 29 | #ifndef TASKEDITOROVERVIEW_H |
30 | #define TASKEDITOROVERVIEW_H | 30 | #define TASKEDITOROVERVIEW_H |
31 | 31 | ||
32 | #include <opie/otodo.h> | 32 | #include <opie/otodo.h> |
33 | 33 | ||
34 | #include <qdatetime.h> | ||
35 | #include <qpixmap.h> | 34 | #include <qpixmap.h> |
36 | #include <qwidget.h> | 35 | #include <qwidget.h> |
37 | 36 | ||
38 | class CategorySelect; | 37 | class CategorySelect; |
39 | class DateBookMonth; | ||
40 | class QCheckBox; | 38 | class QCheckBox; |
41 | class QComboBox; | 39 | class QComboBox; |
42 | class QPushButton; | 40 | class QMultiLineEdit; |
43 | 41 | ||
44 | class TaskEditorOverView : public QWidget | 42 | class TaskEditorOverView : public QWidget |
45 | { | 43 | { |
46 | Q_OBJECT | 44 | Q_OBJECT |
47 | 45 | ||
48 | public: | 46 | public: |
49 | TaskEditorOverView( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | 47 | TaskEditorOverView( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); |
50 | ~TaskEditorOverView(); | 48 | ~TaskEditorOverView(); |
51 | 49 | ||
52 | QComboBox *cmbSum; | 50 | QComboBox *cmbDesc; |
53 | QComboBox *cmbPrio; | 51 | QComboBox *cmbPriority; |
54 | QComboBox *cmbProgress; | 52 | CategorySelect *cmbCategory; |
55 | QCheckBox *ckbDue; | 53 | QCheckBox *ckbRecurrence; |
56 | QPushButton *btnDue; | 54 | QMultiLineEdit *mleNotes; |
57 | QCheckBox *ckbStart; | ||
58 | QPushButton *btnStart; | ||
59 | QCheckBox *ckbComp; | ||
60 | QPushButton *btnComp; | ||
61 | CategorySelect *comboCategory; | ||
62 | QCheckBox *CheckBox7; | ||
63 | 55 | ||
64 | void load( const OTodo & ); | 56 | void load( const OTodo & ); |
65 | void save( OTodo & ); | 57 | void save( OTodo & ); |
66 | 58 | ||
67 | signals: | 59 | signals: |
68 | void recurranceEnabled( bool ); | 60 | void recurranceEnabled( bool ); |
69 | void dueDateChanged( const QDate& date ); | ||
70 | 61 | ||
71 | protected: | 62 | protected: |
72 | QPixmap m_pic_priority[ 5 ]; | 63 | QPixmap m_pic_priority[ 5 ]; |
73 | 64 | ||
74 | private: | ||
75 | QDate m_start; | ||
76 | QDate m_comp; | ||
77 | QDate m_due; | ||
78 | DateBookMonth *m_startBook; | ||
79 | DateBookMonth *m_compBook; | ||
80 | DateBookMonth *m_dueBook; | ||
81 | |||
82 | protected slots: | 65 | protected slots: |
83 | void slotRecClicked(); | 66 | void slotRecClicked(); |
84 | void slotStartChecked(); | ||
85 | void slotCompChecked(); | ||
86 | void slotDueChecked(); | ||
87 | void slotStartChanged( int, int, int ); | ||
88 | void slotCompChanged( int, int, int ); | ||
89 | void slotDueChanged( int, int, int ); | ||
90 | }; | 67 | }; |
91 | 68 | ||
92 | #endif // TASKEDITOROVERVIEW_H | 69 | #endif // TASKEDITOROVERVIEW_H |