/****************************************************************************
** Meta object code from reading C++ file 'macsynthsettingsdialog.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/widgets/macsynthsettingsdialog.h"
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'macsynthsettingsdialog.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__widgets__MacSynthSettingsDialog_t {
    uint offsetsAndSizes[16];
    char stringdata0[43];
    char stringdata1[7];
    char stringdata2[1];
    char stringdata3[10];
    char stringdata4[12];
    char stringdata5[6];
    char stringdata6[16];
    char stringdata7[15];
};
#define QT_MOC_LITERAL(ofs, len) \
    uint(sizeof(qt_meta_stringdata_drumstick__widgets__MacSynthSettingsDialog_t::offsetsAndSizes) + ofs), len 
Q_CONSTINIT static const qt_meta_stringdata_drumstick__widgets__MacSynthSettingsDialog_t qt_meta_stringdata_drumstick__widgets__MacSynthSettingsDialog = {
    {
        QT_MOC_LITERAL(0, 42),  // "drumstick::widgets::MacSynthS..."
        QT_MOC_LITERAL(43, 6),  // "accept"
        QT_MOC_LITERAL(50, 0),  // ""
        QT_MOC_LITERAL(51, 9),  // "showEvent"
        QT_MOC_LITERAL(61, 11),  // "QShowEvent*"
        QT_MOC_LITERAL(73, 5),  // "event"
        QT_MOC_LITERAL(79, 15),  // "restoreDefaults"
        QT_MOC_LITERAL(95, 14)   // "showFileDialog"
    },
    "drumstick::widgets::MacSynthSettingsDialog",
    "accept",
    "",
    "showEvent",
    "QShowEvent*",
    "event",
    "restoreDefaults",
    "showFileDialog"
};
#undef QT_MOC_LITERAL
} // unnamed namespace

Q_CONSTINIT static const uint qt_meta_data_drumstick__widgets__MacSynthSettingsDialog[] = {

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

 // slots: name, argc, parameters, tag, flags, initial metatype offsets
       1,    0,   38,    2, 0x0a,    1 /* Public */,
       3,    1,   39,    2, 0x0a,    2 /* Public */,
       6,    0,   42,    2, 0x0a,    4 /* Public */,
       7,    0,   43,    2, 0x0a,    5 /* Public */,

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

       0        // eod
};

Q_CONSTINIT const QMetaObject drumstick::widgets::MacSynthSettingsDialog::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_meta_stringdata_drumstick__widgets__MacSynthSettingsDialog.offsetsAndSizes,
    qt_meta_data_drumstick__widgets__MacSynthSettingsDialog,
    qt_static_metacall,
    nullptr,
    qt_incomplete_metaTypeArray<qt_meta_stringdata_drumstick__widgets__MacSynthSettingsDialog_t,
        // Q_OBJECT / Q_GADGET
        QtPrivate::TypeAndForceComplete<MacSynthSettingsDialog, std::true_type>,
        // method 'accept'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'showEvent'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<QShowEvent *, std::false_type>,
        // method 'restoreDefaults'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'showFileDialog'
        QtPrivate::TypeAndForceComplete<void, std::false_type>
    >,
    nullptr
} };

void drumstick::widgets::MacSynthSettingsDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<MacSynthSettingsDialog *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->accept(); break;
        case 1: _t->showEvent((*reinterpret_cast< std::add_pointer_t<QShowEvent*>>(_a[1]))); break;
        case 2: _t->restoreDefaults(); break;
        case 3: _t->showFileDialog(); break;
        default: ;
        }
    }
}

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

void *drumstick::widgets::MacSynthSettingsDialog::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_drumstick__widgets__MacSynthSettingsDialog.stringdata0))
        return static_cast<void*>(this);
    return QDialog::qt_metacast(_clname);
}

int drumstick::widgets::MacSynthSettingsDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDialog::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;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
