diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
commit | 560378aaca1784ba19806a0414a32b20c744de39 (patch) | |
tree | ce0dfd7c3febf2a1adc7603d1019a8be2083c415 /libkmid/midistat.cc | |
parent | d4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff) | |
download | tdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip |
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkmid/midistat.cc')
-rw-r--r-- | libkmid/midistat.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libkmid/midistat.cc b/libkmid/midistat.cc index 29d1436c8..9a45c2472 100644 --- a/libkmid/midistat.cc +++ b/libkmid/midistat.cc @@ -1,6 +1,6 @@ /************************************************************************** - midistat.cc - class MidiStatus, change it internally and then send it. + midistat.cc - class MiditqStatus, change it internally and then send it. This file is part of LibKMid 0.9.5 Copyright (C) 1997,98,99,2000 Antonio Larrosa Jimenez LibKMid's homepage : http://www.arrakis.es/~rlarrosa/libkmid.html @@ -33,7 +33,7 @@ extern int MT32toGM[128]; -MidiStatus::MidiStatus() +MiditqStatus::MiditqStatus() { int i; tempo=1000000; @@ -51,29 +51,29 @@ MidiStatus::MidiStatus() } } -MidiStatus::~MidiStatus() +MiditqStatus::~MiditqStatus() { } // void noteOn ( uchar chn, uchar note, uchar vel ); // void noteOff ( uchar chn, uchar note, uchar vel ); -void MidiStatus::chnPatchChange ( uchar chn, uchar patch ) +void MiditqStatus::chnPatchChange ( uchar chn, uchar patch ) { chn_patch[chn]=patch; } -void MidiStatus::chnPressure ( uchar chn, uchar vel ) +void MiditqStatus::chnPressure ( uchar chn, uchar vel ) { chn_pressure[chn]=vel; } -void MidiStatus::chnPitchBender ( uchar chn, uchar lsb, uchar msb ) +void MiditqStatus::chnPitchBender ( uchar chn, uchar lsb, uchar msb ) { chn_bender[chn]=((int)msb<<8|lsb); } -void MidiStatus::chnController ( uchar chn, uchar ctl , uchar v ) +void MiditqStatus::chnController ( uchar chn, uchar ctl , uchar v ) { if (ctl==7) chn_lastisvolumeev[chn]=1; else if (ctl==11) chn_lastisvolumeev[chn]=0; @@ -81,12 +81,12 @@ void MidiStatus::chnController ( uchar chn, uchar ctl , uchar v ) chn_controller[chn][ctl]=v; } -void MidiStatus::tmrSetTempo(int v) +void MiditqStatus::tmrSetTempo(int v) { tempo=v; } -void MidiStatus::sendData(DeviceManager *midi,int gm) +void MiditqStatus::sendData(DeviceManager *midi,int gm) { for (int chn=0;chn<16;chn++) { |