9 #include "../../../include/alsaport.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'alsaport.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__MidiPort_t {
22 QByteArrayData data[12];
23 char stringdata0[118];
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__MidiPort_t, stringdata0) + ofs \
28 - idx * sizeof(QByteArrayData)) \
30 static const qt_meta_stringdata_drumstick__MidiPort_t qt_meta_stringdata_drumstick__MidiPort = {
32 QT_MOC_LITERAL(0, 0, 19),
33 QT_MOC_LITERAL(1, 20, 10),
34 QT_MOC_LITERAL(2, 31, 0),
35 QT_MOC_LITERAL(3, 32, 9),
36 QT_MOC_LITERAL(4, 42, 4),
37 QT_MOC_LITERAL(5, 47, 13),
38 QT_MOC_LITERAL(6, 61, 4),
39 QT_MOC_LITERAL(7, 66, 17),
40 QT_MOC_LITERAL(8, 84, 11),
41 QT_MOC_LITERAL(9, 96, 3),
42 QT_MOC_LITERAL(10, 100, 8),
43 QT_MOC_LITERAL(11, 109, 8)
46 "drumstick::MidiPort\0subscribed\0\0"
47 "MidiPort*\0port\0Subscription*\0subs\0"
48 "midiClientChanged\0MidiClient*\0seq\0"
53 static const uint qt_meta_data_drumstick__MidiPort[] = {
73 QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, 4, 6,
74 QMetaType::Void, 0x80000000 | 3, 0x80000000 | 8, 4, 9,
75 QMetaType::Void, 0x80000000 | 3, 4,
76 QMetaType::Void, 0x80000000 | 3, 4,
81 void drumstick::MidiPort::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
83 if (_c == QMetaObject::InvokeMetaMethod) {
87 case 0: _t->subscribed((*
reinterpret_cast< MidiPort*(*)
>(_a[1])),(*
reinterpret_cast< Subscription*(*)
>(_a[2])));
break;
88 case 1: _t->midiClientChanged((*
reinterpret_cast< MidiPort*(*)
>(_a[1])),(*
reinterpret_cast< MidiClient*(*)
>(_a[2])));
break;
89 case 2: _t->attached((*
reinterpret_cast< MidiPort*(*)
>(_a[1])));
break;
90 case 3: _t->detached((*
reinterpret_cast< MidiPort*(*)
>(_a[1])));
break;
93 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
95 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
97 switch (*reinterpret_cast<int*>(_a[1])) {
98 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
100 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< MidiPort* >();
break;
104 switch (*reinterpret_cast<int*>(_a[1])) {
105 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
107 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< MidiPort* >();
break;
111 switch (*reinterpret_cast<int*>(_a[1])) {
112 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
114 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< MidiPort* >();
break;
118 switch (*reinterpret_cast<int*>(_a[1])) {
119 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
121 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< MidiPort* >();
break;
125 }
else if (_c == QMetaObject::IndexOfMethod) {
126 int *result =
reinterpret_cast<int *
>(_a[0]);
127 void **func =
reinterpret_cast<void **
>(_a[1]);
135 typedef void (MidiPort::*_t)(MidiPort * , MidiClient * );
141 typedef void (MidiPort::*_t)(MidiPort * );
147 typedef void (MidiPort::*_t)(MidiPort * );
155 const QMetaObject drumstick::MidiPort::staticMetaObject = {
156 { &QObject::staticMetaObject, qt_meta_stringdata_drumstick__MidiPort.data,
157 qt_meta_data_drumstick__MidiPort, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
161 const QMetaObject *drumstick::MidiPort::metaObject()
const
163 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
166 void *drumstick::MidiPort::qt_metacast(
const char *_clname)
168 if (!_clname)
return Q_NULLPTR;
169 if (!strcmp(_clname, qt_meta_stringdata_drumstick__MidiPort.stringdata0))
170 return static_cast<void*
>(
const_cast< MidiPort*
>(
this));
171 return QObject::qt_metacast(_clname);
174 int drumstick::MidiPort::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
176 _id = QObject::qt_metacall(_c, _id, _a);
179 if (_c == QMetaObject::InvokeMetaMethod) {
181 qt_static_metacall(
this, _c, _id, _a);
183 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
185 qt_static_metacall(
this, _c, _id, _a);
194 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
195 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
201 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
202 QMetaObject::activate(
this, &staticMetaObject, 1, _a);
208 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
209 QMetaObject::activate(
this, &staticMetaObject, 2, _a);
215 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
216 QMetaObject::activate(
this, &staticMetaObject, 3, _a);
void detached(MidiPort *port)
Signal emitted when the port is detached from a MidiClient.
The QObject class is the base class of all Qt objects.
void subscribed(MidiPort *port, Subscription *subs)
Signal emitted when an internal subscription is done.
MidiPort(QObject *parent=0)
Constructor.
void midiClientChanged(MidiPort *port, MidiClient *seq)
Signal emitted when the MidiClient has changed.
void attached(MidiPort *port)
Signal emitted when the port is attached to a MidiClient.