/****************************************************************************
** Meta object code from reading C++ file 'mymoneyfile.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/mymoney/mymoneyfile.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mymoneyfile.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_MyMoneyFile_t {
    QByteArrayData data[15];
    char stringdata0[193];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MyMoneyFile_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MyMoneyFile_t qt_meta_stringdata_MyMoneyFile = {
    {
QT_MOC_LITERAL(0, 0, 11), // "MyMoneyFile"
QT_MOC_LITERAL(1, 12, 23), // "beginChangeNotification"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 21), // "endChangeNotification"
QT_MOC_LITERAL(4, 59, 11), // "dataChanged"
QT_MOC_LITERAL(5, 71, 11), // "objectAdded"
QT_MOC_LITERAL(6, 83, 22), // "eMyMoney::File::Object"
QT_MOC_LITERAL(7, 106, 7), // "objType"
QT_MOC_LITERAL(8, 114, 2), // "id"
QT_MOC_LITERAL(9, 117, 13), // "objectRemoved"
QT_MOC_LITERAL(10, 131, 14), // "objectModified"
QT_MOC_LITERAL(11, 146, 14), // "balanceChanged"
QT_MOC_LITERAL(12, 161, 14), // "MyMoneyAccount"
QT_MOC_LITERAL(13, 176, 3), // "acc"
QT_MOC_LITERAL(14, 180, 12) // "valueChanged"

    },
    "MyMoneyFile\0beginChangeNotification\0"
    "\0endChangeNotification\0dataChanged\0"
    "objectAdded\0eMyMoney::File::Object\0"
    "objType\0id\0objectRemoved\0objectModified\0"
    "balanceChanged\0MyMoneyAccount\0acc\0"
    "valueChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MyMoneyFile[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   54,    2, 0x06 /* Public */,
       3,    0,   55,    2, 0x06 /* Public */,
       4,    0,   56,    2, 0x06 /* Public */,
       5,    2,   57,    2, 0x06 /* Public */,
       9,    2,   62,    2, 0x06 /* Public */,
      10,    2,   67,    2, 0x06 /* Public */,
      11,    1,   72,    2, 0x06 /* Public */,
      14,    1,   75,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 6, QMetaType::QString,    7,    8,
    QMetaType::Void, 0x80000000 | 6, QMetaType::QString,    7,    8,
    QMetaType::Void, 0x80000000 | 6, QMetaType::QString,    7,    8,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void, 0x80000000 | 12,   13,

       0        // eod
};

void MyMoneyFile::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MyMoneyFile *_t = static_cast<MyMoneyFile *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->beginChangeNotification(); break;
        case 1: _t->endChangeNotification(); break;
        case 2: _t->dataChanged(); break;
        case 3: _t->objectAdded((*reinterpret_cast< eMyMoney::File::Object(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 4: _t->objectRemoved((*reinterpret_cast< eMyMoney::File::Object(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 5: _t->objectModified((*reinterpret_cast< eMyMoney::File::Object(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 6: _t->balanceChanged((*reinterpret_cast< const MyMoneyAccount(*)>(_a[1]))); break;
        case 7: _t->valueChanged((*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 (MyMoneyFile::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MyMoneyFile::beginChangeNotification)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (MyMoneyFile::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MyMoneyFile::endChangeNotification)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (MyMoneyFile::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MyMoneyFile::dataChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (MyMoneyFile::*_t)(eMyMoney::File::Object , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MyMoneyFile::objectAdded)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (MyMoneyFile::*_t)(eMyMoney::File::Object , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MyMoneyFile::objectRemoved)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (MyMoneyFile::*_t)(eMyMoney::File::Object , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MyMoneyFile::objectModified)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (MyMoneyFile::*_t)(const MyMoneyAccount & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MyMoneyFile::balanceChanged)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (MyMoneyFile::*_t)(const MyMoneyAccount & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MyMoneyFile::valueChanged)) {
                *result = 7;
                return;
            }
        }
    }
}

const QMetaObject MyMoneyFile::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_MyMoneyFile.data,
      qt_meta_data_MyMoneyFile,  qt_static_metacall, nullptr, nullptr}
};


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

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

int MyMoneyFile::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;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 8)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 8;
    }
    return _id;
}

// SIGNAL 0
void MyMoneyFile::beginChangeNotification()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

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

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

// SIGNAL 3
void MyMoneyFile::objectAdded(eMyMoney::File::Object _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void MyMoneyFile::objectRemoved(eMyMoney::File::Object _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void MyMoneyFile::objectModified(eMyMoney::File::Object _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void MyMoneyFile::balanceChanged(const MyMoneyAccount & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void MyMoneyFile::valueChanged(const MyMoneyAccount & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
