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

#include "../../../src/git.h"
#include <QtCore/qmetatype.h>
#include <QtCore/QList>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'git.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.10.0. 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_ZN3GitE_t {};
} // unnamed namespace

template <> constexpr inline auto Git::qt_create_metaobjectdata<qt_meta_tag_ZN3GitE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Git",
        "newRevsAdded",
        "",
        "const FileHistory*",
        "QList<ShaString>",
        "loadCompleted",
        "cancelLoading",
        "cancelAllProcesses",
        "annotateReady",
        "Annotate*",
        "fileNamesLoad",
        "changeFont",
        "QFont",
        "procReadyRead",
        "procFinished",
        "loadFileCache",
        "loadFileNames",
        "on_runAsScript_eof",
        "on_getHighlightedFile_eof",
        "on_newDataReady",
        "on_loaded",
        "FileHistory*"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'newRevsAdded'
        QtMocHelpers::SignalData<void(const FileHistory *, const QVector<ShaString> &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 }, { 0x80000000 | 4, 2 },
        }}),
        // Signal 'loadCompleted'
        QtMocHelpers::SignalData<void(const FileHistory *, const QString &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 }, { QMetaType::QString, 2 },
        }}),
        // Signal 'cancelLoading'
        QtMocHelpers::SignalData<void(const FileHistory *)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'cancelAllProcesses'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'annotateReady'
        QtMocHelpers::SignalData<void(Annotate *, bool, const QString &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 2 }, { QMetaType::Bool, 2 }, { QMetaType::QString, 2 },
        }}),
        // Signal 'fileNamesLoad'
        QtMocHelpers::SignalData<void(int, int)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 }, { QMetaType::Int, 2 },
        }}),
        // Signal 'changeFont'
        QtMocHelpers::SignalData<void(const QFont &)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 12, 2 },
        }}),
        // Slot 'procReadyRead'
        QtMocHelpers::SlotData<void(const QByteArray &)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QByteArray, 2 },
        }}),
        // Slot 'procFinished'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'loadFileCache'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'loadFileNames'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_runAsScript_eof'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_getHighlightedFile_eof'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_newDataReady'
        QtMocHelpers::SlotData<void(const FileHistory *)>(19, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Slot 'on_loaded'
        QtMocHelpers::SlotData<void(FileHistory *, ulong, int, bool, const QString &, const QString &)>(20, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 21, 2 }, { QMetaType::ULong, 2 }, { QMetaType::Int, 2 }, { QMetaType::Bool, 2 },
            { QMetaType::QString, 2 }, { QMetaType::QString, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Git, qt_meta_tag_ZN3GitE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Git::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3GitE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3GitE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3GitE_t>.metaTypes,
    nullptr
} };

void Git::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Git *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->newRevsAdded((*reinterpret_cast<std::add_pointer_t<const FileHistory*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QList<ShaString>>>(_a[2]))); break;
        case 1: _t->loadCompleted((*reinterpret_cast<std::add_pointer_t<const FileHistory*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 2: _t->cancelLoading((*reinterpret_cast<std::add_pointer_t<const FileHistory*>>(_a[1]))); break;
        case 3: _t->cancelAllProcesses(); break;
        case 4: _t->annotateReady((*reinterpret_cast<std::add_pointer_t<Annotate*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 5: _t->fileNamesLoad((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 6: _t->changeFont((*reinterpret_cast<std::add_pointer_t<QFont>>(_a[1]))); break;
        case 7: _t->procReadyRead((*reinterpret_cast<std::add_pointer_t<QByteArray>>(_a[1]))); break;
        case 8: _t->procFinished(); break;
        case 9: _t->loadFileCache(); break;
        case 10: _t->loadFileNames(); break;
        case 11: _t->on_runAsScript_eof(); break;
        case 12: _t->on_getHighlightedFile_eof(); break;
        case 13: _t->on_newDataReady((*reinterpret_cast<std::add_pointer_t<const FileHistory*>>(_a[1]))); break;
        case 14: _t->on_loaded((*reinterpret_cast<std::add_pointer_t<FileHistory*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<ulong>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[5])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[6]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Git::*)(const FileHistory * , const QVector<ShaString> & )>(_a, &Git::newRevsAdded, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (Git::*)(const FileHistory * , const QString & )>(_a, &Git::loadCompleted, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (Git::*)(const FileHistory * )>(_a, &Git::cancelLoading, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (Git::*)()>(_a, &Git::cancelAllProcesses, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (Git::*)(Annotate * , bool , const QString & )>(_a, &Git::annotateReady, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (Git::*)(int , int )>(_a, &Git::fileNamesLoad, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (Git::*)(const QFont & )>(_a, &Git::changeFont, 6))
            return;
    }
}

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

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

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

// SIGNAL 0
void Git::newRevsAdded(const FileHistory * _t1, const QVector<ShaString> & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void Git::loadCompleted(const FileHistory * _t1, const QString & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2);
}

// SIGNAL 2
void Git::cancelLoading(const FileHistory * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void Git::cancelAllProcesses()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void Git::annotateReady(Annotate * _t1, bool _t2, const QString & _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1, _t2, _t3);
}

// SIGNAL 5
void Git::fileNamesLoad(int _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2);
}

// SIGNAL 6
void Git::changeFont(const QFont & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}
QT_WARNING_POP
