summaryrefslogtreecommitdiff
path: root/attic/muse2-oom/muse2/muse/widgets/combobox.h
diff options
context:
space:
mode:
Diffstat (limited to 'attic/muse2-oom/muse2/muse/widgets/combobox.h')
-rw-r--r--attic/muse2-oom/muse2/muse/widgets/combobox.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/attic/muse2-oom/muse2/muse/widgets/combobox.h b/attic/muse2-oom/muse2/muse/widgets/combobox.h
deleted file mode 100644
index 305ad0b3..00000000
--- a/attic/muse2-oom/muse2/muse/widgets/combobox.h
+++ /dev/null
@@ -1,46 +0,0 @@
-//=========================================================
-// MusE
-// Linux Music Editor
-// $Id: combobox.h,v 1.3 2004/02/29 12:12:36 wschweer Exp $
-// (C) Copyright 2004 Werner Schweer (ws@seh.de)
-//=========================================================
-
-#ifndef __COMBOBOX_H__
-#define __COMBOBOX_H__
-
-#include <QLabel>
-
-class QMenu;
-
-//---------------------------------------------------------
-// ComboBox
-//---------------------------------------------------------
-
-class ComboBox : public QLabel {
- Q_OBJECT
- Q_PROPERTY( int id READ id WRITE setId )
-
- int _id;
- int _currentItem;
- QMenu* list;
- virtual void mousePressEvent(QMouseEvent*);
-
- private slots:
- void activatedIntern(QAction*);
-
- signals:
- void activated(int val, int id);
-
- public:
- ComboBox(QWidget* parent, const char* name = 0);
- ~ComboBox();
- void setCurrentItem(int);
- void insertItem(const QString& s, int id = -1);
- int id() const { return _id; }
- void setId(int i) { _id = i; }
- };
-
-#endif
-
-
-