/****************************************************************************
** Meta object code from reading C++ file 'remotecallbacks.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/libkommit/remotecallbacks.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 'remotecallbacks.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_ZN3Git15RemoteCallbacksE_t {};
} // unnamed namespace

template <> constexpr inline auto Git::RemoteCallbacks::qt_create_metaobjectdata<qt_meta_tag_ZN3Git15RemoteCallbacksE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Git::RemoteCallbacks",
        "message",
        "",
        "transferProgress",
        "const FetchTransferStat*",
        "stat",
        "packProgress",
        "const PackProgress*",
        "p",
        "updateRef",
        "Reference",
        "reference",
        "Oid",
        "a",
        "b",
        "credentialRequested",
        "url",
        "Credential*",
        "cred",
        "bool*",
        "accept",
        "certificateCheck",
        "Certificate",
        "cert",
        "remoteReady",
        "Remote",
        "remote",
        "Remote::Direction",
        "direction",
        "QString*",
        "newUrl"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'message'
        QtMocHelpers::SignalData<void(const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 1 },
        }}),
        // Signal 'transferProgress'
        QtMocHelpers::SignalData<void(const FetchTransferStat *)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 5 },
        }}),
        // Signal 'packProgress'
        QtMocHelpers::SignalData<void(const PackProgress *)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Signal 'updateRef'
        QtMocHelpers::SignalData<void(const Reference &, const Oid &, const Oid &)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 11 }, { 0x80000000 | 12, 13 }, { 0x80000000 | 12, 14 },
        }}),
        // Signal 'credentialRequested'
        QtMocHelpers::SignalData<void(const QString &, Credential *, bool *)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 16 }, { 0x80000000 | 17, 18 }, { 0x80000000 | 19, 20 },
        }}),
        // Signal 'certificateCheck'
        QtMocHelpers::SignalData<void(const Certificate &, bool *)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 22, 23 }, { 0x80000000 | 19, 20 },
        }}),
        // Signal 'remoteReady'
        QtMocHelpers::SignalData<void(const Remote &, Remote::Direction, QString *)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 25, 26 }, { 0x80000000 | 27, 28 }, { 0x80000000 | 29, 30 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<RemoteCallbacks, qt_meta_tag_ZN3Git15RemoteCallbacksE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Git::RemoteCallbacks::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3Git15RemoteCallbacksE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3Git15RemoteCallbacksE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3Git15RemoteCallbacksE_t>.metaTypes,
    nullptr
} };

void Git::RemoteCallbacks::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<RemoteCallbacks *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->message((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 1: _t->transferProgress((*reinterpret_cast<std::add_pointer_t<const FetchTransferStat*>>(_a[1]))); break;
        case 2: _t->packProgress((*reinterpret_cast<std::add_pointer_t<const PackProgress*>>(_a[1]))); break;
        case 3: _t->updateRef((*reinterpret_cast<std::add_pointer_t<Reference>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Oid>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<Oid>>(_a[3]))); break;
        case 4: _t->credentialRequested((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Credential*>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool*>>(_a[3]))); break;
        case 5: _t->certificateCheck((*reinterpret_cast<std::add_pointer_t<Certificate>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool*>>(_a[2]))); break;
        case 6: _t->remoteReady((*reinterpret_cast<std::add_pointer_t<Remote>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Remote::Direction>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString*>>(_a[3]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (RemoteCallbacks::*)(const QString & )>(_a, &RemoteCallbacks::message, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (RemoteCallbacks::*)(const FetchTransferStat * )>(_a, &RemoteCallbacks::transferProgress, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (RemoteCallbacks::*)(const PackProgress * )>(_a, &RemoteCallbacks::packProgress, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (RemoteCallbacks::*)(const Reference & , const Oid & , const Oid & )>(_a, &RemoteCallbacks::updateRef, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (RemoteCallbacks::*)(const QString & , Credential * , bool * )>(_a, &RemoteCallbacks::credentialRequested, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (RemoteCallbacks::*)(const Certificate & , bool * )>(_a, &RemoteCallbacks::certificateCheck, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (RemoteCallbacks::*)(const Remote & , Remote::Direction , QString * )>(_a, &RemoteCallbacks::remoteReady, 6))
            return;
    }
}

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

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

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

// SIGNAL 0
void Git::RemoteCallbacks::message(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void Git::RemoteCallbacks::transferProgress(const FetchTransferStat * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

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

// SIGNAL 3
void Git::RemoteCallbacks::updateRef(const Reference & _t1, const Oid & _t2, const Oid & _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1, _t2, _t3);
}

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

// SIGNAL 5
void Git::RemoteCallbacks::certificateCheck(const Certificate & _t1, bool * _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2);
}

// SIGNAL 6
void Git::RemoteCallbacks::remoteReady(const Remote & _t1, Remote::Direction _t2, QString * _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1, _t2, _t3);
}
QT_WARNING_POP
