-rw-r--r-- | libopie/oclickablelabel.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libopie/oclickablelabel.h b/libopie/oclickablelabel.h index 4b6dcbc..6e7a123 100644 --- a/libopie/oclickablelabel.h +++ b/libopie/oclickablelabel.h | |||
@@ -31,16 +31,27 @@ public: | |||
31 | WFlags fl = 0); | 31 | WFlags fl = 0); |
32 | void setToggleButton(bool t); | 32 | void setToggleButton(bool t); |
33 | 33 | ||
34 | protected: | 34 | protected: |
35 | /** @internal */ | ||
35 | void mousePressEvent( QMouseEvent *e ); | 36 | void mousePressEvent( QMouseEvent *e ); |
37 | /** @internal */ | ||
36 | void mouseReleaseEvent( QMouseEvent *e ); | 38 | void mouseReleaseEvent( QMouseEvent *e ); |
39 | /** @internal */ | ||
37 | void mouseMoveEvent( QMouseEvent *e ); | 40 | void mouseMoveEvent( QMouseEvent *e ); |
38 | 41 | ||
39 | public slots: | 42 | public slots: |
40 | void setOn(bool on); | 43 | void setOn(bool on); |
41 | signals: | 44 | signals: |
45 | /** | ||
46 | * emitted when the labels gets clicked | ||
47 | */ | ||
42 | void clicked(); | 48 | void clicked(); |
49 | |||
50 | /** | ||
51 | * emitted when the labels gets toggled | ||
52 | * @param the new new state of the label | ||
53 | */ | ||
43 | void toggled(bool on); | 54 | void toggled(bool on); |
44 | private: | 55 | private: |
45 | bool isToggle : 1; | 56 | bool isToggle : 1; |
46 | bool isDown : 1; | 57 | bool isDown : 1; |