Diffstat (limited to 'core/pim/today/plugins/todolist') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/today/plugins/todolist/todoplugin.h | 2 | ||||
-rw-r--r-- | core/pim/today/plugins/todolist/todopluginconfig.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/core/pim/today/plugins/todolist/todoplugin.h b/core/pim/today/plugins/todolist/todoplugin.h index 77889d6..7e5006f 100644 --- a/core/pim/today/plugins/todolist/todoplugin.h +++ b/core/pim/today/plugins/todolist/todoplugin.h | |||
@@ -3,45 +3,43 @@ | |||
3 | * | 3 | * |
4 | * copyright : (c) 2002 by Maximilian Reiß | 4 | * copyright : (c) 2002 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_H | 17 | #ifndef TODOLIST_PLUGIN_H |
18 | #define TODOLIST_PLUGIN_H | 18 | #define TODOLIST_PLUGIN_H |
19 | 19 | ||
20 | #include <qstring.h> | 20 | #include <qstring.h> |
21 | #include <qwidget.h> | 21 | #include <qwidget.h> |
22 | 22 | ||
23 | #include <opie/tododb.h> | 23 | #include <opie/tododb.h> |
24 | #include <opie/oclickablelabel.h> | 24 | #include <opie/oclickablelabel.h> |
25 | 25 | ||
26 | #include "../../todayplugininterface.h" | 26 | #include "../../todayplugininterface.h" |
27 | #include "../../configwidget.h" | ||
28 | 27 | ||
29 | class TodolistPlugin : public TodayPluginObject { | 28 | class TodolistPlugin : public TodayPluginObject { |
30 | 29 | ||
31 | |||
32 | public: | 30 | public: |
33 | TodolistPlugin(); | 31 | TodolistPlugin(); |
34 | ~TodolistPlugin(); | 32 | ~TodolistPlugin(); |
35 | 33 | ||
36 | QString pluginName() const; | 34 | QString pluginName() const; |
37 | double versionNumber() const; | 35 | double versionNumber() const; |
38 | QString pixmapNameWidget() const; | 36 | QString pixmapNameWidget() const; |
39 | QWidget* widget(QWidget *); | 37 | QWidget* widget(QWidget *); |
40 | QString pixmapNameConfig() const; | 38 | QString pixmapNameConfig() const; |
41 | ConfigWidget* configWidget(QWidget *); | 39 | ConfigWidget* configWidget(QWidget *); |
42 | QString appName() const; | 40 | QString appName() const; |
43 | virtual int minHeight() const; | 41 | virtual int minHeight() const; |
44 | virtual int maxHeight() const; | 42 | virtual int maxHeight() const; |
45 | }; | 43 | }; |
46 | 44 | ||
47 | #endif | 45 | #endif |
diff --git a/core/pim/today/plugins/todolist/todopluginconfig.h b/core/pim/today/plugins/todolist/todopluginconfig.h index a46cc7c..6be4b1e 100644 --- a/core/pim/today/plugins/todolist/todopluginconfig.h +++ b/core/pim/today/plugins/todolist/todopluginconfig.h | |||
@@ -3,49 +3,48 @@ | |||
3 | * | 3 | * |
4 | * copyright : (c) 2002 by Maximilian Reiß | 4 | * copyright : (c) 2002 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 "../../configwidget.h" | 23 | #include "../../configwidget.h" |
24 | 24 | ||
25 | class TodolistPluginConfig : public ConfigWidget { | 25 | class TodolistPluginConfig : public ConfigWidget { |
26 | 26 | ||
27 | Q_OBJECT | ||
28 | 27 | ||
29 | public: | 28 | public: |
30 | 29 | ||
31 | TodolistPluginConfig( QWidget *parent, const char *name ); | 30 | TodolistPluginConfig( QWidget *parent, const char *name ); |
32 | ~TodolistPluginConfig(); | 31 | ~TodolistPluginConfig(); |
33 | 32 | ||
34 | private: | 33 | private: |
35 | /** | 34 | /** |
36 | * if changed then save | 35 | * if changed then save |
37 | */ | 36 | */ |
38 | bool changed(); | 37 | bool changed(); |
39 | void readConfig(); | 38 | void readConfig(); |
40 | void writeConfig(); | 39 | void writeConfig(); |
41 | 40 | ||
42 | QSpinBox* SpinBox2; | 41 | QSpinBox* SpinBox2; |
43 | 42 | ||
44 | // how many lines should be showed in the todolist section | 43 | // how many lines should be showed in the todolist section |
45 | int m_max_lines_task; | 44 | int m_max_lines_task; |
46 | 45 | ||
47 | 46 | ||
48 | 47 | ||
49 | }; | 48 | }; |
50 | 49 | ||
51 | 50 | ||