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

#include "../../../src/minuet-17.12.3/src/interfaces/isoundcontroller.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'isoundcontroller.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_Minuet__ISoundController_t {
    QByteArrayData data[35];
    char stringdata0[404];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Minuet__ISoundController_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Minuet__ISoundController_t qt_meta_stringdata_Minuet__ISoundController = {
    {
QT_MOC_LITERAL(0, 0, 24), // "Minuet::ISoundController"
QT_MOC_LITERAL(1, 25, 15), // "playModeChanged"
QT_MOC_LITERAL(2, 41, 0), // ""
QT_MOC_LITERAL(3, 42, 11), // "newPlayMode"
QT_MOC_LITERAL(4, 54, 12), // "pitchChanged"
QT_MOC_LITERAL(5, 67, 8), // "newPitch"
QT_MOC_LITERAL(6, 76, 13), // "volumeChanged"
QT_MOC_LITERAL(7, 90, 9), // "newVolume"
QT_MOC_LITERAL(8, 100, 12), // "tempoChanged"
QT_MOC_LITERAL(9, 113, 8), // "newTempo"
QT_MOC_LITERAL(10, 122, 12), // "stateChanged"
QT_MOC_LITERAL(11, 135, 5), // "State"
QT_MOC_LITERAL(12, 141, 8), // "newState"
QT_MOC_LITERAL(13, 150, 20), // "playbackLabelChanged"
QT_MOC_LITERAL(14, 171, 16), // "newPlaybackLabel"
QT_MOC_LITERAL(15, 188, 8), // "setPitch"
QT_MOC_LITERAL(16, 197, 5), // "pitch"
QT_MOC_LITERAL(17, 203, 9), // "setVolume"
QT_MOC_LITERAL(18, 213, 6), // "volume"
QT_MOC_LITERAL(19, 220, 8), // "setTempo"
QT_MOC_LITERAL(20, 229, 5), // "tempo"
QT_MOC_LITERAL(21, 235, 26), // "prepareFromExerciseOptions"
QT_MOC_LITERAL(22, 262, 23), // "selectedExerciseOptions"
QT_MOC_LITERAL(23, 286, 19), // "prepareFromMidiFile"
QT_MOC_LITERAL(24, 306, 8), // "fileName"
QT_MOC_LITERAL(25, 315, 4), // "play"
QT_MOC_LITERAL(26, 320, 5), // "pause"
QT_MOC_LITERAL(27, 326, 4), // "stop"
QT_MOC_LITERAL(28, 331, 5), // "reset"
QT_MOC_LITERAL(29, 337, 8), // "playMode"
QT_MOC_LITERAL(30, 346, 5), // "state"
QT_MOC_LITERAL(31, 352, 13), // "playbackLabel"
QT_MOC_LITERAL(32, 366, 12), // "StoppedState"
QT_MOC_LITERAL(33, 379, 12), // "PlayingState"
QT_MOC_LITERAL(34, 392, 11) // "PausedState"

    },
    "Minuet::ISoundController\0playModeChanged\0"
    "\0newPlayMode\0pitchChanged\0newPitch\0"
    "volumeChanged\0newVolume\0tempoChanged\0"
    "newTempo\0stateChanged\0State\0newState\0"
    "playbackLabelChanged\0newPlaybackLabel\0"
    "setPitch\0pitch\0setVolume\0volume\0"
    "setTempo\0tempo\0prepareFromExerciseOptions\0"
    "selectedExerciseOptions\0prepareFromMidiFile\0"
    "fileName\0play\0pause\0stop\0reset\0playMode\0"
    "state\0playbackLabel\0StoppedState\0"
    "PlayingState\0PausedState"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Minuet__ISoundController[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      15,   14, // methods
       6,  126, // properties
       1,  150, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   89,    2, 0x06 /* Public */,
       4,    1,   92,    2, 0x06 /* Public */,
       6,    1,   95,    2, 0x06 /* Public */,
       8,    1,   98,    2, 0x06 /* Public */,
      10,    1,  101,    2, 0x06 /* Public */,
      13,    1,  104,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    1,  107,    2, 0x0a /* Public */,
      17,    1,  110,    2, 0x0a /* Public */,
      19,    1,  113,    2, 0x0a /* Public */,
      21,    1,  116,    2, 0x0a /* Public */,
      23,    1,  119,    2, 0x0a /* Public */,
      25,    0,  122,    2, 0x0a /* Public */,
      26,    0,  123,    2, 0x0a /* Public */,
      27,    0,  124,    2, 0x0a /* Public */,
      28,    0,  125,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::SChar,    5,
    QMetaType::Void, QMetaType::UChar,    7,
    QMetaType::Void, QMetaType::UChar,    9,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, QMetaType::QString,   14,

 // slots: parameters
    QMetaType::Void, QMetaType::SChar,   16,
    QMetaType::Void, QMetaType::UChar,   18,
    QMetaType::Void, QMetaType::UChar,   20,
    QMetaType::Void, QMetaType::QJsonArray,   22,
    QMetaType::Void, QMetaType::QString,   24,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
      29, QMetaType::QString, 0x00495003,
      16, QMetaType::SChar, 0x00495103,
      18, QMetaType::UChar, 0x00495103,
      20, QMetaType::UChar, 0x00495103,
      30, 0x80000000 | 11, 0x00495009,
      31, QMetaType::QString, 0x00495001,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,
       5,

 // enums: name, flags, count, data
      11, 0x0,    3,  154,

 // enum data: key, value
      32, uint(Minuet::ISoundController::StoppedState),
      33, uint(Minuet::ISoundController::PlayingState),
      34, uint(Minuet::ISoundController::PausedState),

       0        // eod
};

void Minuet::ISoundController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ISoundController *_t = static_cast<ISoundController *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->playModeChanged((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 1: _t->pitchChanged((*reinterpret_cast< qint8(*)>(_a[1]))); break;
        case 2: _t->volumeChanged((*reinterpret_cast< quint8(*)>(_a[1]))); break;
        case 3: _t->tempoChanged((*reinterpret_cast< quint8(*)>(_a[1]))); break;
        case 4: _t->stateChanged((*reinterpret_cast< State(*)>(_a[1]))); break;
        case 5: _t->playbackLabelChanged((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 6: _t->setPitch((*reinterpret_cast< qint8(*)>(_a[1]))); break;
        case 7: _t->setVolume((*reinterpret_cast< quint8(*)>(_a[1]))); break;
        case 8: _t->setTempo((*reinterpret_cast< quint8(*)>(_a[1]))); break;
        case 9: _t->prepareFromExerciseOptions((*reinterpret_cast< QJsonArray(*)>(_a[1]))); break;
        case 10: _t->prepareFromMidiFile((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 11: _t->play(); break;
        case 12: _t->pause(); break;
        case 13: _t->stop(); break;
        case 14: _t->reset(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (ISoundController::*_t)(QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ISoundController::playModeChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ISoundController::*_t)(qint8 );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ISoundController::pitchChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (ISoundController::*_t)(quint8 );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ISoundController::volumeChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (ISoundController::*_t)(quint8 );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ISoundController::tempoChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (ISoundController::*_t)(State );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ISoundController::stateChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (ISoundController::*_t)(QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ISoundController::playbackLabelChanged)) {
                *result = 5;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        ISoundController *_t = static_cast<ISoundController *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->m_playMode; break;
        case 1: *reinterpret_cast< qint8*>(_v) = _t->m_pitch; break;
        case 2: *reinterpret_cast< quint8*>(_v) = _t->m_volume; break;
        case 3: *reinterpret_cast< quint8*>(_v) = _t->m_tempo; break;
        case 4: *reinterpret_cast< State*>(_v) = _t->state(); break;
        case 5: *reinterpret_cast< QString*>(_v) = _t->playbackLabel(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        ISoundController *_t = static_cast<ISoundController *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0:
            if (_t->m_playMode != *reinterpret_cast< QString*>(_v)) {
                _t->m_playMode = *reinterpret_cast< QString*>(_v);
                Q_EMIT _t->playModeChanged(_t->m_playMode);
            }
            break;
        case 1: _t->setPitch(*reinterpret_cast< qint8*>(_v)); break;
        case 2: _t->setVolume(*reinterpret_cast< quint8*>(_v)); break;
        case 3: _t->setTempo(*reinterpret_cast< quint8*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Minuet::ISoundController::staticMetaObject = {
    { &IPlugin::staticMetaObject, qt_meta_stringdata_Minuet__ISoundController.data,
      qt_meta_data_Minuet__ISoundController,  qt_static_metacall, nullptr, nullptr}
};


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

void *Minuet::ISoundController::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Minuet__ISoundController.stringdata0))
        return static_cast<void*>(this);
    return IPlugin::qt_metacast(_clname);
}

int Minuet::ISoundController::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = IPlugin::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 15)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 15;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 6;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Minuet::ISoundController::playModeChanged(QString _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Minuet::ISoundController::pitchChanged(qint8 _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Minuet::ISoundController::volumeChanged(quint8 _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Minuet::ISoundController::tempoChanged(quint8 _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Minuet::ISoundController::stateChanged(State _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Minuet::ISoundController::playbackLabelChanged(QString _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
