Diffstat (limited to 'core/pim/datebook/clickablelabel.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook/clickablelabel.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/core/pim/datebook/clickablelabel.h b/core/pim/datebook/clickablelabel.h deleted file mode 100644 index d00fee6..0000000 --- a/core/pim/datebook/clickablelabel.h +++ b/dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | #ifndef CLICKABLELABEL | ||
2 | #define CLICKABLELABEL | ||
3 | |||
4 | #include <qlabel.h> | ||
5 | |||
6 | class ClickableLabel: public QLabel | ||
7 | { | ||
8 | Q_OBJECT | ||
9 | public: | ||
10 | ClickableLabel(QWidget* parent = 0, const char* name = 0, | ||
11 | WFlags fl = 0); | ||
12 | void setToggleButton(bool t); | ||
13 | protected: | ||
14 | void mousePressEvent( QMouseEvent *e ); | ||
15 | void mouseReleaseEvent( QMouseEvent *e ); | ||
16 | void mouseMoveEvent( QMouseEvent *e ); | ||
17 | public slots: | ||
18 | void setOn(bool on); | ||
19 | signals: | ||
20 | void clicked(); | ||
21 | void toggled(bool on); | ||
22 | private: | ||
23 | bool isToggle; | ||
24 | bool isDown; | ||
25 | void showState(bool on); | ||
26 | bool textInverted; | ||
27 | void setInverted(bool on); | ||
28 | }; | ||
29 | |||
30 | #endif | ||