summaryrefslogtreecommitdiffabout
path: root/microkde/kcolorbutton.cpp
Unidiff
Diffstat (limited to 'microkde/kcolorbutton.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kcolorbutton.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/microkde/kcolorbutton.cpp b/microkde/kcolorbutton.cpp
index 96dc256..197bea2 100644
--- a/microkde/kcolorbutton.cpp
+++ b/microkde/kcolorbutton.cpp
@@ -18,2 +18,3 @@ void KColorButton:: edit()
18 emit changed ( mColor ); 18 emit changed ( mColor );
19 emit changedID ( mColor, id );
19 } 20 }
@@ -27,2 +28,3 @@ void KColorButton:: edit()
27 emit changed ( mColor ); 28 emit changed ( mColor );
29 emit changedID ( mColor, id );
28 } 30 }
@@ -37,2 +39,3 @@ KColorButton::KColorButton( QWidget *p ):QPushButton( p )
37 setFixedSize( size,size ); 39 setFixedSize( size,size );
40 int id = 0;
38 connect ( this, SIGNAL( clicked() ), this ,SLOT (edit() )); 41 connect ( this, SIGNAL( clicked() ), this ,SLOT (edit() ));
@@ -40,2 +43,6 @@ KColorButton::KColorButton( QWidget *p ):QPushButton( p )
40} 43}
44void KColorButton::setID ( int i)
45{
46 id = i;
47}
41void KColorButton::setColor ( const QColor & c) 48void KColorButton::setColor ( const QColor & c)