summaryrefslogtreecommitdiff
authordrw <drw>2004-03-02 16:04:48 (UTC)
committer drw <drw>2004-03-02 16:04:48 (UTC)
commit31f776618b8615074b56dd2d3cdda3002fde671d (patch) (side-by-side diff)
tree4ca9f1c9e1c1174b685a48fab7715e63d11896dd
parent5a384bdb8bec87955ee18c08463abb386f3755fd (diff)
downloadopie-31f776618b8615074b56dd2d3cdda3002fde671d.zip
opie-31f776618b8615074b56dd2d3cdda3002fde671d.tar.gz
opie-31f776618b8615074b56dd2d3cdda3002fde671d.tar.bz2
Added #include <qwidget.h>
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiepim/ui/todayconfigwidget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libopie2/opiepim/ui/todayconfigwidget.h b/libopie2/opiepim/ui/todayconfigwidget.h
index f3501a1..134fbdf 100644
--- a/libopie2/opiepim/ui/todayconfigwidget.h
+++ b/libopie2/opiepim/ui/todayconfigwidget.h
@@ -1,39 +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 {
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() {};
/**
* 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