10 #include "../../../../include/drumstick/rtmidiinput.h"
11 #include <QtCore/qbytearray.h>
12 #include <QtCore/qmetatype.h>
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'rtmidiinput.h' doesn't include <QObject>."
15 #elif Q_MOC_OUTPUT_REVISION != 67
16 #error "This file was generated using the moc from 5.15.0. 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
23 QT_WARNING_DISABLE_DEPRECATED
24 struct qt_meta_stringdata_drumstick__rt__MIDIInput_t {
25 QByteArrayData data[20];
26 char stringdata0[220];
28 #define QT_MOC_LITERAL(idx, ofs, len) \
29 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
30 qptrdiff(offsetof(qt_meta_stringdata_drumstick__rt__MIDIInput_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
33 static const qt_meta_stringdata_drumstick__rt__MIDIInput_t qt_meta_stringdata_drumstick__rt__MIDIInput = {
35 QT_MOC_LITERAL(0, 0, 24),
36 QT_MOC_LITERAL(1, 25, 11),
37 QT_MOC_LITERAL(2, 37, 0),
38 QT_MOC_LITERAL(3, 38, 4),
39 QT_MOC_LITERAL(4, 43, 4),
40 QT_MOC_LITERAL(5, 48, 3),
41 QT_MOC_LITERAL(6, 52, 10),
42 QT_MOC_LITERAL(7, 63, 15),
43 QT_MOC_LITERAL(8, 79, 5),
44 QT_MOC_LITERAL(9, 85, 14),
45 QT_MOC_LITERAL(10, 100, 7),
46 QT_MOC_LITERAL(11, 108, 11),
47 QT_MOC_LITERAL(12, 120, 7),
48 QT_MOC_LITERAL(13, 128, 19),
49 QT_MOC_LITERAL(14, 148, 13),
50 QT_MOC_LITERAL(15, 162, 9),
51 QT_MOC_LITERAL(16, 172, 4),
52 QT_MOC_LITERAL(17, 177, 16),
53 QT_MOC_LITERAL(18, 194, 6),
54 QT_MOC_LITERAL(19, 201, 18)
57 "drumstick::rt::MIDIInput\0midiNoteOff\0"
58 "\0chan\0note\0vel\0midiNoteOn\0midiKeyPressure\0"
59 "value\0midiController\0control\0midiProgram\0"
60 "program\0midiChannelPressure\0midiPitchBend\0"
61 "midiSysex\0data\0midiSystemCommon\0status\0"
66 static const uint qt_meta_data_drumstick__rt__MIDIInput[] = {
92 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 4, 5,
93 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 4, 5,
94 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 4, 8,
95 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 10, 8,
96 QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 12,
97 QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 8,
98 QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 8,
99 QMetaType::Void, QMetaType::QByteArray, 16,
100 QMetaType::Void, QMetaType::Int, 18,
101 QMetaType::Void, QMetaType::Int, 18,
106 void drumstick::rt::MIDIInput::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
108 if (_c == QMetaObject::InvokeMetaMethod) {
112 case 0: _t->midiNoteOff((*
reinterpret_cast< const int(*)
>(_a[1])),(*
reinterpret_cast< const int(*)
>(_a[2])),(*
reinterpret_cast< const int(*)
>(_a[3])));
break;
113 case 1: _t->midiNoteOn((*
reinterpret_cast< const int(*)
>(_a[1])),(*
reinterpret_cast< const int(*)
>(_a[2])),(*
reinterpret_cast< const int(*)
>(_a[3])));
break;
114 case 2: _t->midiKeyPressure((*
reinterpret_cast< const int(*)
>(_a[1])),(*
reinterpret_cast< const int(*)
>(_a[2])),(*
reinterpret_cast< const int(*)
>(_a[3])));
break;
115 case 3: _t->midiController((*
reinterpret_cast< const int(*)
>(_a[1])),(*
reinterpret_cast< const int(*)
>(_a[2])),(*
reinterpret_cast< const int(*)
>(_a[3])));
break;
116 case 4: _t->midiProgram((*
reinterpret_cast< const int(*)
>(_a[1])),(*
reinterpret_cast< const int(*)
>(_a[2])));
break;
117 case 5: _t->midiChannelPressure((*
reinterpret_cast< const int(*)
>(_a[1])),(*
reinterpret_cast< const int(*)
>(_a[2])));
break;
118 case 6: _t->midiPitchBend((*
reinterpret_cast< const int(*)
>(_a[1])),(*
reinterpret_cast< const int(*)
>(_a[2])));
break;
119 case 7: _t->midiSysex((*
reinterpret_cast< const QByteArray(*)
>(_a[1])));
break;
120 case 8: _t->midiSystemCommon((*
reinterpret_cast< const int(*)
>(_a[1])));
break;
121 case 9: _t->midiSystemRealtime((*
reinterpret_cast< const int(*)
>(_a[1])));
break;
124 }
else if (_c == QMetaObject::IndexOfMethod) {
125 int *result =
reinterpret_cast<int *
>(_a[0]);
127 using _t = void (
MIDIInput::*)(
const int ,
const int ,
const int );
134 using _t = void (
MIDIInput::*)(
const int ,
const int ,
const int );
141 using _t = void (
MIDIInput::*)(
const int ,
const int ,
const int );
148 using _t = void (
MIDIInput::*)(
const int ,
const int ,
const int );
155 using _t = void (
MIDIInput::*)(
const int ,
const int );
162 using _t = void (
MIDIInput::*)(
const int ,
const int );
169 using _t = void (
MIDIInput::*)(
const int ,
const int );
176 using _t = void (
MIDIInput::*)(
const QByteArray & );
183 using _t = void (
MIDIInput::*)(
const int );
190 using _t = void (
MIDIInput::*)(
const int );
199 QT_INIT_METAOBJECT
const QMetaObject drumstick::rt::MIDIInput::staticMetaObject = { {
200 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
201 qt_meta_stringdata_drumstick__rt__MIDIInput.data,
202 qt_meta_data_drumstick__rt__MIDIInput,
209 const QMetaObject *drumstick::rt::MIDIInput::metaObject()
const
211 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
214 void *drumstick::rt::MIDIInput::qt_metacast(
const char *_clname)
216 if (!_clname)
return nullptr;
217 if (!strcmp(_clname, qt_meta_stringdata_drumstick__rt__MIDIInput.stringdata0))
218 return static_cast<void*
>(
this);
219 return QObject::qt_metacast(_clname);
222 int drumstick::rt::MIDIInput::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
224 _id = QObject::qt_metacall(_c, _id, _a);
227 if (_c == QMetaObject::InvokeMetaMethod) {
229 qt_static_metacall(
this, _c, _id, _a);
231 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
233 *
reinterpret_cast<int*
>(_a[0]) = -1;
242 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t3))) };
243 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
249 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t3))) };
250 QMetaObject::activate(
this, &staticMetaObject, 1, _a);
256 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t3))) };
257 QMetaObject::activate(
this, &staticMetaObject, 2, _a);
263 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t3))) };
264 QMetaObject::activate(
this, &staticMetaObject, 3, _a);
270 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))) };
271 QMetaObject::activate(
this, &staticMetaObject, 4, _a);
277 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))) };
278 QMetaObject::activate(
this, &staticMetaObject, 5, _a);
284 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))) };
285 QMetaObject::activate(
this, &staticMetaObject, 6, _a);
291 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
292 QMetaObject::activate(
this, &staticMetaObject, 7, _a);
298 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
299 QMetaObject::activate(
this, &staticMetaObject, 8, _a);
305 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
306 QMetaObject::activate(
this, &staticMetaObject, 9, _a);