/****************************************************************************
** Meta object code from reading C++ file 'commandargsparser.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 "../../../../../kommit/src/gui/commandargsparser.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 'commandargsparser.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_ZN17CommandArgsParserE_t {};
} // unnamed namespace

template <> constexpr inline auto CommandArgsParser::qt_create_metaobjectdata<qt_meta_tag_ZN17CommandArgsParserE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "CommandArgsParser",
        "help",
        "ArgParserReturn",
        "",
        "clone",
        "path",
        "init",
        "pull",
        "fetch",
        "push",
        "merge",
        "changes",
        "create_tag",
        "diff",
        "file",
        "file1",
        "file2",
        "blame",
        "history",
        "base",
        "local",
        "remote",
        "result",
        "ignore",
        "cleanup",
        "switch_checkout",
        "diff_branches",
        "browse",
        "place",
        "conflicts",
        "add",
        "remove",
        "main"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'help'
        QtMocHelpers::SlotData<ArgParserReturn()>(1, 3, QMC::AccessPublic, 0x80000000 | 2),
        // Slot 'clone'
        QtMocHelpers::SlotData<ArgParserReturn()>(4, 3, QMC::AccessPublic, 0x80000000 | 2),
        // Slot 'clone'
        QtMocHelpers::SlotData<ArgParserReturn(const QString &)>(4, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::QString, 5 },
        }}),
        // Slot 'init'
        QtMocHelpers::SlotData<ArgParserReturn(const QString &)>(6, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::QString, 5 },
        }}),
        // Slot 'pull'
        QtMocHelpers::SlotData<ArgParserReturn(const QString &)>(7, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::QString, 5 },
        }}),
        // Slot 'fetch'
        QtMocHelpers::SlotData<ArgParserReturn(const QString &)>(8, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::QString, 5 },
        }}),
        // Slot 'push'
        QtMocHelpers::SlotData<ArgParserReturn(const QString &)>(9, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::QString, 5 },
        }}),
        // Slot 'merge'
        QtMocHelpers::SlotData<ArgParserReturn(const QString &)>(10, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::QString, 5 },
        }}),
        // Slot 'changes'
        QtMocHelpers::SlotData<ArgParserReturn()>(11, 3, QMC::AccessPublic, 0x80000000 | 2),
        // Slot 'changes'
        QtMocHelpers::SlotData<ArgParserReturn(const QString &)>(11, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::QString, 5 },
        }}),
        // Slot 'create_tag'
        QtMocHelpers::SlotData<ArgParserReturn(const QString &)>(12, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::QString, 5 },
        }}),
        // Slot 'diff'
        QtMocHelpers::SlotData<ArgParserReturn()>(13, 3, QMC::AccessPublic, 0x80000000 | 2),
        // Slot 'diff'
        QtMocHelpers::SlotData<ArgParserReturn(const QString &)>(13, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::QString, 14 },
        }}),
        // Slot 'diff'
        QtMocHelpers::SlotData<ArgParserReturn(const QString &, const QString &)>(13, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::QString, 15 }, { QMetaType::QString, 16 },
        }}),
        // Slot 'diff'
        QtMocHelpers::SlotData<ArgParserReturn(const QString &, const QString &, const QString &)>(13, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 15 }, { QMetaType::QString, 16 },
        }}),
        // Slot 'blame'
        QtMocHelpers::SlotData<ArgParserReturn(const QString &)>(17, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::QString, 14 },
        }}),
        // Slot 'history'
        QtMocHelpers::SlotData<ArgParserReturn(const QString &)>(18, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::QString, 14 },
        }}),
        // Slot 'merge'
        QtMocHelpers::SlotData<ArgParserReturn()>(10, 3, QMC::AccessPublic, 0x80000000 | 2),
        // Slot 'merge'
        QtMocHelpers::SlotData<ArgParserReturn(const QString &, const QString &, const QString &, const QString &)>(10, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::QString, 19 }, { QMetaType::QString, 20 }, { QMetaType::QString, 21 }, { QMetaType::QString, 22 },
        }}),
        // Slot 'ignore'
        QtMocHelpers::SlotData<ArgParserReturn(const QString &)>(23, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::QString, 5 },
        }}),
        // Slot 'cleanup'
        QtMocHelpers::SlotData<ArgParserReturn(const QString &)>(24, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::QString, 5 },
        }}),
        // Slot 'switch_checkout'
        QtMocHelpers::SlotData<ArgParserReturn(const QString &)>(25, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::QString, 5 },
        }}),
        // Slot 'diff_branches'
        QtMocHelpers::SlotData<ArgParserReturn(const QString &)>(26, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::QString, 5 },
        }}),
        // Slot 'browse'
        QtMocHelpers::SlotData<ArgParserReturn(const QString &)>(27, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::QString, 28 },
        }}),
        // Slot 'browse'
        QtMocHelpers::SlotData<ArgParserReturn(const QString &, const QString &)>(27, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 28 },
        }}),
        // Slot 'conflicts'
        QtMocHelpers::SlotData<ArgParserReturn(const QString &)>(29, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::QString, 5 },
        }}),
        // Slot 'add'
        QtMocHelpers::SlotData<ArgParserReturn(const QString &)>(30, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::QString, 5 },
        }}),
        // Slot 'remove'
        QtMocHelpers::SlotData<ArgParserReturn(const QString &)>(31, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::QString, 5 },
        }}),
        // Slot 'main'
        QtMocHelpers::SlotData<ArgParserReturn()>(32, 3, QMC::AccessPublic, 0x80000000 | 2),
        // Slot 'main'
        QtMocHelpers::SlotData<ArgParserReturn(const QString &)>(32, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::QString, 5 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<CommandArgsParser, qt_meta_tag_ZN17CommandArgsParserE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject CommandArgsParser::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17CommandArgsParserE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17CommandArgsParserE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN17CommandArgsParserE_t>.metaTypes,
    nullptr
} };

void CommandArgsParser::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<CommandArgsParser *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: { ArgParserReturn _r = _t->help();
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 1: { ArgParserReturn _r = _t->clone();
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 2: { ArgParserReturn _r = _t->clone((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 3: { ArgParserReturn _r = _t->init((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 4: { ArgParserReturn _r = _t->pull((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 5: { ArgParserReturn _r = _t->fetch((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 6: { ArgParserReturn _r = _t->push((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 7: { ArgParserReturn _r = _t->merge((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 8: { ArgParserReturn _r = _t->changes();
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 9: { ArgParserReturn _r = _t->changes((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 10: { ArgParserReturn _r = _t->create_tag((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 11: { ArgParserReturn _r = _t->diff();
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 12: { ArgParserReturn _r = _t->diff((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 13: { ArgParserReturn _r = _t->diff((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])));
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 14: { ArgParserReturn _r = _t->diff((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])));
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 15: { ArgParserReturn _r = _t->blame((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 16: { ArgParserReturn _r = _t->history((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 17: { ArgParserReturn _r = _t->merge();
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 18: { ArgParserReturn _r = _t->merge((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4])));
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 19: { ArgParserReturn _r = _t->ignore((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 20: { ArgParserReturn _r = _t->cleanup((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 21: { ArgParserReturn _r = _t->switch_checkout((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 22: { ArgParserReturn _r = _t->diff_branches((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 23: { ArgParserReturn _r = _t->browse((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 24: { ArgParserReturn _r = _t->browse((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])));
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 25: { ArgParserReturn _r = _t->conflicts((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 26: { ArgParserReturn _r = _t->add((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 27: { ArgParserReturn _r = _t->remove((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 28: { ArgParserReturn _r = _t->main();
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        case 29: { ArgParserReturn _r = _t->main((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<ArgParserReturn*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
}

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

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

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