summaryrefslogtreecommitdiff
path: root/libopie/oclickablelabel.h
Unidiff
Diffstat (limited to 'libopie/oclickablelabel.h') (more/less context) (show whitespace changes)
-rw-r--r--libopie/oclickablelabel.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libopie/oclickablelabel.h b/libopie/oclickablelabel.h
index 6e7a123..f93ade0 100644
--- a/libopie/oclickablelabel.h
+++ b/libopie/oclickablelabel.h
@@ -40,25 +40,29 @@ public:
40 void mouseMoveEvent( QMouseEvent *e ); 40 void mouseMoveEvent( QMouseEvent *e );
41 41
42 public slots: 42 public slots:
43 void setOn(bool on); 43 void setOn(bool on);
44 signals: 44 signals:
45 /** 45 /**
46 * emitted when the labels gets clicked 46 * emitted when the labels gets clicked
47 */ 47 */
48 void clicked(); 48 void clicked();
49 49
50 /** 50 /**
51 * emitted when the labels gets toggled 51 * emitted when the labels gets toggled
52 * @param the new new state of the label 52 * @param on the new new state of the label
53 */ 53 */
54 void toggled(bool on); 54 void toggled(bool on);
55 private: 55 private:
56 bool isToggle : 1; 56 bool isToggle : 1;
57 bool isDown : 1; 57 bool isDown : 1;
58 bool textInverted : 1; 58 bool textInverted : 1;
59 59
60 void showState(bool on); 60 void showState(bool on);
61 void setInverted(bool on); 61 void setInverted(bool on);
62
63 private:
64 class Private;
65 Private *d; // private d pointer
62}; 66};
63 67
64#endif 68#endif