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

#include "../../../../../kmymoney/models/accountsmodel.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'accountsmodel.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.6. 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
static const uint qt_meta_data_AccountsModel[] = {

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

 // signals: signature, parameters, type, tag, flags
      15,   14,   14,   14, 0x05,
      45,   14,   14,   14, 0x05,

 // slots: signature, parameters, type, tag, flags
     114,   73,   14,   14, 0x0a,
     182,  170,   14,   14, 0x0a,
     252,  170,   14,   14, 0x0a,
     336,  325,   14,   14, 0x0a,
     404,  396,   14,   14, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_AccountsModel[] = {
    "AccountsModel\0\0netWorthChanged(MyMoneyMoney)\0"
    "profitChanged(MyMoneyMoney)\0"
    "account,reconciliationDate,endingBalance\0"
    "slotReconcileAccount(MyMoneyAccount,QDate,MyMoneyMoney)\0"
    "objType,obj\0"
    "slotObjectAdded(MyMoneyFile::notificationObjectT,MyMoneyObject*const)\0"
    "slotObjectModified(MyMoneyFile::notificationObjectT,MyMoneyObject*cons"
    "t)\0"
    "objType,id\0"
    "slotObjectRemoved(MyMoneyFile::notificationObjectT,QString)\0"
    "account\0slotBalanceOrValueChanged(MyMoneyAccount)\0"
};

void AccountsModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        AccountsModel *_t = static_cast<AccountsModel *>(_o);
        switch (_id) {
        case 0: _t->netWorthChanged((*reinterpret_cast< const MyMoneyMoney(*)>(_a[1]))); break;
        case 1: _t->profitChanged((*reinterpret_cast< const MyMoneyMoney(*)>(_a[1]))); 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< MyMoneyFile::notificationObjectT(*)>(_a[1])),(*reinterpret_cast< const MyMoneyObject*const(*)>(_a[2]))); break;
        case 4: _t->slotObjectModified((*reinterpret_cast< MyMoneyFile::notificationObjectT(*)>(_a[1])),(*reinterpret_cast< const MyMoneyObject*const(*)>(_a[2]))); break;
        case 5: _t->slotObjectRemoved((*reinterpret_cast< MyMoneyFile::notificationObjectT(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 6: _t->slotBalanceOrValueChanged((*reinterpret_cast< const MyMoneyAccount(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData AccountsModel::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject AccountsModel::staticMetaObject = {
    { &QStandardItemModel::staticMetaObject, qt_meta_stringdata_AccountsModel,
      qt_meta_data_AccountsModel, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &AccountsModel::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *AccountsModel::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_AccountsModel))
        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;
    }
    return _id;
}

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

// SIGNAL 1
void AccountsModel::profitChanged(const MyMoneyMoney & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
static const uint qt_meta_data_InstitutionsModel[] = {

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

 // slots: signature, parameters, type, tag, flags
      31,   19,   18,   18, 0x0a,
     101,   19,   18,   18, 0x0a,
     185,  174,   18,   18, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_InstitutionsModel[] = {
    "InstitutionsModel\0\0objType,obj\0"
    "slotObjectAdded(MyMoneyFile::notificationObjectT,MyMoneyObject*const)\0"
    "slotObjectModified(MyMoneyFile::notificationObjectT,MyMoneyObject*cons"
    "t)\0"
    "objType,id\0"
    "slotObjectRemoved(MyMoneyFile::notificationObjectT,QString)\0"
};

void InstitutionsModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        InstitutionsModel *_t = static_cast<InstitutionsModel *>(_o);
        switch (_id) {
        case 0: _t->slotObjectAdded((*reinterpret_cast< MyMoneyFile::notificationObjectT(*)>(_a[1])),(*reinterpret_cast< const MyMoneyObject*const(*)>(_a[2]))); break;
        case 1: _t->slotObjectModified((*reinterpret_cast< MyMoneyFile::notificationObjectT(*)>(_a[1])),(*reinterpret_cast< const MyMoneyObject*const(*)>(_a[2]))); break;
        case 2: _t->slotObjectRemoved((*reinterpret_cast< MyMoneyFile::notificationObjectT(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData InstitutionsModel::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject InstitutionsModel::staticMetaObject = {
    { &AccountsModel::staticMetaObject, qt_meta_stringdata_InstitutionsModel,
      qt_meta_data_InstitutionsModel, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &InstitutionsModel::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *InstitutionsModel::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_InstitutionsModel))
        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;
    }
    return _id;
}
static const uint qt_meta_data_AccountsFilterProxyModel[] = {

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

 // signals: signature, parameters, type, tag, flags
      26,   25,   25,   25, 0x05,

       0        // eod
};

static const char qt_meta_stringdata_AccountsFilterProxyModel[] = {
    "AccountsFilterProxyModel\0\0"
    "unusedIncomeExpenseAccountHidden()\0"
};

void AccountsFilterProxyModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        AccountsFilterProxyModel *_t = static_cast<AccountsFilterProxyModel *>(_o);
        switch (_id) {
        case 0: _t->unusedIncomeExpenseAccountHidden(); break;
        default: ;
        }
    }
    Q_UNUSED(_a);
}

const QMetaObjectExtraData AccountsFilterProxyModel::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject AccountsFilterProxyModel::staticMetaObject = {
    { &QSortFilterProxyModel::staticMetaObject, qt_meta_stringdata_AccountsFilterProxyModel,
      qt_meta_data_AccountsFilterProxyModel, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &AccountsFilterProxyModel::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *AccountsFilterProxyModel::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_AccountsFilterProxyModel))
        return static_cast<void*>(const_cast< AccountsFilterProxyModel*>(this));
    return QSortFilterProxyModel::qt_metacast(_clname);
}

int AccountsFilterProxyModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QSortFilterProxyModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void AccountsFilterProxyModel::unusedIncomeExpenseAccountHidden()const
{
    QMetaObject::activate(const_cast< AccountsFilterProxyModel *>(this), &staticMetaObject, 0, 0);
}
QT_END_MOC_NAMESPACE
