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

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

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
namespace {
struct qt_meta_stringdata_drumstick__rt__ALSAMIDIInput_t {
    uint offsetsAndSizes[6];
    char stringdata0[29];
    char stringdata1[12];
    char stringdata2[7];
};
#define QT_MOC_LITERAL(ofs, len) \
    uint(sizeof(qt_meta_stringdata_drumstick__rt__ALSAMIDIInput_t::offsetsAndSizes) + ofs), len 
Q_CONSTINIT static const qt_meta_stringdata_drumstick__rt__ALSAMIDIInput_t qt_meta_stringdata_drumstick__rt__ALSAMIDIInput = {
    {
        QT_MOC_LITERAL(0, 28),  // "drumstick::rt::ALSAMIDIInput"
        QT_MOC_LITERAL(29, 11),  // "diagnostics"
        QT_MOC_LITERAL(41, 6)   // "status"
    },
    "drumstick::rt::ALSAMIDIInput",
    "diagnostics",
    "status"
};
#undef QT_MOC_LITERAL
} // unnamed namespace

Q_CONSTINIT static const uint qt_meta_data_drumstick__rt__ALSAMIDIInput[] = {

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

 // properties: name, type, flags
       1, QMetaType::QStringList, 0x00015001, uint(-1), 0,
       2, QMetaType::Bool, 0x00015001, uint(-1), 0,

       0        // eod
};

Q_CONSTINIT const QMetaObject drumstick::rt::ALSAMIDIInput::staticMetaObject = { {
    QMetaObject::SuperData::link<MIDIInput::staticMetaObject>(),
    qt_meta_stringdata_drumstick__rt__ALSAMIDIInput.offsetsAndSizes,
    qt_meta_data_drumstick__rt__ALSAMIDIInput,
    qt_static_metacall,
    nullptr,
    qt_incomplete_metaTypeArray<qt_meta_stringdata_drumstick__rt__ALSAMIDIInput_t,
        // property 'diagnostics'
        QtPrivate::TypeAndForceComplete<QStringList, std::true_type>,
        // property 'status'
        QtPrivate::TypeAndForceComplete<bool, std::true_type>,
        // Q_OBJECT / Q_GADGET
        QtPrivate::TypeAndForceComplete<ALSAMIDIInput, std::true_type>
    >,
    nullptr
} };

void drumstick::rt::ALSAMIDIInput::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<ALSAMIDIInput *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QStringList*>(_v) = _t->getDiagnostics(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->getStatus(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    } else if (_c == QMetaObject::BindableProperty) {
    }
    (void)_o;
    (void)_id;
    (void)_c;
    (void)_a;
}

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

void *drumstick::rt::ALSAMIDIInput::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_drumstick__rt__ALSAMIDIInput.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "net.sourceforge.drumstick.rt.MIDIInput/2.0"))
        return static_cast< drumstick::rt::MIDIInput*>(this);
    return MIDIInput::qt_metacast(_clname);
}

int drumstick::rt::ALSAMIDIInput::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = MIDIInput::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
    return _id;
}
using namespace drumstick;
using namespace drumstick::rt;

#ifdef QT_MOC_EXPORT_PLUGIN_V2
static constexpr unsigned char qt_pluginMetaDataV2_ALSAMIDIInput[] = {
    0xbf, 
    // "IID"
    0x02,  0x78,  0x2a,  'n',  'e',  't',  '.',  's', 
    'o',  'u',  'r',  'c',  'e',  'f',  'o',  'r', 
    'g',  'e',  '.',  'd',  'r',  'u',  'm',  's', 
    't',  'i',  'c',  'k',  '.',  'r',  't',  '.', 
    'M',  'I',  'D',  'I',  'I',  'n',  'p',  'u', 
    't',  '/',  '2',  '.',  '0', 
    // "className"
    0x03,  0x6d,  'A',  'L',  'S',  'A',  'M',  'I', 
    'D',  'I',  'I',  'n',  'p',  'u',  't', 
    0xff, 
};
QT_MOC_EXPORT_PLUGIN_V2(drumstick::rt::ALSAMIDIInput, ALSAMIDIInput, qt_pluginMetaDataV2_ALSAMIDIInput)
#else
QT_PLUGIN_METADATA_SECTION
Q_CONSTINIT static constexpr unsigned char qt_pluginMetaData_ALSAMIDIInput[] = {
    'Q', 'T', 'M', 'E', 'T', 'A', 'D', 'A', 'T', 'A', ' ', '!',
    // metadata version, Qt version, architectural requirements
    0, QT_VERSION_MAJOR, QT_VERSION_MINOR, qPluginArchRequirements(),
    0xbf, 
    // "IID"
    0x02,  0x78,  0x2a,  'n',  'e',  't',  '.',  's', 
    'o',  'u',  'r',  'c',  'e',  'f',  'o',  'r', 
    'g',  'e',  '.',  'd',  'r',  'u',  'm',  's', 
    't',  'i',  'c',  'k',  '.',  'r',  't',  '.', 
    'M',  'I',  'D',  'I',  'I',  'n',  'p',  'u', 
    't',  '/',  '2',  '.',  '0', 
    // "className"
    0x03,  0x6d,  'A',  'L',  'S',  'A',  'M',  'I', 
    'D',  'I',  'I',  'n',  'p',  'u',  't', 
    0xff, 
};
QT_MOC_EXPORT_PLUGIN(drumstick::rt::ALSAMIDIInput, ALSAMIDIInput)
#endif  // QT_MOC_EXPORT_PLUGIN_V2

QT_WARNING_POP
QT_END_MOC_NAMESPACE
