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 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/core/pim/today/plugins/todolist/todopluginwidget.h b/core/pim/today/plugins/todolist/todopluginwidget.h index 970f430..37b0ee1 100644 --- a/core/pim/today/plugins/todolist/todopluginwidget.h +++ b/core/pim/today/plugins/todolist/todopluginwidget.h | |||
@@ -17,13 +17,14 @@ | |||
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 | 22 | ||
23 | #include <opie/tododb.h> | 23 | #include <opie/otodo.h> |
24 | #include <opie/otodoaccess.h> | ||
24 | #include <opie/oclickablelabel.h> | 25 | #include <opie/oclickablelabel.h> |
25 | 26 | ||
26 | 27 | ||
27 | class TodolistPluginWidget : public QWidget { | 28 | class TodolistPluginWidget : public QWidget { |
28 | 29 | ||
29 | Q_OBJECT | 30 | Q_OBJECT |
@@ -34,13 +35,16 @@ public: | |||
34 | 35 | ||
35 | protected slots: | 36 | protected slots: |
36 | void startTodolist(); | 37 | void startTodolist(); |
37 | 38 | ||
38 | private: | 39 | private: |
39 | OClickableLabel *todoLabel; | 40 | OClickableLabel *todoLabel; |
40 | ToDoDB *todo; | 41 | |
42 | OTodoAccess *todo; | ||
43 | OTodoAccess::List m_list; | ||
44 | OTodoAccess::List::Iterator m_it; | ||
41 | 45 | ||
42 | void readConfig(); | 46 | void readConfig(); |
43 | void getTodo(); | 47 | void getTodo(); |
44 | int m_maxLinesTask; | 48 | int m_maxLinesTask; |
45 | int m_maxCharClip; | 49 | int m_maxCharClip; |
46 | }; | 50 | }; |