author | zecke <zecke> | 2004-09-12 20:27:35 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-09-12 20:27:35 (UTC) |
commit | 00952f16786dcd069820e45df83a00b6c477893b (patch) (side-by-side diff) | |
tree | ceb7ec8add37ea596c4953eab704ec24890cbb31 /libopie2/opiepim/ui/todayconfigwidget.h | |
parent | b78e2e2486cdb69a173cb6ff1910c69f5381d850 (diff) | |
download | opie-00952f16786dcd069820e45df83a00b6c477893b.zip opie-00952f16786dcd069820e45df83a00b6c477893b.tar.gz opie-00952f16786dcd069820e45df83a00b6c477893b.tar.bz2 |
-Define ownership of widget and configwidget
-Implement C'tor and D'tor of TodayConfigWidget
Diffstat (limited to 'libopie2/opiepim/ui/todayconfigwidget.h') (more/less context) (ignore 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 @@ #ifndef CONFIG_WIDGET_H #define CONFIG_WIDGET_H #include <qwidget.h> /** * A base class for all Today Config Widgets. * This will let a Today plugin to add the possibility of configuration. * Plugins need to inherit from this class and need to implement * the pure virtual method to control configuration. * The Plugin should read its configuration during creation of the Widget * * * @author Maximilian Reiß * @short base class of all today config widgets */ class TodayConfigWidget : public QWidget { - + Q_OBJECT public: /** * This will construct the widget. The widget gets deleted once the parent * gets deleted as in any Qt application * * @param parent The parent of the widget * @param name The name of the object */ - TodayConfigWidget( QWidget *parent, const char *name ) : QWidget( parent, name ) {} ; - virtual ~TodayConfigWidget() {}; + TodayConfigWidget( QWidget *parent, const char *name = 0, WFlags fl = 0 ); + virtual ~TodayConfigWidget(); /** * Plugins need to reimplement this in the config widget * Used when the config dialog is closed to write config stuff */ virtual void writeConfig() = 0; }; #endif |