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

#include <memory>
#include "qprojectmwidget.hpp"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qprojectmwidget.hpp' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.14. 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_QProjectMWidget_t {
    QByteArrayData data[23];
    char stringdata0[297];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QProjectMWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QProjectMWidget_t qt_meta_stringdata_QProjectMWidget = {
    {
QT_MOC_LITERAL(0, 0, 15), // "QProjectMWidget"
QT_MOC_LITERAL(1, 16, 20), // "projectM_Initialized"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 10), // "QProjectM*"
QT_MOC_LITERAL(4, 49, 22), // "projectM_BeforeDestroy"
QT_MOC_LITERAL(5, 72, 17), // "presetLockChanged"
QT_MOC_LITERAL(6, 90, 8), // "isLocked"
QT_MOC_LITERAL(7, 99, 21), // "shuffleEnabledChanged"
QT_MOC_LITERAL(8, 121, 16), // "isShuffleEnabled"
QT_MOC_LITERAL(9, 138, 14), // "mouseMoveEvent"
QT_MOC_LITERAL(10, 153, 12), // "QMouseEvent*"
QT_MOC_LITERAL(11, 166, 5), // "event"
QT_MOC_LITERAL(12, 172, 10), // "leaveEvent"
QT_MOC_LITERAL(13, 183, 7), // "QEvent*"
QT_MOC_LITERAL(14, 191, 13), // "resetProjectM"
QT_MOC_LITERAL(15, 205, 13), // "setAudioMutex"
QT_MOC_LITERAL(16, 219, 7), // "QMutex*"
QT_MOC_LITERAL(17, 227, 5), // "mutex"
QT_MOC_LITERAL(18, 233, 13), // "setPresetLock"
QT_MOC_LITERAL(19, 247, 5), // "state"
QT_MOC_LITERAL(20, 253, 17), // "setShuffleEnabled"
QT_MOC_LITERAL(21, 271, 15), // "mousePressEvent"
QT_MOC_LITERAL(22, 287, 9) // "hideMouse"

    },
    "QProjectMWidget\0projectM_Initialized\0"
    "\0QProjectM*\0projectM_BeforeDestroy\0"
    "presetLockChanged\0isLocked\0"
    "shuffleEnabledChanged\0isShuffleEnabled\0"
    "mouseMoveEvent\0QMouseEvent*\0event\0"
    "leaveEvent\0QEvent*\0resetProjectM\0"
    "setAudioMutex\0QMutex*\0mutex\0setPresetLock\0"
    "state\0setShuffleEnabled\0mousePressEvent\0"
    "hideMouse"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QProjectMWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   74,    2, 0x06 /* Public */,
       4,    0,   77,    2, 0x06 /* Public */,
       5,    1,   78,    2, 0x06 /* Public */,
       7,    1,   81,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    1,   84,    2, 0x09 /* Protected */,
      12,    1,   87,    2, 0x09 /* Protected */,
      14,    0,   90,    2, 0x0a /* Public */,
      15,    1,   91,    2, 0x0a /* Public */,
      18,    1,   94,    2, 0x0a /* Public */,
      20,    1,   97,    2, 0x0a /* Public */,
      21,    1,  100,    2, 0x0a /* Public */,
      22,    0,  103,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    6,
    QMetaType::Void, QMetaType::Bool,    8,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void, 0x80000000 | 13,   11,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 16,   17,
    QMetaType::Void, QMetaType::Int,   19,
    QMetaType::Void, QMetaType::Int,   19,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void,

       0        // eod
};

void QProjectMWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QProjectMWidget *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->projectM_Initialized((*reinterpret_cast< QProjectM*(*)>(_a[1]))); break;
        case 1: _t->projectM_BeforeDestroy(); break;
        case 2: _t->presetLockChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->shuffleEnabledChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->mouseMoveEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
        case 5: _t->leaveEvent((*reinterpret_cast< QEvent*(*)>(_a[1]))); break;
        case 6: _t->resetProjectM(); break;
        case 7: _t->setAudioMutex((*reinterpret_cast< QMutex*(*)>(_a[1]))); break;
        case 8: _t->setPresetLock((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->setShuffleEnabled((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->mousePressEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
        case 11: _t->hideMouse(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QProjectM* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QProjectMWidget::*)(QProjectM * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QProjectMWidget::projectM_Initialized)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QProjectMWidget::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QProjectMWidget::projectM_BeforeDestroy)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QProjectMWidget::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QProjectMWidget::presetLockChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QProjectMWidget::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QProjectMWidget::shuffleEnabledChanged)) {
                *result = 3;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject QProjectMWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QGLWidget::staticMetaObject>(),
    qt_meta_stringdata_QProjectMWidget.data,
    qt_meta_data_QProjectMWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *QProjectMWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QProjectMWidget.stringdata0))
        return static_cast<void*>(this);
    return QGLWidget::qt_metacast(_clname);
}

int QProjectMWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QGLWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
    return _id;
}

// SIGNAL 0
void QProjectMWidget::projectM_Initialized(QProjectM * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void QProjectMWidget::projectM_BeforeDestroy()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void QProjectMWidget::presetLockChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void QProjectMWidget::shuffleEnabledChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
