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

#include "../../src/skrooge-2.10.5/skgbankmodeler/skgdocumentbank.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'skgdocumentbank.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_SKGDocumentBank_t {
    QByteArrayData data[57];
    char stringdata0[829];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_SKGDocumentBank_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_SKGDocumentBank_t qt_meta_stringdata_SKGDocumentBank = {
    {
QT_MOC_LITERAL(0, 0, 15), // "SKGDocumentBank"
QT_MOC_LITERAL(1, 16, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 32, 31), // "org.kde.skrooge.SKGDocumentBank"
QT_MOC_LITERAL(3, 64, 14), // "endTransaction"
QT_MOC_LITERAL(4, 79, 8), // "SKGError"
QT_MOC_LITERAL(5, 88, 0), // ""
QT_MOC_LITERAL(6, 89, 10), // "succeedded"
QT_MOC_LITERAL(7, 100, 4), // "dump"
QT_MOC_LITERAL(8, 105, 5), // "iMode"
QT_MOC_LITERAL(9, 111, 18), // "addOrModifyAccount"
QT_MOC_LITERAL(10, 130, 5), // "iName"
QT_MOC_LITERAL(11, 136, 7), // "iNumber"
QT_MOC_LITERAL(12, 144, 9), // "iBankName"
QT_MOC_LITERAL(13, 154, 20), // "addOrModifyUnitValue"
QT_MOC_LITERAL(14, 175, 9), // "iUnitName"
QT_MOC_LITERAL(15, 185, 5), // "iDate"
QT_MOC_LITERAL(16, 191, 6), // "iValue"
QT_MOC_LITERAL(17, 198, 19), // "SKGUnitValueObject*"
QT_MOC_LITERAL(18, 218, 6), // "oValue"
QT_MOC_LITERAL(19, 225, 14), // "getPrimaryUnit"
QT_MOC_LITERAL(20, 240, 24), // "SKGServices::SKGUnitInfo"
QT_MOC_LITERAL(21, 265, 16), // "getSecondaryUnit"
QT_MOC_LITERAL(22, 282, 18), // "formatPrimaryMoney"
QT_MOC_LITERAL(23, 301, 20), // "formatSecondaryMoney"
QT_MOC_LITERAL(24, 322, 19), // "getCategoryForPayee"
QT_MOC_LITERAL(25, 342, 6), // "iPayee"
QT_MOC_LITERAL(26, 349, 30), // "refreshViewsIndexesAndTriggers"
QT_MOC_LITERAL(27, 380, 6), // "iForce"
QT_MOC_LITERAL(28, 387, 33), // "getViewsIndexesAndTriggersVer..."
QT_MOC_LITERAL(29, 421, 17), // "getDisplaySchemas"
QT_MOC_LITERAL(30, 439, 33), // "SKGDocument::SKGModelTemplate..."
QT_MOC_LITERAL(31, 473, 10), // "iRealTable"
QT_MOC_LITERAL(32, 484, 10), // "getDisplay"
QT_MOC_LITERAL(33, 495, 7), // "iString"
QT_MOC_LITERAL(34, 503, 16), // "getRealAttribute"
QT_MOC_LITERAL(35, 520, 11), // "getIconName"
QT_MOC_LITERAL(36, 532, 16), // "getAttributeType"
QT_MOC_LITERAL(37, 549, 26), // "SKGServices::AttributeType"
QT_MOC_LITERAL(38, 576, 14), // "iAttributeName"
QT_MOC_LITERAL(39, 591, 16), // "getFileExtension"
QT_MOC_LITERAL(40, 608, 17), // "getDocumentHeader"
QT_MOC_LITERAL(41, 626, 9), // "getBudget"
QT_MOC_LITERAL(42, 636, 6), // "iMonth"
QT_MOC_LITERAL(43, 643, 17), // "getMainCategories"
QT_MOC_LITERAL(44, 661, 7), // "iPeriod"
QT_MOC_LITERAL(45, 669, 3), // "iNb"
QT_MOC_LITERAL(46, 673, 31), // "get5MainCategoriesVariationList"
QT_MOC_LITERAL(47, 705, 15), // "iPreviousPeriod"
QT_MOC_LITERAL(48, 721, 11), // "iOnlyIssues"
QT_MOC_LITERAL(49, 733, 12), // "QStringList*"
QT_MOC_LITERAL(50, 746, 13), // "oCategoryList"
QT_MOC_LITERAL(51, 760, 18), // "setComputeBalances"
QT_MOC_LITERAL(52, 779, 8), // "iEnabled"
QT_MOC_LITERAL(53, 788, 9), // "getReport"
QT_MOC_LITERAL(54, 798, 10), // "SKGReport*"
QT_MOC_LITERAL(55, 809, 12), // "refreshCache"
QT_MOC_LITERAL(56, 822, 6) // "iTable"

    },
    "SKGDocumentBank\0D-Bus Interface\0"
    "org.kde.skrooge.SKGDocumentBank\0"
    "endTransaction\0SKGError\0\0succeedded\0"
    "dump\0iMode\0addOrModifyAccount\0iName\0"
    "iNumber\0iBankName\0addOrModifyUnitValue\0"
    "iUnitName\0iDate\0iValue\0SKGUnitValueObject*\0"
    "oValue\0getPrimaryUnit\0SKGServices::SKGUnitInfo\0"
    "getSecondaryUnit\0formatPrimaryMoney\0"
    "formatSecondaryMoney\0getCategoryForPayee\0"
    "iPayee\0refreshViewsIndexesAndTriggers\0"
    "iForce\0getViewsIndexesAndTriggersVersion\0"
    "getDisplaySchemas\0SKGDocument::SKGModelTemplateList\0"
    "iRealTable\0getDisplay\0iString\0"
    "getRealAttribute\0getIconName\0"
    "getAttributeType\0SKGServices::AttributeType\0"
    "iAttributeName\0getFileExtension\0"
    "getDocumentHeader\0getBudget\0iMonth\0"
    "getMainCategories\0iPeriod\0iNb\0"
    "get5MainCategoriesVariationList\0"
    "iPreviousPeriod\0iOnlyIssues\0QStringList*\0"
    "oCategoryList\0setComputeBalances\0"
    "iEnabled\0getReport\0SKGReport*\0"
    "refreshCache\0iTable"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SKGDocumentBank[] = {

 // content:
       7,       // revision
       0,       // classname
       1,   14, // classinfo
      29,   16, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // classinfo: key, value
       1,    2,

 // slots: name, argc, parameters, tag, flags
       3,    1,  161,    5, 0x0a /* Public */,
       7,    1,  164,    5, 0x0a /* Public */,
       7,    0,  167,    5, 0x2a /* Public | MethodCloned */,
       9,    3,  168,    5, 0x0a /* Public */,
      13,    4,  175,    5, 0x0a /* Public */,
      13,    3,  184,    5, 0x2a /* Public | MethodCloned */,
      19,    0,  191,    5, 0x0a /* Public */,
      21,    0,  192,    5, 0x0a /* Public */,
      22,    1,  193,    5, 0x0a /* Public */,
      23,    1,  196,    5, 0x0a /* Public */,
      24,    1,  199,    5, 0x0a /* Public */,
      26,    1,  202,    5, 0x0a /* Public */,
      26,    0,  205,    5, 0x2a /* Public | MethodCloned */,
      28,    0,  206,    5, 0x0a /* Public */,
      29,    1,  207,    5, 0x0a /* Public */,
      32,    1,  210,    5, 0x0a /* Public */,
      34,    1,  213,    5, 0x0a /* Public */,
      35,    1,  216,    5, 0x0a /* Public */,
      36,    1,  219,    5, 0x0a /* Public */,
      39,    0,  222,    5, 0x0a /* Public */,
      40,    0,  223,    5, 0x0a /* Public */,
      41,    1,  224,    5, 0x0a /* Public */,
      43,    2,  227,    5, 0x0a /* Public */,
      43,    1,  232,    5, 0x2a /* Public | MethodCloned */,
      46,    4,  235,    5, 0x0a /* Public */,
      46,    3,  244,    5, 0x2a /* Public | MethodCloned */,
      51,    1,  251,    5, 0x0a /* Public */,
      53,    0,  254,    5, 0x0a /* Public */,
      55,    1,  255,    5, 0x0a /* Public */,

 // slots: parameters
    0x80000000 | 4, QMetaType::Bool,    6,
    0x80000000 | 4, QMetaType::Int,    8,
    0x80000000 | 4,
    0x80000000 | 4, QMetaType::QString, QMetaType::QString, QMetaType::QString,   10,   11,   12,
    0x80000000 | 4, QMetaType::QString, QMetaType::QDate, QMetaType::Double, 0x80000000 | 17,   14,   15,   16,   18,
    0x80000000 | 4, QMetaType::QString, QMetaType::QDate, QMetaType::Double,   14,   15,   16,
    0x80000000 | 20,
    0x80000000 | 20,
    QMetaType::QString, QMetaType::Double,   16,
    QMetaType::QString, QMetaType::Double,   16,
    QMetaType::QString, QMetaType::QString,   25,
    0x80000000 | 4, QMetaType::Bool,   27,
    0x80000000 | 4,
    QMetaType::QString,
    0x80000000 | 30, QMetaType::QString,   31,
    QMetaType::QString, QMetaType::QString,   33,
    QMetaType::QString, QMetaType::QString,   33,
    QMetaType::QString, QMetaType::QString,   33,
    0x80000000 | 37, QMetaType::QString,   38,
    QMetaType::QString,
    QMetaType::QString,
    QMetaType::QVariantList, QMetaType::QString,   42,
    QMetaType::QVariantList, QMetaType::QString, QMetaType::Int,   44,   45,
    QMetaType::QVariantList, QMetaType::QString,   44,
    QMetaType::QStringList, QMetaType::QString, QMetaType::QString, QMetaType::Bool, 0x80000000 | 49,   44,   47,   48,   50,
    QMetaType::QStringList, QMetaType::QString, QMetaType::QString, QMetaType::Bool,   44,   47,   48,
    QMetaType::Void, QMetaType::Bool,   52,
    0x80000000 | 54,
    QMetaType::Void, QMetaType::QString,   56,

       0        // eod
};

void SKGDocumentBank::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SKGDocumentBank *_t = static_cast<SKGDocumentBank *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: { SKGError _r = _t->endTransaction((*reinterpret_cast< bool(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< SKGError*>(_a[0]) = std::move(_r); }  break;
        case 1: { SKGError _r = _t->dump((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< SKGError*>(_a[0]) = std::move(_r); }  break;
        case 2: { SKGError _r = _t->dump();
            if (_a[0]) *reinterpret_cast< SKGError*>(_a[0]) = std::move(_r); }  break;
        case 3: { SKGError _r = _t->addOrModifyAccount((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< SKGError*>(_a[0]) = std::move(_r); }  break;
        case 4: { SKGError _r = _t->addOrModifyUnitValue((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QDate(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3])),(*reinterpret_cast< SKGUnitValueObject*(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< SKGError*>(_a[0]) = std::move(_r); }  break;
        case 5: { SKGError _r = _t->addOrModifyUnitValue((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QDate(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< SKGError*>(_a[0]) = std::move(_r); }  break;
        case 6: { SKGServices::SKGUnitInfo _r = _t->getPrimaryUnit();
            if (_a[0]) *reinterpret_cast< SKGServices::SKGUnitInfo*>(_a[0]) = std::move(_r); }  break;
        case 7: { SKGServices::SKGUnitInfo _r = _t->getSecondaryUnit();
            if (_a[0]) *reinterpret_cast< SKGServices::SKGUnitInfo*>(_a[0]) = std::move(_r); }  break;
        case 8: { QString _r = _t->formatPrimaryMoney((*reinterpret_cast< double(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 9: { QString _r = _t->formatSecondaryMoney((*reinterpret_cast< double(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 10: { QString _r = _t->getCategoryForPayee((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 11: { SKGError _r = _t->refreshViewsIndexesAndTriggers((*reinterpret_cast< bool(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< SKGError*>(_a[0]) = std::move(_r); }  break;
        case 12: { SKGError _r = _t->refreshViewsIndexesAndTriggers();
            if (_a[0]) *reinterpret_cast< SKGError*>(_a[0]) = std::move(_r); }  break;
        case 13: { QString _r = _t->getViewsIndexesAndTriggersVersion();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 14: { SKGDocument::SKGModelTemplateList _r = _t->getDisplaySchemas((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< SKGDocument::SKGModelTemplateList*>(_a[0]) = std::move(_r); }  break;
        case 15: { QString _r = _t->getDisplay((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 16: { QString _r = _t->getRealAttribute((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 17: { QString _r = _t->getIconName((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 18: { SKGServices::AttributeType _r = _t->getAttributeType((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< SKGServices::AttributeType*>(_a[0]) = std::move(_r); }  break;
        case 19: { QString _r = _t->getFileExtension();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 20: { QString _r = _t->getDocumentHeader();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 21: { QVariantList _r = _t->getBudget((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariantList*>(_a[0]) = std::move(_r); }  break;
        case 22: { QVariantList _r = _t->getMainCategories((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QVariantList*>(_a[0]) = std::move(_r); }  break;
        case 23: { QVariantList _r = _t->getMainCategories((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariantList*>(_a[0]) = std::move(_r); }  break;
        case 24: { QStringList _r = _t->get5MainCategoriesVariationList((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< QStringList*(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        case 25: { QStringList _r = _t->get5MainCategoriesVariationList((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        case 26: _t->setComputeBalances((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 27: { SKGReport* _r = _t->getReport();
            if (_a[0]) *reinterpret_cast< SKGReport**>(_a[0]) = std::move(_r); }  break;
        case 28: _t->refreshCache((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject SKGDocumentBank::staticMetaObject = {
    { &SKGDocument::staticMetaObject, qt_meta_stringdata_SKGDocumentBank.data,
      qt_meta_data_SKGDocumentBank,  qt_static_metacall, nullptr, nullptr}
};


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_meta_stringdata_SKGDocumentBank.stringdata0))
        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 < 29)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 29;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 29)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 29;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
