Diffstat (limited to 'libopie2/opiepim/ui/todayconfigwidget.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiepim/ui/todayconfigwidget.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libopie2/opiepim/ui/todayconfigwidget.h b/libopie2/opiepim/ui/todayconfigwidget.h index 134fbdf..5048998 100644 --- a/libopie2/opiepim/ui/todayconfigwidget.h +++ b/libopie2/opiepim/ui/todayconfigwidget.h | |||
@@ -1,40 +1,40 @@ | |||
1 | 1 | ||
2 | #ifndef CONFIG_WIDGET_H | 2 | #ifndef CONFIG_WIDGET_H |
3 | #define CONFIG_WIDGET_H | 3 | #define CONFIG_WIDGET_H |
4 | 4 | ||
5 | #include <qwidget.h> | 5 | #include <qwidget.h> |
6 | 6 | ||
7 | /** | 7 | /** |
8 | * A base class for all Today Config Widgets. | 8 | * A base class for all Today Config Widgets. |
9 | * This will let a Today plugin to add the possibility of configuration. | 9 | * This will let a Today plugin to add the possibility of configuration. |
10 | * Plugins need to inherit from this class and need to implement | 10 | * Plugins need to inherit from this class and need to implement |
11 | * the pure virtual method to control configuration. | 11 | * the pure virtual method to control configuration. |
12 | * The Plugin should read its configuration during creation of the Widget | 12 | * The Plugin should read its configuration during creation of the Widget |
13 | * | 13 | * |
14 | * | 14 | * |
15 | * @author Maximilian Reiß | 15 | * @author Maximilian Reiß |
16 | * @short base class of all today config widgets | 16 | * @short base class of all today config widgets |
17 | */ | 17 | */ |
18 | class TodayConfigWidget : public QWidget { | 18 | class TodayConfigWidget : public QWidget { |
19 | 19 | Q_OBJECT | |
20 | 20 | ||
21 | public: | 21 | public: |
22 | 22 | ||
23 | /** | 23 | /** |
24 | * This will construct the widget. The widget gets deleted once the parent | 24 | * This will construct the widget. The widget gets deleted once the parent |
25 | * gets deleted as in any Qt application | 25 | * gets deleted as in any Qt application |
26 | * | 26 | * |
27 | * @param parent The parent of the widget | 27 | * @param parent The parent of the widget |
28 | * @param name The name of the object | 28 | * @param name The name of the object |
29 | */ | 29 | */ |
30 | TodayConfigWidget( QWidget *parent, const char *name ) : QWidget( parent, name ) {} ; | 30 | TodayConfigWidget( QWidget *parent, const char *name = 0, WFlags fl = 0 ); |
31 | virtual ~TodayConfigWidget() {}; | 31 | virtual ~TodayConfigWidget(); |
32 | 32 | ||
33 | /** | 33 | /** |
34 | * Plugins need to reimplement this in the config widget | 34 | * Plugins need to reimplement this in the config widget |
35 | * Used when the config dialog is closed to write config stuff | 35 | * Used when the config dialog is closed to write config stuff |
36 | */ | 36 | */ |
37 | virtual void writeConfig() = 0; | 37 | virtual void writeConfig() = 0; |
38 | }; | 38 | }; |
39 | 39 | ||
40 | #endif | 40 | #endif |