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

#include <memory>
#include "../../../../../../plasma-framework-5.116.0/src/scriptengines/qml/plasmoid/wallpaperinterface.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'wallpaperinterface.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. 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_WallpaperInterface_t {
    QByteArrayData data[22];
    char stringdata0[276];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_WallpaperInterface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_WallpaperInterface_t qt_meta_stringdata_WallpaperInterface = {
    {
QT_MOC_LITERAL(0, 0, 18), // "WallpaperInterface"
QT_MOC_LITERAL(1, 19, 14), // "packageChanged"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 20), // "configurationChanged"
QT_MOC_LITERAL(4, 56, 16), // "isLoadingChanged"
QT_MOC_LITERAL(5, 73, 13), // "repaintNeeded"
QT_MOC_LITERAL(6, 87, 11), // "accentColor"
QT_MOC_LITERAL(7, 99, 20), // "syncWallpaperPackage"
QT_MOC_LITERAL(8, 120, 13), // "executeAction"
QT_MOC_LITERAL(9, 134, 4), // "name"
QT_MOC_LITERAL(10, 139, 12), // "loadFinished"
QT_MOC_LITERAL(11, 152, 9), // "setAction"
QT_MOC_LITERAL(12, 162, 4), // "text"
QT_MOC_LITERAL(13, 167, 4), // "icon"
QT_MOC_LITERAL(14, 172, 8), // "shortcut"
QT_MOC_LITERAL(15, 181, 12), // "removeAction"
QT_MOC_LITERAL(16, 194, 6), // "action"
QT_MOC_LITERAL(17, 201, 8), // "QAction*"
QT_MOC_LITERAL(18, 210, 10), // "pluginName"
QT_MOC_LITERAL(19, 221, 13), // "configuration"
QT_MOC_LITERAL(20, 235, 32), // "KDeclarative::ConfigPropertyMap*"
QT_MOC_LITERAL(21, 268, 7) // "loading"

    },
    "WallpaperInterface\0packageChanged\0\0"
    "configurationChanged\0isLoadingChanged\0"
    "repaintNeeded\0accentColor\0"
    "syncWallpaperPackage\0executeAction\0"
    "name\0loadFinished\0setAction\0text\0icon\0"
    "shortcut\0removeAction\0action\0QAction*\0"
    "pluginName\0configuration\0"
    "KDeclarative::ConfigPropertyMap*\0"
    "loading"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_WallpaperInterface[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      13,   14, // methods
       3,  118, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   79,    2, 0x06 /* Public */,
       3,    0,   80,    2, 0x06 /* Public */,
       4,    0,   81,    2, 0x06 /* Public */,
       5,    1,   82,    2, 0x06 /* Public */,
       5,    0,   85,    2, 0x26 /* Public | MethodCloned */,

 // slots: name, argc, parameters, tag, flags
       7,    0,   86,    2, 0x08 /* Private */,
       8,    1,   87,    2, 0x08 /* Private */,
      10,    0,   90,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      11,    4,   91,    2, 0x02 /* Public */,
      11,    3,  100,    2, 0x22 /* Public | MethodCloned */,
      11,    2,  107,    2, 0x22 /* Public | MethodCloned */,
      15,    1,  112,    2, 0x02 /* Public */,
      16,    1,  115,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QColor,    6,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void,

 // methods: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QString,    9,   12,   13,   14,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,    9,   12,   13,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    9,   12,
    QMetaType::Void, QMetaType::QString,    9,
    0x80000000 | 17, QMetaType::QString,    9,

 // properties: name, type, flags
      18, QMetaType::QString, 0x00495001,
      19, 0x80000000 | 20, 0x00495009,
      21, QMetaType::Bool, 0x00495003,

 // properties: notify_signal_id
       0,
       1,
       2,

       0        // eod
};

void WallpaperInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<WallpaperInterface *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->packageChanged(); break;
        case 1: _t->configurationChanged(); break;
        case 2: _t->isLoadingChanged(); break;
        case 3: _t->repaintNeeded((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 4: _t->repaintNeeded(); break;
        case 5: _t->syncWallpaperPackage(); break;
        case 6: _t->executeAction((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: _t->loadFinished(); break;
        case 8: _t->setAction((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4]))); break;
        case 9: _t->setAction((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 10: _t->setAction((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 11: _t->removeAction((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 12: { QAction* _r = _t->action((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QAction**>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (WallpaperInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WallpaperInterface::packageChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (WallpaperInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WallpaperInterface::configurationChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (WallpaperInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WallpaperInterface::isLoadingChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (WallpaperInterface::*)(const QColor & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WallpaperInterface::repaintNeeded)) {
                *result = 3;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<WallpaperInterface *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->pluginName(); break;
        case 1: *reinterpret_cast< KDeclarative::ConfigPropertyMap**>(_v) = _t->configuration(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->m_loading; break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<WallpaperInterface *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 2:
            if (_t->m_loading != *reinterpret_cast< bool*>(_v)) {
                _t->m_loading = *reinterpret_cast< bool*>(_v);
                Q_EMIT _t->isLoadingChanged();
            }
            break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject WallpaperInterface::staticMetaObject = { {
    QMetaObject::SuperData::link<QQuickItem::staticMetaObject>(),
    qt_meta_stringdata_WallpaperInterface.data,
    qt_meta_data_WallpaperInterface,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int WallpaperInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuickItem::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 13;
    }
#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 -= 3;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

// SIGNAL 3
void WallpaperInterface::repaintNeeded(const QColor & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
