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

#include "../../../../skrooge-26.8.0/skgbankmodeler/skgdocumentbank.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 'skgdocumentbank.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.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_ZN15SKGDocumentBankE_t {};
} // unnamed namespace

template <> constexpr inline auto SKGDocumentBank::qt_create_metaobjectdata<qt_meta_tag_ZN15SKGDocumentBankE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "SKGDocumentBank",
        "D-Bus Interface",
        "org.kde.skrooge.SKGDocumentBank",
        "endTransaction",
        "SKGError",
        "",
        "succeedded",
        "setComputeBalances",
        "iEnabled",
        "refreshCache",
        "iTable",
        "formatPrimaryMoney",
        "iValue",
        "iForcedNbOfDigit",
        "formatSecondaryMoney"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'endTransaction'
        QtMocHelpers::SlotData<SKGError(bool)>(3, 5, QMC::AccessPublic, 0x80000000 | 4, {{
            { QMetaType::Bool, 6 },
        }}),
        // Slot 'setComputeBalances'
        QtMocHelpers::SlotData<void(bool)>(7, 5, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 8 },
        }}),
        // Slot 'refreshCache'
        QtMocHelpers::SlotData<void(const QString &) const>(9, 5, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 10 },
        }}),
        // Method 'formatPrimaryMoney'
        QtMocHelpers::MethodData<QString(double, int) const>(11, 5, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::Double, 12 }, { QMetaType::Int, 13 },
        }}),
        // Method 'formatPrimaryMoney'
        QtMocHelpers::MethodData<QString(double) const>(11, 5, QMC::AccessPublic | QMC::MethodCloned, QMetaType::QString, {{
            { QMetaType::Double, 12 },
        }}),
        // Method 'formatSecondaryMoney'
        QtMocHelpers::MethodData<QString(double, int) const>(14, 5, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::Double, 12 }, { QMetaType::Int, 13 },
        }}),
        // Method 'formatSecondaryMoney'
        QtMocHelpers::MethodData<QString(double) const>(14, 5, QMC::AccessPublic | QMC::MethodCloned, QMetaType::QString, {{
            { QMetaType::Double, 12 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
    });
    return QtMocHelpers::metaObjectData<SKGDocumentBank, qt_meta_tag_ZN15SKGDocumentBankE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject SKGDocumentBank::staticMetaObject = { {
    QMetaObject::SuperData::link<SKGDocument::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15SKGDocumentBankE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15SKGDocumentBankE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15SKGDocumentBankE_t>.metaTypes,
    nullptr
} };

void SKGDocumentBank::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<SKGDocumentBank *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: { SKGError _r = _t->endTransaction((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])));
            if (_a[0]) *reinterpret_cast<SKGError*>(_a[0]) = std::move(_r); }  break;
        case 1: _t->setComputeBalances((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 2: _t->refreshCache((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 3: { QString _r = _t->formatPrimaryMoney((*reinterpret_cast<std::add_pointer_t<double>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 4: { QString _r = _t->formatPrimaryMoney((*reinterpret_cast<std::add_pointer_t<double>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 5: { QString _r = _t->formatSecondaryMoney((*reinterpret_cast<std::add_pointer_t<double>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 6: { QString _r = _t->formatSecondaryMoney((*reinterpret_cast<std::add_pointer_t<double>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
}

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

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

int SKGDocumentBank::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = SKGDocument::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;
}
QT_WARNING_POP
