From b9aad1f15dc600e4dbe4c62d3fcced6363188ba3 Mon Sep 17 00:00:00 2001 From: zautrix Date: Sat, 26 Jun 2004 19:01:18 +0000 Subject: Initial revision --- (limited to 'microkde/kcolorbutton.h') diff --git a/microkde/kcolorbutton.h b/microkde/kcolorbutton.h new file mode 100644 index 0000000..88b3774 --- a/dev/null +++ b/microkde/kcolorbutton.h @@ -0,0 +1,26 @@ +#ifndef MICROKDE_KCOLORBUTTON_H +#define MICROKDE_KCOLORBUTTON_H + +#include +#include +#include +#include +#include + + +class KColorButton : public QPushButton +{ +Q_OBJECT +public: + KColorButton( QWidget *p ); + void setColor ( const QColor &); + QColor color() const { return mColor ; } + signals: + void changed(const QColor &); +private slots: + void edit(); + private: + QColor mColor; +}; + +#endif -- cgit v0.9.0.2