summaryrefslogtreecommitdiff
path: root/libopie2/opiesecurity/multiauthconfigwidget.h
Side-by-side diff
Diffstat (limited to 'libopie2/opiesecurity/multiauthconfigwidget.h') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiesecurity/multiauthconfigwidget.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libopie2/opiesecurity/multiauthconfigwidget.h b/libopie2/opiesecurity/multiauthconfigwidget.h
index cd6f047..2ed8fc0 100644
--- a/libopie2/opiesecurity/multiauthconfigwidget.h
+++ b/libopie2/opiesecurity/multiauthconfigwidget.h
@@ -32,16 +32,19 @@
*/
#ifndef MULTIAUTHCONFIGWIDGET_H
#define MULTIAUTHCONFIGWIDGET_H
#include <qwidget.h>
#include <qobject.h>
+namespace Opie {
+namespace Security {
+
/// Base class of all Opie multiauth config widgets
/**
* A base class for all Opie Multiauth Config Widgets.
* This will let a Opie multiauth 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
*
@@ -58,11 +61,18 @@ class MultiauthConfigWidget : public QWidget {
virtual ~MultiauthConfigWidget() {}
/// Method to reimplement, supposed to save the plugin configuration
/**
* Plugins need to reimplement this in the config widget
* Used when the config dialog is closed to write config stuff
*/
virtual void writeConfig() = 0;
+
+ private:
+ struct Private;
+ Private *d;
};
+}
+}
+
#endif // MULTIAUTHCONFIGWIDGET_H