Diffstat (limited to 'core/pim/todo/taskeditorstatus.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/taskeditorstatus.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/pim/todo/taskeditorstatus.cpp b/core/pim/todo/taskeditorstatus.cpp index 0ab4223..98e3cea 100644 --- a/core/pim/todo/taskeditorstatus.cpp +++ b/core/pim/todo/taskeditorstatus.cpp | |||
@@ -24,33 +24,29 @@ | |||
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 | #include "taskeditorstatus.h" | 29 | #include "taskeditorstatus.h" |
30 | 30 | ||
31 | #include <opie/otodo.h> | 31 | #include <opie/otodo.h> |
32 | #include <opie/opimmaintainer.h> | 32 | #include <opie/opimmaintainer.h> |
33 | #include <opie/opimstate.h> | 33 | #include <opie/opimstate.h> |
34 | 34 | ||
35 | #include <qpe/datebookmonth.h> | 35 | #include <qpe/datebookmonth.h> |
36 | #include <qpe/resource.h> | ||
37 | #include <qpe/timestring.h> | ||
38 | 36 | ||
39 | #include <qcheckbox.h> | 37 | #include <qcheckbox.h> |
40 | #include <qcombobox.h> | 38 | #include <qcombobox.h> |
41 | #include <qlabel.h> | 39 | #include <qlabel.h> |
42 | #include <qlayout.h> | 40 | #include <qlayout.h> |
43 | #include <qscrollview.h> | ||
44 | #include <qtoolbutton.h> | ||
45 | #include <qwhatsthis.h> | 41 | #include <qwhatsthis.h> |
46 | 42 | ||
47 | // FIXME add the hack slots instead of setPopup!!!! | 43 | // FIXME add the hack slots instead of setPopup!!!! |
48 | // drw you shouldn't have removed them | 44 | // drw you shouldn't have removed them |
49 | 45 | ||
50 | TaskEditorStatus::TaskEditorStatus( QWidget* parent, const char* name, WFlags fl ) | 46 | TaskEditorStatus::TaskEditorStatus( QWidget* parent, const char* name, WFlags fl ) |
51 | : QWidget( parent, name, fl ) | 47 | : QWidget( parent, name, fl ) |
52 | { | 48 | { |
53 | QDate curDate = QDate::currentDate(); | 49 | QDate curDate = QDate::currentDate(); |
54 | m_start = m_comp = m_due = curDate; | 50 | m_start = m_comp = m_due = curDate; |
55 | QString curDateStr = TimeString::longDateString( curDate ); | 51 | QString curDateStr = TimeString::longDateString( curDate ); |
56 | 52 | ||
@@ -294,13 +290,14 @@ void TaskEditorStatus::slotStartChanged(int y, int m, int d) | |||
294 | } | 290 | } |
295 | 291 | ||
296 | void TaskEditorStatus::slotCompChanged(int y, int m, int d) | 292 | void TaskEditorStatus::slotCompChanged(int y, int m, int d) |
297 | { | 293 | { |
298 | m_comp.setYMD( y, m, d ); | 294 | m_comp.setYMD( y, m, d ); |
299 | btnComp->setText( TimeString::longDateString( m_comp ) ); | 295 | btnComp->setText( TimeString::longDateString( m_comp ) ); |
300 | } | 296 | } |
301 | 297 | ||
302 | void TaskEditorStatus::slotDueChanged(int y, int m, int d) | 298 | void TaskEditorStatus::slotDueChanged(int y, int m, int d) |
303 | { | 299 | { |
304 | m_due.setYMD( y, m, d ); | 300 | m_due.setYMD( y, m, d ); |
305 | btnDue->setText( TimeString::longDateString( m_due ) ); | 301 | btnDue->setText( TimeString::longDateString( m_due ) ); |
302 | emit dueDateChanged( m_due ); | ||
306 | } | 303 | } |