/****************************************************************************
** Meta object code from reading C++ file 'Plugin.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/kwave-17.12.3/libkwave/Plugin.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'Plugin.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_Kwave__Plugin_t {
    QByteArrayData data[21];
    char stringdata0[224];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kwave__Plugin_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kwave__Plugin_t qt_meta_stringdata_Kwave__Plugin = {
    {
QT_MOC_LITERAL(0, 0, 13), // "Kwave::Plugin"
QT_MOC_LITERAL(1, 14, 10), // "sigRunning"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 14), // "Kwave::Plugin*"
QT_MOC_LITERAL(4, 41, 6), // "plugin"
QT_MOC_LITERAL(5, 48, 7), // "sigDone"
QT_MOC_LITERAL(6, 56, 9), // "sigClosed"
QT_MOC_LITERAL(7, 66, 1), // "p"
QT_MOC_LITERAL(8, 68, 10), // "sigCommand"
QT_MOC_LITERAL(9, 79, 7), // "command"
QT_MOC_LITERAL(10, 87, 15), // "setProgressText"
QT_MOC_LITERAL(11, 103, 4), // "text"
QT_MOC_LITERAL(12, 108, 24), // "setProgressDialogEnabled"
QT_MOC_LITERAL(13, 133, 6), // "enable"
QT_MOC_LITERAL(14, 140, 14), // "updateProgress"
QT_MOC_LITERAL(15, 155, 8), // "progress"
QT_MOC_LITERAL(16, 164, 6), // "cancel"
QT_MOC_LITERAL(17, 171, 5), // "close"
QT_MOC_LITERAL(18, 177, 7), // "release"
QT_MOC_LITERAL(19, 185, 19), // "closeProgressDialog"
QT_MOC_LITERAL(20, 205, 18) // "updateProgressTick"

    },
    "Kwave::Plugin\0sigRunning\0\0Kwave::Plugin*\0"
    "plugin\0sigDone\0sigClosed\0p\0sigCommand\0"
    "command\0setProgressText\0text\0"
    "setProgressDialogEnabled\0enable\0"
    "updateProgress\0progress\0cancel\0close\0"
    "release\0closeProgressDialog\0"
    "updateProgressTick"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kwave__Plugin[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   74,    2, 0x06 /* Public */,
       5,    1,   77,    2, 0x06 /* Public */,
       6,    1,   80,    2, 0x06 /* Public */,
       8,    1,   83,    2, 0x06 /* Public */,
      10,    1,   86,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      12,    1,   89,    2, 0x0a /* Public */,
      14,    1,   92,    2, 0x0a /* Public */,
      16,    0,   95,    2, 0x0a /* Public */,
      17,    0,   96,    2, 0x0a /* Public */,
      18,    0,   97,    2, 0x0a /* Public */,
      19,    1,   98,    2, 0x08 /* Private */,
      20,    0,  101,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    7,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, QMetaType::QString,   11,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,   13,
    QMetaType::Void, QMetaType::QReal,   15,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void,

       0        // eod
};

void Kwave::Plugin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Plugin *_t = static_cast<Plugin *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sigRunning((*reinterpret_cast< Kwave::Plugin*(*)>(_a[1]))); break;
        case 1: _t->sigDone((*reinterpret_cast< Kwave::Plugin*(*)>(_a[1]))); break;
        case 2: _t->sigClosed((*reinterpret_cast< Kwave::Plugin*(*)>(_a[1]))); break;
        case 3: _t->sigCommand((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->setProgressText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->setProgressDialogEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->updateProgress((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 7: _t->cancel(); break;
        case 8: _t->close(); break;
        case 9: _t->release(); break;
        case 10: _t->closeProgressDialog((*reinterpret_cast< Kwave::Plugin*(*)>(_a[1]))); break;
        case 11: _t->updateProgressTick(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Kwave::Plugin* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Kwave::Plugin* >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Kwave::Plugin* >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Kwave::Plugin* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (Plugin::*_t)(Kwave::Plugin * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Plugin::sigRunning)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Plugin::*_t)(Kwave::Plugin * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Plugin::sigDone)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Plugin::*_t)(Kwave::Plugin * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Plugin::sigClosed)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Plugin::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Plugin::sigCommand)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Plugin::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Plugin::setProgressText)) {
                *result = 4;
                return;
            }
        }
    }
}

const QMetaObject Kwave::Plugin::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Kwave__Plugin.data,
      qt_meta_data_Kwave__Plugin,  qt_static_metacall, nullptr, nullptr}
};


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

void *Kwave::Plugin::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Kwave__Plugin.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "Kwave::Runnable"))
        return static_cast< Kwave::Runnable*>(this);
    return QObject::qt_metacast(_clname);
}

int Kwave::Plugin::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 < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
    return _id;
}

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

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

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

// SIGNAL 3
void Kwave::Plugin::sigCommand(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Kwave::Plugin::setProgressText(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
