/****************************************************************************
** Meta object code from reading C++ file 'RecordPlugin.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/RecordPlugin.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'RecordPlugin.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__RecordPlugin_t {
    QByteArrayData data[36];
    char stringdata0[495];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kwave__RecordPlugin_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kwave__RecordPlugin_t qt_meta_stringdata_Kwave__RecordPlugin = {
    {
QT_MOC_LITERAL(0, 0, 19), // "Kwave::RecordPlugin"
QT_MOC_LITERAL(1, 20, 18), // "sigRecordedSamples"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 14), // "sample_index_t"
QT_MOC_LITERAL(4, 55, 16), // "samples_recorded"
QT_MOC_LITERAL(5, 72, 14), // "resetRecording"
QT_MOC_LITERAL(6, 87, 5), // "bool&"
QT_MOC_LITERAL(7, 93, 8), // "accepted"
QT_MOC_LITERAL(8, 102, 14), // "startRecording"
QT_MOC_LITERAL(9, 117, 13), // "recordStopped"
QT_MOC_LITERAL(10, 131, 6), // "reason"
QT_MOC_LITERAL(11, 138, 12), // "stateChanged"
QT_MOC_LITERAL(12, 151, 18), // "Kwave::RecordState"
QT_MOC_LITERAL(13, 170, 5), // "state"
QT_MOC_LITERAL(14, 176, 9), // "setMethod"
QT_MOC_LITERAL(15, 186, 22), // "Kwave::record_method_t"
QT_MOC_LITERAL(16, 209, 6), // "method"
QT_MOC_LITERAL(17, 216, 9), // "setDevice"
QT_MOC_LITERAL(18, 226, 6), // "device"
QT_MOC_LITERAL(19, 233, 12), // "changeTracks"
QT_MOC_LITERAL(20, 246, 10), // "new_tracks"
QT_MOC_LITERAL(21, 257, 16), // "changeSampleRate"
QT_MOC_LITERAL(22, 274, 8), // "new_rate"
QT_MOC_LITERAL(23, 283, 17), // "changeCompression"
QT_MOC_LITERAL(24, 301, 24), // "Kwave::Compression::Type"
QT_MOC_LITERAL(25, 326, 15), // "new_compression"
QT_MOC_LITERAL(26, 342, 19), // "changeBitsPerSample"
QT_MOC_LITERAL(27, 362, 8), // "new_bits"
QT_MOC_LITERAL(28, 371, 18), // "changeSampleFormat"
QT_MOC_LITERAL(29, 390, 27), // "Kwave::SampleFormat::Format"
QT_MOC_LITERAL(30, 418, 10), // "new_format"
QT_MOC_LITERAL(31, 429, 13), // "processBuffer"
QT_MOC_LITERAL(32, 443, 14), // "buffersChanged"
QT_MOC_LITERAL(33, 458, 19), // "prerecordingChanged"
QT_MOC_LITERAL(34, 478, 6), // "enable"
QT_MOC_LITERAL(35, 485, 9) // "retryOpen"

    },
    "Kwave::RecordPlugin\0sigRecordedSamples\0"
    "\0sample_index_t\0samples_recorded\0"
    "resetRecording\0bool&\0accepted\0"
    "startRecording\0recordStopped\0reason\0"
    "stateChanged\0Kwave::RecordState\0state\0"
    "setMethod\0Kwave::record_method_t\0"
    "method\0setDevice\0device\0changeTracks\0"
    "new_tracks\0changeSampleRate\0new_rate\0"
    "changeCompression\0Kwave::Compression::Type\0"
    "new_compression\0changeBitsPerSample\0"
    "new_bits\0changeSampleFormat\0"
    "Kwave::SampleFormat::Format\0new_format\0"
    "processBuffer\0buffersChanged\0"
    "prerecordingChanged\0enable\0retryOpen"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kwave__RecordPlugin[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   94,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    1,   97,    2, 0x09 /* Protected */,
       8,    0,  100,    2, 0x09 /* Protected */,
       9,    1,  101,    2, 0x09 /* Protected */,
      11,    1,  104,    2, 0x09 /* Protected */,
      14,    1,  107,    2, 0x08 /* Private */,
      17,    1,  110,    2, 0x08 /* Private */,
      19,    1,  113,    2, 0x08 /* Private */,
      21,    1,  116,    2, 0x08 /* Private */,
      23,    1,  119,    2, 0x08 /* Private */,
      26,    1,  122,    2, 0x08 /* Private */,
      28,    1,  125,    2, 0x08 /* Private */,
      31,    0,  128,    2, 0x08 /* Private */,
      32,    0,  129,    2, 0x08 /* Private */,
      33,    1,  130,    2, 0x08 /* Private */,
      35,    0,  133,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void, 0x80000000 | 15,   16,
    QMetaType::Void, QMetaType::QString,   18,
    QMetaType::Void, QMetaType::UInt,   20,
    QMetaType::Void, QMetaType::Double,   22,
    QMetaType::Void, 0x80000000 | 24,   25,
    QMetaType::Void, QMetaType::UInt,   27,
    QMetaType::Void, 0x80000000 | 29,   30,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   34,
    QMetaType::Void,

       0        // eod
};

void Kwave::RecordPlugin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        RecordPlugin *_t = static_cast<RecordPlugin *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sigRecordedSamples((*reinterpret_cast< sample_index_t(*)>(_a[1]))); break;
        case 1: _t->resetRecording((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->startRecording(); break;
        case 3: _t->recordStopped((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->stateChanged((*reinterpret_cast< Kwave::RecordState(*)>(_a[1]))); break;
        case 5: _t->setMethod((*reinterpret_cast< Kwave::record_method_t(*)>(_a[1]))); break;
        case 6: _t->setDevice((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: _t->changeTracks((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 8: _t->changeSampleRate((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 9: _t->changeCompression((*reinterpret_cast< Kwave::Compression::Type(*)>(_a[1]))); break;
        case 10: _t->changeBitsPerSample((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 11: _t->changeSampleFormat((*reinterpret_cast< Kwave::SampleFormat::Format(*)>(_a[1]))); break;
        case 12: _t->processBuffer(); break;
        case 13: _t->buffersChanged(); break;
        case 14: _t->prerecordingChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 15: _t->retryOpen(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (RecordPlugin::*_t)(sample_index_t );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&RecordPlugin::sigRecordedSamples)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject Kwave::RecordPlugin::staticMetaObject = {
    { &Kwave::Plugin::staticMetaObject, qt_meta_stringdata_Kwave__RecordPlugin.data,
      qt_meta_data_Kwave__RecordPlugin,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Kwave::RecordPlugin::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Kwave::Plugin::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::RecordPlugin::sigRecordedSamples(sample_index_t _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_END_MOC_NAMESPACE
