summaryrefslogtreecommitdiff
path: root/core/pim/datebook/clickablelabel.h
authorhakan <hakan>2002-05-07 10:43:49 (UTC)
committer hakan <hakan>2002-05-07 10:43:49 (UTC)
commitcfe30703da090180b66bc571e85654c71a7ee8e0 (patch) (side-by-side diff)
treed6954140f2208becb9a6beb5b8a21529bfd5bceb /core/pim/datebook/clickablelabel.h
parentc9849cc04b668f1cda7a16d868299c436d1de042 (diff)
downloadopie-cfe30703da090180b66bc571e85654c71a7ee8e0.zip
opie-cfe30703da090180b66bc571e85654c71a7ee8e0.tar.gz
opie-cfe30703da090180b66bc571e85654c71a7ee8e0.tar.bz2
Moved ClickableLabel to libopie/OClickableLabel
Diffstat (limited to 'core/pim/datebook/clickablelabel.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook/clickablelabel.h30
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 @@
-#ifndef CLICKABLELABEL
-#define CLICKABLELABEL
-
-#include <qlabel.h>
-
-class ClickableLabel: public QLabel
-{
- Q_OBJECT
-public:
- ClickableLabel(QWidget* parent = 0, const char* name = 0,
- WFlags fl = 0);
- void setToggleButton(bool t);
- protected:
- void mousePressEvent( QMouseEvent *e );
- void mouseReleaseEvent( QMouseEvent *e );
- void mouseMoveEvent( QMouseEvent *e );
- public slots:
- void setOn(bool on);
- signals:
- void clicked();
- void toggled(bool on);
- private:
- bool isToggle;
- bool isDown;
- void showState(bool on);
- bool textInverted;
- void setInverted(bool on);
-};
-
-#endif