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