/****************************************************************************
** Meta object code from reading C++ file 'eventpluginsmanager.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/plasma-framework-5.43.0/src/declarativeimports/calendar/eventpluginsmanager.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'eventpluginsmanager.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_EventPluginsManager_t {
    QByteArrayData data[16];
    char stringdata0[246];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_EventPluginsManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_EventPluginsManager_t qt_meta_stringdata_EventPluginsManager = {
    {
QT_MOC_LITERAL(0, 0, 19), // "EventPluginsManager"
QT_MOC_LITERAL(1, 20, 14), // "pluginsChanged"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 9), // "dataReady"
QT_MOC_LITERAL(4, 46, 43), // "QMultiHash<QDate,CalendarEven..."
QT_MOC_LITERAL(5, 90, 4), // "data"
QT_MOC_LITERAL(6, 95, 13), // "eventModified"
QT_MOC_LITERAL(7, 109, 25), // "CalendarEvents::EventData"
QT_MOC_LITERAL(8, 135, 13), // "modifiedEvent"
QT_MOC_LITERAL(9, 149, 12), // "eventRemoved"
QT_MOC_LITERAL(10, 162, 3), // "uid"
QT_MOC_LITERAL(11, 166, 26), // "populateEnabledPluginsList"
QT_MOC_LITERAL(12, 193, 11), // "pluginsList"
QT_MOC_LITERAL(13, 205, 5), // "model"
QT_MOC_LITERAL(14, 211, 19), // "QAbstractListModel*"
QT_MOC_LITERAL(15, 231, 14) // "enabledPlugins"

    },
    "EventPluginsManager\0pluginsChanged\0\0"
    "dataReady\0QMultiHash<QDate,CalendarEvents::EventData>\0"
    "data\0eventModified\0CalendarEvents::EventData\0"
    "modifiedEvent\0eventRemoved\0uid\0"
    "populateEnabledPluginsList\0pluginsList\0"
    "model\0QAbstractListModel*\0enabledPlugins"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_EventPluginsManager[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   39,    2, 0x06 /* Public */,
       3,    1,   40,    2, 0x06 /* Public */,
       6,    1,   43,    2, 0x06 /* Public */,
       9,    1,   46,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
      11,    1,   49,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,    5,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, QMetaType::QString,   10,

 // methods: parameters
    QMetaType::Void, QMetaType::QStringList,   12,

 // properties: name, type, flags
      13, 0x80000000 | 14, 0x00495009,
      15, QMetaType::QStringList, 0x00495103,

 // properties: notify_signal_id
       0,
       0,

       0        // eod
};

void EventPluginsManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        EventPluginsManager *_t = static_cast<EventPluginsManager *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->pluginsChanged(); break;
        case 1: _t->dataReady((*reinterpret_cast< const QMultiHash<QDate,CalendarEvents::EventData>(*)>(_a[1]))); break;
        case 2: _t->eventModified((*reinterpret_cast< const CalendarEvents::EventData(*)>(_a[1]))); break;
        case 3: _t->eventRemoved((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->populateEnabledPluginsList((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (EventPluginsManager::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EventPluginsManager::pluginsChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (EventPluginsManager::*_t)(const QMultiHash<QDate,CalendarEvents::EventData> & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EventPluginsManager::dataReady)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (EventPluginsManager::*_t)(const CalendarEvents::EventData & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EventPluginsManager::eventModified)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (EventPluginsManager::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EventPluginsManager::eventRemoved)) {
                *result = 3;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        EventPluginsManager *_t = static_cast<EventPluginsManager *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QAbstractListModel**>(_v) = _t->pluginsModel(); break;
        case 1: *reinterpret_cast< QStringList*>(_v) = _t->enabledPlugins(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        EventPluginsManager *_t = static_cast<EventPluginsManager *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setEnabledPlugins(*reinterpret_cast< QStringList*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject EventPluginsManager::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_EventPluginsManager.data,
      qt_meta_data_EventPluginsManager,  qt_static_metacall, nullptr, nullptr}
};


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

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

int EventPluginsManager::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 < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 5)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 5;
    }
#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 EventPluginsManager::pluginsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void EventPluginsManager::dataReady(const QMultiHash<QDate,CalendarEvents::EventData> & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void EventPluginsManager::eventModified(const CalendarEvents::EventData & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void EventPluginsManager::eventRemoved(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
