Diffstat (limited to 'core/pim/today/plugins/datebook/datebookpluginconfig.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/today/plugins/datebook/datebookpluginconfig.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/core/pim/today/plugins/datebook/datebookpluginconfig.h b/core/pim/today/plugins/datebook/datebookpluginconfig.h new file mode 100644 index 0000000..33d3c4e --- a/dev/null +++ b/core/pim/today/plugins/datebook/datebookpluginconfig.h | |||
@@ -0,0 +1,48 @@ | |||
1 | |||
2 | #ifndef DATEBOOK_PLUGIN_CONFIG_H | ||
3 | #define DATEBOOK_PLUGIN_CONFIG_H | ||
4 | |||
5 | #include <qwidget.h> | ||
6 | #include <qcheckbox.h> | ||
7 | #include <qspinbox.h> | ||
8 | |||
9 | #include "../../configwidget.h" | ||
10 | |||
11 | class DatebookPluginConfig : public ConfigWidget { | ||
12 | |||
13 | Q_OBJECT | ||
14 | |||
15 | public: | ||
16 | DatebookPluginConfig( QWidget *parent, const char *name ); | ||
17 | ~DatebookPluginConfig(); | ||
18 | |||
19 | void writeConfig(); | ||
20 | private: | ||
21 | /** | ||
22 | * if changed then save | ||
23 | */ | ||
24 | bool changed(); | ||
25 | void readConfig(); | ||
26 | |||
27 | QCheckBox* CheckBox2; | ||
28 | QCheckBox* CheckBox1; | ||
29 | QCheckBox* CheckBox3; | ||
30 | QSpinBox* SpinBox1; | ||
31 | |||
32 | // how many lines should be showed in the datebook section | ||
33 | int m_max_lines_meet; | ||
34 | // If location is to be showed too, 1 to activate it. | ||
35 | int m_show_location; | ||
36 | // if notes should be shown | ||
37 | int m_show_notes; | ||
38 | // should only later appointments be shown or all for the current day. | ||
39 | int m_only_later; | ||
40 | |||
41 | |||
42 | }; | ||
43 | |||
44 | |||
45 | |||
46 | |||
47 | |||
48 | #endif | ||