summaryrefslogtreecommitdiff
path: root/attic/muse2-oom/muse2/muse/widgets/checkbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'attic/muse2-oom/muse2/muse/widgets/checkbox.h')
-rw-r--r--attic/muse2-oom/muse2/muse/widgets/checkbox.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/attic/muse2-oom/muse2/muse/widgets/checkbox.h b/attic/muse2-oom/muse2/muse/widgets/checkbox.h
deleted file mode 100644
index f9b58ad1..00000000
--- a/attic/muse2-oom/muse2/muse/widgets/checkbox.h
+++ /dev/null
@@ -1,44 +0,0 @@
-//=========================================================
-// MusE
-// Linux Music Editor
-// $Id: checkbox.h,v 1.2.2.2 2006/10/29 07:54:52 terminator356 Exp $
-// (C) Copyright 2004 Werner Schweer (ws@seh.de)
-//=========================================================
-
-#ifndef __CHECKBOX_H__
-#define __CHECKBOX_H__
-
-#include <QCheckBox>
-
-
-//---------------------------------------------------------
-// CheckBox
-//---------------------------------------------------------
-
-class CheckBox : public QCheckBox {
- Q_OBJECT
- Q_PROPERTY( int id READ id WRITE setId )
-
- int _id;
-
- protected:
- void mousePressEvent(QMouseEvent *e);
- void mouseReleaseEvent(QMouseEvent *e);
-
- private slots:
- void hasToggled(bool val);
-
- signals:
- void toggleChanged(bool, int);
- void checkboxPressed(int);
- void checkboxReleased(int);
- void checkboxRightClicked(const QPoint &, int);
-
- public:
- CheckBox(QWidget* parent, int i, const char* name = 0);
- int id() const { return _id; }
- void setId(int i) { _id = i; }
- };
-
-#endif
-