author | drw <drw> | 2002-12-23 17:13:12 (UTC) |
---|---|---|
committer | drw <drw> | 2002-12-23 17:13:12 (UTC) |
commit | 1cb75c721b69459494cb599730a96bbc1ddc0f65 (patch) (unidiff) | |
tree | 9a45955d74016b639593c4a888acb4e96e17e9fb /core/pim/todo/otaskeditor.h | |
parent | deb4685b99d6c5917f92ce188ead09fdd9c37859 (diff) | |
download | opie-1cb75c721b69459494cb599730a96bbc1ddc0f65.zip opie-1cb75c721b69459494cb599730a96bbc1ddc0f65.tar.gz opie-1cb75c721b69459494cb599730a96bbc1ddc0f65.tar.bz2 |
Task Editor dialog: 1. added tab icons 2. rearranged the overview tab 3. alarm/reminder tab updates 4. code clean-up. Still need to work on advanced tab and add qwhatsthis.
-rw-r--r-- | core/pim/todo/otaskeditor.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/core/pim/todo/otaskeditor.h b/core/pim/todo/otaskeditor.h index b43abbf..d13e157 100644 --- a/core/pim/todo/otaskeditor.h +++ b/core/pim/todo/otaskeditor.h | |||
@@ -1,43 +1,44 @@ | |||
1 | #ifndef OPIE_TASK_EDITOR_H | 1 | #ifndef OPIE_TASK_EDITOR_H |
2 | #define OPIE_TASK_EDITOR_H | 2 | #define OPIE_TASK_EDITOR_H |
3 | 3 | ||
4 | #include <qdialog.h> | 4 | #include <qdialog.h> |
5 | 5 | ||
6 | #include <opie/otodo.h> | 6 | #include <opie/otodo.h> |
7 | #include <opie/otabwidget.h> | 7 | #include <opie/otabwidget.h> |
8 | 8 | ||
9 | class TaskEditorOverViewImpl; | 9 | class TaskEditorOverView; |
10 | class TaskEditorAdvancedImpl; | 10 | class TaskEditorAdvancedImpl; |
11 | class TaskEditorAlarms; | 11 | class TaskEditorAlarms; |
12 | class ORecurranceWidget; | 12 | class ORecurranceWidget; |
13 | class QMultiLineEdit; | 13 | class QMultiLineEdit; |
14 | |||
14 | class OTaskEditor : public QDialog { | 15 | class OTaskEditor : public QDialog { |
15 | Q_OBJECT | 16 | Q_OBJECT |
16 | public: | 17 | public: |
17 | OTaskEditor(int cur); | 18 | OTaskEditor(int cur); |
18 | OTaskEditor( const OTodo& todo ); | 19 | OTaskEditor( const OTodo& todo ); |
19 | ~OTaskEditor(); | 20 | ~OTaskEditor(); |
20 | 21 | ||
21 | /* | 22 | /* |
22 | * same as the c'tor but this gives us the | 23 | * same as the c'tor but this gives us the |
23 | * power to 'preload' the dialog | 24 | * power to 'preload' the dialog |
24 | */ | 25 | */ |
25 | void init( int cur ); | 26 | void init( int cur ); |
26 | void init( const OTodo& todo ); | 27 | void init( const OTodo& todo ); |
27 | 28 | ||
28 | OTodo todo()const; | 29 | OTodo todo()const; |
29 | private: | 30 | private: |
30 | void load( const OTodo& ); | 31 | void load( const OTodo& ); |
31 | void init(); | 32 | void init(); |
32 | 33 | ||
33 | OTabWidget *m_tab; | 34 | OTabWidget *m_tab; |
34 | TaskEditorOverViewImpl* m_overView; | 35 | TaskEditorOverView *m_overView; |
35 | TaskEditorAdvancedImpl *m_adv; | 36 | TaskEditorAdvancedImpl *m_adv; |
36 | TaskEditorAlarms *m_alarm; | 37 | TaskEditorAlarms *m_alarm; |
37 | TaskEditorAlarms* m_remind; | 38 | TaskEditorAlarms *m_remind; |
38 | ORecurranceWidget* m_rec; | 39 | ORecurranceWidget *m_rec; |
39 | int m_uid; | 40 | int m_uid; |
40 | 41 | ||
41 | }; | 42 | }; |
42 | 43 | ||
43 | #endif | 44 | #endif |