Diffstat (limited to 'core/pim/todo/todoentryimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/todoentryimpl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/pim/todo/todoentryimpl.h b/core/pim/todo/todoentryimpl.h index 932d66e..6407eb4 100644 --- a/core/pim/todo/todoentryimpl.h +++ b/core/pim/todo/todoentryimpl.h | |||
@@ -14,48 +14,48 @@ | |||
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #ifndef NEWTASKDIALOG_H | 21 | #ifndef NEWTASKDIALOG_H |
22 | #define NEWTASKDIALOG_H | 22 | #define NEWTASKDIALOG_H |
23 | 23 | ||
24 | #include "todoentry.h" | 24 | #include "todoentry.h" |
25 | 25 | ||
26 | #include <qpe/task.h> | 26 | #include <opie/todoevent.h> |
27 | 27 | ||
28 | #include <qdatetime.h> | 28 | #include <qdatetime.h> |
29 | #include <qpalette.h> | 29 | #include <qpalette.h> |
30 | 30 | ||
31 | class QLabel; | 31 | class QLabel; |
32 | class QTimer; | 32 | class QTimer; |
33 | class DateBookMonth; | 33 | class DateBookMonth; |
34 | 34 | ||
35 | class NewTaskDialog : public NewTaskDialogBase | 35 | class NewTaskDialog : public NewTaskDialogBase |
36 | { | 36 | { |
37 | Q_OBJECT | 37 | Q_OBJECT |
38 | 38 | ||
39 | public: | 39 | public: |
40 | NewTaskDialog( const Task &task, QWidget *parent = 0, const char* name = 0, | 40 | NewTaskDialog( const ToDoEvent &task, QWidget *parent = 0, const char* name = 0, |
41 | bool modal = FALSE, WFlags fl = 0 ); | 41 | bool modal = FALSE, WFlags fl = 0 ); |
42 | NewTaskDialog( int id, QWidget* parent = 0, const char* name = 0, | 42 | NewTaskDialog( int id, QWidget* parent = 0, const char* name = 0, |
43 | bool modal = FALSE, WFlags fl = 0 ); | 43 | bool modal = FALSE, WFlags fl = 0 ); |
44 | ~NewTaskDialog(); | 44 | ~NewTaskDialog(); |
45 | 45 | ||
46 | Task todoEntry(); | 46 | ToDoEvent todoEntry(); |
47 | 47 | ||
48 | protected slots: | 48 | protected slots: |
49 | void dateChanged( int y, int m, int d ); | 49 | void dateChanged( int y, int m, int d ); |
50 | 50 | ||
51 | protected: | 51 | protected: |
52 | virtual void accept(); | 52 | virtual void accept(); |
53 | 53 | ||
54 | private: | 54 | private: |
55 | void init(); | 55 | void init(); |
56 | Task todo; | 56 | ToDoEvent todo; |
57 | QDate date; | 57 | QDate date; |
58 | DateBookMonth *picker; | 58 | DateBookMonth *picker; |
59 | }; | 59 | }; |
60 | 60 | ||
61 | #endif // NEWTASKDIALOG_H | 61 | #endif // NEWTASKDIALOG_H |