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.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__SequencerOutputThread_t {
22 QByteArrayData data[7];
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__SequencerOutputThread_t, stringdata0) + ofs \ 28 - idx * sizeof(QByteArrayData)) \ 30 static const qt_meta_stringdata_drumstick__SequencerOutputThread_t qt_meta_stringdata_drumstick__SequencerOutputThread = {
32 QT_MOC_LITERAL(0, 0, 32),
33 QT_MOC_LITERAL(1, 33, 8),
34 QT_MOC_LITERAL(2, 42, 0),
35 QT_MOC_LITERAL(3, 43, 7),
36 QT_MOC_LITERAL(4, 51, 5),
37 QT_MOC_LITERAL(5, 57, 8),
38 QT_MOC_LITERAL(6, 66, 8)
41 "drumstick::SequencerOutputThread\0" 42 "finished\0\0stopped\0start\0Priority\0" 47 static const uint qt_meta_data_drumstick__SequencerOutputThread[] = {
73 QMetaType::Void, 0x80000000 | 5, 6,
79 void drumstick::SequencerOutputThread::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
81 if (_c == QMetaObject::InvokeMetaMethod) {
82 SequencerOutputThread *_t =
static_cast<SequencerOutputThread *
>(_o);
85 case 0: _t->finished();
break;
86 case 1: _t->stopped();
break;
87 case 2: _t->start((*
reinterpret_cast< Priority(*)
>(_a[1])));
break;
88 case 3: _t->start();
break;
91 }
else if (_c == QMetaObject::IndexOfMethod) {
92 int *result =
reinterpret_cast<int *
>(_a[0]);
93 void **func =
reinterpret_cast<void **
>(_a[1]);
95 typedef void (SequencerOutputThread::*_t)();
96 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&SequencerOutputThread::finished)) {
102 typedef void (SequencerOutputThread::*_t)();
103 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&SequencerOutputThread::stopped)) {
111 const QMetaObject drumstick::SequencerOutputThread::staticMetaObject = {
112 { &QThread::staticMetaObject, qt_meta_stringdata_drumstick__SequencerOutputThread.data,
113 qt_meta_data_drumstick__SequencerOutputThread, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
117 const QMetaObject *drumstick::SequencerOutputThread::metaObject()
const 119 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
122 void *drumstick::SequencerOutputThread::qt_metacast(
const char *_clname)
124 if (!_clname)
return Q_NULLPTR;
125 if (!strcmp(_clname, qt_meta_stringdata_drumstick__SequencerOutputThread.stringdata0))
126 return static_cast<void*
>(
const_cast< SequencerOutputThread*
>(
this));
127 return QThread::qt_metacast(_clname);
130 int drumstick::SequencerOutputThread::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
132 _id = QThread::qt_metacall(_c, _id, _a);
135 if (_c == QMetaObject::InvokeMetaMethod) {
137 qt_static_metacall(
this, _c, _id, _a);
139 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
141 *
reinterpret_cast<int*
>(_a[0]) = -1;
150 QMetaObject::activate(
this, &staticMetaObject, 0, Q_NULLPTR);
156 QMetaObject::activate(
this, &staticMetaObject, 1, Q_NULLPTR);
The QObject class is the base class of all Qt objects.
void stopped()
Signal emitted when the play-back has stopped.
void finished()
Signal emitted when the sequence play-back has finished.