summaryrefslogtreecommitdiff
path: root/libopie/ocolorbutton.h
authordrw <drw>2002-12-05 17:13:45 (UTC)
committer drw <drw>2002-12-05 17:13:45 (UTC)
commit675ab68194cc25793a18fd9e495958a90aaf0173 (patch) (side-by-side diff)
treee2599a7dbef3184f015593f0b7ffe533c45a5ba5 /libopie/ocolorbutton.h
parent1eb333726ccf7c608b9f987aac1a04d37d35936c (diff)
downloadopie-675ab68194cc25793a18fd9e495958a90aaf0173.zip
opie-675ab68194cc25793a18fd9e495958a90aaf0173.tar.gz
opie-675ab68194cc25793a18fd9e495958a90aaf0173.tar.bz2
Modified OColorButton to pass color to color dialog. Impacts appearance, launcher settings and liquid settings.
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 @@
*/
#ifndef __OPIE_OCOLORBUTTON_H__
-#define __OPIE_OCOLORBUTTON_H__
-
+#define __OPIE_OCOLORBUTTON_H__
+
#include <qpushbutton.h>
class OColorButtonPrivate;
@@ -37,14 +37,14 @@ class QColor;
class OColorButton : public QPushButton {
Q_OBJECT
public:
- OColorButton ( QWidget *parent = 0, const char *name = 0 );
+ OColorButton ( QWidget *parent = 0, const QColor & = black, const char *name = 0 );
virtual ~OColorButton ( );
-
+
QColor color ( ) const;
-
+
signals:
- void colorSelected ( const QColor & );
-
+ void colorSelected ( const QColor & );
+
public slots:
virtual void setColor ( const QColor & );