summaryrefslogtreecommitdiffstats
path: root/kdeui/tests/kdualcolortest.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdeui/tests/kdualcolortest.h')
-rw-r--r--kdeui/tests/kdualcolortest.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/kdeui/tests/kdualcolortest.h b/kdeui/tests/kdualcolortest.h
new file mode 100644
index 000000000..6a0c49452
--- /dev/null
+++ b/kdeui/tests/kdualcolortest.h
@@ -0,0 +1,20 @@
+#ifndef __KDUALCOLORTEST_H
+#define __KDUALCOLORTEST_H
+
+#include <qlabel.h>
+#include <kdualcolorbutton.h>
+
+class KDualColorWidget : public QWidget
+{
+ Q_OBJECT
+public:
+ KDualColorWidget(QWidget *parent=0, const char *name=0);
+protected slots:
+ void slotFgChanged(const QColor &c);
+ void slotBgChanged(const QColor &c);
+ void slotCurrentChanged(KDualColorButton::DualColor current);
+protected:
+ QLabel *lbl;
+};
+
+#endif