summaryrefslogtreecommitdiff
path: root/libopie/ocolorbutton.h
Unidiff
Diffstat (limited to 'libopie/ocolorbutton.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/ocolorbutton.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/libopie/ocolorbutton.h b/libopie/ocolorbutton.h
index ec04833..fe40fae 100644
--- a/libopie/ocolorbutton.h
+++ b/libopie/ocolorbutton.h
@@ -27,8 +27,8 @@
27*/ 27*/
28 28
29#ifndef __OPIE_OCOLORBUTTON_H__ 29#ifndef __OPIE_OCOLORBUTTON_H__
30 #define __OPIE_OCOLORBUTTON_H__ 30#define __OPIE_OCOLORBUTTON_H__
31 31
32#include <qpushbutton.h> 32#include <qpushbutton.h>
33 33
34class OColorButtonPrivate; 34class OColorButtonPrivate;
@@ -37,14 +37,14 @@ class QColor;
37class OColorButton : public QPushButton { 37class OColorButton : public QPushButton {
38 Q_OBJECT 38 Q_OBJECT
39public: 39public:
40 OColorButton ( QWidget *parent = 0, const char *name = 0 ); 40 OColorButton ( QWidget *parent = 0, const QColor & = black, const char *name = 0 );
41 virtual ~OColorButton ( ); 41 virtual ~OColorButton ( );
42 42
43 QColor color ( ) const; 43 QColor color ( ) const;
44 44
45signals: 45signals:
46 void colorSelected ( const QColor & ); 46 void colorSelected ( const QColor & );
47 47
48public slots: 48public slots:
49 virtual void setColor ( const QColor & ); 49 virtual void setColor ( const QColor & );
50 50