/****************************************************************************
** Meta object code from reading C++ file 'playthread.h'
**
** Created by: The Qt Meta Object Compiler version 68 (Qt 6.3.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include <memory>
#include "../../../../../../drumstick-2.7.1/library/include/drumstick/playthread.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'playthread.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 68
#error "This file was generated using the moc from 6.3.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_drumstick__ALSA__SequencerOutputThread_t {
    const uint offsetsAndSize[14];
    char stringdata0[106];
};
#define QT_MOC_LITERAL(ofs, len) \
    uint(offsetof(qt_meta_stringdata_drumstick__ALSA__SequencerOutputThread_t, stringdata0) + ofs), len 
static const qt_meta_stringdata_drumstick__ALSA__SequencerOutputThread_t qt_meta_stringdata_drumstick__ALSA__SequencerOutputThread = {
    {
QT_MOC_LITERAL(0, 38), // "drumstick::ALSA::SequencerOut..."
QT_MOC_LITERAL(39, 16), // "playbackFinished"
QT_MOC_LITERAL(56, 0), // ""
QT_MOC_LITERAL(57, 15), // "playbackStopped"
QT_MOC_LITERAL(73, 5), // "start"
QT_MOC_LITERAL(79, 17), // "QThread::Priority"
QT_MOC_LITERAL(97, 8) // "priority"

    },
    "drumstick::ALSA::SequencerOutputThread\0"
    "playbackFinished\0\0playbackStopped\0"
    "start\0QThread::Priority\0priority"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_drumstick__ALSA__SequencerOutputThread[] = {

 // content:
      10,       // revision
       0,       // classname
       0,    0, // classinfo
       4,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       2,       // signalCount

 // signals: name, argc, parameters, tag, flags, initial metatype offsets
       1,    0,   38,    2, 0x06,    1 /* Public */,
       3,    0,   39,    2, 0x06,    2 /* Public */,

 // slots: name, argc, parameters, tag, flags, initial metatype offsets
       4,    1,   40,    2, 0x0a,    3 /* Public */,
       4,    0,   43,    2, 0x2a,    5 /* Public | MethodCloned */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void,

       0        // eod
};

void drumstick::ALSA::SequencerOutputThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<SequencerOutputThread *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->playbackFinished(); break;
        case 1: _t->playbackStopped(); break;
        case 2: _t->start((*reinterpret_cast< std::add_pointer_t<QThread::Priority>>(_a[1]))); break;
        case 3: _t->start(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (SequencerOutputThread::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequencerOutputThread::playbackFinished)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (SequencerOutputThread::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequencerOutputThread::playbackStopped)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject drumstick::ALSA::SequencerOutputThread::staticMetaObject = { {
    QMetaObject::SuperData::link<QThread::staticMetaObject>(),
    qt_meta_stringdata_drumstick__ALSA__SequencerOutputThread.offsetsAndSize,
    qt_meta_data_drumstick__ALSA__SequencerOutputThread,
    qt_static_metacall,
    nullptr,
qt_incomplete_metaTypeArray<qt_meta_stringdata_drumstick__ALSA__SequencerOutputThread_t
, QtPrivate::TypeAndForceComplete<SequencerOutputThread, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QThread::Priority, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>


>,
    nullptr
} };


const QMetaObject *drumstick::ALSA::SequencerOutputThread::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *drumstick::ALSA::SequencerOutputThread::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_drumstick__ALSA__SequencerOutputThread.stringdata0))
        return static_cast<void*>(this);
    return QThread::qt_metacast(_clname);
}

int drumstick::ALSA::SequencerOutputThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QThread::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 4;
    }
    return _id;
}

// SIGNAL 0
void drumstick::ALSA::SequencerOutputThread::playbackFinished()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void drumstick::ALSA::SequencerOutputThread::playbackStopped()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
