diff options
Diffstat (limited to 'kdeui/tests/khashtest.h')
-rw-r--r-- | kdeui/tests/khashtest.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/kdeui/tests/khashtest.h b/kdeui/tests/khashtest.h new file mode 100644 index 000000000..24a01c4f1 --- /dev/null +++ b/kdeui/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 <qwidget.h> +#include <kpixmap.h> + +class KHashWidget : public QWidget +{ + Q_OBJECT + +public: + KHashWidget(QWidget *parent=0, const char *name=0) + : QWidget(parent, name){;} +protected: + void paintEvent(QPaintEvent *ev); +private: + KPixmap pix; +}; + +#endif |