summaryrefslogtreecommitdiffstats
path: root/tdeui/tests/khashtest.h
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/tests/khashtest.h')
-rw-r--r--tdeui/tests/khashtest.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/tdeui/tests/khashtest.h b/tdeui/tests/khashtest.h
new file mode 100644
index 000000000..05de5c435
--- /dev/null
+++ b/tdeui/tests/khashtest.h
@@ -0,0 +1,26 @@
+//
+// Simple little hack to show off new diagonal gradients.
+//
+// (C) KDE Artistic Daniel M. Duley <mosfet@kde.org>
+//
+
+#ifndef __KHASH_TEST_H
+#define __KHASH_TEST_H
+
+#include <tqwidget.h>
+#include <kpixmap.h>
+
+class KHashWidget : public TQWidget
+{
+ Q_OBJECT
+
+public:
+ KHashWidget(TQWidget *parent=0, const char *name=0)
+ : TQWidget(parent, name){;}
+protected:
+ void paintEvent(TQPaintEvent *ev);
+private:
+ KPixmap pix;
+};
+
+#endif