summaryrefslogtreecommitdiffabout
path: root/korganizer/kofilterview.h
authorzautrix <zautrix>2005-06-15 19:45:57 (UTC)
committer zautrix <zautrix>2005-06-15 19:45:57 (UTC)
commite17a686fcfab42a71f25e9f0a4c3a395ec41a7b1 (patch) (unidiff)
tree3974dde9d4f9a5c8d3f6af724cafb3206d08f3cc /korganizer/kofilterview.h
parentccfe3f97afd65c75ee6c7c931cb3694919a4e29b (diff)
downloadkdepimpi-e17a686fcfab42a71f25e9f0a4c3a395ec41a7b1.zip
kdepimpi-e17a686fcfab42a71f25e9f0a4c3a395ec41a7b1.tar.gz
kdepimpi-e17a686fcfab42a71f25e9f0a4c3a395ec41a7b1.tar.bz2
fixxx
Diffstat (limited to 'korganizer/kofilterview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kofilterview.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/korganizer/kofilterview.h b/korganizer/kofilterview.h
index e2ebdd4..3ab316f 100644
--- a/korganizer/kofilterview.h
+++ b/korganizer/kofilterview.h
@@ -42,12 +42,13 @@ class KOCalButton : public QPushButton
42 KOCalButton( QWidget *parent=0, const char *name=0 ) : 42 KOCalButton( QWidget *parent=0, const char *name=0 ) :
43 QPushButton( parent, name) 43 QPushButton( parent, name)
44 { 44 {
45 connect( this, SIGNAL( clicked() ), 45 connect( this, SIGNAL( clicked() ),
46 SLOT( bottonClicked() )); 46 SLOT( bottonClicked() ));
47 mNumber = -1; 47 mNumber = -1;
48 setFocusPolicy(NoFocus);
48 } 49 }
49 void setNum ( int num ) {mNumber = num; } 50 void setNum ( int num ) {mNumber = num; }
50 signals: 51 signals:
51 void selectNum ( int ); 52 void selectNum ( int );
52private: 53private:
53 int mNumber; 54 int mNumber;
@@ -66,12 +67,13 @@ class KOCalCheckButton : public QCheckBox
66 KOCalCheckButton( QWidget *parent=0, const char *name=0 ) : 67 KOCalCheckButton( QWidget *parent=0, const char *name=0 ) :
67 QCheckBox( parent, name) 68 QCheckBox( parent, name)
68 { 69 {
69 connect( this, SIGNAL( toggled ( bool ) ), 70 connect( this, SIGNAL( toggled ( bool ) ),
70 SLOT( bottonClicked( bool ) )); 71 SLOT( bottonClicked( bool ) ));
71 mNumber = -1; 72 mNumber = -1;
73 setFocusPolicy(NoFocus);
72 //setMaximumWidth( 10 ); 74 //setMaximumWidth( 10 );
73 75
74 } 76 }
75 void setNum ( int num ) {mNumber = num; } 77 void setNum ( int num ) {mNumber = num; }
76 signals: 78 signals:
77 void selectNum ( int, bool ); 79 void selectNum ( int, bool );