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

#include "../../../src/kwave-17.04.3/plugins/record/RecordController.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'RecordController.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.2. 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
struct qt_meta_stringdata_Kwave__RecordController_t {
    QByteArrayData data[26];
    char stringdata0[333];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kwave__RecordController_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kwave__RecordController_t qt_meta_stringdata_Kwave__RecordController = {
    {
QT_MOC_LITERAL(0, 0, 23), // "Kwave::RecordController"
QT_MOC_LITERAL(1, 24, 12), // "stateChanged"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 18), // "Kwave::RecordState"
QT_MOC_LITERAL(4, 57, 5), // "state"
QT_MOC_LITERAL(5, 63, 8), // "sigReset"
QT_MOC_LITERAL(6, 72, 5), // "bool&"
QT_MOC_LITERAL(7, 78, 8), // "accepted"
QT_MOC_LITERAL(8, 87, 14), // "sigStartRecord"
QT_MOC_LITERAL(9, 102, 13), // "sigStopRecord"
QT_MOC_LITERAL(10, 116, 9), // "errorcode"
QT_MOC_LITERAL(11, 126, 14), // "setInitialized"
QT_MOC_LITERAL(12, 141, 11), // "initialized"
QT_MOC_LITERAL(13, 153, 8), // "setEmpty"
QT_MOC_LITERAL(14, 162, 5), // "empty"
QT_MOC_LITERAL(15, 168, 18), // "enablePrerecording"
QT_MOC_LITERAL(16, 187, 6), // "enable"
QT_MOC_LITERAL(17, 194, 11), // "actionReset"
QT_MOC_LITERAL(18, 206, 10), // "actionStop"
QT_MOC_LITERAL(19, 217, 11), // "actionPause"
QT_MOC_LITERAL(20, 229, 11), // "actionStart"
QT_MOC_LITERAL(21, 241, 19), // "deviceRecordStarted"
QT_MOC_LITERAL(22, 261, 16), // "deviceBufferFull"
QT_MOC_LITERAL(23, 278, 20), // "deviceTriggerReached"
QT_MOC_LITERAL(24, 299, 19), // "deviceRecordStopped"
QT_MOC_LITERAL(25, 319, 13) // "enableTrigger"

    },
    "Kwave::RecordController\0stateChanged\0"
    "\0Kwave::RecordState\0state\0sigReset\0"
    "bool&\0accepted\0sigStartRecord\0"
    "sigStopRecord\0errorcode\0setInitialized\0"
    "initialized\0setEmpty\0empty\0"
    "enablePrerecording\0enable\0actionReset\0"
    "actionStop\0actionPause\0actionStart\0"
    "deviceRecordStarted\0deviceBufferFull\0"
    "deviceTriggerReached\0deviceRecordStopped\0"
    "enableTrigger"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kwave__RecordController[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   94,    2, 0x06 /* Public */,
       5,    1,   97,    2, 0x06 /* Public */,
       8,    0,  100,    2, 0x06 /* Public */,
       9,    1,  101,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    1,  104,    2, 0x0a /* Public */,
      13,    1,  107,    2, 0x0a /* Public */,
      15,    1,  110,    2, 0x0a /* Public */,
      17,    0,  113,    2, 0x0a /* Public */,
      18,    0,  114,    2, 0x0a /* Public */,
      19,    0,  115,    2, 0x0a /* Public */,
      20,    0,  116,    2, 0x0a /* Public */,
      21,    0,  117,    2, 0x0a /* Public */,
      22,    0,  118,    2, 0x0a /* Public */,
      23,    0,  119,    2, 0x0a /* Public */,
      24,    1,  120,    2, 0x0a /* Public */,
      25,    1,  123,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   10,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,   12,
    QMetaType::Void, QMetaType::Bool,   14,
    QMetaType::Void, QMetaType::Bool,   16,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Bool,   16,

       0        // eod
};

void Kwave::RecordController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        RecordController *_t = static_cast<RecordController *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->stateChanged((*reinterpret_cast< Kwave::RecordState(*)>(_a[1]))); break;
        case 1: _t->sigReset((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->sigStartRecord(); break;
        case 3: _t->sigStopRecord((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->setInitialized((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->setEmpty((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->enablePrerecording((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->actionReset(); break;
        case 8: _t->actionStop(); break;
        case 9: _t->actionPause(); break;
        case 10: _t->actionStart(); break;
        case 11: _t->deviceRecordStarted(); break;
        case 12: _t->deviceBufferFull(); break;
        case 13: _t->deviceTriggerReached(); break;
        case 14: _t->deviceRecordStopped((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 15: _t->enableTrigger((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (RecordController::*_t)(Kwave::RecordState );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&RecordController::stateChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (RecordController::*_t)(bool & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&RecordController::sigReset)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (RecordController::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&RecordController::sigStartRecord)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (RecordController::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&RecordController::sigStopRecord)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject Kwave::RecordController::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Kwave__RecordController.data,
      qt_meta_data_Kwave__RecordController,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Kwave::RecordController::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Kwave__RecordController.stringdata0))
        return static_cast<void*>(const_cast< RecordController*>(this));
    return QObject::qt_metacast(_clname);
}

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

// SIGNAL 0
void Kwave::RecordController::stateChanged(Kwave::RecordState _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Kwave::RecordController::sigReset(bool & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Kwave::RecordController::sigStartRecord()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

// SIGNAL 3
void Kwave::RecordController::sigStopRecord(int _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_END_MOC_NAMESPACE
