/****************************************************************************
** Meta object code from reading C++ file 'ksplittransactiondlg.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/ksplittransactiondlg.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'ksplittransactiondlg.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_KSplitCorrectionDlg_t {
    QByteArrayData data[1];
    char stringdata0[20];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KSplitCorrectionDlg_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KSplitCorrectionDlg_t qt_meta_stringdata_KSplitCorrectionDlg = {
    {
QT_MOC_LITERAL(0, 0, 19) // "KSplitCorrectionDlg"

    },
    "KSplitCorrectionDlg"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KSplitCorrectionDlg[] = {

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

       0        // eod
};

void KSplitCorrectionDlg::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 KSplitCorrectionDlg::staticMetaObject = {
    { &QDialog::staticMetaObject, qt_meta_stringdata_KSplitCorrectionDlg.data,
      qt_meta_data_KSplitCorrectionDlg,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KSplitCorrectionDlg::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDialog::qt_metacall(_c, _id, _a);
    return _id;
}
struct qt_meta_stringdata_KSplitTransactionDlg_t {
    QByteArrayData data[27];
    char stringdata0[322];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KSplitTransactionDlg_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KSplitTransactionDlg_t qt_meta_stringdata_KSplitTransactionDlg = {
    {
QT_MOC_LITERAL(0, 0, 20), // "KSplitTransactionDlg"
QT_MOC_LITERAL(1, 21, 14), // "createCategory"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 15), // "MyMoneyAccount&"
QT_MOC_LITERAL(4, 53, 7), // "account"
QT_MOC_LITERAL(5, 61, 14), // "MyMoneyAccount"
QT_MOC_LITERAL(6, 76, 6), // "parent"
QT_MOC_LITERAL(7, 83, 9), // "createTag"
QT_MOC_LITERAL(8, 93, 3), // "txt"
QT_MOC_LITERAL(9, 97, 8), // "QString&"
QT_MOC_LITERAL(10, 106, 2), // "id"
QT_MOC_LITERAL(11, 109, 14), // "objectCreation"
QT_MOC_LITERAL(12, 124, 5), // "state"
QT_MOC_LITERAL(13, 130, 4), // "exec"
QT_MOC_LITERAL(14, 135, 6), // "accept"
QT_MOC_LITERAL(15, 142, 6), // "reject"
QT_MOC_LITERAL(16, 149, 18), // "slotClearAllSplits"
QT_MOC_LITERAL(17, 168, 21), // "slotClearUnusedSplits"
QT_MOC_LITERAL(18, 190, 18), // "slotSetTransaction"
QT_MOC_LITERAL(19, 209, 18), // "MyMoneyTransaction"
QT_MOC_LITERAL(20, 228, 1), // "t"
QT_MOC_LITERAL(21, 230, 18), // "slotCreateCategory"
QT_MOC_LITERAL(22, 249, 13), // "slotCreateTag"
QT_MOC_LITERAL(23, 263, 17), // "slotUpdateButtons"
QT_MOC_LITERAL(24, 281, 15), // "slotMergeSplits"
QT_MOC_LITERAL(25, 297, 15), // "slotEditStarted"
QT_MOC_LITERAL(26, 313, 8) // "initSize"

    },
    "KSplitTransactionDlg\0createCategory\0"
    "\0MyMoneyAccount&\0account\0MyMoneyAccount\0"
    "parent\0createTag\0txt\0QString&\0id\0"
    "objectCreation\0state\0exec\0accept\0"
    "reject\0slotClearAllSplits\0"
    "slotClearUnusedSplits\0slotSetTransaction\0"
    "MyMoneyTransaction\0t\0slotCreateCategory\0"
    "slotCreateTag\0slotUpdateButtons\0"
    "slotMergeSplits\0slotEditStarted\0"
    "initSize"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KSplitTransactionDlg[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   89,    2, 0x06 /* Public */,
       7,    2,   94,    2, 0x06 /* Public */,
      11,    1,   99,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      13,    0,  102,    2, 0x0a /* Public */,
      14,    0,  103,    2, 0x09 /* Protected */,
      15,    0,  104,    2, 0x09 /* Protected */,
      16,    0,  105,    2, 0x09 /* Protected */,
      17,    0,  106,    2, 0x09 /* Protected */,
      18,    1,  107,    2, 0x09 /* Protected */,
      21,    2,  110,    2, 0x09 /* Protected */,
      22,    2,  115,    2, 0x09 /* Protected */,
      23,    0,  120,    2, 0x09 /* Protected */,
      24,    0,  121,    2, 0x09 /* Protected */,
      25,    0,  122,    2, 0x09 /* Protected */,
      26,    0,  123,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5,    4,    6,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 9,    8,   10,
    QMetaType::Void, QMetaType::Bool,   12,

 // slots: parameters
    QMetaType::Int,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 19,   20,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 9,    8,   10,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 9,    8,   10,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KSplitTransactionDlg::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KSplitTransactionDlg *_t = static_cast<KSplitTransactionDlg *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->createCategory((*reinterpret_cast< MyMoneyAccount(*)>(_a[1])),(*reinterpret_cast< const MyMoneyAccount(*)>(_a[2]))); break;
        case 1: _t->createTag((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 2: _t->objectCreation((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: { int _r = _t->exec();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 4: _t->accept(); break;
        case 5: _t->reject(); break;
        case 6: _t->slotClearAllSplits(); break;
        case 7: _t->slotClearUnusedSplits(); break;
        case 8: _t->slotSetTransaction((*reinterpret_cast< const MyMoneyTransaction(*)>(_a[1]))); break;
        case 9: _t->slotCreateCategory((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 10: _t->slotCreateTag((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 11: _t->slotUpdateButtons(); break;
        case 12: _t->slotMergeSplits(); break;
        case 13: _t->slotEditStarted(); break;
        case 14: _t->initSize(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KSplitTransactionDlg::*_t)(MyMoneyAccount & , const MyMoneyAccount & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KSplitTransactionDlg::createCategory)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KSplitTransactionDlg::*_t)(const QString & , QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KSplitTransactionDlg::createTag)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KSplitTransactionDlg::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KSplitTransactionDlg::objectCreation)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject KSplitTransactionDlg::staticMetaObject = {
    { &QDialog::staticMetaObject, qt_meta_stringdata_KSplitTransactionDlg.data,
      qt_meta_data_KSplitTransactionDlg,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

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

// SIGNAL 1
void KSplitTransactionDlg::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, 1, _a);
}

// SIGNAL 2
void KSplitTransactionDlg::objectCreation(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
