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 | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/core/pim/today/plugins/todolist/todopluginwidget.h b/core/pim/today/plugins/todolist/todopluginwidget.h new file mode 100644 index 0000000..ccc312a --- a/dev/null +++ b/core/pim/today/plugins/todolist/todopluginwidget.h | |||
@@ -0,0 +1,47 @@ | |||
1 | /* | ||
2 | * todopluginwidget.h | ||
3 | * | ||
4 | * copyright : (c) 2002 by Maximilian Reiß | ||
5 | * email : harlekin@handhelds.org | ||
6 | * | ||
7 | */ | ||
8 | /*************************************************************************** | ||
9 | * * | ||
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 * | ||
12 | * the Free Software Foundation; either version 2 of the License, or * | ||
13 | * (at your option) any later version. * | ||
14 | * * | ||
15 | ***************************************************************************/ | ||
16 | |||
17 | #ifndef TODOLIST_PLUGIN_WIDGET_H | ||
18 | #define TODOLIST_PLUGIN_WIDGET_H | ||
19 | |||
20 | #include <qstring.h> | ||
21 | #include <qwidget.h> | ||
22 | |||
23 | #include <opie/tododb.h> | ||
24 | #include <opie/oclickablelabel.h> | ||
25 | |||
26 | |||
27 | class TodolistPluginWidget : public QWidget { | ||
28 | |||
29 | Q_OBJECT | ||
30 | |||
31 | public: | ||
32 | TodolistPluginWidget( QWidget *parent, const char *name ); | ||
33 | ~TodolistPluginWidget(); | ||
34 | |||
35 | protected slots: | ||
36 | void startTodolist(); | ||
37 | |||
38 | private: | ||
39 | OClickableLabel *todoLabel; | ||
40 | ToDoDB *todo; | ||
41 | void readConfig(); | ||
42 | void getTodo(); | ||
43 | int m_maxLinesTask; | ||
44 | int m_maxCharClip; | ||
45 | }; | ||
46 | |||
47 | #endif | ||