diff options
Diffstat (limited to 'attic/muse2-oom/muse2/muse/mixer/rack.h')
-rw-r--r-- | attic/muse2-oom/muse2/muse/mixer/rack.h | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/attic/muse2-oom/muse2/muse/mixer/rack.h b/attic/muse2-oom/muse2/muse/mixer/rack.h deleted file mode 100644 index 33c846bd..00000000 --- a/attic/muse2-oom/muse2/muse/mixer/rack.h +++ /dev/null @@ -1,63 +0,0 @@ -//========================================================= -// MusE -// Linux Music Editor -// $Id: rack.h,v 1.5.2.3 2006/09/24 19:32:31 terminator356 Exp $ -// -// (C) Copyright 2000 Werner Schweer (ws@seh.de) -//========================================================= - -#ifndef __RACK_H__ -#define __RACK_H__ - -#include <QListWidget> - -class QDragEnterEvent; -class QDragLeaveEvent; -class QDropEvent; -class QMouseEvent; - -class AudioTrack; -class Xml; - -//--------------------------------------------------------- -// EffectRack -//--------------------------------------------------------- - -class EffectRack : public QListWidget { - AudioTrack* track; - Q_OBJECT - - virtual QSize minimumSizeHint() const; - virtual QSize sizeHint() const; - - void startDrag(int idx); - void initPlugin(Xml xml, int idx); - QPoint dragPos; - void savePreset(int idx); - void choosePlugin(QListWidgetItem* item, bool replace = false); - - private slots: - void menuRequested(QListWidgetItem*); - void doubleClicked(QListWidgetItem*); - void songChanged(int); - void updateContents(); - - protected: - void dropEvent(QDropEvent *event); - void dragEnterEvent(QDragEnterEvent *event); - void mousePressEvent(QMouseEvent *event); - void mouseMoveEvent(QMouseEvent *event); - - QStringList mimeTypes() const; - Qt::DropActions supportedDropActions () const; - - public: - EffectRack(QWidget*, AudioTrack* t); - ~EffectRack(); - - AudioTrack* getTrack() { return track; } - QPoint getDragPos() { return dragPos; } - }; - -#endif - |