Diffstat (limited to 'core/pim/today/plugins/todolist/todopluginwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/today/plugins/todolist/todopluginwidget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/pim/today/plugins/todolist/todopluginwidget.h b/core/pim/today/plugins/todolist/todopluginwidget.h index 37b0ee1..0d0deb5 100644 --- a/core/pim/today/plugins/todolist/todopluginwidget.h +++ b/core/pim/today/plugins/todolist/todopluginwidget.h | |||
@@ -16,12 +16,13 @@ | |||
16 | 16 | ||
17 | #ifndef TODOLIST_PLUGIN_WIDGET_H | 17 | #ifndef TODOLIST_PLUGIN_WIDGET_H |
18 | #define TODOLIST_PLUGIN_WIDGET_H | 18 | #define TODOLIST_PLUGIN_WIDGET_H |
19 | 19 | ||
20 | #include <qstring.h> | 20 | #include <qstring.h> |
21 | #include <qwidget.h> | 21 | #include <qwidget.h> |
22 | #include <qlayout.h> | ||
22 | 23 | ||
23 | #include <opie/otodo.h> | 24 | #include <opie/otodo.h> |
24 | #include <opie/otodoaccess.h> | 25 | #include <opie/otodoaccess.h> |
25 | #include <opie/oclickablelabel.h> | 26 | #include <opie/oclickablelabel.h> |
26 | 27 | ||
27 | 28 | ||
@@ -30,17 +31,20 @@ class TodolistPluginWidget : public QWidget { | |||
30 | Q_OBJECT | 31 | Q_OBJECT |
31 | 32 | ||
32 | public: | 33 | public: |
33 | TodolistPluginWidget( QWidget *parent, const char *name ); | 34 | TodolistPluginWidget( QWidget *parent, const char *name ); |
34 | ~TodolistPluginWidget(); | 35 | ~TodolistPluginWidget(); |
35 | 36 | ||
37 | void refresh(); | ||
38 | |||
36 | protected slots: | 39 | protected slots: |
37 | void startTodolist(); | 40 | void startTodolist(); |
38 | 41 | ||
39 | private: | 42 | private: |
40 | OClickableLabel *todoLabel; | 43 | OClickableLabel *todoLabel; |
44 | QVBoxLayout* layoutTodo; | ||
41 | 45 | ||
42 | OTodoAccess *todo; | 46 | OTodoAccess *todo; |
43 | OTodoAccess::List m_list; | 47 | OTodoAccess::List m_list; |
44 | OTodoAccess::List::Iterator m_it; | 48 | OTodoAccess::List::Iterator m_it; |
45 | 49 | ||
46 | void readConfig(); | 50 | void readConfig(); |