Diffstat (limited to 'core/pim/todo/taskeditoralarms.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/taskeditoralarms.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/core/pim/todo/taskeditoralarms.h b/core/pim/todo/taskeditoralarms.h index 0aa52cc..2379b0c 100644 --- a/core/pim/todo/taskeditoralarms.h +++ b/core/pim/todo/taskeditoralarms.h | |||
@@ -20,45 +20,48 @@ | |||
20 | -. .:....=;==+<; You should have received a copy of the GNU | 20 | -. .:....=;==+<; You should have received a copy of the GNU |
21 | -_. . . )=. = General Public License along with | 21 | -_. . . )=. = General Public License along with |
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 TASKEDITORALARMS_H | 29 | #ifndef TASKEDITORALARMS_H |
30 | #define TASKEDITORALARMS_H | 30 | #define TASKEDITORALARMS_H |
31 | 31 | ||
32 | #include <opie2/opimtodo.h> | ||
33 | |||
32 | #include <qwidget.h> | 34 | #include <qwidget.h> |
33 | 35 | ||
34 | class QListView; | 36 | class QListView; |
35 | class QListViewItem; | 37 | class QListViewItem; |
36 | class OTodo; | 38 | |
39 | using namespace Opie; | ||
37 | 40 | ||
38 | class AlarmItem; | 41 | class AlarmItem; |
39 | class DateBookMonth; | 42 | class DateBookMonth; |
40 | class TaskEditorAlarms : public QWidget | 43 | class TaskEditorAlarms : public QWidget |
41 | { | 44 | { |
42 | Q_OBJECT | 45 | Q_OBJECT |
43 | 46 | ||
44 | public: | 47 | public: |
45 | enum Type { | 48 | enum Type { |
46 | Alarm = 0, | 49 | Alarm = 0, |
47 | Reminders | 50 | Reminders |
48 | }; | 51 | }; |
49 | TaskEditorAlarms( QWidget* parent = 0, int type = Alarm, const char* name = 0, WFlags fl = 0 ); | 52 | TaskEditorAlarms( QWidget* parent = 0, int type = Alarm, const char* name = 0, WFlags fl = 0 ); |
50 | ~TaskEditorAlarms(); | 53 | ~TaskEditorAlarms(); |
51 | void load( const OTodo& ); | 54 | void load( const OPimTodo& ); |
52 | void save( OTodo& ); | 55 | void save( OPimTodo& ); |
53 | private: | 56 | private: |
54 | QPopupMenu* popup( int column ); | 57 | QPopupMenu* popup( int column ); |
55 | void inlineSetDate( AlarmItem*, const QPoint& p ); | 58 | void inlineSetDate( AlarmItem*, const QPoint& p ); |
56 | void inlineSetTime( AlarmItem*); | 59 | void inlineSetTime( AlarmItem*); |
57 | void inlineSetType( AlarmItem*, const QPoint& p ); | 60 | void inlineSetType( AlarmItem*, const QPoint& p ); |
58 | 61 | ||
59 | QListView* lstAlarms; | 62 | QListView* lstAlarms; |
60 | QPopupMenu* m_date; | 63 | QPopupMenu* m_date; |
61 | QPopupMenu* m_time; | 64 | QPopupMenu* m_time; |
62 | QPopupMenu* m_type; | 65 | QPopupMenu* m_type; |
63 | DateBookMonth* m_dbMonth; | 66 | DateBookMonth* m_dbMonth; |
64 | 67 | ||