/****************************************************************************
** Meta object code from reading C++ file 'transport.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/transport.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'transport.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__TempoSig_t {
    QByteArrayData data[13];
    char stringdata0[166];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MusEGui__TempoSig_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MusEGui__TempoSig_t qt_meta_stringdata_MusEGui__TempoSig = {
    {
QT_MOC_LITERAL(0, 0, 17), // "MusEGui::TempoSig"
QT_MOC_LITERAL(1, 18, 12), // "tempoChanged"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 10), // "sigChanged"
QT_MOC_LITERAL(4, 43, 23), // "MusECore::TimeSignature"
QT_MOC_LITERAL(5, 67, 18), // "masterTrackChanged"
QT_MOC_LITERAL(6, 86, 13), // "returnPressed"
QT_MOC_LITERAL(7, 100, 13), // "escapePressed"
QT_MOC_LITERAL(8, 114, 13), // "configChanged"
QT_MOC_LITERAL(9, 128, 13), // "masterToggled"
QT_MOC_LITERAL(10, 142, 8), // "newTempo"
QT_MOC_LITERAL(11, 151, 8), // "setTempo"
QT_MOC_LITERAL(12, 160, 5) // "tempo"

    },
    "MusEGui::TempoSig\0tempoChanged\0\0"
    "sigChanged\0MusECore::TimeSignature\0"
    "masterTrackChanged\0returnPressed\0"
    "escapePressed\0configChanged\0masterToggled\0"
    "newTempo\0setTempo\0tempo"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MusEGui__TempoSig[] = {

 // 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 */,
       5,    1,   65,    2, 0x06 /* Public */,
       6,    0,   68,    2, 0x06 /* Public */,
       7,    0,   69,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,   70,    2, 0x08 /* Private */,
       9,    1,   71,    2, 0x08 /* Private */,
      10,    1,   74,    2, 0x0a /* Public */,
      11,    1,   77,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, 0x80000000 | 4,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Double,    2,
    QMetaType::Void, QMetaType::Int,   12,

       0        // eod
};

void MusEGui::TempoSig::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<TempoSig *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->tempoChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->sigChanged((*reinterpret_cast< const MusECore::TimeSignature(*)>(_a[1]))); break;
        case 2: _t->masterTrackChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->returnPressed(); break;
        case 4: _t->escapePressed(); break;
        case 5: _t->configChanged(); break;
        case 6: _t->masterToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->newTempo((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 8: _t->setTempo((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (TempoSig::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TempoSig::tempoChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (TempoSig::*)(const MusECore::TimeSignature & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TempoSig::sigChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (TempoSig::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TempoSig::masterTrackChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (TempoSig::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TempoSig::returnPressed)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (TempoSig::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TempoSig::escapePressed)) {
                *result = 4;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject MusEGui::TempoSig::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_MusEGui__TempoSig.data,
    qt_meta_data_MusEGui__TempoSig,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int MusEGui::TempoSig::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::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::TempoSig::tempoChanged(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::TempoSig::sigChanged(const MusECore::TimeSignature & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

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

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

// SIGNAL 4
void MusEGui::TempoSig::escapePressed()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}
struct qt_meta_stringdata_MusEGui__Transport_t {
    QByteArrayData data[36];
    char stringdata0[437];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MusEGui__Transport_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MusEGui__Transport_t qt_meta_stringdata_MusEGui__Transport = {
    {
QT_MOC_LITERAL(0, 0, 18), // "MusEGui::Transport"
QT_MOC_LITERAL(1, 19, 11), // "cposChanged"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 13), // "MusECore::Pos"
QT_MOC_LITERAL(4, 46, 11), // "lposChanged"
QT_MOC_LITERAL(5, 58, 11), // "rposChanged"
QT_MOC_LITERAL(6, 70, 11), // "songChanged"
QT_MOC_LITERAL(7, 82, 29), // "MusECore::SongChangedStruct_t"
QT_MOC_LITERAL(8, 112, 11), // "syncChanged"
QT_MOC_LITERAL(9, 124, 21), // "timebaseMasterChanged"
QT_MOC_LITERAL(10, 146, 15), // "jackSyncChanged"
QT_MOC_LITERAL(11, 162, 9), // "setRecord"
QT_MOC_LITERAL(12, 172, 4), // "flag"
QT_MOC_LITERAL(13, 177, 11), // "stopToggled"
QT_MOC_LITERAL(14, 189, 11), // "playToggled"
QT_MOC_LITERAL(15, 201, 13), // "configChanged"
QT_MOC_LITERAL(16, 215, 9), // "sigChange"
QT_MOC_LITERAL(17, 225, 23), // "MusECore::TimeSignature"
QT_MOC_LITERAL(18, 249, 14), // "extSyncClicked"
QT_MOC_LITERAL(19, 264, 1), // "v"
QT_MOC_LITERAL(20, 266, 23), // "useJackTransportClicked"
QT_MOC_LITERAL(21, 290, 21), // "timebaseMasterClicked"
QT_MOC_LITERAL(22, 312, 8), // "setTempo"
QT_MOC_LITERAL(23, 321, 5), // "tempo"
QT_MOC_LITERAL(24, 327, 10), // "setTimesig"
QT_MOC_LITERAL(25, 338, 1), // "a"
QT_MOC_LITERAL(26, 340, 1), // "b"
QT_MOC_LITERAL(27, 342, 6), // "setPos"
QT_MOC_LITERAL(28, 349, 13), // "setMasterFlag"
QT_MOC_LITERAL(29, 363, 12), // "setClickFlag"
QT_MOC_LITERAL(30, 376, 11), // "setSyncFlag"
QT_MOC_LITERAL(31, 388, 7), // "setPlay"
QT_MOC_LITERAL(32, 396, 1), // "f"
QT_MOC_LITERAL(33, 398, 14), // "setHandleColor"
QT_MOC_LITERAL(34, 413, 10), // "setRecMode"
QT_MOC_LITERAL(35, 424, 12) // "setCycleMode"

    },
    "MusEGui::Transport\0cposChanged\0\0"
    "MusECore::Pos\0lposChanged\0rposChanged\0"
    "songChanged\0MusECore::SongChangedStruct_t\0"
    "syncChanged\0timebaseMasterChanged\0"
    "jackSyncChanged\0setRecord\0flag\0"
    "stopToggled\0playToggled\0configChanged\0"
    "sigChange\0MusECore::TimeSignature\0"
    "extSyncClicked\0v\0useJackTransportClicked\0"
    "timebaseMasterClicked\0setTempo\0tempo\0"
    "setTimesig\0a\0b\0setPos\0setMasterFlag\0"
    "setClickFlag\0setSyncFlag\0setPlay\0f\0"
    "setHandleColor\0setRecMode\0setCycleMode"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MusEGui__Transport[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,  144,    2, 0x08 /* Private */,
       1,    1,  147,    2, 0x08 /* Private */,
       4,    1,  150,    2, 0x08 /* Private */,
       5,    1,  153,    2, 0x08 /* Private */,
       6,    1,  156,    2, 0x08 /* Private */,
       8,    1,  159,    2, 0x08 /* Private */,
       9,    1,  162,    2, 0x08 /* Private */,
      10,    1,  165,    2, 0x08 /* Private */,
      11,    1,  168,    2, 0x08 /* Private */,
      13,    1,  171,    2, 0x08 /* Private */,
      14,    1,  174,    2, 0x08 /* Private */,
      15,    0,  177,    2, 0x08 /* Private */,
      16,    1,  178,    2, 0x08 /* Private */,
      18,    1,  181,    2, 0x08 /* Private */,
      20,    1,  184,    2, 0x08 /* Private */,
      21,    1,  187,    2, 0x08 /* Private */,
      22,    1,  190,    2, 0x0a /* Public */,
      24,    2,  193,    2, 0x0a /* Public */,
      27,    3,  198,    2, 0x0a /* Public */,
      28,    1,  205,    2, 0x0a /* Public */,
      29,    1,  208,    2, 0x0a /* Public */,
      30,    1,  211,    2, 0x0a /* Public */,
      31,    1,  214,    2, 0x0a /* Public */,
      33,    1,  217,    2, 0x0a /* Public */,
      34,    1,  220,    2, 0x0a /* Public */,
      35,    1,  223,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 7,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,   12,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 17,    2,
    QMetaType::Void, QMetaType::Bool,   19,
    QMetaType::Void, QMetaType::Bool,   19,
    QMetaType::Void, QMetaType::Bool,   19,
    QMetaType::Void, QMetaType::Int,   23,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   25,   26,
    QMetaType::Void, QMetaType::Int, QMetaType::UInt, QMetaType::Bool,    2,    2,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,   32,
    QMetaType::Void, QMetaType::QColor,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,

       0        // eod
};

void MusEGui::Transport::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Transport *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->cposChanged((*reinterpret_cast< const MusECore::Pos(*)>(_a[1]))); break;
        case 1: _t->cposChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->lposChanged((*reinterpret_cast< const MusECore::Pos(*)>(_a[1]))); break;
        case 3: _t->rposChanged((*reinterpret_cast< const MusECore::Pos(*)>(_a[1]))); break;
        case 4: _t->songChanged((*reinterpret_cast< MusECore::SongChangedStruct_t(*)>(_a[1]))); break;
        case 5: _t->syncChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->timebaseMasterChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->jackSyncChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->setRecord((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->stopToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: _t->playToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: _t->configChanged(); break;
        case 12: _t->sigChange((*reinterpret_cast< const MusECore::TimeSignature(*)>(_a[1]))); break;
        case 13: _t->extSyncClicked((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 14: _t->useJackTransportClicked((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 15: _t->timebaseMasterClicked((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 16: _t->setTempo((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 17: _t->setTimesig((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 18: _t->setPos((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 19: _t->setMasterFlag((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 20: _t->setClickFlag((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 21: _t->setSyncFlag((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 22: _t->setPlay((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 23: _t->setHandleColor((*reinterpret_cast< QColor(*)>(_a[1]))); break;
        case 24: _t->setRecMode((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 25: _t->setCycleMode((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject MusEGui::Transport::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_MusEGui__Transport.data,
    qt_meta_data_MusEGui__Transport,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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