-rw-r--r-- | microkde/kcolorbutton.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/microkde/kcolorbutton.h b/microkde/kcolorbutton.h index 88b3774..983771b 100644 --- a/microkde/kcolorbutton.h +++ b/microkde/kcolorbutton.h | |||
@@ -14,13 +14,16 @@ Q_OBJECT | |||
14 | public: | 14 | public: |
15 | KColorButton( QWidget *p ); | 15 | KColorButton( QWidget *p ); |
16 | void setColor ( const QColor &); | 16 | void setColor ( const QColor &); |
17 | void setID ( int i) ; | ||
17 | QColor color() const { return mColor ; } | 18 | QColor color() const { return mColor ; } |
18 | signals: | 19 | signals: |
19 | void changed(const QColor &); | 20 | void changed(const QColor &); |
21 | void changedID(const QColor &, int id); | ||
20 | private slots: | 22 | private slots: |
21 | void edit(); | 23 | void edit(); |
22 | private: | 24 | private: |
23 | QColor mColor; | 25 | QColor mColor; |
26 | int id; | ||
24 | }; | 27 | }; |
25 | 28 | ||
26 | #endif | 29 | #endif |