summaryrefslogtreecommitdiff
path: root/muse_qt4_evolution/midiplugins/trigg/trigggui.cpp
diff options
context:
space:
mode:
authorRobert Jonsson <spamatica@gmail.com>2011-03-07 19:01:11 +0000
committerRobert Jonsson <spamatica@gmail.com>2011-03-07 19:01:11 +0000
commite40fc849149dd97c248866a4a1d026dda5e57b62 (patch)
treeb12b358f3b3a0608001d30403358f8443118ec5f /muse_qt4_evolution/midiplugins/trigg/trigggui.cpp
parent1bd4f2e8d9745cabb667b043171cad22c8577768 (diff)
clean3
Diffstat (limited to 'muse_qt4_evolution/midiplugins/trigg/trigggui.cpp')
-rw-r--r--muse_qt4_evolution/midiplugins/trigg/trigggui.cpp56
1 files changed, 0 insertions, 56 deletions
diff --git a/muse_qt4_evolution/midiplugins/trigg/trigggui.cpp b/muse_qt4_evolution/midiplugins/trigg/trigggui.cpp
deleted file mode 100644
index 0fd3c4c6..00000000
--- a/muse_qt4_evolution/midiplugins/trigg/trigggui.cpp
+++ /dev/null
@@ -1,56 +0,0 @@
-//=========================================================
-// MusE
-// Linux Music Editor
-// $Id: filtergui.cpp,v 1.4 2005/11/06 17:49:34 wschweer Exp $
-//
-// (C) Copyright 2005 Werner Schweer (ws@seh.de)
-//=========================================================
-
-#include "trigggui.h"
-#include "trigg.h"
-
-//---------------------------------------------------------
-// MidiTriggConfig
-//---------------------------------------------------------
-
-TriggGui::TriggGui(Trigg* f, QWidget* parent)
- : QDialog(parent)
- {
- setupUi(this);
- filter = f;
-
- connect(noteEntry, SIGNAL(valueChanged(int)), SLOT(setNote(int)));
- connect(velocityEntry, SIGNAL(valueChanged(int)), SLOT(setVelocity(int)));
- }
-
-//---------------------------------------------------------
-// init
-//---------------------------------------------------------
-void TriggGui::init()
- {
- Trigg::initData *data;
- int n;
- filter->getInitData(&n,(const unsigned char **)&data);
- printf("::init note=%d vel=%d\n",data->note,data->velocity);
- noteEntry->setValue(data->note);
- velocityEntry->setValue(data->velocity);
- }
-
-//---------------------------------------------------------
-// setNote
-//---------------------------------------------------------
-void TriggGui::setNote(int value)
- {
- printf("TriggGui::setNote %d\n",value);
- filter->setNote(value);
- }
-
-//---------------------------------------------------------
-// setVelocity
-//---------------------------------------------------------
-void TriggGui::setVelocity(int value)
- {
- printf("TriggGui::setVelocity %d\n",value);
- filter->setVelocity(value);
- }
-