9 #include "../../../include/playthread.h" 10 #include <QtCore/qbytearray.h> 11 #include <QtCore/qmetatype.h> 12 #if !defined(Q_MOC_OUTPUT_REVISION) 13 #error "The header file 'playthread.h' doesn't include <QObject>." 14 #elif Q_MOC_OUTPUT_REVISION != 67 15 #error "This file was generated using the moc from 5.9.7. 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
22 QT_WARNING_DISABLE_DEPRECATED
23 struct qt_meta_stringdata_drumstick__SequencerOutputThread_t {
24 QByteArrayData data[7];
27 #define QT_MOC_LITERAL(idx, ofs, len) \ 28 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 29 qptrdiff(offsetof(qt_meta_stringdata_drumstick__SequencerOutputThread_t, stringdata0) + ofs \ 30 - idx * sizeof(QByteArrayData)) \ 32 static const qt_meta_stringdata_drumstick__SequencerOutputThread_t qt_meta_stringdata_drumstick__SequencerOutputThread = {
34 QT_MOC_LITERAL(0, 0, 32),
35 QT_MOC_LITERAL(1, 33, 8),
36 QT_MOC_LITERAL(2, 42, 0),
37 QT_MOC_LITERAL(3, 43, 7),
38 QT_MOC_LITERAL(4, 51, 5),
39 QT_MOC_LITERAL(5, 57, 8),
40 QT_MOC_LITERAL(6, 66, 8)
43 "drumstick::SequencerOutputThread\0" 44 "finished\0\0stopped\0start\0Priority\0" 49 static const uint qt_meta_data_drumstick__SequencerOutputThread[] = {
75 QMetaType::Void, 0x80000000 | 5, 6,
81 void drumstick::SequencerOutputThread::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
83 if (_c == QMetaObject::InvokeMetaMethod) {
87 case 0: _t->finished();
break;
88 case 1: _t->stopped();
break;
89 case 2: _t->start((*
reinterpret_cast< Priority(*)
>(_a[1])));
break;
90 case 3: _t->start();
break;
93 }
else if (_c == QMetaObject::IndexOfMethod) {
94 int *result =
reinterpret_cast<int *
>(_a[0]);
112 const QMetaObject drumstick::SequencerOutputThread::staticMetaObject = {
113 { &QThread::staticMetaObject, qt_meta_stringdata_drumstick__SequencerOutputThread.data,
114 qt_meta_data_drumstick__SequencerOutputThread, qt_static_metacall,
nullptr,
nullptr}
118 const QMetaObject *drumstick::SequencerOutputThread::metaObject()
const 120 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
123 void *drumstick::SequencerOutputThread::qt_metacast(
const char *_clname)
125 if (!_clname)
return nullptr;
126 if (!strcmp(_clname, qt_meta_stringdata_drumstick__SequencerOutputThread.stringdata0))
127 return static_cast<void*
>(
this);
128 return QThread::qt_metacast(_clname);
131 int drumstick::SequencerOutputThread::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
133 _id = QThread::qt_metacall(_c, _id, _a);
136 if (_c == QMetaObject::InvokeMetaMethod) {
138 qt_static_metacall(
this, _c, _id, _a);
140 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
142 *
reinterpret_cast<int*
>(_a[0]) = -1;
151 QMetaObject::activate(
this, &staticMetaObject, 0,
nullptr);
157 QMetaObject::activate(
this, &staticMetaObject, 1,
nullptr);
The QObject class is the base class of all Qt objects.
SequencerOutputThread(MidiClient *seq, int portId)
Constructor.
void stopped()
Signal emitted when the play-back has stopped.
void finished()
Signal emitted when the sequence play-back has finished.