summaryrefslogtreecommitdiffstats
path: root/kwin-styles/cde/config/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'kwin-styles/cde/config/config.h')
-rw-r--r--kwin-styles/cde/config/config.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/kwin-styles/cde/config/config.h b/kwin-styles/cde/config/config.h
new file mode 100644
index 00000000..723d7b95
--- /dev/null
+++ b/kwin-styles/cde/config/config.h
@@ -0,0 +1,51 @@
+#ifndef __KDE_CDECONFIG_H
+#define __KDE_CDECONFIG_H
+
+#include <qcheckbox.h>
+#include <qgroupbox.h>
+#include <qbuttongroup.h>
+#include <qlabel.h>
+#include <qradiobutton.h>
+#include <qhbox.h>
+#include <kconfig.h>
+
+class QCheckBox;
+class QGroupBox;
+class QVBox;
+class QLabel;
+class QRadioButton;
+
+class CdeConfig: public QObject
+{
+ Q_OBJECT
+
+ public:
+ CdeConfig( KConfig* conf, QWidget* parent );
+ ~CdeConfig();
+
+ // These public signals/slots work similar to KCM modules
+ signals:
+ void changed();
+
+ public slots:
+ void load( KConfig* conf );
+ void save( KConfig* conf );
+ void defaults();
+
+ protected slots:
+ void slotSelectionChanged(); // Internal use
+ void slotSelectionChanged( int );
+
+ private:
+ KConfig* cdeConfig;
+ QCheckBox* cbColorBorder;
+// QCheckBox* cbTitlebarButton;
+ QHBox* groupBox;
+ QGroupBox* gbSlider;
+ QButtonGroup* bgAlign;
+};
+
+
+#endif
+
+// vim: ts=4