summaryrefslogtreecommitdiff
path: root/muse2/muse/midiedit/drumedit.h
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-09-10 17:06:00 +0000
committerFlorian Jung <flo@windfisch.org>2011-09-10 17:06:00 +0000
commit24f84a489364741eb3fc126a3f83d91a86b65e27 (patch)
tree63a4e20aaf4a2ebd2462c91b574eddceeac31170 /muse2/muse/midiedit/drumedit.h
parent38c5cccc7273247353264bb7dc97f42296d8e259 (diff)
parent2120ea4f083228dde0d7307203391a4ec8f57e2d (diff)
merged the first bunch of orcans changes
STILL WAIT WITH COMMITTING NEW STUFF! i have to merge the rest as well! this is a bit buggy (connect errors, not tested much), but doesn't segfault immediately
Diffstat (limited to 'muse2/muse/midiedit/drumedit.h')
-rw-r--r--muse2/muse/midiedit/drumedit.h39
1 files changed, 28 insertions, 11 deletions
diff --git a/muse2/muse/midiedit/drumedit.h b/muse2/muse/midiedit/drumedit.h
index a242eda8..5169dfcd 100644
--- a/muse2/muse/midiedit/drumedit.h
+++ b/muse2/muse/midiedit/drumedit.h
@@ -3,6 +3,21 @@
// Linux Music Editor
// $Id: drumedit.h,v 1.9.2.7 2009/11/16 11:29:33 lunar_shuttle Exp $
// (C) Copyright 1999 Werner Schweer (ws@seh.de)
+//
+// This program is free software; you can redistribute it and/or
+// modify it under the terms of the GNU General Public License
+// as published by the Free Software Foundation; version 2 of
+// the License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+//
//=========================================================
#ifndef __DRUM_EDIT_H__
@@ -32,18 +47,20 @@ class MidiPart;
class DrumCanvas;
class ScrollScale;
class ScoreConfig;
-class MTScale;
-class Splitter;
class PartList;
-class Toolbar1;
class CtrlCanvas;
class Xml;
class DList;
-class Header;
class CtrlEdit;
class Part;
class SNode;
+namespace MusEWidget {
+class Header;
+class Splitter;
+class Toolbar1;
+}
+
//---------------------------------------------------------
// DrumEdit
//---------------------------------------------------------
@@ -56,17 +73,17 @@ class DrumEdit : public MidiEditor {
int selTick;
QMenu* menuEdit, *menuFunctions, *menuFile, *menuSelect;
- NoteInfo* info;
+ MusEWidget::NoteInfo* info;
QToolButton* srec;
QToolButton* midiin;
- EditToolBar* tools2;
+ MusEWidget::EditToolBar* tools2;
- Toolbar1* toolbar;
- Splitter* split1;
- Splitter* split2;
+ MusEWidget::Toolbar1* toolbar;
+ MusEWidget::Splitter* split1;
+ MusEWidget::Splitter* split2;
QWidget* split1w1;
DList* dlist;
- Header* header;
+ MusEWidget::Header* header;
QToolBar* tools;
QComboBox *stepLenWidget;
@@ -91,7 +108,7 @@ class DrumEdit : public MidiEditor {
private slots:
void setRaster(int);
- void noteinfoChanged(NoteInfo::ValType type, int val);
+ void noteinfoChanged(MusEWidget::NoteInfo::ValType type, int val);
//CtrlEdit* addCtrl();
void removeCtrl(CtrlEdit* ctrl);
void cmd(int);