/****************************************************************************
** Meta object code from reading C++ file 'sepacredittransferedit.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/plugins/onlinetasks/sepa/ui/sepacredittransferedit.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'sepacredittransferedit.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_sepaCreditTransferEdit_t {
    QByteArrayData data[26];
    char stringdata0[376];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_sepaCreditTransferEdit_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_sepaCreditTransferEdit_t qt_meta_stringdata_sepaCreditTransferEdit = {
    {
QT_MOC_LITERAL(0, 0, 22), // "sepaCreditTransferEdit"
QT_MOC_LITERAL(1, 23, 16), // "onlineJobChanged"
QT_MOC_LITERAL(2, 40, 0), // ""
QT_MOC_LITERAL(3, 41, 15), // "readOnlyChanged"
QT_MOC_LITERAL(4, 57, 12), // "setOnlineJob"
QT_MOC_LITERAL(5, 70, 34), // "onlineJobTyped<sepaOnlineTran..."
QT_MOC_LITERAL(6, 105, 3), // "job"
QT_MOC_LITERAL(7, 109, 9), // "onlineJob"
QT_MOC_LITERAL(8, 119, 16), // "setOriginAccount"
QT_MOC_LITERAL(9, 136, 9), // "accountId"
QT_MOC_LITERAL(10, 146, 11), // "setReadOnly"
QT_MOC_LITERAL(11, 158, 14), // "updateSettings"
QT_MOC_LITERAL(12, 173, 17), // "updateEveryStatus"
QT_MOC_LITERAL(13, 191, 14), // "purposeChanged"
QT_MOC_LITERAL(14, 206, 22), // "beneficiaryIbanChanged"
QT_MOC_LITERAL(15, 229, 4), // "iban"
QT_MOC_LITERAL(16, 234, 21), // "beneficiaryBicChanged"
QT_MOC_LITERAL(17, 256, 3), // "bic"
QT_MOC_LITERAL(18, 260, 22), // "beneficiaryNameChanged"
QT_MOC_LITERAL(19, 283, 4), // "name"
QT_MOC_LITERAL(20, 288, 12), // "valueChanged"
QT_MOC_LITERAL(21, 301, 24), // "endToEndReferenceChanged"
QT_MOC_LITERAL(22, 326, 9), // "reference"
QT_MOC_LITERAL(23, 336, 23), // "requiredFieldsCompleted"
QT_MOC_LITERAL(24, 360, 6), // "status"
QT_MOC_LITERAL(25, 367, 8) // "readOnly"

    },
    "sepaCreditTransferEdit\0onlineJobChanged\0"
    "\0readOnlyChanged\0setOnlineJob\0"
    "onlineJobTyped<sepaOnlineTransfer>\0"
    "job\0onlineJob\0setOriginAccount\0accountId\0"
    "setReadOnly\0updateSettings\0updateEveryStatus\0"
    "purposeChanged\0beneficiaryIbanChanged\0"
    "iban\0beneficiaryBicChanged\0bic\0"
    "beneficiaryNameChanged\0name\0valueChanged\0"
    "endToEndReferenceChanged\0reference\0"
    "requiredFieldsCompleted\0status\0readOnly"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_sepaCreditTransferEdit[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   94,    2, 0x06 /* Public */,
       3,    1,   95,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    1,   98,    2, 0x0a /* Public */,
       4,    1,  101,    2, 0x0a /* Public */,
       8,    1,  104,    2, 0x0a /* Public */,
      10,    1,  107,    2, 0x0a /* Public */,
      11,    0,  110,    2, 0x08 /* Private */,
      12,    0,  111,    2, 0x08 /* Private */,
      13,    0,  112,    2, 0x08 /* Private */,
      14,    1,  113,    2, 0x08 /* Private */,
      16,    1,  116,    2, 0x08 /* Private */,
      18,    1,  119,    2, 0x08 /* Private */,
      20,    0,  122,    2, 0x08 /* Private */,
      21,    1,  123,    2, 0x08 /* Private */,
      23,    1,  126,    2, 0x08 /* Private */,
      23,    0,  129,    2, 0x28 /* Private | MethodCloned */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Bool, 0x80000000 | 7,    6,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   15,
    QMetaType::Void, QMetaType::QString,   17,
    QMetaType::Void, QMetaType::QString,   19,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   22,
    QMetaType::Void, QMetaType::Bool,   24,
    QMetaType::Void,

 // properties: name, type, flags
      25, QMetaType::Bool, 0x00495103,
       6, 0x80000000 | 7, 0x0009500b,

 // properties: notify_signal_id
       1,
       0,

       0        // eod
};

void sepaCreditTransferEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        sepaCreditTransferEdit *_t = static_cast<sepaCreditTransferEdit *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->onlineJobChanged(); break;
        case 1: _t->readOnlyChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->setOnlineJob((*reinterpret_cast< const onlineJobTyped<sepaOnlineTransfer>(*)>(_a[1]))); break;
        case 3: { bool _r = _t->setOnlineJob((*reinterpret_cast< const onlineJob(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 4: _t->setOriginAccount((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->setReadOnly((*reinterpret_cast< const bool(*)>(_a[1]))); break;
        case 6: _t->updateSettings(); break;
        case 7: _t->updateEveryStatus(); break;
        case 8: _t->purposeChanged(); break;
        case 9: _t->beneficiaryIbanChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: _t->beneficiaryBicChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 11: _t->beneficiaryNameChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 12: _t->valueChanged(); break;
        case 13: _t->endToEndReferenceChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 14: _t->requiredFieldsCompleted((*reinterpret_cast< const bool(*)>(_a[1]))); break;
        case 15: _t->requiredFieldsCompleted(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< onlineJob >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (sepaCreditTransferEdit::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&sepaCreditTransferEdit::onlineJobChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (sepaCreditTransferEdit::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&sepaCreditTransferEdit::readOnlyChanged)) {
                *result = 1;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< onlineJob >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        sepaCreditTransferEdit *_t = static_cast<sepaCreditTransferEdit *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->isReadOnly(); break;
        case 1: *reinterpret_cast< onlineJob*>(_v) = _t->getOnlineJob(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        sepaCreditTransferEdit *_t = static_cast<sepaCreditTransferEdit *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setReadOnly(*reinterpret_cast< bool*>(_v)); break;
        case 1: _t->setOnlineJob(*reinterpret_cast< onlineJob*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject sepaCreditTransferEdit::staticMetaObject = {
    { &IonlineJobEdit::staticMetaObject, qt_meta_stringdata_sepaCreditTransferEdit.data,
      qt_meta_data_sepaCreditTransferEdit,  qt_static_metacall, nullptr, nullptr}
};


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

void *sepaCreditTransferEdit::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_sepaCreditTransferEdit.stringdata0))
        return static_cast<void*>(const_cast< sepaCreditTransferEdit*>(this));
    if (!strcmp(_clname, "org.kmymoney.plugin.ionlinejobedit"))
        return static_cast< IonlineJobEdit*>(const_cast< sepaCreditTransferEdit*>(this));
    return IonlineJobEdit::qt_metacast(_clname);
}

int sepaCreditTransferEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = IonlineJobEdit::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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