Diffstat (limited to 'core/pim/todo/taskeditoralarms.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/taskeditoralarms.h | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/core/pim/todo/taskeditoralarms.h b/core/pim/todo/taskeditoralarms.h index f77ded5..0aa52cc 100644 --- a/core/pim/todo/taskeditoralarms.h +++ b/core/pim/todo/taskeditoralarms.h | |||
@@ -2,3 +2,3 @@ | |||
2 | =. This file is part of the OPIE Project | 2 | =. This file is part of the OPIE Project |
3 | .=l. Copyright (c) 2002 <> | 3 | .=l. Copyright (c) 2002,2003 <> |
4 | .>+-= | 4 | .>+-= |
@@ -34,5 +34,9 @@ | |||
34 | class QListView; | 34 | class QListView; |
35 | class QListViewItem; | ||
36 | class OTodo; | ||
35 | 37 | ||
38 | class AlarmItem; | ||
39 | class DateBookMonth; | ||
36 | class TaskEditorAlarms : public QWidget | 40 | class TaskEditorAlarms : public QWidget |
37 | { | 41 | { |
38 | Q_OBJECT | 42 | Q_OBJECT |
@@ -40,6 +44,21 @@ class TaskEditorAlarms : public QWidget | |||
40 | public: | 44 | public: |
41 | TaskEditorAlarms( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | 45 | enum Type { |
46 | Alarm = 0, | ||
47 | Reminders | ||
48 | }; | ||
49 | TaskEditorAlarms( QWidget* parent = 0, int type = Alarm, const char* name = 0, WFlags fl = 0 ); | ||
42 | ~TaskEditorAlarms(); | 50 | ~TaskEditorAlarms(); |
51 | void load( const OTodo& ); | ||
52 | void save( OTodo& ); | ||
53 | private: | ||
54 | QPopupMenu* popup( int column ); | ||
55 | void inlineSetDate( AlarmItem*, const QPoint& p ); | ||
56 | void inlineSetTime( AlarmItem*); | ||
57 | void inlineSetType( AlarmItem*, const QPoint& p ); | ||
43 | 58 | ||
44 | QListView* lstAlarms; | 59 | QListView* lstAlarms; |
60 | QPopupMenu* m_date; | ||
61 | QPopupMenu* m_time; | ||
62 | QPopupMenu* m_type; | ||
63 | DateBookMonth* m_dbMonth; | ||
45 | 64 | ||
@@ -49,2 +68,3 @@ protected slots: | |||
49 | void slotDelete(); | 68 | void slotDelete(); |
69 | void inlineEdit( QListViewItem*, const QPoint& p, int ); | ||
50 | }; | 70 | }; |