author | harlekin <harlekin> | 2003-05-19 11:20:21 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-05-19 11:20:21 (UTC) |
commit | 250291019cac863e50ffce981a9c93b627448253 (patch) (unidiff) | |
tree | 41079f5af7061e26788429c1b316fe51bb3c8834 | |
parent | 586dea6e61c766da49ba6cb55dd71851c0fafad3 (diff) | |
download | opie-250291019cac863e50ffce981a9c93b627448253.zip opie-250291019cac863e50ffce981a9c93b627448253.tar.gz opie-250291019cac863e50ffce981a9c93b627448253.tar.bz2 |
translatable
-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 | |||
@@ -4,49 +4,49 @@ | |||
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; |
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 | |||
@@ -3,48 +3,49 @@ | |||
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 | ||