/****************************************************************************
** Meta object code from reading C++ file 'NoiseDialog.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/noise/NoiseDialog.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'NoiseDialog.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__NoiseDialog_t {
    QByteArrayData data[14];
    char stringdata0[159];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kwave__NoiseDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kwave__NoiseDialog_t qt_meta_stringdata_Kwave__NoiseDialog = {
    {
QT_MOC_LITERAL(0, 0, 18), // "Kwave::NoiseDialog"
QT_MOC_LITERAL(1, 19, 12), // "levelChanged"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 5), // "level"
QT_MOC_LITERAL(4, 39, 14), // "startPreListen"
QT_MOC_LITERAL(5, 54, 13), // "stopPreListen"
QT_MOC_LITERAL(6, 68, 11), // "modeChanged"
QT_MOC_LITERAL(7, 80, 13), // "sliderChanged"
QT_MOC_LITERAL(8, 94, 3), // "pos"
QT_MOC_LITERAL(9, 98, 14), // "spinboxChanged"
QT_MOC_LITERAL(10, 113, 13), // "listenToggled"
QT_MOC_LITERAL(11, 127, 6), // "listen"
QT_MOC_LITERAL(12, 134, 13), // "listenStopped"
QT_MOC_LITERAL(13, 148, 10) // "invokeHelp"

    },
    "Kwave::NoiseDialog\0levelChanged\0\0level\0"
    "startPreListen\0stopPreListen\0modeChanged\0"
    "sliderChanged\0pos\0spinboxChanged\0"
    "listenToggled\0listen\0listenStopped\0"
    "invokeHelp"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kwave__NoiseDialog[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   59,    2, 0x06 /* Public */,
       4,    0,   62,    2, 0x06 /* Public */,
       5,    0,   63,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,   64,    2, 0x09 /* Protected */,
       7,    1,   67,    2, 0x09 /* Protected */,
       9,    1,   70,    2, 0x09 /* Protected */,
      10,    1,   73,    2, 0x09 /* Protected */,
      12,    0,   76,    2, 0x09 /* Protected */,
      13,    0,   77,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Double,    3,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Int,    8,
    QMetaType::Void, QMetaType::Int,    8,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Kwave::NoiseDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        NoiseDialog *_t = static_cast<NoiseDialog *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->levelChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 1: _t->startPreListen(); break;
        case 2: _t->stopPreListen(); break;
        case 3: _t->modeChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->sliderChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->spinboxChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->listenToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->listenStopped(); break;
        case 8: _t->invokeHelp(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (NoiseDialog::*_t)(double );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&NoiseDialog::levelChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (NoiseDialog::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&NoiseDialog::startPreListen)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (NoiseDialog::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&NoiseDialog::stopPreListen)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject Kwave::NoiseDialog::staticMetaObject = {
    { &QDialog::staticMetaObject, qt_meta_stringdata_Kwave__NoiseDialog.data,
      qt_meta_data_Kwave__NoiseDialog,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Kwave::NoiseDialog::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Kwave__NoiseDialog.stringdata0))
        return static_cast<void*>(const_cast< NoiseDialog*>(this));
    if (!strcmp(_clname, "Kwave::PluginSetupDialog"))
        return static_cast< Kwave::PluginSetupDialog*>(const_cast< NoiseDialog*>(this));
    if (!strcmp(_clname, "Ui::NoiseDlg"))
        return static_cast< Ui::NoiseDlg*>(const_cast< NoiseDialog*>(this));
    return QDialog::qt_metacast(_clname);
}

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

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

// SIGNAL 1
void Kwave::NoiseDialog::startPreListen()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void Kwave::NoiseDialog::stopPreListen()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
