/****************************************************************************
** Meta object code from reading C++ file 'sig_tempo_toolbar.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/components/sig_tempo_toolbar.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'sig_tempo_toolbar.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__TempoToolbar_t {
    QByteArrayData data[13];
    char stringdata0[193];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MusEGui__TempoToolbar_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MusEGui__TempoToolbar_t qt_meta_stringdata_MusEGui__TempoToolbar = {
    {
QT_MOC_LITERAL(0, 0, 21), // "MusEGui::TempoToolbar"
QT_MOC_LITERAL(1, 22, 13), // "returnPressed"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 13), // "escapePressed"
QT_MOC_LITERAL(4, 51, 18), // "masterTrackChanged"
QT_MOC_LITERAL(5, 70, 11), // "pos_changed"
QT_MOC_LITERAL(6, 82, 12), // "song_changed"
QT_MOC_LITERAL(7, 95, 29), // "MusECore::SongChangedStruct_t"
QT_MOC_LITERAL(8, 125, 11), // "syncChanged"
QT_MOC_LITERAL(9, 137, 9), // "tap_tempo"
QT_MOC_LITERAL(10, 147, 16), // "tap_timer_signal"
QT_MOC_LITERAL(11, 164, 13), // "masterToggled"
QT_MOC_LITERAL(12, 178, 14) // "tapButtonBlink"

    },
    "MusEGui::TempoToolbar\0returnPressed\0"
    "\0escapePressed\0masterTrackChanged\0"
    "pos_changed\0song_changed\0"
    "MusECore::SongChangedStruct_t\0syncChanged\0"
    "tap_tempo\0tap_timer_signal\0masterToggled\0"
    "tapButtonBlink"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MusEGui__TempoToolbar[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   64,    2, 0x06 /* Public */,
       3,    0,   65,    2, 0x06 /* Public */,
       4,    1,   66,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    3,   69,    2, 0x08 /* Private */,
       6,    1,   76,    2, 0x08 /* Private */,
       8,    1,   79,    2, 0x08 /* Private */,
       9,    0,   82,    2, 0x08 /* Private */,
      10,    0,   83,    2, 0x08 /* Private */,
      11,    1,   84,    2, 0x08 /* Private */,
      12,    0,   87,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,

 // slots: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::UInt, QMetaType::Bool,    2,    2,    2,
    QMetaType::Void, 0x80000000 | 7,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,

       0        // eod
};

void MusEGui::TempoToolbar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<TempoToolbar *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->returnPressed(); break;
        case 1: _t->escapePressed(); break;
        case 2: _t->masterTrackChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->pos_changed((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 4: _t->song_changed((*reinterpret_cast< MusECore::SongChangedStruct_t(*)>(_a[1]))); break;
        case 5: _t->syncChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->tap_tempo(); break;
        case 7: _t->tap_timer_signal(); break;
        case 8: _t->masterToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->tapButtonBlink(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (TempoToolbar::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TempoToolbar::returnPressed)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (TempoToolbar::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TempoToolbar::escapePressed)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (TempoToolbar::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TempoToolbar::masterTrackChanged)) {
                *result = 2;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject MusEGui::TempoToolbar::staticMetaObject = { {
    QMetaObject::SuperData::link<QToolBar::staticMetaObject>(),
    qt_meta_stringdata_MusEGui__TempoToolbar.data,
    qt_meta_data_MusEGui__TempoToolbar,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void MusEGui::TempoToolbar::returnPressed()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void MusEGui::TempoToolbar::escapePressed()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void MusEGui::TempoToolbar::masterTrackChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
struct qt_meta_stringdata_MusEGui__SigToolbar_t {
    QByteArrayData data[7];
    char stringdata0[104];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MusEGui__SigToolbar_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MusEGui__SigToolbar_t qt_meta_stringdata_MusEGui__SigToolbar = {
    {
QT_MOC_LITERAL(0, 0, 19), // "MusEGui::SigToolbar"
QT_MOC_LITERAL(1, 20, 13), // "returnPressed"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 13), // "escapePressed"
QT_MOC_LITERAL(4, 49, 11), // "pos_changed"
QT_MOC_LITERAL(5, 61, 12), // "song_changed"
QT_MOC_LITERAL(6, 74, 29) // "MusECore::SongChangedStruct_t"

    },
    "MusEGui::SigToolbar\0returnPressed\0\0"
    "escapePressed\0pos_changed\0song_changed\0"
    "MusECore::SongChangedStruct_t"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MusEGui__SigToolbar[] = {

 // content:
       8,       // 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
       1,    0,   34,    2, 0x06 /* Public */,
       3,    0,   35,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    3,   36,    2, 0x08 /* Private */,
       5,    1,   43,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::UInt, QMetaType::Bool,    2,    2,    2,
    QMetaType::Void, 0x80000000 | 6,    2,

       0        // eod
};

void MusEGui::SigToolbar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<SigToolbar *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->returnPressed(); break;
        case 1: _t->escapePressed(); break;
        case 2: _t->pos_changed((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 3: _t->song_changed((*reinterpret_cast< MusECore::SongChangedStruct_t(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (SigToolbar::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SigToolbar::returnPressed)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (SigToolbar::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SigToolbar::escapePressed)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject MusEGui::SigToolbar::staticMetaObject = { {
    QMetaObject::SuperData::link<QToolBar::staticMetaObject>(),
    qt_meta_stringdata_MusEGui__SigToolbar.data,
    qt_meta_data_MusEGui__SigToolbar,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int MusEGui::SigToolbar::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QToolBar::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<int*>(_a[0]) = -1;
        _id -= 4;
    }
    return _id;
}

// SIGNAL 0
void MusEGui::SigToolbar::returnPressed()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void MusEGui::SigToolbar::escapePressed()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
