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 | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/core/pim/today/plugins/todolist/todopluginwidget.h b/core/pim/today/plugins/todolist/todopluginwidget.h index a020cf4..86a9f27 100644 --- a/core/pim/today/plugins/todolist/todopluginwidget.h +++ b/core/pim/today/plugins/todolist/todopluginwidget.h | |||
@@ -1,55 +1,54 @@ | |||
1 | /* | 1 | /* |
2 | * todopluginwidget.h | 2 | * todopluginwidget.h |
3 | * | 3 | * |
4 | * copyright : (c) 2002, 2003 by Maximilian Reiß | 4 | * copyright : (c) 2002, 2003 by Maximilian Reiß |
5 | * email : harlekin@handhelds.org | 5 | * email : harlekin@handhelds.org |
6 | * | 6 | * |
7 | */ | 7 | */ |
8 | /*************************************************************************** | 8 | /*************************************************************************** |
9 | * * | 9 | * * |
10 | * This program is free software; you can redistribute it and/or modify * | 10 | * This program is free software; you can redistribute it and/or modify * |
11 | * it under the terms of the GNU General Public License as published by * | 11 | * it under the terms of the GNU General Public License as published by * |
12 | * the Free Software Foundation; either version 2 of the License, or * | 12 | * the Free Software Foundation; either version 2 of the License, or * |
13 | * (at your option) any later version. * | 13 | * (at your option) any later version. * |
14 | * * | 14 | * * |
15 | ***************************************************************************/ | 15 | ***************************************************************************/ |
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 <qlayout.h> | 20 | #include <qlayout.h> |
21 | 21 | ||
22 | #include <opie2/otodoaccess.h> | 22 | #include <opie2/otodoaccess.h> |
23 | #include <opie2/oclickablelabel.h> | 23 | #include <opie2/oclickablelabel.h> |
24 | 24 | ||
25 | using namespace Opie; | ||
26 | 25 | ||
27 | class TodolistPluginWidget : public QWidget { | 26 | class TodolistPluginWidget : public QWidget { |
28 | 27 | ||
29 | Q_OBJECT | 28 | Q_OBJECT |
30 | 29 | ||
31 | public: | 30 | public: |
32 | TodolistPluginWidget( QWidget *parent, const char *name ); | 31 | TodolistPluginWidget( QWidget *parent, const char *name ); |
33 | ~TodolistPluginWidget(); | 32 | ~TodolistPluginWidget(); |
34 | 33 | ||
35 | void refresh(); | 34 | void refresh(); |
36 | void reinitialize(); | 35 | void reinitialize(); |
37 | 36 | ||
38 | protected slots: | 37 | protected slots: |
39 | void startTodolist(); | 38 | void startTodolist(); |
40 | 39 | ||
41 | private: | 40 | private: |
42 | OClickableLabel *todoLabel; | 41 | Opie::Ui::OClickableLabel *todoLabel; |
43 | QVBoxLayout* layoutTodo; | 42 | QVBoxLayout* layoutTodo; |
44 | 43 | ||
45 | OPimTodoAccess *todo; | 44 | Opie::OPimTodoAccess *todo; |
46 | OPimTodoAccess::List m_list; | 45 | Opie::OPimTodoAccess::List m_list; |
47 | OPimTodoAccess::List::Iterator m_it; | 46 | Opie::OPimTodoAccess::List::Iterator m_it; |
48 | 47 | ||
49 | void readConfig(); | 48 | void readConfig(); |
50 | void getTodo(); | 49 | void getTodo(); |
51 | int m_maxLinesTask; | 50 | int m_maxLinesTask; |
52 | int m_maxCharClip; | 51 | int m_maxCharClip; |
53 | }; | 52 | }; |
54 | 53 | ||
55 | #endif | 54 | #endif |