-rw-r--r-- | korganizer/kotodoview.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/korganizer/kotodoview.h b/korganizer/kotodoview.h index ceabdba..8f0c99e 100644 --- a/korganizer/kotodoview.h +++ b/korganizer/kotodoview.h | |||
@@ -31,64 +31,69 @@ | |||
31 | #include <qlistbox.h> | 31 | #include <qlistbox.h> |
32 | #include <qpopupmenu.h> | 32 | #include <qpopupmenu.h> |
33 | #include <qlabel.h> | 33 | #include <qlabel.h> |
34 | #include <qmap.h> | 34 | #include <qmap.h> |
35 | #include <qdialog.h> | 35 | #include <qdialog.h> |
36 | #include <qlabel.h> | 36 | #include <qlabel.h> |
37 | #include <qlistview.h> | 37 | #include <qlistview.h> |
38 | #include <klistview.h> | 38 | #include <klistview.h> |
39 | 39 | ||
40 | #include <libkcal/calendar.h> | 40 | #include <libkcal/calendar.h> |
41 | #include <libkcal/todo.h> | 41 | #include <libkcal/todo.h> |
42 | 42 | ||
43 | #include <korganizer/baseview.h> | 43 | #include <korganizer/baseview.h> |
44 | 44 | ||
45 | #include "kotodoviewitem.h" | 45 | #include "kotodoviewitem.h" |
46 | #include "koprefs.h" | 46 | #include "koprefs.h" |
47 | #include "koglobals.h" | 47 | #include "koglobals.h" |
48 | #include "datenavigator.h" | 48 | #include "datenavigator.h" |
49 | 49 | ||
50 | class QDragEnterEvent; | 50 | class QDragEnterEvent; |
51 | class QDragMoveEvent; | 51 | class QDragMoveEvent; |
52 | class QDragLeaveEvent; | 52 | class QDragLeaveEvent; |
53 | class QDropEvent; | 53 | class QDropEvent; |
54 | class KOTodoViewWhatsThis; | 54 | class KOTodoViewWhatsThis; |
55 | class KDateEdit; | ||
56 | class KOTimeEdit; | ||
55 | 57 | ||
56 | class DocPrefs; | 58 | class DocPrefs; |
57 | 59 | ||
58 | 60 | ||
59 | class KOStopTodoPrefs : public QDialog | 61 | class KOStopTodoPrefs : public QDialog |
60 | { | 62 | { |
61 | Q_OBJECT | 63 | Q_OBJECT |
62 | public: | 64 | public: |
63 | KOStopTodoPrefs( Todo* todo, QWidget *parent=0, const char *name=0 ) ; | 65 | KOStopTodoPrefs( Todo* todo, QWidget *parent=0, const char *name=0 ) ; |
64 | 66 | ||
65 | 67 | ||
66 | private slots: | 68 | private slots: |
67 | void doNotSave(); | 69 | void doNotSave(); |
68 | void accept(); | 70 | void accept(); |
69 | private: | 71 | private: |
70 | Todo* mTodo; | 72 | Todo* mTodo; |
73 | QLineEdit* mComment; | ||
74 | KDateEdit *sde, *ede; | ||
75 | KOTimeEdit *ste, *ete; | ||
71 | 76 | ||
72 | }; | 77 | }; |
73 | 78 | ||
74 | class KOTodoListView : public KListView | 79 | class KOTodoListView : public KListView |
75 | { | 80 | { |
76 | Q_OBJECT | 81 | Q_OBJECT |
77 | public: | 82 | public: |
78 | KOTodoListView(Calendar *,QWidget *parent=0,const char *name=0); | 83 | KOTodoListView(Calendar *,QWidget *parent=0,const char *name=0); |
79 | virtual ~KOTodoListView() {} | 84 | virtual ~KOTodoListView() {} |
80 | 85 | ||
81 | signals: | 86 | signals: |
82 | void paintNeeded(); | 87 | void paintNeeded(); |
83 | void todoDropped(Todo *, int); | 88 | void todoDropped(Todo *, int); |
84 | void double_Clicked(QListViewItem *item); | 89 | void double_Clicked(QListViewItem *item); |
85 | void reparentTodoSignal( Todo *,Todo * ); | 90 | void reparentTodoSignal( Todo *,Todo * ); |
86 | void unparentTodoSignal(Todo *); | 91 | void unparentTodoSignal(Todo *); |
87 | void deleteTodo( Todo * ); | 92 | void deleteTodo( Todo * ); |
88 | protected: | 93 | protected: |
89 | void wheelEvent (QWheelEvent *e); | 94 | void wheelEvent (QWheelEvent *e); |
90 | void contentsDragEnterEvent(QDragEnterEvent *); | 95 | void contentsDragEnterEvent(QDragEnterEvent *); |
91 | void contentsDragMoveEvent(QDragMoveEvent *); | 96 | void contentsDragMoveEvent(QDragMoveEvent *); |
92 | void contentsDragLeaveEvent(QDragLeaveEvent *); | 97 | void contentsDragLeaveEvent(QDragLeaveEvent *); |
93 | void contentsDropEvent(QDropEvent *); | 98 | void contentsDropEvent(QDropEvent *); |
94 | 99 | ||