/****************************************************************************
** Meta object code from reading C++ file 'processmanager.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 "../../../../maui-strike-2.0.0/src/controllers/processmanager.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 'processmanager.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_ZN14ProcessManagerE_t {};
} // unnamed namespace

template <> constexpr inline auto ProcessManager::qt_create_metaobjectdata<qt_meta_tag_ZN14ProcessManagerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ProcessManager",
        "processRunningChanged",
        "",
        "running",
        "outputLine",
        "output",
        "configureStatusChanged",
        "Status",
        "configureStatus",
        "buildStatusChanged",
        "buildStatus",
        "deployStatusChanged",
        "binaryStatus",
        "enabledChanged",
        "enabled",
        "infoLabelChanged",
        "infoLabel",
        "build",
        "configure",
        "deploy",
        "stopBuild",
        "stopConfigure",
        "stopDeploy",
        "processRunning",
        "deployStatus",
        "Running",
        "Finished",
        "Error",
        "None"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'processRunningChanged'
        QtMocHelpers::SignalData<void(bool)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Signal 'outputLine'
        QtMocHelpers::SignalData<void(QString)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 5 },
        }}),
        // Signal 'configureStatusChanged'
        QtMocHelpers::SignalData<void(enum Status)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Signal 'buildStatusChanged'
        QtMocHelpers::SignalData<void(enum Status)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 10 },
        }}),
        // Signal 'deployStatusChanged'
        QtMocHelpers::SignalData<void(enum Status)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 12 },
        }}),
        // Signal 'enabledChanged'
        QtMocHelpers::SignalData<void(bool)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 14 },
        }}),
        // Signal 'infoLabelChanged'
        QtMocHelpers::SignalData<void(QString)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 16 },
        }}),
        // Slot 'build'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'configure'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'deploy'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'stopBuild'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'stopConfigure'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'stopDeploy'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'processRunning'
        QtMocHelpers::PropertyData<bool>(23, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Final, 0),
        // property 'configureStatus'
        QtMocHelpers::PropertyData<enum Status>(8, 0x80000000 | 7, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Final, 2),
        // property 'buildStatus'
        QtMocHelpers::PropertyData<enum Status>(10, 0x80000000 | 7, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Final, 3),
        // property 'deployStatus'
        QtMocHelpers::PropertyData<enum Status>(24, 0x80000000 | 7, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Final, 4),
        // property 'infoLabel'
        QtMocHelpers::PropertyData<QString>(16, QMetaType::QString, QMC::DefaultPropertyFlags, 6),
        // property 'enabled'
        QtMocHelpers::PropertyData<bool>(14, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Final, 5),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'Status'
        QtMocHelpers::EnumData<enum Status>(7, 7, QMC::EnumFlags{}).add({
            {   25, Status::Running },
            {   26, Status::Finished },
            {   27, Status::Error },
            {   28, Status::None },
        }),
    };
    return QtMocHelpers::metaObjectData<ProcessManager, qt_meta_tag_ZN14ProcessManagerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ProcessManager::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14ProcessManagerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14ProcessManagerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN14ProcessManagerE_t>.metaTypes,
    nullptr
} };

void ProcessManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ProcessManager *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->processRunningChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 1: _t->outputLine((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 2: _t->configureStatusChanged((*reinterpret_cast<std::add_pointer_t<enum Status>>(_a[1]))); break;
        case 3: _t->buildStatusChanged((*reinterpret_cast<std::add_pointer_t<enum Status>>(_a[1]))); break;
        case 4: _t->deployStatusChanged((*reinterpret_cast<std::add_pointer_t<enum Status>>(_a[1]))); break;
        case 5: _t->enabledChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 6: _t->infoLabelChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 7: _t->build(); break;
        case 8: _t->configure(); break;
        case 9: _t->deploy(); break;
        case 10: _t->stopBuild(); break;
        case 11: _t->stopConfigure(); break;
        case 12: _t->stopDeploy(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ProcessManager::*)(bool )>(_a, &ProcessManager::processRunningChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ProcessManager::*)(QString )>(_a, &ProcessManager::outputLine, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (ProcessManager::*)(Status )>(_a, &ProcessManager::configureStatusChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (ProcessManager::*)(Status )>(_a, &ProcessManager::buildStatusChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (ProcessManager::*)(Status )>(_a, &ProcessManager::deployStatusChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (ProcessManager::*)(bool )>(_a, &ProcessManager::enabledChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (ProcessManager::*)(QString )>(_a, &ProcessManager::infoLabelChanged, 6))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<bool*>(_v) = _t->processRunning(); break;
        case 1: *reinterpret_cast<enum Status*>(_v) = _t->configureStatus(); break;
        case 2: *reinterpret_cast<enum Status*>(_v) = _t->buildStatus(); break;
        case 3: *reinterpret_cast<enum Status*>(_v) = _t->deployStatus(); break;
        case 4: *reinterpret_cast<QString*>(_v) = _t->infoLabel(); break;
        case 5: *reinterpret_cast<bool*>(_v) = _t->enabled(); break;
        default: break;
        }
    }
}

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

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

int ProcessManager::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 < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 13;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    }
    return _id;
}

// SIGNAL 0
void ProcessManager::processRunningChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

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

// SIGNAL 2
void ProcessManager::configureStatusChanged(Status _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void ProcessManager::buildStatusChanged(Status _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void ProcessManager::deployStatusChanged(Status _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void ProcessManager::enabledChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void ProcessManager::infoLabelChanged(QString _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}
QT_WARNING_POP
