9 #include "../../../common/midiparser.h" 10 #include <QtCore/qbytearray.h> 11 #include <QtCore/qmetatype.h> 12 #if !defined(Q_MOC_OUTPUT_REVISION) 13 #error "The header file 'midiparser.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__MIDIParser_t {
22 QByteArrayData data[5];
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__MIDIParser_t, stringdata0) + ofs \ 28 - idx * sizeof(QByteArrayData)) \ 30 static const qt_meta_stringdata_drumstick__rt__MIDIParser_t qt_meta_stringdata_drumstick__rt__MIDIParser = {
32 QT_MOC_LITERAL(0, 0, 25),
33 QT_MOC_LITERAL(1, 26, 5),
34 QT_MOC_LITERAL(2, 32, 0),
35 QT_MOC_LITERAL(3, 33, 4),
36 QT_MOC_LITERAL(4, 38, 5)
39 "drumstick::rt::MIDIParser\0parse\0\0byte\0" 44 static const uint qt_meta_data_drumstick__rt__MIDIParser[] = {
62 QMetaType::Void, QMetaType::UChar, 3,
63 QMetaType::Void, QMetaType::QByteArray, 4,
68 void drumstick::rt::MIDIParser::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
70 if (_c == QMetaObject::InvokeMetaMethod) {
71 MIDIParser *_t =
static_cast<MIDIParser *
>(_o);
74 case 0: _t->parse((*
reinterpret_cast< unsigned char(*)
>(_a[1])));
break;
75 case 1: _t->parse((*
reinterpret_cast< QByteArray(*)
>(_a[1])));
break;
81 const QMetaObject drumstick::rt::MIDIParser::staticMetaObject = {
82 { &QObject::staticMetaObject, qt_meta_stringdata_drumstick__rt__MIDIParser.data,
83 qt_meta_data_drumstick__rt__MIDIParser, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
87 const QMetaObject *drumstick::rt::MIDIParser::metaObject()
const 89 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
92 void *drumstick::rt::MIDIParser::qt_metacast(
const char *_clname)
94 if (!_clname)
return Q_NULLPTR;
95 if (!strcmp(_clname, qt_meta_stringdata_drumstick__rt__MIDIParser.stringdata0))
96 return static_cast<void*
>(
const_cast< MIDIParser*
>(
this));
97 return QObject::qt_metacast(_clname);
100 int drumstick::rt::MIDIParser::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
102 _id = QObject::qt_metacall(_c, _id, _a);
105 if (_c == QMetaObject::InvokeMetaMethod) {
107 qt_static_metacall(
this, _c, _id, _a);
109 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
111 *
reinterpret_cast<int*
>(_a[0]) = -1;
The QObject class is the base class of all Qt objects.