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

#include "../../../../src/calligraplan-3.1.0/src/libs/models/kptaccountsmodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kptaccountsmodel.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_KPlato__AccountModel_t {
    QByteArrayData data[4];
    char stringdata0[49];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__AccountModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__AccountModel_t qt_meta_stringdata_KPlato__AccountModel = {
    {
QT_MOC_LITERAL(0, 0, 20), // "KPlato::AccountModel"
QT_MOC_LITERAL(1, 21, 10), // "Properties"
QT_MOC_LITERAL(2, 32, 4), // "Name"
QT_MOC_LITERAL(3, 37, 11) // "Description"

    },
    "KPlato::AccountModel\0Properties\0Name\0"
    "Description"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__AccountModel[] = {

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

 // enums: name, flags, count, data
       1, 0x0,    2,   18,

 // enum data: key, value
       2, uint(KPlato::AccountModel::Name),
       3, uint(KPlato::AccountModel::Description),

       0        // eod
};

void KPlato::AccountModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject KPlato::AccountModel::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KPlato__AccountModel.data,
      qt_meta_data_KPlato__AccountModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlato::AccountModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    return _id;
}
struct qt_meta_stringdata_KPlato__AccountItemModel_t {
    QByteArrayData data[12];
    char stringdata0[174];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__AccountItemModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__AccountItemModel_t qt_meta_stringdata_KPlato__AccountItemModel = {
    {
QT_MOC_LITERAL(0, 0, 24), // "KPlato::AccountItemModel"
QT_MOC_LITERAL(1, 25, 18), // "slotAccountChanged"
QT_MOC_LITERAL(2, 44, 0), // ""
QT_MOC_LITERAL(3, 45, 8), // "Account*"
QT_MOC_LITERAL(4, 54, 23), // "slotAccountToBeInserted"
QT_MOC_LITERAL(5, 78, 14), // "const Account*"
QT_MOC_LITERAL(6, 93, 6), // "parent"
QT_MOC_LITERAL(7, 100, 3), // "row"
QT_MOC_LITERAL(8, 104, 19), // "slotAccountInserted"
QT_MOC_LITERAL(9, 124, 7), // "account"
QT_MOC_LITERAL(10, 132, 22), // "slotAccountToBeRemoved"
QT_MOC_LITERAL(11, 155, 18) // "slotAccountRemoved"

    },
    "KPlato::AccountItemModel\0slotAccountChanged\0"
    "\0Account*\0slotAccountToBeInserted\0"
    "const Account*\0parent\0row\0slotAccountInserted\0"
    "account\0slotAccountToBeRemoved\0"
    "slotAccountRemoved"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__AccountItemModel[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   39,    2, 0x09 /* Protected */,
       4,    2,   42,    2, 0x09 /* Protected */,
       8,    1,   47,    2, 0x09 /* Protected */,
      10,    1,   50,    2, 0x09 /* Protected */,
      11,    1,   53,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 5, QMetaType::Int,    6,    7,
    QMetaType::Void, 0x80000000 | 5,    9,
    QMetaType::Void, 0x80000000 | 5,    9,
    QMetaType::Void, 0x80000000 | 5,    9,

       0        // eod
};

void KPlato::AccountItemModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AccountItemModel *_t = static_cast<AccountItemModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->slotAccountChanged((*reinterpret_cast< Account*(*)>(_a[1]))); break;
        case 1: _t->slotAccountToBeInserted((*reinterpret_cast< const Account*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 2: _t->slotAccountInserted((*reinterpret_cast< const Account*(*)>(_a[1]))); break;
        case 3: _t->slotAccountToBeRemoved((*reinterpret_cast< const Account*(*)>(_a[1]))); break;
        case 4: _t->slotAccountRemoved((*reinterpret_cast< const Account*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject KPlato::AccountItemModel::staticMetaObject = {
    { &ItemModelBase::staticMetaObject, qt_meta_stringdata_KPlato__AccountItemModel.data,
      qt_meta_data_KPlato__AccountItemModel,  qt_static_metacall, nullptr, nullptr}
};


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

void *KPlato::AccountItemModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KPlato__AccountItemModel.stringdata0))
        return static_cast<void*>(this);
    return ItemModelBase::qt_metacast(_clname);
}

int KPlato::AccountItemModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ItemModelBase::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 5)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 5;
    }
    return _id;
}
struct qt_meta_stringdata_KPlato__CostBreakdownItemModel_t {
    QByteArrayData data[13];
    char stringdata0[196];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__CostBreakdownItemModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__CostBreakdownItemModel_t qt_meta_stringdata_KPlato__CostBreakdownItemModel = {
    {
QT_MOC_LITERAL(0, 0, 30), // "KPlato::CostBreakdownItemModel"
QT_MOC_LITERAL(1, 31, 18), // "slotAccountChanged"
QT_MOC_LITERAL(2, 50, 0), // ""
QT_MOC_LITERAL(3, 51, 8), // "Account*"
QT_MOC_LITERAL(4, 60, 23), // "slotAccountToBeInserted"
QT_MOC_LITERAL(5, 84, 14), // "const Account*"
QT_MOC_LITERAL(6, 99, 6), // "parent"
QT_MOC_LITERAL(7, 106, 3), // "row"
QT_MOC_LITERAL(8, 110, 19), // "slotAccountInserted"
QT_MOC_LITERAL(9, 130, 7), // "account"
QT_MOC_LITERAL(10, 138, 22), // "slotAccountToBeRemoved"
QT_MOC_LITERAL(11, 161, 18), // "slotAccountRemoved"
QT_MOC_LITERAL(12, 180, 15) // "slotDataChanged"

    },
    "KPlato::CostBreakdownItemModel\0"
    "slotAccountChanged\0\0Account*\0"
    "slotAccountToBeInserted\0const Account*\0"
    "parent\0row\0slotAccountInserted\0account\0"
    "slotAccountToBeRemoved\0slotAccountRemoved\0"
    "slotDataChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__CostBreakdownItemModel[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   44,    2, 0x09 /* Protected */,
       4,    2,   47,    2, 0x09 /* Protected */,
       8,    1,   52,    2, 0x09 /* Protected */,
      10,    1,   55,    2, 0x09 /* Protected */,
      11,    1,   58,    2, 0x09 /* Protected */,
      12,    0,   61,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 5, QMetaType::Int,    6,    7,
    QMetaType::Void, 0x80000000 | 5,    9,
    QMetaType::Void, 0x80000000 | 5,    9,
    QMetaType::Void, 0x80000000 | 5,    9,
    QMetaType::Void,

       0        // eod
};

void KPlato::CostBreakdownItemModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        CostBreakdownItemModel *_t = static_cast<CostBreakdownItemModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->slotAccountChanged((*reinterpret_cast< Account*(*)>(_a[1]))); break;
        case 1: _t->slotAccountToBeInserted((*reinterpret_cast< const Account*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 2: _t->slotAccountInserted((*reinterpret_cast< const Account*(*)>(_a[1]))); break;
        case 3: _t->slotAccountToBeRemoved((*reinterpret_cast< const Account*(*)>(_a[1]))); break;
        case 4: _t->slotAccountRemoved((*reinterpret_cast< const Account*(*)>(_a[1]))); break;
        case 5: _t->slotDataChanged(); break;
        default: ;
        }
    }
}

const QMetaObject KPlato::CostBreakdownItemModel::staticMetaObject = {
    { &ItemModelBase::staticMetaObject, qt_meta_stringdata_KPlato__CostBreakdownItemModel.data,
      qt_meta_data_KPlato__CostBreakdownItemModel,  qt_static_metacall, nullptr, nullptr}
};


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

void *KPlato::CostBreakdownItemModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KPlato__CostBreakdownItemModel.stringdata0))
        return static_cast<void*>(this);
    return ItemModelBase::qt_metacast(_clname);
}

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