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

#include "../../../gmic-krita/gmic-qt/src/GmicProcessor.h"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'GmicProcessor.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN6GmicQt13GmicProcessorE_t {};
} // unnamed namespace

template <> constexpr inline auto GmicQt::GmicProcessor::qt_create_metaobjectdata<qt_meta_tag_ZN6GmicQt13GmicProcessorE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "GmicQt::GmicProcessor",
        "previewCommandFailed",
        "",
        "errorMessage",
        "fullImageProcessingFailed",
        "previewImageAvailable",
        "guiDynamismRunDone",
        "fullImageProcessingDone",
        "noMoreUnfinishedJobs",
        "aboutToSendImagesToHost",
        "cancel",
        "detachAllUnfinishedAbortedThreads",
        "terminateAllThreads",
        "onPreviewThreadFinished",
        "onApplyThreadFinished",
        "onGUIDynamismThreadFinished",
        "onAbortedThreadFinished",
        "showWaitingCursor",
        "hideWaitingCursor"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'previewCommandFailed'
        QtMocHelpers::SignalData<void(QString)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'fullImageProcessingFailed'
        QtMocHelpers::SignalData<void(QString)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'previewImageAvailable'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'guiDynamismRunDone'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'fullImageProcessingDone'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'noMoreUnfinishedJobs'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'aboutToSendImagesToHost'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'cancel'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'detachAllUnfinishedAbortedThreads'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'terminateAllThreads'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onPreviewThreadFinished'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onApplyThreadFinished'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onGUIDynamismThreadFinished'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onAbortedThreadFinished'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'showWaitingCursor'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'hideWaitingCursor'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<GmicProcessor, qt_meta_tag_ZN6GmicQt13GmicProcessorE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject GmicQt::GmicProcessor::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6GmicQt13GmicProcessorE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6GmicQt13GmicProcessorE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN6GmicQt13GmicProcessorE_t>.metaTypes,
    nullptr
} };

void GmicQt::GmicProcessor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<GmicProcessor *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->previewCommandFailed((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 1: _t->fullImageProcessingFailed((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 2: _t->previewImageAvailable(); break;
        case 3: _t->guiDynamismRunDone(); break;
        case 4: _t->fullImageProcessingDone(); break;
        case 5: _t->noMoreUnfinishedJobs(); break;
        case 6: _t->aboutToSendImagesToHost(); break;
        case 7: _t->cancel(); break;
        case 8: _t->detachAllUnfinishedAbortedThreads(); break;
        case 9: _t->terminateAllThreads(); break;
        case 10: _t->onPreviewThreadFinished(); break;
        case 11: _t->onApplyThreadFinished(); break;
        case 12: _t->onGUIDynamismThreadFinished(); break;
        case 13: _t->onAbortedThreadFinished(); break;
        case 14: _t->showWaitingCursor(); break;
        case 15: _t->hideWaitingCursor(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (GmicProcessor::*)(QString )>(_a, &GmicProcessor::previewCommandFailed, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (GmicProcessor::*)(QString )>(_a, &GmicProcessor::fullImageProcessingFailed, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (GmicProcessor::*)()>(_a, &GmicProcessor::previewImageAvailable, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (GmicProcessor::*)()>(_a, &GmicProcessor::guiDynamismRunDone, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (GmicProcessor::*)()>(_a, &GmicProcessor::fullImageProcessingDone, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (GmicProcessor::*)()>(_a, &GmicProcessor::noMoreUnfinishedJobs, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (GmicProcessor::*)()>(_a, &GmicProcessor::aboutToSendImagesToHost, 6))
            return;
    }
}

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

void *GmicQt::GmicProcessor::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6GmicQt13GmicProcessorE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int GmicQt::GmicProcessor::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 < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 16;
    }
    return _id;
}

// SIGNAL 0
void GmicQt::GmicProcessor::previewCommandFailed(QString _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void GmicQt::GmicProcessor::fullImageProcessingFailed(QString _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void GmicQt::GmicProcessor::previewImageAvailable()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void GmicQt::GmicProcessor::guiDynamismRunDone()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void GmicQt::GmicProcessor::fullImageProcessingDone()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void GmicQt::GmicProcessor::noMoreUnfinishedJobs()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void GmicQt::GmicProcessor::aboutToSendImagesToHost()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
QT_WARNING_POP
