/****************************************************************************
** Meta object code from reading C++ file 'LaunchStep.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 "../../../../PrismLauncher-11.0.3/launcher/launch/LaunchStep.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 'LaunchStep.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_ZN10LaunchStepE_t {};
} // unnamed namespace

template <> constexpr inline auto LaunchStep::qt_create_metaobjectdata<qt_meta_tag_ZN10LaunchStepE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "LaunchStep",
        "logLines",
        "",
        "lines",
        "MessageLevel",
        "level",
        "logLine",
        "line",
        "readyForLaunch",
        "progressReportingRequest",
        "proceed",
        "finalize"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'logLines'
        QtMocHelpers::SignalData<void(QStringList, MessageLevel)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 3 }, { 0x80000000 | 4, 5 },
        }}),
        // Signal 'logLine'
        QtMocHelpers::SignalData<void(QString, MessageLevel)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 7 }, { 0x80000000 | 4, 5 },
        }}),
        // Signal 'readyForLaunch'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'progressReportingRequest'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'proceed'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'finalize'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<LaunchStep, qt_meta_tag_ZN10LaunchStepE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject LaunchStep::staticMetaObject = { {
    QMetaObject::SuperData::link<Task::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10LaunchStepE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10LaunchStepE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10LaunchStepE_t>.metaTypes,
    nullptr
} };

void LaunchStep::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<LaunchStep *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->logLines((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<MessageLevel>>(_a[2]))); break;
        case 1: _t->logLine((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<MessageLevel>>(_a[2]))); break;
        case 2: _t->readyForLaunch(); break;
        case 3: _t->progressReportingRequest(); break;
        case 4: _t->proceed(); break;
        case 5: _t->finalize(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (LaunchStep::*)(QStringList , MessageLevel )>(_a, &LaunchStep::logLines, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (LaunchStep::*)(QString , MessageLevel )>(_a, &LaunchStep::logLine, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (LaunchStep::*)()>(_a, &LaunchStep::readyForLaunch, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (LaunchStep::*)()>(_a, &LaunchStep::progressReportingRequest, 3))
            return;
    }
}

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

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

int LaunchStep::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Task::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 6)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 6;
    }
    return _id;
}

// SIGNAL 0
void LaunchStep::logLines(QStringList _t1, MessageLevel _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void LaunchStep::logLine(QString _t1, MessageLevel _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2);
}

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

// SIGNAL 3
void LaunchStep::progressReportingRequest()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
