-rw-r--r-- | core/pim/today/plugins/datebook/datebookpluginconfig.h | 2 | ||||
-rw-r--r-- | core/pim/today/plugins/todolist/todopluginconfig.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/core/pim/today/plugins/datebook/datebookpluginconfig.h b/core/pim/today/plugins/datebook/datebookpluginconfig.h index be00aad..bc412dd 100644 --- a/core/pim/today/plugins/datebook/datebookpluginconfig.h +++ b/core/pim/today/plugins/datebook/datebookpluginconfig.h | |||
@@ -1,60 +1,60 @@ | |||
1 | /* | 1 | /* |
2 | * datebookpluginconfig.h | 2 | * datebookpluginconfig.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 DATEBOOK_PLUGIN_CONFIG_H | 17 | #ifndef DATEBOOK_PLUGIN_CONFIG_H |
18 | #define DATEBOOK_PLUGIN_CONFIG_H | 18 | #define DATEBOOK_PLUGIN_CONFIG_H |
19 | 19 | ||
20 | 20 | ||
21 | #include <qcheckbox.h> | 21 | #include <qcheckbox.h> |
22 | #include <qspinbox.h> | 22 | #include <qspinbox.h> |
23 | 23 | ||
24 | #include <opie/todayconfigwidget.h> | 24 | #include <opie/todayconfigwidget.h> |
25 | 25 | ||
26 | class DatebookPluginConfig : public TodayConfigWidget { | 26 | class DatebookPluginConfig : public TodayConfigWidget { |
27 | 27 | ||
28 | 28 | Q_OBJECT | |
29 | 29 | ||
30 | public: | 30 | public: |
31 | DatebookPluginConfig( QWidget *parent, const char *name ); | 31 | DatebookPluginConfig( QWidget *parent, const char *name ); |
32 | ~DatebookPluginConfig(); | 32 | ~DatebookPluginConfig(); |
33 | 33 | ||
34 | void writeConfig(); | 34 | void writeConfig(); |
35 | private: | 35 | private: |
36 | /** | 36 | /** |
37 | * if changed then save | 37 | * if changed then save |
38 | */ | 38 | */ |
39 | bool changed(); | 39 | bool changed(); |
40 | void readConfig(); | 40 | void readConfig(); |
41 | 41 | ||
42 | QCheckBox* CheckBox2; | 42 | QCheckBox* CheckBox2; |
43 | QCheckBox* CheckBox1; | 43 | QCheckBox* CheckBox1; |
44 | QCheckBox* CheckBox3; | 44 | QCheckBox* CheckBox3; |
45 | QSpinBox* SpinBox1; | 45 | QSpinBox* SpinBox1; |
46 | QSpinBox* SpinBox2; | 46 | QSpinBox* SpinBox2; |
47 | 47 | ||
48 | 48 | ||
49 | // how many lines should be showed in the datebook section | 49 | // how many lines should be showed in the datebook section |
50 | int m_max_lines_meet; | 50 | int m_max_lines_meet; |
51 | // If location is to be showed too, 1 to activate it. | 51 | // If location is to be showed too, 1 to activate it. |
52 | int m_show_location; | 52 | int m_show_location; |
53 | // if notes should be shown | 53 | // if notes should be shown |
54 | int m_show_notes; | 54 | int m_show_notes; |
55 | // should only later appointments be shown or all for the current day. | 55 | // should only later appointments be shown or all for the current day. |
56 | int m_only_later; | 56 | int m_only_later; |
57 | int m_more_days; | 57 | int m_more_days; |
58 | 58 | ||
59 | }; | 59 | }; |
60 | 60 | ||
diff --git a/core/pim/today/plugins/todolist/todopluginconfig.h b/core/pim/today/plugins/todolist/todopluginconfig.h index a98384c..e09251c 100644 --- a/core/pim/today/plugins/todolist/todopluginconfig.h +++ b/core/pim/today/plugins/todolist/todopluginconfig.h | |||
@@ -1,57 +1,58 @@ | |||
1 | /* | 1 | /* |
2 | * todopluginconfig.h | 2 | * todopluginconfig.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_CONFIG_H | 17 | #ifndef TODOLIST_PLUGIN_CONFIG_H |
18 | #define TODOLIST_PLUGIN_CONFIG_H | 18 | #define TODOLIST_PLUGIN_CONFIG_H |
19 | 19 | ||
20 | //#include <qwidget.h> | 20 | //#include <qwidget.h> |
21 | #include <qspinbox.h> | 21 | #include <qspinbox.h> |
22 | 22 | ||
23 | #include <opie/todayconfigwidget.h> | 23 | #include <opie/todayconfigwidget.h> |
24 | 24 | ||
25 | class TodolistPluginConfig : public TodayConfigWidget { | 25 | class TodolistPluginConfig : public TodayConfigWidget { |
26 | 26 | ||
27 | Q_OBJECT | ||
27 | 28 | ||
28 | public: | 29 | public: |
29 | 30 | ||
30 | TodolistPluginConfig( QWidget *parent, const char *name ); | 31 | TodolistPluginConfig( QWidget *parent, const char *name ); |
31 | ~TodolistPluginConfig(); | 32 | ~TodolistPluginConfig(); |
32 | 33 | ||
33 | private: | 34 | private: |
34 | /** | 35 | /** |
35 | * if changed then save | 36 | * if changed then save |
36 | */ | 37 | */ |
37 | bool changed(); | 38 | bool changed(); |
38 | void readConfig(); | 39 | void readConfig(); |
39 | void writeConfig(); | 40 | void writeConfig(); |
40 | 41 | ||
41 | QSpinBox* SpinBox2; | 42 | QSpinBox* SpinBox2; |
42 | QSpinBox* SpinBoxClip; | 43 | QSpinBox* SpinBoxClip; |
43 | 44 | ||
44 | // how many lines should be showed in the todolist section | 45 | // how many lines should be showed in the todolist section |
45 | int m_max_lines_task; | 46 | int m_max_lines_task; |
46 | // clip the lines after X chars | 47 | // clip the lines after X chars |
47 | int m_maxCharClip; | 48 | int m_maxCharClip; |
48 | 49 | ||
49 | 50 | ||
50 | 51 | ||
51 | }; | 52 | }; |
52 | 53 | ||
53 | 54 | ||
54 | 55 | ||
55 | 56 | ||
56 | 57 | ||
57 | #endif | 58 | #endif |