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

#include "../../../../../kmymoney/models/accountsmodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'accountsmodel.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.1. 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_AccountsModel_t {
    QByteArrayData data[18];
    char stringdata0[262];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_AccountsModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_AccountsModel_t qt_meta_stringdata_AccountsModel = {
    {
QT_MOC_LITERAL(0, 0, 13), // "AccountsModel"
QT_MOC_LITERAL(1, 14, 15), // "netWorthChanged"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 13), // "eView::Intent"
QT_MOC_LITERAL(4, 45, 13), // "profitChanged"
QT_MOC_LITERAL(5, 59, 20), // "slotReconcileAccount"
QT_MOC_LITERAL(6, 80, 14), // "MyMoneyAccount"
QT_MOC_LITERAL(7, 95, 7), // "account"
QT_MOC_LITERAL(8, 103, 18), // "reconciliationDate"
QT_MOC_LITERAL(9, 122, 12), // "MyMoneyMoney"
QT_MOC_LITERAL(10, 135, 13), // "endingBalance"
QT_MOC_LITERAL(11, 149, 15), // "slotObjectAdded"
QT_MOC_LITERAL(12, 165, 22), // "eMyMoney::File::Object"
QT_MOC_LITERAL(13, 188, 7), // "objType"
QT_MOC_LITERAL(14, 196, 2), // "id"
QT_MOC_LITERAL(15, 199, 18), // "slotObjectModified"
QT_MOC_LITERAL(16, 218, 17), // "slotObjectRemoved"
QT_MOC_LITERAL(17, 236, 25) // "slotBalanceOrValueChanged"

    },
    "AccountsModel\0netWorthChanged\0\0"
    "eView::Intent\0profitChanged\0"
    "slotReconcileAccount\0MyMoneyAccount\0"
    "account\0reconciliationDate\0MyMoneyMoney\0"
    "endingBalance\0slotObjectAdded\0"
    "eMyMoney::File::Object\0objType\0id\0"
    "slotObjectModified\0slotObjectRemoved\0"
    "slotBalanceOrValueChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_AccountsModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   49,    2, 0x06 /* Public */,
       4,    2,   54,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    3,   59,    2, 0x0a /* Public */,
      11,    2,   66,    2, 0x0a /* Public */,
      15,    2,   71,    2, 0x0a /* Public */,
      16,    2,   76,    2, 0x0a /* Public */,
      17,    1,   81,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QVariantList, 0x80000000 | 3,    2,    2,
    QMetaType::Void, QMetaType::QVariantList, 0x80000000 | 3,    2,    2,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 6, QMetaType::QDate, 0x80000000 | 9,    7,    8,   10,
    QMetaType::Void, 0x80000000 | 12, QMetaType::QString,   13,   14,
    QMetaType::Void, 0x80000000 | 12, QMetaType::QString,   13,   14,
    QMetaType::Void, 0x80000000 | 12, QMetaType::QString,   13,   14,
    QMetaType::Void, 0x80000000 | 6,    7,

       0        // eod
};

void AccountsModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AccountsModel *_t = static_cast<AccountsModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->netWorthChanged((*reinterpret_cast< const QVariantList(*)>(_a[1])),(*reinterpret_cast< eView::Intent(*)>(_a[2]))); break;
        case 1: _t->profitChanged((*reinterpret_cast< const QVariantList(*)>(_a[1])),(*reinterpret_cast< eView::Intent(*)>(_a[2]))); break;
        case 2: _t->slotReconcileAccount((*reinterpret_cast< const MyMoneyAccount(*)>(_a[1])),(*reinterpret_cast< const QDate(*)>(_a[2])),(*reinterpret_cast< const MyMoneyMoney(*)>(_a[3]))); break;
        case 3: _t->slotObjectAdded((*reinterpret_cast< eMyMoney::File::Object(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 4: _t->slotObjectModified((*reinterpret_cast< eMyMoney::File::Object(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 5: _t->slotObjectRemoved((*reinterpret_cast< eMyMoney::File::Object(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 6: _t->slotBalanceOrValueChanged((*reinterpret_cast< const MyMoneyAccount(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (AccountsModel::*_t)(const QVariantList & , eView::Intent );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AccountsModel::netWorthChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (AccountsModel::*_t)(const QVariantList & , eView::Intent );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AccountsModel::profitChanged)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject AccountsModel::staticMetaObject = {
    { &QStandardItemModel::staticMetaObject, qt_meta_stringdata_AccountsModel.data,
      qt_meta_data_AccountsModel,  qt_static_metacall, nullptr, nullptr}
};


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

void *AccountsModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_AccountsModel.stringdata0))
        return static_cast<void*>(const_cast< AccountsModel*>(this));
    return QStandardItemModel::qt_metacast(_clname);
}

int AccountsModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QStandardItemModel::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;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 7)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 7;
    }
    return _id;
}

// SIGNAL 0
void AccountsModel::netWorthChanged(const QVariantList & _t1, eView::Intent _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void AccountsModel::profitChanged(const QVariantList & _t1, eView::Intent _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
struct qt_meta_stringdata_InstitutionsModel_t {
    QByteArrayData data[8];
    char stringdata0[106];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_InstitutionsModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_InstitutionsModel_t qt_meta_stringdata_InstitutionsModel = {
    {
QT_MOC_LITERAL(0, 0, 17), // "InstitutionsModel"
QT_MOC_LITERAL(1, 18, 15), // "slotObjectAdded"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 22), // "eMyMoney::File::Object"
QT_MOC_LITERAL(4, 58, 7), // "objType"
QT_MOC_LITERAL(5, 66, 2), // "id"
QT_MOC_LITERAL(6, 69, 18), // "slotObjectModified"
QT_MOC_LITERAL(7, 88, 17) // "slotObjectRemoved"

    },
    "InstitutionsModel\0slotObjectAdded\0\0"
    "eMyMoney::File::Object\0objType\0id\0"
    "slotObjectModified\0slotObjectRemoved"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_InstitutionsModel[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    2,   29,    2, 0x0a /* Public */,
       6,    2,   34,    2, 0x0a /* Public */,
       7,    2,   39,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::QString,    4,    5,
    QMetaType::Void, 0x80000000 | 3, QMetaType::QString,    4,    5,
    QMetaType::Void, 0x80000000 | 3, QMetaType::QString,    4,    5,

       0        // eod
};

void InstitutionsModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        InstitutionsModel *_t = static_cast<InstitutionsModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->slotObjectAdded((*reinterpret_cast< eMyMoney::File::Object(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 1: _t->slotObjectModified((*reinterpret_cast< eMyMoney::File::Object(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 2: _t->slotObjectRemoved((*reinterpret_cast< eMyMoney::File::Object(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        default: ;
        }
    }
}

const QMetaObject InstitutionsModel::staticMetaObject = {
    { &AccountsModel::staticMetaObject, qt_meta_stringdata_InstitutionsModel.data,
      qt_meta_data_InstitutionsModel,  qt_static_metacall, nullptr, nullptr}
};


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

void *InstitutionsModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_InstitutionsModel.stringdata0))
        return static_cast<void*>(const_cast< InstitutionsModel*>(this));
    return AccountsModel::qt_metacast(_clname);
}

int InstitutionsModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = AccountsModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 3;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
