/****************************************************************************
** Meta object code from reading C++ file 'noteinfo.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/noteinfo.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'noteinfo.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__NoteInfo_t {
    QByteArrayData data[17];
    char stringdata0[226];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MusEGui__NoteInfo_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MusEGui__NoteInfo_t qt_meta_stringdata_MusEGui__NoteInfo = {
    {
QT_MOC_LITERAL(0, 0, 17), // "MusEGui::NoteInfo"
QT_MOC_LITERAL(1, 18, 12), // "valueChanged"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 26), // "MusEGui::NoteInfo::ValType"
QT_MOC_LITERAL(4, 59, 13), // "returnPressed"
QT_MOC_LITERAL(5, 73, 13), // "escapePressed"
QT_MOC_LITERAL(6, 87, 16), // "deltaModeChanged"
QT_MOC_LITERAL(7, 104, 10), // "lenChanged"
QT_MOC_LITERAL(8, 115, 12), // "velOnChanged"
QT_MOC_LITERAL(9, 128, 13), // "velOffChanged"
QT_MOC_LITERAL(10, 142, 12), // "pitchChanged"
QT_MOC_LITERAL(11, 155, 11), // "timeChanged"
QT_MOC_LITERAL(12, 167, 13), // "MusECore::Pos"
QT_MOC_LITERAL(13, 181, 16), // "deltaModeClicked"
QT_MOC_LITERAL(14, 198, 8), // "setValue"
QT_MOC_LITERAL(15, 207, 7), // "ValType"
QT_MOC_LITERAL(16, 215, 10) // "setEnabled"

    },
    "MusEGui::NoteInfo\0valueChanged\0\0"
    "MusEGui::NoteInfo::ValType\0returnPressed\0"
    "escapePressed\0deltaModeChanged\0"
    "lenChanged\0velOnChanged\0velOffChanged\0"
    "pitchChanged\0timeChanged\0MusECore::Pos\0"
    "deltaModeClicked\0setValue\0ValType\0"
    "setEnabled"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MusEGui__NoteInfo[] = {

 // 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,    2,   74,    2, 0x06 /* Public */,
       4,    0,   79,    2, 0x06 /* Public */,
       5,    0,   80,    2, 0x06 /* Public */,
       6,    1,   81,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    1,   84,    2, 0x08 /* Private */,
       8,    1,   87,    2, 0x08 /* Private */,
       9,    1,   90,    2, 0x08 /* Private */,
      10,    1,   93,    2, 0x08 /* Private */,
      11,    1,   96,    2, 0x08 /* Private */,
      13,    1,   99,    2, 0x08 /* Private */,
      14,    2,  102,    2, 0x0a /* Public */,
      16,    1,  107,    2, 0x0a /* Public */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, 0x80000000 | 12,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, 0x80000000 | 15, QMetaType::Int,    2,    2,
    QMetaType::Void, QMetaType::Bool,    2,

       0        // eod
};

void MusEGui::NoteInfo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<NoteInfo *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->valueChanged((*reinterpret_cast< MusEGui::NoteInfo::ValType(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: _t->returnPressed(); break;
        case 2: _t->escapePressed(); break;
        case 3: _t->deltaModeChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->lenChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->velOnChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->velOffChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->pitchChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->timeChanged((*reinterpret_cast< const MusECore::Pos(*)>(_a[1]))); break;
        case 9: _t->deltaModeClicked((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: _t->setValue((*reinterpret_cast< ValType(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 11: _t->setEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (NoteInfo::*)(MusEGui::NoteInfo::ValType , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NoteInfo::valueChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (NoteInfo::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NoteInfo::returnPressed)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (NoteInfo::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NoteInfo::escapePressed)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (NoteInfo::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NoteInfo::deltaModeChanged)) {
                *result = 3;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject MusEGui::NoteInfo::staticMetaObject = { {
    QMetaObject::SuperData::link<QToolBar::staticMetaObject>(),
    qt_meta_stringdata_MusEGui__NoteInfo.data,
    qt_meta_data_MusEGui__NoteInfo,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int MusEGui::NoteInfo::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 < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 12;
    }
    return _id;
}

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

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

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

// SIGNAL 3
void MusEGui::NoteInfo::deltaModeChanged(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
