summaryrefslogtreecommitdiff
path: root/muse2/muse/midiedit/piano.h
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-06-02 20:00:56 +0000
committerFlorian Jung <flo@windfisch.org>2011-06-02 20:00:56 +0000
commitf1e4528216ba836bd827e74cdf9a3b328be91c83 (patch)
tree0a5ca610cd19cdb8521f904734da96ce879ef314 /muse2/muse/midiedit/piano.h
parent9187899632c14d64b3fae6477b7f941240f912a6 (diff)
applied WillyFoobar's patch: moved all Q_OBJECT statements to
their appropriate place
Diffstat (limited to 'muse2/muse/midiedit/piano.h')
-rw-r--r--muse2/muse/midiedit/piano.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/muse2/muse/midiedit/piano.h b/muse2/muse/midiedit/piano.h
index 35106d64..f8deec52 100644
--- a/muse2/muse/midiedit/piano.h
+++ b/muse2/muse/midiedit/piano.h
@@ -23,6 +23,8 @@ class QPixmap;
class Piano : public View
{
+ Q_OBJECT
+
int curPitch;
QPixmap* octave;
QPixmap* c_keys[10];
@@ -34,7 +36,7 @@ class Piano : public View
bool shift;
int button;
- Q_OBJECT
+
int y2pitch(int) const;
int pitch2y(int) const;
void viewMouseMoveEvent(QMouseEvent* event);