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

#include "/build/bitcoin/src/bitcoin-30.2/src/qt/clientmodel.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 'clientmodel.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.10.2. 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_ZN11ClientModelE_t {};
} // unnamed namespace

template <> constexpr inline auto ClientModel::qt_create_metaobjectdata<qt_meta_tag_ZN11ClientModelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ClientModel",
        "numConnectionsChanged",
        "",
        "count",
        "numBlocksChanged",
        "blockDate",
        "nVerificationProgress",
        "SyncType",
        "header",
        "SynchronizationState",
        "sync_state",
        "mempoolSizeChanged",
        "size_t",
        "mempoolSizeInBytes",
        "mempoolMaxSizeInBytes",
        "networkActiveChanged",
        "networkActive",
        "alertsChanged",
        "warnings",
        "bytesChanged",
        "totalBytesIn",
        "totalBytesOut",
        "message",
        "title",
        "style",
        "showProgress",
        "nProgress"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'numConnectionsChanged'
        QtMocHelpers::SignalData<void(int)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Signal 'numBlocksChanged'
        QtMocHelpers::SignalData<void(int, const QDateTime &, double, SyncType, SynchronizationState)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 }, { QMetaType::QDateTime, 5 }, { QMetaType::Double, 6 }, { 0x80000000 | 7, 8 },
            { 0x80000000 | 9, 10 },
        }}),
        // Signal 'mempoolSizeChanged'
        QtMocHelpers::SignalData<void(long, size_t, size_t)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Long, 3 }, { 0x80000000 | 12, 13 }, { 0x80000000 | 12, 14 },
        }}),
        // Signal 'networkActiveChanged'
        QtMocHelpers::SignalData<void(bool)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 16 },
        }}),
        // Signal 'alertsChanged'
        QtMocHelpers::SignalData<void(const QString &)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 18 },
        }}),
        // Signal 'bytesChanged'
        QtMocHelpers::SignalData<void(quint64, quint64)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::ULongLong, 20 }, { QMetaType::ULongLong, 21 },
        }}),
        // Signal 'message'
        QtMocHelpers::SignalData<void(const QString &, const QString &, unsigned int)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 23 }, { QMetaType::QString, 22 }, { QMetaType::UInt, 24 },
        }}),
        // Signal 'showProgress'
        QtMocHelpers::SignalData<void(const QString &, int)>(25, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 23 }, { QMetaType::Int, 26 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ClientModel, qt_meta_tag_ZN11ClientModelE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ClientModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11ClientModelE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11ClientModelE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11ClientModelE_t>.metaTypes,
    nullptr
} };

void ClientModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ClientModel *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->numConnectionsChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 1: _t->numBlocksChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QDateTime>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<double>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<SyncType>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<SynchronizationState>>(_a[5]))); break;
        case 2: _t->mempoolSizeChanged((*reinterpret_cast<std::add_pointer_t<long>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<size_t>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<size_t>>(_a[3]))); break;
        case 3: _t->networkActiveChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 4: _t->alertsChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 5: _t->bytesChanged((*reinterpret_cast<std::add_pointer_t<quint64>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<quint64>>(_a[2]))); break;
        case 6: _t->message((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<uint>>(_a[3]))); break;
        case 7: _t->showProgress((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ClientModel::*)(int )>(_a, &ClientModel::numConnectionsChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ClientModel::*)(int , const QDateTime & , double , SyncType , SynchronizationState )>(_a, &ClientModel::numBlocksChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (ClientModel::*)(long , size_t , size_t )>(_a, &ClientModel::mempoolSizeChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (ClientModel::*)(bool )>(_a, &ClientModel::networkActiveChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (ClientModel::*)(const QString & )>(_a, &ClientModel::alertsChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (ClientModel::*)(quint64 , quint64 )>(_a, &ClientModel::bytesChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (ClientModel::*)(const QString & , const QString & , unsigned int )>(_a, &ClientModel::message, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (ClientModel::*)(const QString & , int )>(_a, &ClientModel::showProgress, 7))
            return;
    }
}

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

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

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

// SIGNAL 0
void ClientModel::numConnectionsChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void ClientModel::numBlocksChanged(int _t1, const QDateTime & _t2, double _t3, SyncType _t4, SynchronizationState _t5)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2, _t3, _t4, _t5);
}

// SIGNAL 2
void ClientModel::mempoolSizeChanged(long _t1, size_t _t2, size_t _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2, _t3);
}

// SIGNAL 3
void ClientModel::networkActiveChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void ClientModel::alertsChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void ClientModel::bytesChanged(quint64 _t1, quint64 _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2);
}

// SIGNAL 6
void ClientModel::message(const QString & _t1, const QString & _t2, unsigned int _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1, _t2, _t3);
}

// SIGNAL 7
void ClientModel::showProgress(const QString & _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1, _t2);
}
QT_WARNING_POP
