9 #include "../../../include/alsaclient.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'alsaclient.h' doesn't include <QObject>."
14 #elif Q_MOC_OUTPUT_REVISION != 67
15 #error "This file was generated using the moc from 5.5.0. 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__MidiClient_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__MidiClient_t, stringdata0) + ofs \
28 - idx * sizeof(QByteArrayData)) \
30 static const qt_meta_stringdata_drumstick__MidiClient_t qt_meta_stringdata_drumstick__MidiClient = {
32 QT_MOC_LITERAL(0, 0, 21),
33 QT_MOC_LITERAL(1, 22, 13),
34 QT_MOC_LITERAL(2, 36, 0),
35 QT_MOC_LITERAL(3, 37, 15),
36 QT_MOC_LITERAL(4, 53, 2)
39 "drumstick::MidiClient\0eventReceived\0"
40 "\0SequencerEvent*\0ev"
44 static const uint qt_meta_data_drumstick__MidiClient[] = {
61 QMetaType::Void, 0x80000000 | 3, 4,
66 void drumstick::MidiClient::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
68 if (_c == QMetaObject::InvokeMetaMethod) {
72 case 0: _t->eventReceived((*
reinterpret_cast< SequencerEvent*(*)
>(_a[1])));
break;
75 }
else if (_c == QMetaObject::IndexOfMethod) {
76 int *result =
reinterpret_cast<int *
>(_a[0]);
77 void **func =
reinterpret_cast<void **
>(_a[1]);
79 typedef void (
MidiClient::*_t)(SequencerEvent * );
87 const QMetaObject drumstick::MidiClient::staticMetaObject = {
88 { &QObject::staticMetaObject, qt_meta_stringdata_drumstick__MidiClient.data,
89 qt_meta_data_drumstick__MidiClient, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
93 const QMetaObject *drumstick::MidiClient::metaObject()
const
95 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
98 void *drumstick::MidiClient::qt_metacast(
const char *_clname)
100 if (!_clname)
return Q_NULLPTR;
101 if (!strcmp(_clname, qt_meta_stringdata_drumstick__MidiClient.stringdata0))
102 return static_cast<void*
>(
const_cast< MidiClient*
>(
this));
103 return QObject::qt_metacast(_clname);
106 int drumstick::MidiClient::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
108 _id = QObject::qt_metacall(_c, _id, _a);
111 if (_c == QMetaObject::InvokeMetaMethod) {
113 qt_static_metacall(
this, _c, _id, _a);
115 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
117 *
reinterpret_cast<int*
>(_a[0]) = -1;
126 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
127 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
void eventReceived(SequencerEvent *ev)
Signal emitted when an event is received.
The QObject class is the base class of all Qt objects.
Base class for the event's hierarchy.
MidiClient(QObject *parent=0)
Constructor.