-rw-r--r-- | libopie/ocolorbutton.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libopie/ocolorbutton.h b/libopie/ocolorbutton.h index 338e654..7ff9cd2 100644 --- a/libopie/ocolorbutton.h +++ b/libopie/ocolorbutton.h | |||
@@ -41,26 +41,32 @@ class QColor; | |||
41 | * @version 1.0 | 41 | * @version 1.0 |
42 | * @see QPushButton | 42 | * @see QPushButton |
43 | */ | 43 | */ |
44 | class OColorButton : public QPushButton { | 44 | class OColorButton : public QPushButton { |
45 | Q_OBJECT | 45 | Q_OBJECT |
46 | public: | 46 | public: |
47 | OColorButton ( QWidget *parent = 0, const QColor & = black, const char *name = 0 ); | 47 | OColorButton ( QWidget *parent = 0, const QColor & = black, const char *name = 0 ); |
48 | virtual ~OColorButton ( ); | 48 | virtual ~OColorButton ( ); |
49 | 49 | ||
50 | QColor color ( ) const; | 50 | QColor color ( ) const; |
51 | 51 | ||
52 | signals: | 52 | signals: |
53 | /** | ||
54 | * emitted when a color gets selected | ||
55 | */ | ||
53 | void colorSelected ( const QColor & ); | 56 | void colorSelected ( const QColor & ); |
54 | 57 | ||
55 | public slots: | 58 | public slots: |
56 | virtual void setColor ( const QColor & ); | 59 | virtual void setColor ( const QColor & ); |
57 | 60 | ||
58 | protected slots: | 61 | protected slots: |
62 | /** | ||
63 | * @internal | ||
64 | */ | ||
59 | virtual void updateColor ( const QColor & ); | 65 | virtual void updateColor ( const QColor & ); |
60 | 66 | ||
61 | private: | 67 | private: |
62 | OColorButtonPrivate *d; | 68 | OColorButtonPrivate *d; |
63 | }; | 69 | }; |
64 | 70 | ||
65 | #endif | 71 | #endif |
66 | 72 | ||