9 #include "netmidioutput.h" 10 #include <QtCore/qbytearray.h> 11 #include <QtCore/qmetatype.h> 12 #include <QtCore/qplugin.h> 13 #if !defined(Q_MOC_OUTPUT_REVISION) 14 #error "The header file 'netmidioutput.h' doesn't include <QObject>." 15 #elif Q_MOC_OUTPUT_REVISION != 67 16 #error "This file was generated using the moc from 5.6.2. It" 17 #error "cannot be used with the include files from this version of Qt." 18 #error "(The moc has changed too much.)" 21 QT_BEGIN_MOC_NAMESPACE
22 struct qt_meta_stringdata_drumstick__rt__NetMIDIOutput_t {
23 QByteArrayData data[19];
24 char stringdata0[202];
26 #define QT_MOC_LITERAL(idx, ofs, len) \ 27 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 28 qptrdiff(offsetof(qt_meta_stringdata_drumstick__rt__NetMIDIOutput_t, stringdata0) + ofs \ 29 - idx * sizeof(QByteArrayData)) \ 31 static const qt_meta_stringdata_drumstick__rt__NetMIDIOutput_t qt_meta_stringdata_drumstick__rt__NetMIDIOutput = {
33 QT_MOC_LITERAL(0, 0, 28),
34 QT_MOC_LITERAL(1, 29, 11),
35 QT_MOC_LITERAL(2, 41, 0),
36 QT_MOC_LITERAL(3, 42, 4),
37 QT_MOC_LITERAL(4, 47, 4),
38 QT_MOC_LITERAL(5, 52, 3),
39 QT_MOC_LITERAL(6, 56, 10),
40 QT_MOC_LITERAL(7, 67, 15),
41 QT_MOC_LITERAL(8, 83, 5),
42 QT_MOC_LITERAL(9, 89, 14),
43 QT_MOC_LITERAL(10, 104, 7),
44 QT_MOC_LITERAL(11, 112, 11),
45 QT_MOC_LITERAL(12, 124, 7),
46 QT_MOC_LITERAL(13, 132, 19),
47 QT_MOC_LITERAL(14, 152, 13),
48 QT_MOC_LITERAL(15, 166, 9),
49 QT_MOC_LITERAL(16, 176, 4),
50 QT_MOC_LITERAL(17, 181, 13),
51 QT_MOC_LITERAL(18, 195, 6)
54 "drumstick::rt::NetMIDIOutput\0sendNoteOff\0" 55 "\0chan\0note\0vel\0sendNoteOn\0sendKeyPressure\0" 56 "value\0sendController\0control\0sendProgram\0" 57 "program\0sendChannelPressure\0sendPitchBend\0" 58 "sendSysex\0data\0sendSystemMsg\0status" 62 static const uint qt_meta_data_drumstick__rt__NetMIDIOutput[] = {
87 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 4, 5,
88 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 4, 5,
89 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 4, 8,
90 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 10, 8,
91 QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 12,
92 QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 8,
93 QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 8,
94 QMetaType::Void, QMetaType::QByteArray, 16,
95 QMetaType::Void, QMetaType::Int, 18,
100 void drumstick::rt::NetMIDIOutput::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
102 if (_c == QMetaObject::InvokeMetaMethod) {
103 NetMIDIOutput *_t =
static_cast<NetMIDIOutput *
>(_o);
106 case 0: _t->sendNoteOff((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])),(*
reinterpret_cast< int(*)
>(_a[3])));
break;
107 case 1: _t->sendNoteOn((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])),(*
reinterpret_cast< int(*)
>(_a[3])));
break;
108 case 2: _t->sendKeyPressure((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])),(*
reinterpret_cast< int(*)
>(_a[3])));
break;
109 case 3: _t->sendController((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])),(*
reinterpret_cast< int(*)
>(_a[3])));
break;
110 case 4: _t->sendProgram((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
111 case 5: _t->sendChannelPressure((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
112 case 6: _t->sendPitchBend((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
113 case 7: _t->sendSysex((*
reinterpret_cast< const QByteArray(*)
>(_a[1])));
break;
114 case 8: _t->sendSystemMsg((*
reinterpret_cast< const int(*)
>(_a[1])));
break;
120 const QMetaObject drumstick::rt::NetMIDIOutput::staticMetaObject = {
121 { &MIDIOutput::staticMetaObject, qt_meta_stringdata_drumstick__rt__NetMIDIOutput.data,
122 qt_meta_data_drumstick__rt__NetMIDIOutput, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
126 const QMetaObject *drumstick::rt::NetMIDIOutput::metaObject()
const 128 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
131 void *drumstick::rt::NetMIDIOutput::qt_metacast(
const char *_clname)
133 if (!_clname)
return Q_NULLPTR;
134 if (!strcmp(_clname, qt_meta_stringdata_drumstick__rt__NetMIDIOutput.stringdata0))
135 return static_cast<void*
>(
const_cast< NetMIDIOutput*
>(
this));
136 if (!strcmp(_clname,
"net.sourceforge.drumstick.rt.MIDIOutput/1.0"))
137 return static_cast< drumstick::rt::MIDIOutput*>(const_cast< NetMIDIOutput*>(
this));
138 return MIDIOutput::qt_metacast(_clname);
141 int drumstick::rt::NetMIDIOutput::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
143 _id = MIDIOutput::qt_metacall(_c, _id, _a);
146 if (_c == QMetaObject::InvokeMetaMethod) {
148 qt_static_metacall(
this, _c, _id, _a);
150 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
152 *
reinterpret_cast<int*
>(_a[0]) = -1;
158 QT_PLUGIN_METADATA_SECTION
const uint qt_section_alignment_dummy = 42;
162 QT_PLUGIN_METADATA_SECTION
163 static const unsigned char qt_pluginMetaData[] = {
164 'Q',
'T',
'M',
'E',
'T',
'A',
'D',
'A',
'T',
'A',
' ',
' ',
165 'q',
'b',
'j',
's', 0x01, 0x00, 0x00, 0x00,
166 0xb0, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00,
167 0x9c, 0x00, 0x00, 0x00, 0x1b, 0x03, 0x00, 0x00,
168 0x03, 0x00,
'I',
'I',
'D', 0x00, 0x00, 0x00,
169 '\'', 0x00,
'n',
'e',
't',
'.',
's',
'o',
170 'u',
'r',
'c',
'e',
'f',
'o',
'r',
'g',
171 'e',
'.',
'd',
'r',
'u',
'm',
's',
't',
172 'i',
'c',
'k',
'.',
'r',
't',
'.',
'M',
173 'I',
'D',
'I',
'O',
'u',
't',
'p',
'u',
174 't', 0x00, 0x00, 0x00, 0x9b, 0x0a, 0x00, 0x00,
175 0x09, 0x00,
'c',
'l',
'a',
's',
's',
'N',
176 'a',
'm',
'e', 0x00, 0x0d, 0x00,
'N',
'e',
177 't',
'M',
'I',
'D',
'I',
'O',
'u',
't',
178 'p',
'u',
't', 0x00,
'Z', 0xc0, 0xa0, 0x00,
179 0x07, 0x00,
'v',
'e',
'r',
's',
'i',
'o',
180 'n', 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00,
181 0x05, 0x00,
'd',
'e',
'b',
'u',
'g', 0x00,
182 0x15, 0x12, 0x00, 0x00, 0x08, 0x00,
'M',
'e',
183 't',
'a',
'D',
'a',
't',
'a', 0x00, 0x00,
184 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
185 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00,
186 0x80, 0x00, 0x00, 0x00,
'D', 0x00, 0x00, 0x00,
187 't', 0x00, 0x00, 0x00,
'd', 0x00, 0x00, 0x00
192 QT_PLUGIN_METADATA_SECTION
193 static const unsigned char qt_pluginMetaData[] = {
194 'Q',
'T',
'M',
'E',
'T',
'A',
'D',
'A',
'T',
'A',
' ',
' ',
195 'q',
'b',
'j',
's', 0x01, 0x00, 0x00, 0x00,
196 0xb0, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00,
197 0x9c, 0x00, 0x00, 0x00, 0x1b, 0x03, 0x00, 0x00,
198 0x03, 0x00,
'I',
'I',
'D', 0x00, 0x00, 0x00,
199 '\'', 0x00,
'n',
'e',
't',
'.',
's',
'o',
200 'u',
'r',
'c',
'e',
'f',
'o',
'r',
'g',
201 'e',
'.',
'd',
'r',
'u',
'm',
's',
't',
202 'i',
'c',
'k',
'.',
'r',
't',
'.',
'M',
203 'I',
'D',
'I',
'O',
'u',
't',
'p',
'u',
204 't', 0x00, 0x00, 0x00, 0x95, 0x0a, 0x00, 0x00,
205 0x08, 0x00,
'M',
'e',
't',
'a',
'D',
'a',
206 't',
'a', 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00,
207 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
208 0x1b, 0x0e, 0x00, 0x00, 0x09, 0x00,
'c',
'l',
209 'a',
's',
's',
'N',
'a',
'm',
'e', 0x00,
210 0x0d, 0x00,
'N',
'e',
't',
'M',
'I',
'D',
211 'I',
'O',
'u',
't',
'p',
'u',
't', 0x00,
212 '1', 0x00, 0x00, 0x00, 0x05, 0x00,
'd',
'e',
213 'b',
'u',
'g', 0x00,
'Z', 0xc0, 0xa0, 0x00,
214 0x07, 0x00,
'v',
'e',
'r',
's',
'i',
'o',
215 'n', 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00,
216 'D', 0x00, 0x00, 0x00,
'`', 0x00, 0x00, 0x00,
217 0x80, 0x00, 0x00, 0x00, 0x8c, 0x00, 0x00, 0x00
219 #endif // QT_NO_DEBUG 223 QT_MOC_EXPORT_PLUGIN(drumstick::rt::NetMIDIOutput, NetMIDIOutput)
The QObject class is the base class of all Qt objects.