10 #include "../../../../include/drumstick/qsmf.h"
11 #include <QtCore/qbytearray.h>
12 #include <QtCore/qmetatype.h>
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'qsmf.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__QSmf_t {
25 QByteArrayData data[51];
26 char stringdata0[618];
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__QSmf_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
33 static const qt_meta_stringdata_drumstick__QSmf_t qt_meta_stringdata_drumstick__QSmf = {
35 QT_MOC_LITERAL(0, 0, 15),
36 QT_MOC_LITERAL(1, 16, 14),
37 QT_MOC_LITERAL(2, 31, 0),
38 QT_MOC_LITERAL(3, 32, 8),
39 QT_MOC_LITERAL(4, 41, 15),
40 QT_MOC_LITERAL(5, 57, 6),
41 QT_MOC_LITERAL(6, 64, 5),
42 QT_MOC_LITERAL(7, 70, 8),
43 QT_MOC_LITERAL(8, 79, 15),
44 QT_MOC_LITERAL(9, 95, 4),
45 QT_MOC_LITERAL(10, 100, 5),
46 QT_MOC_LITERAL(11, 106, 3),
47 QT_MOC_LITERAL(12, 110, 16),
48 QT_MOC_LITERAL(13, 127, 17),
49 QT_MOC_LITERAL(14, 145, 5),
50 QT_MOC_LITERAL(15, 151, 18),
51 QT_MOC_LITERAL(16, 170, 3),
52 QT_MOC_LITERAL(17, 174, 5),
53 QT_MOC_LITERAL(18, 180, 18),
54 QT_MOC_LITERAL(19, 199, 16),
55 QT_MOC_LITERAL(20, 216, 5),
56 QT_MOC_LITERAL(21, 222, 18),
57 QT_MOC_LITERAL(22, 241, 14),
58 QT_MOC_LITERAL(23, 256, 4),
59 QT_MOC_LITERAL(24, 261, 20),
60 QT_MOC_LITERAL(25, 282, 25),
61 QT_MOC_LITERAL(26, 308, 3),
62 QT_MOC_LITERAL(27, 312, 17),
63 QT_MOC_LITERAL(28, 330, 20),
64 QT_MOC_LITERAL(29, 351, 3),
65 QT_MOC_LITERAL(30, 355, 22),
66 QT_MOC_LITERAL(31, 378, 7),
67 QT_MOC_LITERAL(32, 386, 19),
68 QT_MOC_LITERAL(33, 406, 4),
69 QT_MOC_LITERAL(34, 411, 13),
70 QT_MOC_LITERAL(35, 425, 14),
71 QT_MOC_LITERAL(36, 440, 2),
72 QT_MOC_LITERAL(37, 443, 2),
73 QT_MOC_LITERAL(38, 446, 2),
74 QT_MOC_LITERAL(39, 449, 2),
75 QT_MOC_LITERAL(40, 452, 2),
76 QT_MOC_LITERAL(41, 455, 16),
77 QT_MOC_LITERAL(42, 472, 15),
78 QT_MOC_LITERAL(43, 488, 14),
79 QT_MOC_LITERAL(44, 503, 5),
80 QT_MOC_LITERAL(45, 509, 19),
81 QT_MOC_LITERAL(46, 529, 19),
82 QT_MOC_LITERAL(47, 549, 17),
83 QT_MOC_LITERAL(48, 567, 24),
84 QT_MOC_LITERAL(49, 592, 19),
85 QT_MOC_LITERAL(50, 612, 5)
88 "drumstick::QSmf\0signalSMFError\0\0"
89 "errorStr\0signalSMFHeader\0format\0ntrks\0"
90 "division\0signalSMFNoteOn\0chan\0pitch\0"
91 "vol\0signalSMFNoteOff\0signalSMFKeyPress\0"
92 "press\0signalSMFCtlChange\0ctl\0value\0"
93 "signalSMFPitchBend\0signalSMFProgram\0"
94 "patch\0signalSMFChanPress\0signalSMFSysex\0"
95 "data\0signalSMFSeqSpecific\0"
96 "signalSMFMetaUnregistered\0typ\0"
97 "signalSMFMetaMisc\0signalSMFSequenceNum\0"
98 "seq\0signalSMFforcedChannel\0channel\0"
99 "signalSMFforcedPort\0port\0signalSMFText\0"
100 "signalSMFSmpte\0b0\0b1\0b2\0b3\0b4\0"
101 "signalSMFTimeSig\0signalSMFKeySig\0"
102 "signalSMFTempo\0tempo\0signalSMFendOfTrack\0"
103 "signalSMFTrackStart\0signalSMFTrackEnd\0"
104 "signalSMFWriteTempoTrack\0signalSMFWriteTrack\0"
107 #undef QT_MOC_LITERAL
109 static const uint qt_meta_data_drumstick__QSmf[] = {
126 12, 3, 161, 2, 0x06 ,
127 13, 3, 168, 2, 0x06 ,
128 15, 3, 175, 2, 0x06 ,
129 18, 2, 182, 2, 0x06 ,
130 19, 2, 187, 2, 0x06 ,
131 21, 2, 192, 2, 0x06 ,
132 22, 1, 197, 2, 0x06 ,
133 24, 1, 200, 2, 0x06 ,
134 25, 2, 203, 2, 0x06 ,
135 27, 2, 208, 2, 0x06 ,
136 28, 1, 213, 2, 0x06 ,
137 30, 1, 216, 2, 0x06 ,
138 32, 1, 219, 2, 0x06 ,
139 34, 2, 222, 2, 0x06 ,
140 35, 5, 227, 2, 0x06 ,
141 41, 4, 238, 2, 0x06 ,
142 42, 2, 247, 2, 0x06 ,
143 43, 1, 252, 2, 0x06 ,
144 45, 0, 255, 2, 0x06 ,
145 46, 0, 256, 2, 0x06 ,
146 47, 0, 257, 2, 0x06 ,
147 48, 0, 258, 2, 0x06 ,
148 49, 1, 259, 2, 0x06 ,
151 QMetaType::Void, QMetaType::QString, 3,
152 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 5, 6, 7,
153 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 9, 10, 11,
154 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 9, 10, 11,
155 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 9, 10, 14,
156 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 9, 16, 17,
157 QMetaType::Void, QMetaType::Int, QMetaType::Int, 9, 17,
158 QMetaType::Void, QMetaType::Int, QMetaType::Int, 9, 20,
159 QMetaType::Void, QMetaType::Int, QMetaType::Int, 9, 14,
160 QMetaType::Void, QMetaType::QByteArray, 23,
161 QMetaType::Void, QMetaType::QByteArray, 23,
162 QMetaType::Void, QMetaType::Int, QMetaType::QByteArray, 26, 23,
163 QMetaType::Void, QMetaType::Int, QMetaType::QByteArray, 26, 23,
164 QMetaType::Void, QMetaType::Int, 29,
165 QMetaType::Void, QMetaType::Int, 31,
166 QMetaType::Void, QMetaType::Int, 33,
167 QMetaType::Void, QMetaType::Int, QMetaType::QString, 26, 23,
168 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int, 36, 37, 38, 39, 40,
169 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int, 36, 37, 38, 39,
170 QMetaType::Void, QMetaType::Int, QMetaType::Int, 36, 37,
171 QMetaType::Void, QMetaType::Int, 44,
176 QMetaType::Void, QMetaType::Int, 50,
181 void drumstick::QSmf::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
183 if (_c == QMetaObject::InvokeMetaMethod) {
184 auto *_t =
static_cast<QSmf *
>(_o);
187 case 0: _t->signalSMFError((*
reinterpret_cast< const QString(*)
>(_a[1])));
break;
188 case 1: _t->signalSMFHeader((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])),(*
reinterpret_cast< int(*)
>(_a[3])));
break;
189 case 2: _t->signalSMFNoteOn((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])),(*
reinterpret_cast< int(*)
>(_a[3])));
break;
190 case 3: _t->signalSMFNoteOff((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])),(*
reinterpret_cast< int(*)
>(_a[3])));
break;
191 case 4: _t->signalSMFKeyPress((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])),(*
reinterpret_cast< int(*)
>(_a[3])));
break;
192 case 5: _t->signalSMFCtlChange((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])),(*
reinterpret_cast< int(*)
>(_a[3])));
break;
193 case 6: _t->signalSMFPitchBend((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
194 case 7: _t->signalSMFProgram((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
195 case 8: _t->signalSMFChanPress((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
196 case 9: _t->signalSMFSysex((*
reinterpret_cast< const QByteArray(*)
>(_a[1])));
break;
197 case 10: _t->signalSMFSeqSpecific((*
reinterpret_cast< const QByteArray(*)
>(_a[1])));
break;
198 case 11: _t->signalSMFMetaUnregistered((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< const QByteArray(*)
>(_a[2])));
break;
199 case 12: _t->signalSMFMetaMisc((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< const QByteArray(*)
>(_a[2])));
break;
200 case 13: _t->signalSMFSequenceNum((*
reinterpret_cast< int(*)
>(_a[1])));
break;
201 case 14: _t->signalSMFforcedChannel((*
reinterpret_cast< int(*)
>(_a[1])));
break;
202 case 15: _t->signalSMFforcedPort((*
reinterpret_cast< int(*)
>(_a[1])));
break;
203 case 16: _t->signalSMFText((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< const QString(*)
>(_a[2])));
break;
204 case 17: _t->signalSMFSmpte((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])),(*
reinterpret_cast< int(*)
>(_a[3])),(*
reinterpret_cast< int(*)
>(_a[4])),(*
reinterpret_cast< int(*)
>(_a[5])));
break;
205 case 18: _t->signalSMFTimeSig((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])),(*
reinterpret_cast< int(*)
>(_a[3])),(*
reinterpret_cast< int(*)
>(_a[4])));
break;
206 case 19: _t->signalSMFKeySig((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
207 case 20: _t->signalSMFTempo((*
reinterpret_cast< int(*)
>(_a[1])));
break;
208 case 21: _t->signalSMFendOfTrack();
break;
209 case 22: _t->signalSMFTrackStart();
break;
210 case 23: _t->signalSMFTrackEnd();
break;
211 case 24: _t->signalSMFWriteTempoTrack();
break;
212 case 25: _t->signalSMFWriteTrack((*
reinterpret_cast< int(*)
>(_a[1])));
break;
215 }
else if (_c == QMetaObject::IndexOfMethod) {
216 int *result =
reinterpret_cast<int *
>(_a[0]);
218 using _t = void (
QSmf::*)(
const QString & );
225 using _t = void (
QSmf::*)(int , int , int );
232 using _t = void (
QSmf::*)(int , int , int );
239 using _t = void (
QSmf::*)(int , int , int );
246 using _t = void (
QSmf::*)(int , int , int );
253 using _t = void (
QSmf::*)(int , int , int );
260 using _t = void (
QSmf::*)(int , int );
267 using _t = void (
QSmf::*)(int , int );
274 using _t = void (
QSmf::*)(int , int );
281 using _t = void (
QSmf::*)(
const QByteArray & );
288 using _t = void (
QSmf::*)(
const QByteArray & );
295 using _t = void (
QSmf::*)(int ,
const QByteArray & );
302 using _t = void (
QSmf::*)(int ,
const QByteArray & );
309 using _t = void (
QSmf::*)(int );
316 using _t = void (
QSmf::*)(int );
323 using _t = void (
QSmf::*)(int );
330 using _t = void (
QSmf::*)(int ,
const QString & );
337 using _t = void (
QSmf::*)(int , int , int , int , int );
344 using _t = void (
QSmf::*)(int , int , int , int );
351 using _t = void (
QSmf::*)(int , int );
358 using _t = void (
QSmf::*)(int );
365 using _t = void (
QSmf::*)();
372 using _t = void (
QSmf::*)();
379 using _t = void (
QSmf::*)();
386 using _t = void (
QSmf::*)();
393 using _t = void (
QSmf::*)(int );
402 QT_INIT_METAOBJECT
const QMetaObject drumstick::QSmf::staticMetaObject = { {
403 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
404 qt_meta_stringdata_drumstick__QSmf.data,
405 qt_meta_data_drumstick__QSmf,
412 const QMetaObject *drumstick::QSmf::metaObject()
const
414 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
417 void *drumstick::QSmf::qt_metacast(
const char *_clname)
419 if (!_clname)
return nullptr;
420 if (!strcmp(_clname, qt_meta_stringdata_drumstick__QSmf.stringdata0))
421 return static_cast<void*
>(
this);
422 return QObject::qt_metacast(_clname);
425 int drumstick::QSmf::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
427 _id = QObject::qt_metacall(_c, _id, _a);
430 if (_c == QMetaObject::InvokeMetaMethod) {
432 qt_static_metacall(
this, _c, _id, _a);
434 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
436 *
reinterpret_cast<int*
>(_a[0]) = -1;
445 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
446 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
452 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))) };
453 QMetaObject::activate(
this, &staticMetaObject, 1, _a);
459 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))) };
460 QMetaObject::activate(
this, &staticMetaObject, 2, _a);
466 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))) };
467 QMetaObject::activate(
this, &staticMetaObject, 3, _a);
473 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))) };
474 QMetaObject::activate(
this, &staticMetaObject, 4, _a);
480 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))) };
481 QMetaObject::activate(
this, &staticMetaObject, 5, _a);
487 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))) };
488 QMetaObject::activate(
this, &staticMetaObject, 6, _a);
494 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))) };
495 QMetaObject::activate(
this, &staticMetaObject, 7, _a);
501 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))) };
502 QMetaObject::activate(
this, &staticMetaObject, 8, _a);
508 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
509 QMetaObject::activate(
this, &staticMetaObject, 9, _a);
515 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
516 QMetaObject::activate(
this, &staticMetaObject, 10, _a);
522 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))) };
523 QMetaObject::activate(
this, &staticMetaObject, 11, _a);
529 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))) };
530 QMetaObject::activate(
this, &staticMetaObject, 12, _a);
536 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
537 QMetaObject::activate(
this, &staticMetaObject, 13, _a);
543 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
544 QMetaObject::activate(
this, &staticMetaObject, 14, _a);
550 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
551 QMetaObject::activate(
this, &staticMetaObject, 15, _a);
557 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))) };
558 QMetaObject::activate(
this, &staticMetaObject, 16, _a);
564 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))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t4))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t5))) };
565 QMetaObject::activate(
this, &staticMetaObject, 17, _a);
571 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))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t4))) };
572 QMetaObject::activate(
this, &staticMetaObject, 18, _a);
578 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))) };
579 QMetaObject::activate(
this, &staticMetaObject, 19, _a);
585 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
586 QMetaObject::activate(
this, &staticMetaObject, 20, _a);
592 QMetaObject::activate(
this, &staticMetaObject, 21,
nullptr);
598 QMetaObject::activate(
this, &staticMetaObject, 22,
nullptr);
604 QMetaObject::activate(
this, &staticMetaObject, 23,
nullptr);
610 QMetaObject::activate(
this, &staticMetaObject, 24,
nullptr);
616 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
617 QMetaObject::activate(
this, &staticMetaObject, 25, _a);