Diffstat (limited to 'core/pim/today/plugins/todolist/todopluginconfig.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/today/plugins/todolist/todopluginconfig.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/core/pim/today/plugins/todolist/todopluginconfig.h b/core/pim/today/plugins/todolist/todopluginconfig.h new file mode 100644 index 0000000..a46cc7c --- a/dev/null +++ b/core/pim/today/plugins/todolist/todopluginconfig.h | |||
@@ -0,0 +1,55 @@ | |||
1 | /* | ||
2 | * todopluginconfig.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_CONFIG_H | ||
18 | #define TODOLIST_PLUGIN_CONFIG_H | ||
19 | |||
20 | #include <qwidget.h> | ||
21 | #include <qspinbox.h> | ||
22 | |||
23 | #include "../../configwidget.h" | ||
24 | |||
25 | class TodolistPluginConfig : public ConfigWidget { | ||
26 | |||
27 | Q_OBJECT | ||
28 | |||
29 | public: | ||
30 | |||
31 | TodolistPluginConfig( QWidget *parent, const char *name ); | ||
32 | ~TodolistPluginConfig(); | ||
33 | |||
34 | private: | ||
35 | /** | ||
36 | * if changed then save | ||
37 | */ | ||
38 | bool changed(); | ||
39 | void readConfig(); | ||
40 | void writeConfig(); | ||
41 | |||
42 | QSpinBox* SpinBox2; | ||
43 | |||
44 | // how many lines should be showed in the todolist section | ||
45 | int m_max_lines_task; | ||
46 | |||
47 | |||
48 | |||
49 | }; | ||
50 | |||
51 | |||
52 | |||
53 | |||
54 | |||
55 | #endif | ||