/****************************************************************************
** Meta object code from reading C++ file 'PluginManager.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/libkwave/PluginManager.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'PluginManager.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__PluginManager_t {
    QByteArrayData data[16];
    char stringdata0[179];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kwave__PluginManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kwave__PluginManager_t qt_meta_stringdata_Kwave__PluginManager = {
    {
QT_MOC_LITERAL(0, 0, 20), // "Kwave::PluginManager"
QT_MOC_LITERAL(1, 21, 10), // "sigCommand"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 7), // "command"
QT_MOC_LITERAL(4, 41, 9), // "sigClosed"
QT_MOC_LITERAL(5, 51, 20), // "sigSignalNameChanged"
QT_MOC_LITERAL(6, 72, 4), // "name"
QT_MOC_LITERAL(7, 77, 11), // "sigProgress"
QT_MOC_LITERAL(8, 89, 7), // "message"
QT_MOC_LITERAL(9, 97, 12), // "signalClosed"
QT_MOC_LITERAL(10, 110, 12), // "pluginClosed"
QT_MOC_LITERAL(11, 123, 14), // "Kwave::Plugin*"
QT_MOC_LITERAL(12, 138, 1), // "p"
QT_MOC_LITERAL(13, 140, 13), // "setSignalName"
QT_MOC_LITERAL(14, 154, 13), // "pluginStarted"
QT_MOC_LITERAL(15, 168, 10) // "pluginDone"

    },
    "Kwave::PluginManager\0sigCommand\0\0"
    "command\0sigClosed\0sigSignalNameChanged\0"
    "name\0sigProgress\0message\0signalClosed\0"
    "pluginClosed\0Kwave::Plugin*\0p\0"
    "setSignalName\0pluginStarted\0pluginDone"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kwave__PluginManager[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       9,    0,   69,    2, 0x0a /* Public */,
      10,    1,   70,    2, 0x0a /* Public */,
      13,    1,   73,    2, 0x0a /* Public */,
      14,    1,   76,    2, 0x08 /* Private */,
      15,    1,   79,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    6,
    QMetaType::Void, QMetaType::QString,    8,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, QMetaType::QString,    6,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, 0x80000000 | 11,   12,

       0        // eod
};

void Kwave::PluginManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PluginManager *_t = static_cast<PluginManager *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sigCommand((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->sigClosed(); break;
        case 2: _t->sigSignalNameChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->sigProgress((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->signalClosed(); break;
        case 5: _t->pluginClosed((*reinterpret_cast< Kwave::Plugin*(*)>(_a[1]))); break;
        case 6: _t->setSignalName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: _t->pluginStarted((*reinterpret_cast< Kwave::Plugin*(*)>(_a[1]))); break;
        case 8: _t->pluginDone((*reinterpret_cast< Kwave::Plugin*(*)>(_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 (PluginManager::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PluginManager::sigCommand)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (PluginManager::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PluginManager::sigClosed)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (PluginManager::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PluginManager::sigSignalNameChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (PluginManager::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PluginManager::sigProgress)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject Kwave::PluginManager::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Kwave__PluginManager.data,
      qt_meta_data_Kwave__PluginManager,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Kwave::PluginManager::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 < 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::PluginManager::sigCommand(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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

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

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