/****************************************************************************
** Meta object code from reading C++ file 'register.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/widgets/register.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'register.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_KMyMoneyRegister__Register_t {
    QByteArrayData data[25];
    char stringdata0[400];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KMyMoneyRegister__Register_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KMyMoneyRegister__Register_t qt_meta_stringdata_KMyMoneyRegister__Register = {
    {
QT_MOC_LITERAL(0, 0, 26), // "KMyMoneyRegister::Register"
QT_MOC_LITERAL(1, 27, 20), // "transactionsSelected"
QT_MOC_LITERAL(2, 48, 0), // ""
QT_MOC_LITERAL(3, 49, 38), // "KMyMoneyRegister::SelectedTra..."
QT_MOC_LITERAL(4, 88, 4), // "list"
QT_MOC_LITERAL(5, 93, 12), // "focusChanged"
QT_MOC_LITERAL(6, 106, 30), // "KMyMoneyRegister::Transaction*"
QT_MOC_LITERAL(7, 137, 4), // "item"
QT_MOC_LITERAL(8, 142, 17), // "aboutToSelectItem"
QT_MOC_LITERAL(9, 160, 31), // "KMyMoneyRegister::RegisterItem*"
QT_MOC_LITERAL(10, 192, 5), // "bool&"
QT_MOC_LITERAL(11, 198, 10), // "okToSelect"
QT_MOC_LITERAL(12, 209, 15), // "editTransaction"
QT_MOC_LITERAL(13, 225, 27), // "reconcileStateColumnClicked"
QT_MOC_LITERAL(14, 253, 17), // "emptyItemSelected"
QT_MOC_LITERAL(15, 271, 15), // "openContextMenu"
QT_MOC_LITERAL(16, 287, 9), // "itemAdded"
QT_MOC_LITERAL(17, 297, 13), // "RegisterItem*"
QT_MOC_LITERAL(18, 311, 22), // "ensureFocusItemVisible"
QT_MOC_LITERAL(19, 334, 6), // "resize"
QT_MOC_LITERAL(20, 341, 10), // "selectItem"
QT_MOC_LITERAL(21, 352, 3), // "row"
QT_MOC_LITERAL(22, 356, 3), // "col"
QT_MOC_LITERAL(23, 360, 21), // "slotEnsureItemVisible"
QT_MOC_LITERAL(24, 382, 17) // "slotDoubleClicked"

    },
    "KMyMoneyRegister::Register\0"
    "transactionsSelected\0\0"
    "KMyMoneyRegister::SelectedTransactions\0"
    "list\0focusChanged\0KMyMoneyRegister::Transaction*\0"
    "item\0aboutToSelectItem\0"
    "KMyMoneyRegister::RegisterItem*\0bool&\0"
    "okToSelect\0editTransaction\0"
    "reconcileStateColumnClicked\0"
    "emptyItemSelected\0openContextMenu\0"
    "itemAdded\0RegisterItem*\0ensureFocusItemVisible\0"
    "resize\0selectItem\0row\0col\0"
    "slotEnsureItemVisible\0slotDoubleClicked"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KMyMoneyRegister__Register[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   84,    2, 0x06 /* Public */,
       5,    1,   87,    2, 0x06 /* Public */,
       5,    0,   90,    2, 0x06 /* Public */,
       8,    2,   91,    2, 0x06 /* Public */,
      12,    0,   96,    2, 0x06 /* Public */,
      13,    1,   97,    2, 0x06 /* Public */,
      14,    0,  100,    2, 0x06 /* Public */,
      15,    0,  101,    2, 0x06 /* Public */,
      16,    1,  102,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      18,    0,  105,    2, 0x0a /* Public */,
      19,    0,  106,    2, 0x09 /* Protected */,
      20,    2,  107,    2, 0x09 /* Protected */,
      23,    0,  112,    2, 0x09 /* Protected */,
      24,    2,  113,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 9, 0x80000000 | 10,    7,   11,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 17,    7,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   21,   22,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   21,    2,

       0        // eod
};

void KMyMoneyRegister::Register::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Register *_t = static_cast<Register *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->transactionsSelected((*reinterpret_cast< const KMyMoneyRegister::SelectedTransactions(*)>(_a[1]))); break;
        case 1: _t->focusChanged((*reinterpret_cast< KMyMoneyRegister::Transaction*(*)>(_a[1]))); break;
        case 2: _t->focusChanged(); break;
        case 3: _t->aboutToSelectItem((*reinterpret_cast< KMyMoneyRegister::RegisterItem*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 4: _t->editTransaction(); break;
        case 5: _t->reconcileStateColumnClicked((*reinterpret_cast< KMyMoneyRegister::Transaction*(*)>(_a[1]))); break;
        case 6: _t->emptyItemSelected(); break;
        case 7: _t->openContextMenu(); break;
        case 8: _t->itemAdded((*reinterpret_cast< RegisterItem*(*)>(_a[1]))); break;
        case 9: _t->ensureFocusItemVisible(); break;
        case 10: _t->resize(); break;
        case 11: _t->selectItem((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 12: _t->slotEnsureItemVisible(); break;
        case 13: _t->slotDoubleClicked((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Register::*_t)(const KMyMoneyRegister::SelectedTransactions & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Register::transactionsSelected)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Register::*_t)(KMyMoneyRegister::Transaction * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Register::focusChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Register::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Register::focusChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Register::*_t)(KMyMoneyRegister::RegisterItem * , bool & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Register::aboutToSelectItem)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Register::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Register::editTransaction)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (Register::*_t)(KMyMoneyRegister::Transaction * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Register::reconcileStateColumnClicked)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (Register::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Register::emptyItemSelected)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (Register::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Register::openContextMenu)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (Register::*_t)(RegisterItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Register::itemAdded)) {
                *result = 8;
                return;
            }
        }
    }
}

const QMetaObject KMyMoneyRegister::Register::staticMetaObject = {
    { &TransactionEditorContainer::staticMetaObject, qt_meta_stringdata_KMyMoneyRegister__Register.data,
      qt_meta_data_KMyMoneyRegister__Register,  qt_static_metacall, nullptr, nullptr}
};


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

void *KMyMoneyRegister::Register::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KMyMoneyRegister__Register.stringdata0))
        return static_cast<void*>(const_cast< Register*>(this));
    return TransactionEditorContainer::qt_metacast(_clname);
}

int KMyMoneyRegister::Register::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = TransactionEditorContainer::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 14;
    }
    return _id;
}

// SIGNAL 0
void KMyMoneyRegister::Register::transactionsSelected(const KMyMoneyRegister::SelectedTransactions & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KMyMoneyRegister::Register::focusChanged(KMyMoneyRegister::Transaction * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KMyMoneyRegister::Register::focusChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void KMyMoneyRegister::Register::aboutToSelectItem(KMyMoneyRegister::RegisterItem * _t1, bool & _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 KMyMoneyRegister::Register::editTransaction()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void KMyMoneyRegister::Register::reconcileStateColumnClicked(KMyMoneyRegister::Transaction * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void KMyMoneyRegister::Register::emptyItemSelected()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void KMyMoneyRegister::Register::openContextMenu()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void KMyMoneyRegister::Register::itemAdded(RegisterItem * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
