Debian Codegraph @

src/util.cpp

raw symbols SCIP
1 /*
2 * midisnoop - MIDI monitor and prober
3 * Copyright (C) 2012 Devin Anderson
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the Free
7 * Software Foundation; either version 2 of the License, or (at your option)
8 * any later version.
9 *
10 * This program is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 *
15 * You should have received a copy of the GNU General Public License along with
16 * this program; if not, write to the Free Software Foundation, Inc., 675 Mass
17 * Ave, Cambridge, MA 02139, USA.
18 */
19
20 #include <QtCore/QCoreApplication>
21 #include <QtCore/QFile>
22 #include <QtCore/QLocale>
23 #include <QtUiTools/QUiLoader>
24
25 #include "util.h"cxx . . $ `<file>/src/util.h`/
26
27 QStringcxx . . $ QString#
28 getMIDIControlStringcxx . . $ getMIDIControlString(e76153c3c184c917).(quint8cxx . . $ quint8# control)
29 {
30 assertcxx . . $ `<external>/4398592474888995393/assert.h:102:11`!(control < 0x80);
31 QStringcxx . . $ QString# namecxx . . $ QString#QString(ced63f7c635d850d).;
32 switch (control) {
33 case 0x0:
34 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Bank Select");
35 break;
36 case 0x1:
37 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Modulation Wheel");
38 break;
39 case 0x2:
40 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Breath Controller");
41 break;
42 case 0x4:
43 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Foot Controller");
44 break;
45 case 0x5:
46 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Portamento Time");
47 break;
48 case 0x6:
49 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Data Entry MSB");
50 break;
51 case 0x7:
52 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Channel Volume");
53 break;
54 case 0x8:
55 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Balance");
56 break;
57 case 0xa:
58 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Pan");
59 break;
60 case 0xb:
61 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Expression Controller");
62 break;
63 case 0xc:
64 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Effect Control 1");
65 break;
66 case 0xd:
67 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Effect Control 2");
68 break;
69 case 0x10:
70 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("General Purpose Controller 1");
71 break;
72 case 0x11:
73 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("General Purpose Controller 2");
74 break;
75 case 0x12:
76 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("General Purpose Controller 3");
77 break;
78 case 0x13:
79 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("General Purpose Controller 4");
80 break;
81 case 0x20:
82 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Bank Select LSB");
83 break;
84 case 0x21:
85 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Modulation Wheel LSB");
86 break;
87 case 0x22:
88 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Breath Controller LSB");
89 break;
90 case 0x23:
91 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Control 3 LSB");
92 break;
93 case 0x24:
94 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Foot Controller LSB");
95 break;
96 case 0x25:
97 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Portamento Time LSB");
98 break;
99 case 0x26:
100 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Data Entry LSB");
101 break;
102 case 0x27:
103 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Channel Volume LSB");
104 break;
105 case 0x28:
106 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Balance LSB");
107 break;
108 case 0x29:
109 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Control 9 LSB");
110 break;
111 case 0x2a:
112 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Pan LSB");
113 break;
114 case 0x2b:
115 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Expression Controller LSB");
116 break;
117 case 0x2c:
118 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Effect Control 1 LSB");
119 break;
120 case 0x2d:
121 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Effect Control 2 LSB");
122 break;
123 case 0x2e:
124 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Control 14 LSB");
125 break;
126 case 0x2f:
127 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Control 15 LSB");
128 break;
129 case 0x30:
130 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("General Purpose Controller 1 LSB");
131 break;
132 case 0x31:
133 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("General Purpose Controller 2 LSB");
134 break;
135 case 0x32:
136 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("General Purpose Controller 3 LSB");
137 break;
138 case 0x33:
139 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("General Purpose Controller 4 LSB");
140 break;
141 case 0x34:
142 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Control 20 LSB");
143 break;
144 case 0x35:
145 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Control 21 LSB");
146 break;
147 case 0x36:
148 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Control 22 LSB");
149 break;
150 case 0x37:
151 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Control 23 LSB");
152 break;
153 case 0x38:
154 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Control 24 LSB");
155 break;
156 case 0x39:
157 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Control 25 LSB");
158 break;
159 case 0x3a:
160 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Control 26 LSB");
161 break;
162 case 0x3b:
163 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Control 27 LSB");
164 break;
165 case 0x3c:
166 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Control 28 LSB");
167 break;
168 case 0x3d:
169 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Control 29 LSB");
170 break;
171 case 0x3e:
172 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Control 30 LSB");
173 break;
174 case 0x3f:
175 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Control 31 LSB");
176 break;
177 case 0x40:
178 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Damper Pedal On/Off");
179 break;
180 case 0x41:
181 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Portamento On/Off");
182 break;
183 case 0x42:
184 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Sostenuto On/Off");
185 break;
186 case 0x43:
187 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Soft Pedal On/Off");
188 break;
189 case 0x44:
190 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Legato Footswitch");
191 break;
192 case 0x45:
193 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Hold 2");
194 break;
195 case 0x46:
196 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Sound Controller 1 (Default: Sound Variation)");
197 break;
198 case 0x47:
199 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Sound Controller 2 (Default: Timbre/Harmonic "
200 "Intensity)");
201 break;
202 case 0x48:
203 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Sound Controller 3 (Default: Release Time)");
204 break;
205 case 0x49:
206 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Sound Controller 4 (Default: Attack Time)");
207 break;
208 case 0x4a:
209 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Sound Controller 5 (Default: Brightness)");
210 break;
211 case 0x4b:
212 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Sound Controller 6 (Default: Decay Time)");
213 break;
214 case 0x4c:
215 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Sound Controller 7 (Default: Vibrato Rate)");
216 break;
217 case 0x4d:
218 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Sound Controller 8 (Default: Vibrato Depth)");
219 break;
220 case 0x4e:
221 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Sound Controller 9 (Default: Vibrato Delay)");
222 break;
223 case 0x4f:
224 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Sound Controller 10");
225 break;
226 case 0x50:
227 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("General Purpose Controller 5");
228 break;
229 case 0x51:
230 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("General Purpose Controller 6");
231 break;
232 case 0x52:
233 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("General Purpose Controller 7");
234 break;
235 case 0x53:
236 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("General Purpose Controller 8");
237 break;
238 case 0x5b:
239 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Effects 1 Depth (Default: Reverb Send Level)");
240 break;
241 case 0x5c:
242 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Effects 2 Depth");
243 break;
244 case 0x5d:
245 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Effects 3 Depth (Default: Chorus Send Level");
246 break;
247 case 0x5e:
248 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Effects 4 Depth");
249 break;
250 case 0x5f:
251 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Effects 5 Depth");
252 break;
253 case 0x60:
254 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Data Increment");
255 break;
256 case 0x61:
257 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Data Decrement");
258 break;
259 case 0x62:
260 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Non-Registered Parameter Number LSB");
261 break;
262 case 0x63:
263 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Non-Registered Parameter Number MSB");
264 break;
265 case 0x64:
266 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Registered Parameter Number LSB");
267 break;
268 case 0x65:
269 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Registered Parameter Number MSB");
270 break;
271 case 0x78:
272 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("All Sound Off");
273 break;
274 case 0x79:
275 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Reset All Controllers");
276 break;
277 case 0x7a:
278 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Local Control On/Off");
279 break;
280 case 0x7b:
281 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("All Notes Off");
282 break;
283 case 0x7c:
284 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Omni Mode Off");
285 break;
286 case 0x7d:
287 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Omni Mode On");
288 break;
289 case 0x7e:
290 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Mono Mode On");
291 break;
292 case 0x7f:
293 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Poly Mode On");
294 break;
295 default:
296 name =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->trcxx . . $ QCoreApplication#tr(75d9f1c324b4579d).("Undefined");
297 }
298 return qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->translatecxx . . $ QCoreApplication#translate(699330408c757f1b).("midiControlFormat", "%1 - %2").
299 argcxx . . $ QString#arg(ec0c7a4bb7c7a5fe).(QLocalecxx . . $ QLocale#::systemcxx . . $ QLocale#system(7171962d3a2fd395).().toStringcxx . . $ QLocale#toString(3f3c3d0e9c0eb37f).(control), name);
300 }
301
302 QStringcxx . . $ QString#
303 getMIDINoteStringcxx . . $ getMIDINoteString(e76153c3c184c917).(quint8cxx . . $ quint8# note)
304 {
305 assertcxx . . $ `<external>/4398592474888995393/assert.h:102:11`!(note < 0x80);
306 QStringcxx . . $ QString# noteStrcxx . . $ QString#QString(ced63f7c635d850d).;
307 switch (note % 12) {
308 case 0:
309 noteStr =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->translatecxx . . $ QCoreApplication#translate(699330408c757f1b).("cNote", "C");
310 break;
311 case 1:
312 noteStr =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->translatecxx . . $ QCoreApplication#translate(699330408c757f1b).("cSharpNote", "C#");
313 break;
314 case 2:
315 noteStr =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->translatecxx . . $ QCoreApplication#translate(699330408c757f1b).("dNote", "D");
316 break;
317 case 3:
318 noteStr =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->translatecxx . . $ QCoreApplication#translate(699330408c757f1b).("dSharpNote", "D#");
319 break;
320 case 4:
321 noteStr =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->translatecxx . . $ QCoreApplication#translate(699330408c757f1b).("eNote", "E");
322 break;
323 case 5:
324 noteStr =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->translatecxx . . $ QCoreApplication#translate(699330408c757f1b).("fNote", "F");
325 break;
326 case 6:
327 noteStr =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->translatecxx . . $ QCoreApplication#translate(699330408c757f1b).("fSharpNote", "F#");
328 break;
329 case 7:
330 noteStr =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->translatecxx . . $ QCoreApplication#translate(699330408c757f1b).("gNote", "G");
331 break;
332 case 8:
333 noteStr =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->translatecxx . . $ QCoreApplication#translate(699330408c757f1b).("gSharpNote", "G#");
334 break;
335 case 9:
336 noteStr =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->translatecxx . . $ QCoreApplication#translate(699330408c757f1b).("aNote", "A");
337 break;
338 case 10:
339 noteStr =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->translatecxx . . $ QCoreApplication#translate(699330408c757f1b).("aSharpNote", "A#");
340 break;
341 case 11:
342 noteStr =cxx . . $ QString#`operator=`(4f35bf974e7f8568). qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->translatecxx . . $ QCoreApplication#translate(699330408c757f1b).("bNote", "B");
343 }
344 QLocalecxx . . $ QLocale# locale = QLocalecxx . . $ QLocale#::systemcxx . . $ QLocale#system(7171962d3a2fd395).();
345 return qAppcxx . . $ `<external>/3955209949423095026/qcoreapplication.h:70:9`!->translatecxx . . $ QCoreApplication#translate(699330408c757f1b).("midiNoteFormat", "%1 (%2%3)").
346 argcxx . . $ QString#arg(ec0c7a4bb7c7a5fe).(locale.toStringcxx . . $ QLocale#toString(3f3c3d0e9c0eb37f).(static_cast<int>(note)), noteStr,
347 locale.toStringcxx . . $ QLocale#toString(3f3c3d0e9c0eb37f).(static_cast<int>(note / 12) - 1));
348 }
349
350 QWidgetcxx . . $ QWidget# *
351 loadFormcxx . . $ loadForm(5424b3c4a7a443ec).(const QStringcxx . . $ QString# &path, QWidgetcxx . . $ QWidget# *parent)
352 {
353 QFilecxx . . $ QFile# filecxx . . $ QFile#QFile(3520e46b33348bf6).(path);
354
355 // XX: Qt makes a jump based on uninitialized values the first time this
356 // call is made.
357 bool opened = file.opencxx . . $ QFile#open(dca164408be960c8).(QFilecxx . . $ QFlags#QFlags(93d577a3e9528307).::ReadOnlycxx . . $ QIODevice#ReadOnly.);
358 assertcxx . . $ `<external>/4398592474888995393/assert.h:102:11`!(opened);
359
360 QUiLoadercxx . . $ QUiLoader# uiLoadercxx . . $ QUiLoader#QUiLoader(749de1b6ae65bddd).;
361
362 // XX: Qt also makes a jump based on uninitialized values the first time
363 // this call is made.
364 QWidgetcxx . . $ QWidget# *widget = uiLoader.loadcxx . . $ QUiLoader#load(f40f3b3a25fbf71d).(&file, parent);
365 assertcxx . . $ `<external>/4398592474888995393/assert.h:102:11`!(widget);
366
367 file.closecxx . . $ QFileDevice#close(49f6e7a06ebc5aa8).();
368 return widget;
369 }