/****************************************************************************
** Meta object code from reading C++ file 'kmymoneysplittable.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/dialogs/kmymoneysplittable.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kmymoneysplittable.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_KMyMoneySplitTable_t {
    QByteArrayData data[32];
    char stringdata0[378];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KMyMoneySplitTable_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KMyMoneySplitTable_t qt_meta_stringdata_KMyMoneySplitTable = {
    {
QT_MOC_LITERAL(0, 0, 18), // "KMyMoneySplitTable"
QT_MOC_LITERAL(1, 19, 11), // "editStarted"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 12), // "editFinished"
QT_MOC_LITERAL(4, 45, 13), // "escapePressed"
QT_MOC_LITERAL(5, 59, 13), // "returnPressed"
QT_MOC_LITERAL(6, 73, 18), // "transactionChanged"
QT_MOC_LITERAL(7, 92, 18), // "MyMoneyTransaction"
QT_MOC_LITERAL(8, 111, 1), // "t"
QT_MOC_LITERAL(9, 113, 14), // "createCategory"
QT_MOC_LITERAL(10, 128, 3), // "txt"
QT_MOC_LITERAL(11, 132, 8), // "QString&"
QT_MOC_LITERAL(12, 141, 2), // "id"
QT_MOC_LITERAL(13, 144, 9), // "createTag"
QT_MOC_LITERAL(14, 154, 14), // "objectCreation"
QT_MOC_LITERAL(15, 169, 5), // "state"
QT_MOC_LITERAL(16, 175, 11), // "setRowCount"
QT_MOC_LITERAL(17, 187, 1), // "r"
QT_MOC_LITERAL(18, 189, 9), // "selectRow"
QT_MOC_LITERAL(19, 199, 3), // "row"
QT_MOC_LITERAL(20, 203, 13), // "slotStartEdit"
QT_MOC_LITERAL(21, 217, 17), // "KMyMoneyCategory*"
QT_MOC_LITERAL(22, 235, 11), // "slotEndEdit"
QT_MOC_LITERAL(23, 247, 19), // "slotEndEditKeyboard"
QT_MOC_LITERAL(24, 267, 15), // "slotDeleteSplit"
QT_MOC_LITERAL(25, 283, 14), // "slotCancelEdit"
QT_MOC_LITERAL(26, 298, 18), // "slotDuplicateSplit"
QT_MOC_LITERAL(27, 317, 12), // "slotSetFocus"
QT_MOC_LITERAL(28, 330, 5), // "index"
QT_MOC_LITERAL(29, 336, 6), // "button"
QT_MOC_LITERAL(30, 343, 14), // "slotUpdateData"
QT_MOC_LITERAL(31, 358, 19) // "slotLoadEditWidgets"

    },
    "KMyMoneySplitTable\0editStarted\0\0"
    "editFinished\0escapePressed\0returnPressed\0"
    "transactionChanged\0MyMoneyTransaction\0"
    "t\0createCategory\0txt\0QString&\0id\0"
    "createTag\0objectCreation\0state\0"
    "setRowCount\0r\0selectRow\0row\0slotStartEdit\0"
    "KMyMoneyCategory*\0slotEndEdit\0"
    "slotEndEditKeyboard\0slotDeleteSplit\0"
    "slotCancelEdit\0slotDuplicateSplit\0"
    "slotSetFocus\0index\0button\0slotUpdateData\0"
    "slotLoadEditWidgets"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KMyMoneySplitTable[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  114,    2, 0x06 /* Public */,
       3,    0,  115,    2, 0x06 /* Public */,
       4,    0,  116,    2, 0x06 /* Public */,
       5,    0,  117,    2, 0x06 /* Public */,
       6,    1,  118,    2, 0x06 /* Public */,
       9,    2,  121,    2, 0x06 /* Public */,
      13,    2,  126,    2, 0x06 /* Public */,
      14,    1,  131,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      16,    1,  134,    2, 0x0a /* Public */,
      18,    1,  137,    2, 0x0a /* Public */,
      20,    0,  140,    2, 0x0a /* Public */,
      22,    0,  141,    2, 0x0a /* Public */,
      23,    0,  142,    2, 0x0a /* Public */,
      24,    0,  143,    2, 0x0a /* Public */,
      25,    0,  144,    2, 0x0a /* Public */,
      26,    0,  145,    2, 0x0a /* Public */,
      27,    1,  146,    2, 0x09 /* Protected */,
      27,    2,  149,    2, 0x09 /* Protected */,
      30,    1,  154,    2, 0x09 /* Protected */,
      31,    0,  157,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 11,   10,   12,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 11,   10,   12,
    QMetaType::Void, QMetaType::Bool,   15,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,   17,
    QMetaType::Void, QMetaType::Int,   19,
    0x80000000 | 21,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex,   28,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int,   28,   29,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void,

       0        // eod
};

void KMyMoneySplitTable::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KMyMoneySplitTable *_t = static_cast<KMyMoneySplitTable *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->editStarted(); break;
        case 1: _t->editFinished(); break;
        case 2: _t->escapePressed(); break;
        case 3: _t->returnPressed(); break;
        case 4: _t->transactionChanged((*reinterpret_cast< const MyMoneyTransaction(*)>(_a[1]))); break;
        case 5: _t->createCategory((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 6: _t->createTag((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 7: _t->objectCreation((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->setRowCount((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->selectRow((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: { KMyMoneyCategory* _r = _t->slotStartEdit();
            if (_a[0]) *reinterpret_cast< KMyMoneyCategory**>(_a[0]) = std::move(_r); }  break;
        case 11: _t->slotEndEdit(); break;
        case 12: _t->slotEndEditKeyboard(); break;
        case 13: _t->slotDeleteSplit(); break;
        case 14: _t->slotCancelEdit(); break;
        case 15: _t->slotDuplicateSplit(); break;
        case 16: _t->slotSetFocus((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 17: _t->slotSetFocus((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 18: _t->slotUpdateData((*reinterpret_cast< const MyMoneyTransaction(*)>(_a[1]))); break;
        case 19: _t->slotLoadEditWidgets(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KMyMoneySplitTable::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KMyMoneySplitTable::editStarted)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KMyMoneySplitTable::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KMyMoneySplitTable::editFinished)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KMyMoneySplitTable::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KMyMoneySplitTable::escapePressed)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (KMyMoneySplitTable::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KMyMoneySplitTable::returnPressed)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (KMyMoneySplitTable::*_t)(const MyMoneyTransaction & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KMyMoneySplitTable::transactionChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (KMyMoneySplitTable::*_t)(const QString & , QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KMyMoneySplitTable::createCategory)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (KMyMoneySplitTable::*_t)(const QString & , QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KMyMoneySplitTable::createTag)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (KMyMoneySplitTable::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KMyMoneySplitTable::objectCreation)) {
                *result = 7;
                return;
            }
        }
    }
}

const QMetaObject KMyMoneySplitTable::staticMetaObject = {
    { &QTableWidget::staticMetaObject, qt_meta_stringdata_KMyMoneySplitTable.data,
      qt_meta_data_KMyMoneySplitTable,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

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

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

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

// SIGNAL 3
void KMyMoneySplitTable::returnPressed()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void KMyMoneySplitTable::transactionChanged(const MyMoneyTransaction & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void KMyMoneySplitTable::createCategory(const QString & _t1, 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 KMyMoneySplitTable::createTag(const QString & _t1, 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, 6, _a);
}

// SIGNAL 7
void KMyMoneySplitTable::objectCreation(bool _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
