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

#include <memory>
#include "../../../muse-4.2.1/src/muse/master/master.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'master.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. 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_MusEGui__Master_t {
    QByteArrayData data[14];
    char stringdata0[164];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MusEGui__Master_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MusEGui__Master_t qt_meta_stringdata_MusEGui__Master = {
    {
QT_MOC_LITERAL(0, 0, 15), // "MusEGui::Master"
QT_MOC_LITERAL(1, 16, 11), // "followEvent"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 11), // "xposChanged"
QT_MOC_LITERAL(4, 41, 11), // "yposChanged"
QT_MOC_LITERAL(5, 53, 11), // "timeChanged"
QT_MOC_LITERAL(6, 65, 12), // "tempoChanged"
QT_MOC_LITERAL(7, 78, 11), // "songChanged"
QT_MOC_LITERAL(8, 90, 29), // "MusECore::SongChangedStruct_t"
QT_MOC_LITERAL(9, 120, 10), // "redrawGrid"
QT_MOC_LITERAL(10, 131, 6), // "setPos"
QT_MOC_LITERAL(11, 138, 15), // "adjustScrollbar"
QT_MOC_LITERAL(12, 154, 7), // "setTool"
QT_MOC_LITERAL(13, 162, 1) // "t"

    },
    "MusEGui::Master\0followEvent\0\0xposChanged\0"
    "yposChanged\0timeChanged\0tempoChanged\0"
    "songChanged\0MusECore::SongChangedStruct_t\0"
    "redrawGrid\0setPos\0adjustScrollbar\0"
    "setTool\0t"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MusEGui__Master[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   59,    2, 0x06 /* Public */,
       3,    1,   62,    2, 0x06 /* Public */,
       4,    1,   65,    2, 0x06 /* Public */,
       5,    1,   68,    2, 0x06 /* Public */,
       6,    1,   71,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    1,   74,    2, 0x08 /* Private */,
       9,    0,   77,    2, 0x0a /* Public */,
      10,    3,   78,    2, 0x0a /* Public */,
      12,    1,   85,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::UInt,    2,
    QMetaType::Void, QMetaType::Int,    2,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 8,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::UInt, QMetaType::Bool,    2,    2,   11,
    QMetaType::Void, QMetaType::Int,   13,

       0        // eod
};

void MusEGui::Master::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Master *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->followEvent((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->xposChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->yposChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->timeChanged((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 4: _t->tempoChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->songChanged((*reinterpret_cast< MusECore::SongChangedStruct_t(*)>(_a[1]))); break;
        case 6: _t->redrawGrid(); break;
        case 7: _t->setPos((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 8: _t->setTool((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (Master::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Master::followEvent)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (Master::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Master::xposChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (Master::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Master::yposChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (Master::*)(unsigned  );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Master::timeChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (Master::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Master::tempoChanged)) {
                *result = 4;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject MusEGui::Master::staticMetaObject = { {
    QMetaObject::SuperData::link<MusEGui::View::staticMetaObject>(),
    qt_meta_stringdata_MusEGui__Master.data,
    qt_meta_data_MusEGui__Master,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *MusEGui::Master::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_MusEGui__Master.stringdata0))
        return static_cast<void*>(this);
    return MusEGui::View::qt_metacast(_clname);
}

int MusEGui::Master::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = MusEGui::View::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 9;
    }
    return _id;
}

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

// SIGNAL 1
void MusEGui::Master::xposChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

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

// SIGNAL 3
void MusEGui::Master::timeChanged(unsigned  _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void MusEGui::Master::tempoChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
