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

template <> constexpr inline auto WalletModel::qt_create_metaobjectdata<qt_meta_tag_ZN11WalletModelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "WalletModel",
        "balanceChanged",
        "",
        "interfaces::WalletBalances",
        "balances",
        "encryptionStatusChanged",
        "requireUnlock",
        "message",
        "title",
        "style",
        "coinsSent",
        "WalletModel*",
        "wallet",
        "SendCoinsRecipient",
        "recipient",
        "transaction",
        "showProgress",
        "nProgress",
        "unload",
        "canGetAddressesChanged",
        "timerTimeout",
        "startPollBalance",
        "updateStatus",
        "updateTransaction",
        "updateAddressBook",
        "address",
        "label",
        "isMine",
        "wallet::AddressPurpose",
        "purpose",
        "status",
        "pollBalanceChanged"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'balanceChanged'
        QtMocHelpers::SignalData<void(const interfaces::WalletBalances &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'encryptionStatusChanged'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'requireUnlock'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'message'
        QtMocHelpers::SignalData<void(const QString &, const QString &, unsigned int)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 8 }, { QMetaType::QString, 7 }, { QMetaType::UInt, 9 },
        }}),
        // Signal 'coinsSent'
        QtMocHelpers::SignalData<void(WalletModel *, SendCoinsRecipient, QByteArray)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 12 }, { 0x80000000 | 13, 14 }, { QMetaType::QByteArray, 15 },
        }}),
        // Signal 'showProgress'
        QtMocHelpers::SignalData<void(const QString &, int)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 8 }, { QMetaType::Int, 17 },
        }}),
        // Signal 'unload'
        QtMocHelpers::SignalData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'canGetAddressesChanged'
        QtMocHelpers::SignalData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'timerTimeout'
        QtMocHelpers::SignalData<void()>(20, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'startPollBalance'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'updateStatus'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'updateTransaction'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'updateAddressBook'
        QtMocHelpers::SlotData<void(const QString &, const QString &, bool, wallet::AddressPurpose, int)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 25 }, { QMetaType::QString, 26 }, { QMetaType::Bool, 27 }, { 0x80000000 | 28, 29 },
            { QMetaType::Int, 30 },
        }}),
        // Slot 'pollBalanceChanged'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<WalletModel, qt_meta_tag_ZN11WalletModelE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject WalletModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11WalletModelE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11WalletModelE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11WalletModelE_t>.metaTypes,
    nullptr
} };

void WalletModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<WalletModel *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->balanceChanged((*reinterpret_cast<std::add_pointer_t<interfaces::WalletBalances>>(_a[1]))); break;
        case 1: _t->encryptionStatusChanged(); break;
        case 2: _t->requireUnlock(); break;
        case 3: _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 4: _t->coinsSent((*reinterpret_cast<std::add_pointer_t<WalletModel*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<SendCoinsRecipient>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QByteArray>>(_a[3]))); break;
        case 5: _t->showProgress((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 6: _t->unload(); break;
        case 7: _t->canGetAddressesChanged(); break;
        case 8: _t->timerTimeout(); break;
        case 9: _t->startPollBalance(); break;
        case 10: _t->updateStatus(); break;
        case 11: _t->updateTransaction(); break;
        case 12: _t->updateAddressBook((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<wallet::AddressPurpose>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[5]))); break;
        case 13: _t->pollBalanceChanged(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< WalletModel* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (WalletModel::*)(const interfaces::WalletBalances & )>(_a, &WalletModel::balanceChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (WalletModel::*)()>(_a, &WalletModel::encryptionStatusChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (WalletModel::*)()>(_a, &WalletModel::requireUnlock, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (WalletModel::*)(const QString & , const QString & , unsigned int )>(_a, &WalletModel::message, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (WalletModel::*)(WalletModel * , SendCoinsRecipient , QByteArray )>(_a, &WalletModel::coinsSent, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (WalletModel::*)(const QString & , int )>(_a, &WalletModel::showProgress, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (WalletModel::*)()>(_a, &WalletModel::unload, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (WalletModel::*)()>(_a, &WalletModel::canGetAddressesChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (WalletModel::*)()>(_a, &WalletModel::timerTimeout, 8))
            return;
    }
}

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

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

int WalletModel::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 < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    }
    return _id;
}

// SIGNAL 0
void WalletModel::balanceChanged(const interfaces::WalletBalances & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void WalletModel::encryptionStatusChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

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

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

// SIGNAL 4
void WalletModel::coinsSent(WalletModel * _t1, SendCoinsRecipient _t2, QByteArray _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1, _t2, _t3);
}

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

// SIGNAL 6
void WalletModel::unload()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void WalletModel::canGetAddressesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void WalletModel::timerTimeout()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}
QT_WARNING_POP
