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

#include "../../../../ksnip/src/gui/actions/ActionProcessor.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 'ActionProcessor.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.10.2. 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_ZN15ActionProcessorE_t {};
} // unnamed namespace

template <> constexpr inline auto ActionProcessor::qt_create_metaobjectdata<qt_meta_tag_ZN15ActionProcessorE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ActionProcessor",
        "triggerCapture",
        "",
        "CaptureModes",
        "mode",
        "includeCursor",
        "delay",
        "triggerPinImage",
        "triggerCopyToClipboard",
        "triggerSave",
        "triggerUpload",
        "triggerOpenDirectory",
        "triggerShow",
        "minimized",
        "captureFinished",
        "captureCanceled"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'triggerCapture'
        QtMocHelpers::SignalData<void(CaptureModes, bool, int) const>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { QMetaType::Bool, 5 }, { QMetaType::Int, 6 },
        }}),
        // Signal 'triggerPinImage'
        QtMocHelpers::SignalData<void() const>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'triggerCopyToClipboard'
        QtMocHelpers::SignalData<void() const>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'triggerSave'
        QtMocHelpers::SignalData<void() const>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'triggerUpload'
        QtMocHelpers::SignalData<void() const>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'triggerOpenDirectory'
        QtMocHelpers::SignalData<void() const>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'triggerShow'
        QtMocHelpers::SignalData<void(bool) const>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 13 },
        }}),
        // Slot 'captureFinished'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'captureCanceled'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ActionProcessor, qt_meta_tag_ZN15ActionProcessorE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ActionProcessor::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ActionProcessorE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ActionProcessorE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15ActionProcessorE_t>.metaTypes,
    nullptr
} };

void ActionProcessor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ActionProcessor *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->triggerCapture((*reinterpret_cast<std::add_pointer_t<CaptureModes>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 1: _t->triggerPinImage(); break;
        case 2: _t->triggerCopyToClipboard(); break;
        case 3: _t->triggerSave(); break;
        case 4: _t->triggerUpload(); break;
        case 5: _t->triggerOpenDirectory(); break;
        case 6: _t->triggerShow((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 7: _t->captureFinished(); break;
        case 8: _t->captureCanceled(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< CaptureModes >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ActionProcessor::*)(CaptureModes , bool , int ) const>(_a, &ActionProcessor::triggerCapture, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ActionProcessor::*)() const>(_a, &ActionProcessor::triggerPinImage, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (ActionProcessor::*)() const>(_a, &ActionProcessor::triggerCopyToClipboard, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (ActionProcessor::*)() const>(_a, &ActionProcessor::triggerSave, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (ActionProcessor::*)() const>(_a, &ActionProcessor::triggerUpload, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (ActionProcessor::*)() const>(_a, &ActionProcessor::triggerOpenDirectory, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (ActionProcessor::*)(bool ) const>(_a, &ActionProcessor::triggerShow, 6))
            return;
    }
}

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

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

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

// SIGNAL 0
void ActionProcessor::triggerCapture(CaptureModes _t1, bool _t2, int _t3)const
{
    QMetaObject::activate<void>(const_cast< ActionProcessor *>(this), &staticMetaObject, 0, nullptr, _t1, _t2, _t3);
}

// SIGNAL 1
void ActionProcessor::triggerPinImage()const
{
    QMetaObject::activate(const_cast< ActionProcessor *>(this), &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void ActionProcessor::triggerCopyToClipboard()const
{
    QMetaObject::activate(const_cast< ActionProcessor *>(this), &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void ActionProcessor::triggerSave()const
{
    QMetaObject::activate(const_cast< ActionProcessor *>(this), &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void ActionProcessor::triggerUpload()const
{
    QMetaObject::activate(const_cast< ActionProcessor *>(this), &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void ActionProcessor::triggerOpenDirectory()const
{
    QMetaObject::activate(const_cast< ActionProcessor *>(this), &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void ActionProcessor::triggerShow(bool _t1)const
{
    QMetaObject::activate<void>(const_cast< ActionProcessor *>(this), &staticMetaObject, 6, nullptr, _t1);
}
QT_WARNING_POP
