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

#include <memory>
#include "../../../SQLiteStudio3/coreSQLiteStudio/services/exportmanager.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'exportmanager.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_ExportManager_t {
    QByteArrayData data[17];
    char stringdata0[187];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ExportManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ExportManager_t qt_meta_stringdata_ExportManager = {
    {
QT_MOC_LITERAL(0, 0, 13), // "ExportManager"
QT_MOC_LITERAL(1, 14, 14), // "exportFinished"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 16), // "exportSuccessful"
QT_MOC_LITERAL(4, 47, 12), // "exportFailed"
QT_MOC_LITERAL(5, 60, 12), // "finishedStep"
QT_MOC_LITERAL(6, 73, 4), // "step"
QT_MOC_LITERAL(7, 78, 16), // "storeInClipboard"
QT_MOC_LITERAL(8, 95, 3), // "str"
QT_MOC_LITERAL(9, 99, 5), // "bytes"
QT_MOC_LITERAL(10, 105, 8), // "mimeType"
QT_MOC_LITERAL(11, 114, 22), // "orderWorkerToInterrupt"
QT_MOC_LITERAL(12, 137, 9), // "interrupt"
QT_MOC_LITERAL(13, 147, 14), // "finalizeExport"
QT_MOC_LITERAL(14, 162, 6), // "result"
QT_MOC_LITERAL(15, 169, 10), // "QIODevice*"
QT_MOC_LITERAL(16, 180, 6) // "output"

    },
    "ExportManager\0exportFinished\0\0"
    "exportSuccessful\0exportFailed\0"
    "finishedStep\0step\0storeInClipboard\0"
    "str\0bytes\0mimeType\0orderWorkerToInterrupt\0"
    "interrupt\0finalizeExport\0result\0"
    "QIODevice*\0output"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ExportManager[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   59,    2, 0x06 /* Public */,
       3,    0,   60,    2, 0x06 /* Public */,
       4,    0,   61,    2, 0x06 /* Public */,
       5,    1,   62,    2, 0x06 /* Public */,
       7,    1,   65,    2, 0x06 /* Public */,
       7,    2,   68,    2, 0x06 /* Public */,
      11,    0,   73,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      12,    0,   74,    2, 0x0a /* Public */,
      13,    2,   75,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    6,
    QMetaType::Void, QMetaType::QString,    8,
    QMetaType::Void, QMetaType::QByteArray, QMetaType::QString,    9,   10,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool, 0x80000000 | 15,   14,   16,

       0        // eod
};

void ExportManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<ExportManager *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->exportFinished(); break;
        case 1: _t->exportSuccessful(); break;
        case 2: _t->exportFailed(); break;
        case 3: _t->finishedStep((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->storeInClipboard((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->storeInClipboard((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 6: _t->orderWorkerToInterrupt(); break;
        case 7: _t->interrupt(); break;
        case 8: _t->finalizeExport((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< QIODevice*(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QIODevice* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (ExportManager::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ExportManager::exportFinished)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (ExportManager::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ExportManager::exportSuccessful)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (ExportManager::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ExportManager::exportFailed)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (ExportManager::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ExportManager::finishedStep)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (ExportManager::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ExportManager::storeInClipboard)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (ExportManager::*)(const QByteArray & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ExportManager::storeInClipboard)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (ExportManager::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ExportManager::orderWorkerToInterrupt)) {
                *result = 6;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject ExportManager::staticMetaObject = { {
    QMetaObject::SuperData::link<PluginServiceBase::staticMetaObject>(),
    qt_meta_stringdata_ExportManager.data,
    qt_meta_data_ExportManager,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *ExportManager::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_ExportManager.stringdata0))
        return static_cast<void*>(this);
    return PluginServiceBase::qt_metacast(_clname);
}

int ExportManager::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = PluginServiceBase::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
    return _id;
}

// SIGNAL 0
void ExportManager::exportFinished()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void ExportManager::exportSuccessful()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void ExportManager::exportFailed()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void ExportManager::finishedStep(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void ExportManager::storeInClipboard(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void ExportManager::storeInClipboard(const QByteArray & _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void ExportManager::orderWorkerToInterrupt()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
