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

#include <memory>
#include "../../src/csoundengine.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'csoundengine.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_CsoundEngine_t {
    QByteArrayData data[36];
    char stringdata0[387];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_CsoundEngine_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_CsoundEngine_t qt_meta_stringdata_CsoundEngine = {
    {
QT_MOC_LITERAL(0, 0, 12), // "CsoundEngine"
QT_MOC_LITERAL(1, 13, 10), // "errorLines"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 26), // "QList<QPair<int,QString> >"
QT_MOC_LITERAL(4, 52, 12), // "passMessages"
QT_MOC_LITERAL(5, 65, 3), // "msg"
QT_MOC_LITERAL(6, 69, 10), // "stopSignal"
QT_MOC_LITERAL(7, 80, 17), // "breakpointReached"
QT_MOC_LITERAL(8, 98, 4), // "play"
QT_MOC_LITERAL(9, 103, 14), // "CsoundOptions*"
QT_MOC_LITERAL(10, 118, 7), // "options"
QT_MOC_LITERAL(11, 126, 4), // "stop"
QT_MOC_LITERAL(12, 131, 5), // "pause"
QT_MOC_LITERAL(13, 137, 14), // "startRecording"
QT_MOC_LITERAL(14, 152, 6), // "format"
QT_MOC_LITERAL(15, 159, 8), // "filename"
QT_MOC_LITERAL(16, 168, 13), // "stopRecording"
QT_MOC_LITERAL(17, 182, 10), // "queueEvent"
QT_MOC_LITERAL(18, 193, 9), // "eventLine"
QT_MOC_LITERAL(19, 203, 5), // "delay"
QT_MOC_LITERAL(20, 209, 17), // "keyPressForCsound"
QT_MOC_LITERAL(21, 227, 3), // "key"
QT_MOC_LITERAL(22, 231, 19), // "keyReleaseForCsound"
QT_MOC_LITERAL(23, 251, 13), // "registerScope"
QT_MOC_LITERAL(24, 265, 10), // "QuteScope*"
QT_MOC_LITERAL(25, 276, 5), // "scope"
QT_MOC_LITERAL(26, 282, 13), // "registerGraph"
QT_MOC_LITERAL(27, 296, 10), // "QuteGraph*"
QT_MOC_LITERAL(28, 307, 21), // "requestCsoundUserData"
QT_MOC_LITERAL(29, 329, 11), // "QuteWidget*"
QT_MOC_LITERAL(30, 341, 6), // "widget"
QT_MOC_LITERAL(31, 348, 8), // "setFlags"
QT_MOC_LITERAL(32, 357, 9), // "PerfFlags"
QT_MOC_LITERAL(33, 367, 5), // "flags"
QT_MOC_LITERAL(34, 373, 8), // "evaluate"
QT_MOC_LITERAL(35, 382, 4) // "code"

    },
    "CsoundEngine\0errorLines\0\0"
    "QList<QPair<int,QString> >\0passMessages\0"
    "msg\0stopSignal\0breakpointReached\0play\0"
    "CsoundOptions*\0options\0stop\0pause\0"
    "startRecording\0format\0filename\0"
    "stopRecording\0queueEvent\0eventLine\0"
    "delay\0keyPressForCsound\0key\0"
    "keyReleaseForCsound\0registerScope\0"
    "QuteScope*\0scope\0registerGraph\0"
    "QuteGraph*\0requestCsoundUserData\0"
    "QuteWidget*\0widget\0setFlags\0PerfFlags\0"
    "flags\0evaluate\0code"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_CsoundEngine[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  104,    2, 0x06 /* Public */,
       4,    1,  107,    2, 0x06 /* Public */,
       6,    0,  110,    2, 0x06 /* Public */,
       7,    0,  111,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    1,  112,    2, 0x0a /* Public */,
      11,    0,  115,    2, 0x0a /* Public */,
      12,    0,  116,    2, 0x0a /* Public */,
      13,    2,  117,    2, 0x0a /* Public */,
      16,    0,  122,    2, 0x0a /* Public */,
      17,    2,  123,    2, 0x0a /* Public */,
      17,    1,  128,    2, 0x2a /* Public | MethodCloned */,
      20,    1,  131,    2, 0x0a /* Public */,
      22,    1,  134,    2, 0x0a /* Public */,
      23,    1,  137,    2, 0x0a /* Public */,
      26,    1,  140,    2, 0x0a /* Public */,
      28,    1,  143,    2, 0x0a /* Public */,
      31,    1,  146,    2, 0x0a /* Public */,
      34,    1,  149,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Int, 0x80000000 | 9,   10,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Int, QMetaType::Int, QMetaType::QString,   14,   15,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,   18,   19,
    QMetaType::Void, QMetaType::QString,   18,
    QMetaType::Void, QMetaType::Int,   21,
    QMetaType::Void, QMetaType::Int,   21,
    QMetaType::Void, 0x80000000 | 24,   25,
    QMetaType::Void, 0x80000000 | 27,   25,
    QMetaType::Void, 0x80000000 | 29,   30,
    QMetaType::Void, 0x80000000 | 32,   33,
    QMetaType::Void, QMetaType::QString,   35,

       0        // eod
};

void CsoundEngine::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<CsoundEngine *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->errorLines((*reinterpret_cast< QList<QPair<int,QString> >(*)>(_a[1]))); break;
        case 1: _t->passMessages((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 2: _t->stopSignal(); break;
        case 3: _t->breakpointReached(); break;
        case 4: { int _r = _t->play((*reinterpret_cast< CsoundOptions*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 5: _t->stop(); break;
        case 6: _t->pause(); break;
        case 7: { int _r = _t->startRecording((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 8: _t->stopRecording(); break;
        case 9: _t->queueEvent((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 10: _t->queueEvent((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 11: _t->keyPressForCsound((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->keyReleaseForCsound((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->registerScope((*reinterpret_cast< QuteScope*(*)>(_a[1]))); break;
        case 14: _t->registerGraph((*reinterpret_cast< QuteGraph*(*)>(_a[1]))); break;
        case 15: _t->requestCsoundUserData((*reinterpret_cast< QuteWidget*(*)>(_a[1]))); break;
        case 16: _t->setFlags((*reinterpret_cast< PerfFlags(*)>(_a[1]))); break;
        case 17: _t->evaluate((*reinterpret_cast< QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (CsoundEngine::*)(QList<QPair<int,QString> > );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CsoundEngine::errorLines)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (CsoundEngine::*)(QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CsoundEngine::passMessages)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (CsoundEngine::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CsoundEngine::stopSignal)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (CsoundEngine::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CsoundEngine::breakpointReached)) {
                *result = 3;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject CsoundEngine::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_CsoundEngine.data,
    qt_meta_data_CsoundEngine,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *CsoundEngine::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_CsoundEngine.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

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

// SIGNAL 0
void CsoundEngine::errorLines(QList<QPair<int,QString> > _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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

// SIGNAL 2
void CsoundEngine::stopSignal()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void CsoundEngine::breakpointReached()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
