summaryrefslogtreecommitdiffstats
path: root/src/configpagebase.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/configpagebase.h')
-rwxr-xr-xsrc/configpagebase.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/configpagebase.h b/src/configpagebase.h
new file mode 100755
index 0000000..802bb2d
--- /dev/null
+++ b/src/configpagebase.h
@@ -0,0 +1,38 @@
+
+
+#ifndef CONFIGPAGEBASE_H
+#define CONFIGPAGEBASE_H
+
+#include <qwidget.h>
+
+/**
+ * @short The base for all pages of the config dialog
+ * @author Daniel Faust <[email protected]>
+ * @version 0.3
+ */
+class ConfigPageBase : public QWidget
+{
+ Q_OBJECT
+public:
+ /**
+ * Constructor
+ */
+ ConfigPageBase( QWidget *parent=0, const char *name=0 );
+
+ /**
+ * Destructor
+ */
+ virtual ~ConfigPageBase();
+
+public slots:
+ virtual void resetDefaults();
+ virtual void saveSettings();
+ void cfgChanged();
+
+signals:
+ void configChanged();
+
+};
+
+#endif // CONFIGPAGEBASE_H
+