9 #include "alsamidioutput.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #include <QtCore/qplugin.h>
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'alsamidioutput.h' doesn't include <QObject>."
15 #elif Q_MOC_OUTPUT_REVISION != 67
16 #error "This file was generated using the moc from 5.3.2. 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
22 struct qt_meta_stringdata_drumstick__rt__ALSAMIDIOutput_t {
23 QByteArrayData data[19];
26 #define QT_MOC_LITERAL(idx, ofs, len) \
27 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
28 qptrdiff(offsetof(qt_meta_stringdata_drumstick__rt__ALSAMIDIOutput_t, stringdata) + ofs \
29 - idx * sizeof(QByteArrayData)) \
31 static const qt_meta_stringdata_drumstick__rt__ALSAMIDIOutput_t qt_meta_stringdata_drumstick__rt__ALSAMIDIOutput = {
33 QT_MOC_LITERAL(0, 0, 29),
34 QT_MOC_LITERAL(1, 30, 10),
35 QT_MOC_LITERAL(2, 41, 0),
36 QT_MOC_LITERAL(3, 42, 4),
37 QT_MOC_LITERAL(4, 47, 4),
38 QT_MOC_LITERAL(5, 52, 3),
39 QT_MOC_LITERAL(6, 56, 11),
40 QT_MOC_LITERAL(7, 68, 14),
41 QT_MOC_LITERAL(8, 83, 7),
42 QT_MOC_LITERAL(9, 91, 5),
43 QT_MOC_LITERAL(10, 97, 15),
44 QT_MOC_LITERAL(11, 113, 11),
45 QT_MOC_LITERAL(12, 125, 7),
46 QT_MOC_LITERAL(13, 133, 19),
47 QT_MOC_LITERAL(14, 153, 13),
48 QT_MOC_LITERAL(15, 167, 9),
49 QT_MOC_LITERAL(16, 177, 4),
50 QT_MOC_LITERAL(17, 182, 13),
51 QT_MOC_LITERAL(18, 196, 6)
53 "drumstick::rt::ALSAMIDIOutput\0sendNoteOn\0"
54 "\0chan\0note\0vel\0sendNoteOff\0sendController\0"
55 "control\0value\0sendKeyPressure\0sendProgram\0"
56 "program\0sendChannelPressure\0sendPitchBend\0"
57 "sendSysex\0data\0sendSystemMsg\0status"
61 static const uint qt_meta_data_drumstick__rt__ALSAMIDIOutput[] = {
86 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 4, 5,
87 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 4, 5,
88 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 8, 9,
89 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 4, 9,
90 QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 12,
91 QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 9,
92 QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 9,
93 QMetaType::Void, QMetaType::QByteArray, 16,
94 QMetaType::Void, QMetaType::Int, 18,
99 void drumstick::rt::ALSAMIDIOutput::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
101 if (_c == QMetaObject::InvokeMetaMethod) {
102 ALSAMIDIOutput *_t =
static_cast<ALSAMIDIOutput *
>(_o);
104 case 0: _t->sendNoteOn((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])),(*
reinterpret_cast< int(*)
>(_a[3])));
break;
105 case 1: _t->sendNoteOff((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])),(*
reinterpret_cast< int(*)
>(_a[3])));
break;
106 case 2: _t->sendController((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])),(*
reinterpret_cast< int(*)
>(_a[3])));
break;
107 case 3: _t->sendKeyPressure((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])),(*
reinterpret_cast< int(*)
>(_a[3])));
break;
108 case 4: _t->sendProgram((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
109 case 5: _t->sendChannelPressure((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
110 case 6: _t->sendPitchBend((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
111 case 7: _t->sendSysex((*
reinterpret_cast< const QByteArray(*)
>(_a[1])));
break;
112 case 8: _t->sendSystemMsg((*
reinterpret_cast< const int(*)
>(_a[1])));
break;
118 const QMetaObject drumstick::rt::ALSAMIDIOutput::staticMetaObject = {
119 { &MIDIOutput::staticMetaObject, qt_meta_stringdata_drumstick__rt__ALSAMIDIOutput.data,
120 qt_meta_data_drumstick__rt__ALSAMIDIOutput, qt_static_metacall, 0, 0}
124 const QMetaObject *drumstick::rt::ALSAMIDIOutput::metaObject()
const
126 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
129 void *drumstick::rt::ALSAMIDIOutput::qt_metacast(
const char *_clname)
131 if (!_clname)
return 0;
132 if (!strcmp(_clname, qt_meta_stringdata_drumstick__rt__ALSAMIDIOutput.stringdata))
133 return static_cast<void*
>(
const_cast< ALSAMIDIOutput*
>(
this));
134 if (!strcmp(_clname,
"net.sourceforge.drumstick.rt.MIDIOutput/1.0"))
135 return static_cast< drumstick::rt::MIDIOutput*>(const_cast< ALSAMIDIOutput*>(
this));
136 return MIDIOutput::qt_metacast(_clname);
139 int drumstick::rt::ALSAMIDIOutput::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
141 _id = MIDIOutput::qt_metacall(_c, _id, _a);
144 if (_c == QMetaObject::InvokeMetaMethod) {
146 qt_static_metacall(
this, _c, _id, _a);
148 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
150 *
reinterpret_cast<int*
>(_a[0]) = -1;
156 QT_PLUGIN_METADATA_SECTION
const uint qt_section_alignment_dummy = 42;
160 QT_PLUGIN_METADATA_SECTION
161 static const unsigned char qt_pluginMetaData[] = {
162 'Q',
'T',
'M',
'E',
'T',
'A',
'D',
'A',
'T',
'A',
' ',
' ',
163 0x71, 0x62, 0x6a, 0x73, 0x01, 0x00, 0x00, 0x00,
164 0xb0, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00,
165 0x9c, 0x00, 0x00, 0x00, 0x1b, 0x03, 0x00, 0x00,
166 0x03, 0x00, 0x49, 0x49, 0x44, 0x00, 0x00, 0x00,
167 0x27, 0x00, 0x6e, 0x65, 0x74, 0x2e, 0x73, 0x6f,
168 0x75, 0x72, 0x63, 0x65, 0x66, 0x6f, 0x72, 0x67,
169 0x65, 0x2e, 0x64, 0x72, 0x75, 0x6d, 0x73, 0x74,
170 0x69, 0x63, 0x6b, 0x2e, 0x72, 0x74, 0x2e, 0x4d,
171 0x49, 0x44, 0x49, 0x4f, 0x75, 0x74, 0x70, 0x75,
172 0x74, 0x00, 0x00, 0x00, 0x9b, 0x0a, 0x00, 0x00,
173 0x09, 0x00, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x4e,
174 0x61, 0x6d, 0x65, 0x00, 0x0e, 0x00, 0x41, 0x4c,
175 0x53, 0x41, 0x4d, 0x49, 0x44, 0x49, 0x4f, 0x75,
176 0x74, 0x70, 0x75, 0x74, 0x5a, 0x60, 0xa0, 0x00,
177 0x07, 0x00, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
178 0x6e, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00,
179 0x05, 0x00, 0x64, 0x65, 0x62, 0x75, 0x67, 0x00,
180 0x15, 0x12, 0x00, 0x00, 0x08, 0x00, 0x4d, 0x65,
181 0x74, 0x61, 0x44, 0x61, 0x74, 0x61, 0x00, 0x00,
182 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
183 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00,
184 0x80, 0x00, 0x00, 0x00, 0x44, 0x00, 0x00, 0x00,
185 0x74, 0x00, 0x00, 0x00, 0x64, 0x00, 0x00, 0x00
190 QT_PLUGIN_METADATA_SECTION
191 static const unsigned char qt_pluginMetaData[] = {
192 'Q',
'T',
'M',
'E',
'T',
'A',
'D',
'A',
'T',
'A',
' ',
' ',
193 0x71, 0x62, 0x6a, 0x73, 0x01, 0x00, 0x00, 0x00,
194 0xb0, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00,
195 0x9c, 0x00, 0x00, 0x00, 0x1b, 0x03, 0x00, 0x00,
196 0x03, 0x00, 0x49, 0x49, 0x44, 0x00, 0x00, 0x00,
197 0x27, 0x00, 0x6e, 0x65, 0x74, 0x2e, 0x73, 0x6f,
198 0x75, 0x72, 0x63, 0x65, 0x66, 0x6f, 0x72, 0x67,
199 0x65, 0x2e, 0x64, 0x72, 0x75, 0x6d, 0x73, 0x74,
200 0x69, 0x63, 0x6b, 0x2e, 0x72, 0x74, 0x2e, 0x4d,
201 0x49, 0x44, 0x49, 0x4f, 0x75, 0x74, 0x70, 0x75,
202 0x74, 0x00, 0x00, 0x00, 0x95, 0x0a, 0x00, 0x00,
203 0x08, 0x00, 0x4d, 0x65, 0x74, 0x61, 0x44, 0x61,
204 0x74, 0x61, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00,
205 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
206 0x1b, 0x0e, 0x00, 0x00, 0x09, 0x00, 0x63, 0x6c,
207 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x00,
208 0x0e, 0x00, 0x41, 0x4c, 0x53, 0x41, 0x4d, 0x49,
209 0x44, 0x49, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74,
210 0x31, 0x00, 0x00, 0x00, 0x05, 0x00, 0x64, 0x65,
211 0x62, 0x75, 0x67, 0x00, 0x5a, 0x60, 0xa0, 0x00,
212 0x07, 0x00, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
213 0x6e, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00,
214 0x44, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00,
215 0x80, 0x00, 0x00, 0x00, 0x8c, 0x00, 0x00, 0x00
217 #endif // QT_NO_DEBUG
221 QT_MOC_EXPORT_PLUGIN(drumstick::rt::ALSAMIDIOutput, ALSAMIDIOutput)
The QObject class is the base class of all Qt objects.