9 #include "../../../../../include/rtmidiinput.h" 10 #include <QtCore/qbytearray.h> 11 #include <QtCore/qmetatype.h> 12 #if !defined(Q_MOC_OUTPUT_REVISION) 13 #error "The header file 'rtmidiinput.h' doesn't include <QObject>." 14 #elif Q_MOC_OUTPUT_REVISION != 67 15 #error "This file was generated using the moc from 5.6.2. It" 16 #error "cannot be used with the include files from this version of Qt." 17 #error "(The moc has changed too much.)" 20 QT_BEGIN_MOC_NAMESPACE
21 struct qt_meta_stringdata_drumstick__rt__MIDIInput_t {
22 QByteArrayData data[20];
23 char stringdata0[220];
25 #define QT_MOC_LITERAL(idx, ofs, len) \ 26 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 27 qptrdiff(offsetof(qt_meta_stringdata_drumstick__rt__MIDIInput_t, stringdata0) + ofs \ 28 - idx * sizeof(QByteArrayData)) \ 30 static const qt_meta_stringdata_drumstick__rt__MIDIInput_t qt_meta_stringdata_drumstick__rt__MIDIInput = {
32 QT_MOC_LITERAL(0, 0, 24),
33 QT_MOC_LITERAL(1, 25, 11),
34 QT_MOC_LITERAL(2, 37, 0),
35 QT_MOC_LITERAL(3, 38, 4),
36 QT_MOC_LITERAL(4, 43, 4),
37 QT_MOC_LITERAL(5, 48, 3),
38 QT_MOC_LITERAL(6, 52, 10),
39 QT_MOC_LITERAL(7, 63, 15),
40 QT_MOC_LITERAL(8, 79, 5),
41 QT_MOC_LITERAL(9, 85, 14),
42 QT_MOC_LITERAL(10, 100, 7),
43 QT_MOC_LITERAL(11, 108, 11),
44 QT_MOC_LITERAL(12, 120, 7),
45 QT_MOC_LITERAL(13, 128, 19),
46 QT_MOC_LITERAL(14, 148, 13),
47 QT_MOC_LITERAL(15, 162, 9),
48 QT_MOC_LITERAL(16, 172, 4),
49 QT_MOC_LITERAL(17, 177, 16),
50 QT_MOC_LITERAL(18, 194, 6),
51 QT_MOC_LITERAL(19, 201, 18)
54 "drumstick::rt::MIDIInput\0midiNoteOff\0" 55 "\0chan\0note\0vel\0midiNoteOn\0midiKeyPressure\0" 56 "value\0midiController\0control\0midiProgram\0" 57 "program\0midiChannelPressure\0midiPitchBend\0" 58 "midiSysex\0data\0midiSystemCommon\0status\0" 63 static const uint qt_meta_data_drumstick__rt__MIDIInput[] = {
89 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 4, 5,
90 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 4, 5,
91 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 4, 8,
92 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 10, 8,
93 QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 12,
94 QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 8,
95 QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 8,
96 QMetaType::Void, QMetaType::QByteArray, 16,
97 QMetaType::Void, QMetaType::Int, 18,
98 QMetaType::Void, QMetaType::Int, 18,
103 void drumstick::rt::MIDIInput::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
105 if (_c == QMetaObject::InvokeMetaMethod) {
106 MIDIInput *_t =
static_cast<MIDIInput *
>(_o);
109 case 0: _t->midiNoteOff((*
reinterpret_cast< const int(*)
>(_a[1])),(*
reinterpret_cast< const int(*)
>(_a[2])),(*
reinterpret_cast< const int(*)
>(_a[3])));
break;
110 case 1: _t->midiNoteOn((*
reinterpret_cast< const int(*)
>(_a[1])),(*
reinterpret_cast< const int(*)
>(_a[2])),(*
reinterpret_cast< const int(*)
>(_a[3])));
break;
111 case 2: _t->midiKeyPressure((*
reinterpret_cast< const int(*)
>(_a[1])),(*
reinterpret_cast< const int(*)
>(_a[2])),(*
reinterpret_cast< const int(*)
>(_a[3])));
break;
112 case 3: _t->midiController((*
reinterpret_cast< const int(*)
>(_a[1])),(*
reinterpret_cast< const int(*)
>(_a[2])),(*
reinterpret_cast< const int(*)
>(_a[3])));
break;
113 case 4: _t->midiProgram((*
reinterpret_cast< const int(*)
>(_a[1])),(*
reinterpret_cast< const int(*)
>(_a[2])));
break;
114 case 5: _t->midiChannelPressure((*
reinterpret_cast< const int(*)
>(_a[1])),(*
reinterpret_cast< const int(*)
>(_a[2])));
break;
115 case 6: _t->midiPitchBend((*
reinterpret_cast< const int(*)
>(_a[1])),(*
reinterpret_cast< const int(*)
>(_a[2])));
break;
116 case 7: _t->midiSysex((*
reinterpret_cast< const QByteArray(*)
>(_a[1])));
break;
117 case 8: _t->midiSystemCommon((*
reinterpret_cast< const int(*)
>(_a[1])));
break;
118 case 9: _t->midiSystemRealtime((*
reinterpret_cast< const int(*)
>(_a[1])));
break;
121 }
else if (_c == QMetaObject::IndexOfMethod) {
122 int *result =
reinterpret_cast<int *
>(_a[0]);
123 void **func =
reinterpret_cast<void **
>(_a[1]);
125 typedef void (MIDIInput::*_t)(
const int ,
const int ,
const int );
126 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&MIDIInput::midiNoteOff)) {
132 typedef void (MIDIInput::*_t)(
const int ,
const int ,
const int );
133 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&MIDIInput::midiNoteOn)) {
139 typedef void (MIDIInput::*_t)(
const int ,
const int ,
const int );
140 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&MIDIInput::midiKeyPressure)) {
146 typedef void (MIDIInput::*_t)(
const int ,
const int ,
const int );
147 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&MIDIInput::midiController)) {
153 typedef void (MIDIInput::*_t)(
const int ,
const int );
154 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&MIDIInput::midiProgram)) {
160 typedef void (MIDIInput::*_t)(
const int ,
const int );
161 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&MIDIInput::midiChannelPressure)) {
167 typedef void (MIDIInput::*_t)(
const int ,
const int );
168 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&MIDIInput::midiPitchBend)) {
174 typedef void (MIDIInput::*_t)(
const QByteArray & );
175 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&MIDIInput::midiSysex)) {
181 typedef void (MIDIInput::*_t)(
const int );
182 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&MIDIInput::midiSystemCommon)) {
188 typedef void (MIDIInput::*_t)(
const int );
189 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&MIDIInput::midiSystemRealtime)) {
197 const QMetaObject drumstick::rt::MIDIInput::staticMetaObject = {
198 { &QObject::staticMetaObject, qt_meta_stringdata_drumstick__rt__MIDIInput.data,
199 qt_meta_data_drumstick__rt__MIDIInput, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
203 const QMetaObject *drumstick::rt::MIDIInput::metaObject()
const 205 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
208 void *drumstick::rt::MIDIInput::qt_metacast(
const char *_clname)
210 if (!_clname)
return Q_NULLPTR;
211 if (!strcmp(_clname, qt_meta_stringdata_drumstick__rt__MIDIInput.stringdata0))
212 return static_cast<void*
>(
const_cast< MIDIInput*
>(
this));
213 return QObject::qt_metacast(_clname);
216 int drumstick::rt::MIDIInput::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
218 _id = QObject::qt_metacall(_c, _id, _a);
221 if (_c == QMetaObject::InvokeMetaMethod) {
223 qt_static_metacall(
this, _c, _id, _a);
225 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
227 *
reinterpret_cast<int*
>(_a[0]) = -1;
236 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t3)) };
237 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
243 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t3)) };
244 QMetaObject::activate(
this, &staticMetaObject, 1, _a);
250 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t3)) };
251 QMetaObject::activate(
this, &staticMetaObject, 2, _a);
257 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t3)) };
258 QMetaObject::activate(
this, &staticMetaObject, 3, _a);
264 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
265 QMetaObject::activate(
this, &staticMetaObject, 4, _a);
271 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
272 QMetaObject::activate(
this, &staticMetaObject, 5, _a);
278 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
279 QMetaObject::activate(
this, &staticMetaObject, 6, _a);
285 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
286 QMetaObject::activate(
this, &staticMetaObject, 7, _a);
292 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
293 QMetaObject::activate(
this, &staticMetaObject, 8, _a);
299 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
300 QMetaObject::activate(
this, &staticMetaObject, 9, _a);
The QObject class is the base class of all Qt objects.