-rw-r--r-- | libqtaux/ocolorbutton.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libqtaux/ocolorbutton.h b/libqtaux/ocolorbutton.h index ca68f1f..10b77d5 100644 --- a/libqtaux/ocolorbutton.h +++ b/libqtaux/ocolorbutton.h @@ -33,48 +33,51 @@ /* QT*/ #include <qpushbutton.h> class OColorButtonPrivate; class QColor; namespace Opie { /** * * @short A Button which will show a OColorPopupMenu * @author Robert Griebl ( sandman@handhelds.org ) * @version 1.0 * @see QPushButton */ class OColorButton : public QPushButton { Q_OBJECT public: OColorButton ( QWidget *parent = 0, const QColor & = black, const char *name = 0 ); virtual ~OColorButton ( ); QColor color ( ) const; + +protected: + void resizeEvent( QResizeEvent* ); signals: /** * emitted when a color gets selected */ void colorSelected ( const QColor & ); public slots: virtual void setColor ( const QColor & ); protected slots: /** * @internal */ virtual void updateColor ( const QColor & ); private: OColorButtonPrivate *d; }; }; #endif |