summaryrefslogtreecommitdiff
path: root/core/pim/todo/taskeditoralarms.h
Unidiff
Diffstat (limited to 'core/pim/todo/taskeditoralarms.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/taskeditoralarms.h9
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
34class QListView; 36class QListView;
35class QListViewItem; 37class QListViewItem;
36class OTodo; 38
39using namespace Opie;
37 40
38class AlarmItem; 41class AlarmItem;
39class DateBookMonth; 42class DateBookMonth;
40class TaskEditorAlarms : public QWidget 43class TaskEditorAlarms : public QWidget
41{ 44{
42 Q_OBJECT 45 Q_OBJECT
43 46
44public: 47public:
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& );
53private: 56private:
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