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

#include "../../src/incidenceeditor-17.12.3/src/editoritemmanager.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QSet>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'editoritemmanager.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_IncidenceEditorNG__EditorItemManager_t {
    QByteArrayData data[24];
    char stringdata0[371];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_IncidenceEditorNG__EditorItemManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_IncidenceEditorNG__EditorItemManager_t qt_meta_stringdata_IncidenceEditorNG__EditorItemManager = {
    {
QT_MOC_LITERAL(0, 0, 36), // "IncidenceEditorNG::EditorItem..."
QT_MOC_LITERAL(1, 37, 16), // "itemSaveFinished"
QT_MOC_LITERAL(2, 54, 0), // ""
QT_MOC_LITERAL(3, 55, 48), // "IncidenceEditorNG::EditorItem..."
QT_MOC_LITERAL(4, 104, 6), // "action"
QT_MOC_LITERAL(5, 111, 14), // "itemSaveFailed"
QT_MOC_LITERAL(6, 126, 7), // "message"
QT_MOC_LITERAL(7, 134, 14), // "revertFinished"
QT_MOC_LITERAL(8, 149, 12), // "revertFailed"
QT_MOC_LITERAL(9, 162, 11), // "itemChanged"
QT_MOC_LITERAL(10, 174, 13), // "Akonadi::Item"
QT_MOC_LITERAL(11, 188, 16), // "QSet<QByteArray>"
QT_MOC_LITERAL(12, 205, 15), // "itemFetchResult"
QT_MOC_LITERAL(13, 221, 5), // "KJob*"
QT_MOC_LITERAL(14, 227, 14), // "itemMoveResult"
QT_MOC_LITERAL(15, 242, 16), // "onModifyFinished"
QT_MOC_LITERAL(16, 259, 8), // "changeId"
QT_MOC_LITERAL(17, 268, 4), // "item"
QT_MOC_LITERAL(18, 273, 37), // "Akonadi::IncidenceChanger::Re..."
QT_MOC_LITERAL(19, 311, 10), // "resultCode"
QT_MOC_LITERAL(20, 322, 11), // "errorString"
QT_MOC_LITERAL(21, 334, 16), // "onCreateFinished"
QT_MOC_LITERAL(22, 351, 15), // "moveJobFinished"
QT_MOC_LITERAL(23, 367, 3) // "job"

    },
    "IncidenceEditorNG::EditorItemManager\0"
    "itemSaveFinished\0\0"
    "IncidenceEditorNG::EditorItemManager::SaveAction\0"
    "action\0itemSaveFailed\0message\0"
    "revertFinished\0revertFailed\0itemChanged\0"
    "Akonadi::Item\0QSet<QByteArray>\0"
    "itemFetchResult\0KJob*\0itemMoveResult\0"
    "onModifyFinished\0changeId\0item\0"
    "Akonadi::IncidenceChanger::ResultCode\0"
    "resultCode\0errorString\0onCreateFinished\0"
    "moveJobFinished\0job"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_IncidenceEditorNG__EditorItemManager[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   64,    2, 0x06 /* Public */,
       5,    2,   67,    2, 0x06 /* Public */,
       7,    0,   72,    2, 0x06 /* Public */,
       8,    1,   73,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    2,   76,    2, 0x08 /* Private */,
      12,    1,   81,    2, 0x08 /* Private */,
      14,    1,   84,    2, 0x08 /* Private */,
      15,    4,   87,    2, 0x08 /* Private */,
      21,    4,   96,    2, 0x08 /* Private */,
      22,    1,  105,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3, QMetaType::QString,    4,    6,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    6,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 10, 0x80000000 | 11,    2,    2,
    QMetaType::Void, 0x80000000 | 13,    2,
    QMetaType::Void, 0x80000000 | 13,    2,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 10, 0x80000000 | 18, QMetaType::QString,   16,   17,   19,   20,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 10, 0x80000000 | 18, QMetaType::QString,   16,   17,   19,   20,
    QMetaType::Void, 0x80000000 | 13,   23,

       0        // eod
};

void IncidenceEditorNG::EditorItemManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        EditorItemManager *_t = static_cast<EditorItemManager *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->itemSaveFinished((*reinterpret_cast< IncidenceEditorNG::EditorItemManager::SaveAction(*)>(_a[1]))); break;
        case 1: _t->itemSaveFailed((*reinterpret_cast< IncidenceEditorNG::EditorItemManager::SaveAction(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 2: _t->revertFinished(); break;
        case 3: _t->revertFailed((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->d_ptr->itemChanged((*reinterpret_cast< const Akonadi::Item(*)>(_a[1])),(*reinterpret_cast< const QSet<QByteArray>(*)>(_a[2]))); break;
        case 5: _t->d_ptr->itemFetchResult((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 6: _t->d_ptr->itemMoveResult((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 7: _t->d_ptr->onModifyFinished((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const Akonadi::Item(*)>(_a[2])),(*reinterpret_cast< Akonadi::IncidenceChanger::ResultCode(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4]))); break;
        case 8: _t->d_ptr->onCreateFinished((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const Akonadi::Item(*)>(_a[2])),(*reinterpret_cast< Akonadi::IncidenceChanger::ResultCode(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4]))); break;
        case 9: _t->d_ptr->moveJobFinished((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::Item >(); break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QSet<QByteArray> >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KJob* >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KJob* >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 2:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::IncidenceChanger::ResultCode >(); break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::Item >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 2:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::IncidenceChanger::ResultCode >(); break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::Item >(); break;
            }
            break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KJob* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (EditorItemManager::*_t)(IncidenceEditorNG::EditorItemManager::SaveAction );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditorItemManager::itemSaveFinished)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (EditorItemManager::*_t)(IncidenceEditorNG::EditorItemManager::SaveAction , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditorItemManager::itemSaveFailed)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (EditorItemManager::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditorItemManager::revertFinished)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (EditorItemManager::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditorItemManager::revertFailed)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject IncidenceEditorNG::EditorItemManager::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_IncidenceEditorNG__EditorItemManager.data,
      qt_meta_data_IncidenceEditorNG__EditorItemManager,  qt_static_metacall, nullptr, nullptr}
};


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

void *IncidenceEditorNG::EditorItemManager::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_IncidenceEditorNG__EditorItemManager.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int IncidenceEditorNG::EditorItemManager::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    return _id;
}

// SIGNAL 0
void IncidenceEditorNG::EditorItemManager::itemSaveFinished(IncidenceEditorNG::EditorItemManager::SaveAction _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void IncidenceEditorNG::EditorItemManager::itemSaveFailed(IncidenceEditorNG::EditorItemManager::SaveAction _t1, const 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 IncidenceEditorNG::EditorItemManager::revertFinished()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void IncidenceEditorNG::EditorItemManager::revertFailed(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
