/****************************************************************************
** Meta object code from reading C++ file 'service.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/plasma/service.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'service.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_Plasma__Service_t {
    QByteArrayData data[19];
    char stringdata0[248];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Plasma__Service_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Plasma__Service_t qt_meta_stringdata_Plasma__Service = {
    {
QT_MOC_LITERAL(0, 0, 15), // "Plasma::Service"
QT_MOC_LITERAL(1, 16, 12), // "serviceReady"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 16), // "Plasma::Service*"
QT_MOC_LITERAL(4, 47, 7), // "service"
QT_MOC_LITERAL(5, 55, 23), // "operationEnabledChanged"
QT_MOC_LITERAL(6, 79, 9), // "operation"
QT_MOC_LITERAL(7, 89, 7), // "enabled"
QT_MOC_LITERAL(8, 97, 14), // "setDestination"
QT_MOC_LITERAL(9, 112, 11), // "destination"
QT_MOC_LITERAL(10, 124, 14), // "operationNames"
QT_MOC_LITERAL(11, 139, 20), // "operationDescription"
QT_MOC_LITERAL(12, 160, 13), // "operationName"
QT_MOC_LITERAL(13, 174, 18), // "startOperationCall"
QT_MOC_LITERAL(14, 193, 11), // "ServiceJob*"
QT_MOC_LITERAL(15, 205, 11), // "description"
QT_MOC_LITERAL(16, 217, 6), // "parent"
QT_MOC_LITERAL(17, 224, 18), // "isOperationEnabled"
QT_MOC_LITERAL(18, 243, 4) // "name"

    },
    "Plasma::Service\0serviceReady\0\0"
    "Plasma::Service*\0service\0"
    "operationEnabledChanged\0operation\0"
    "enabled\0setDestination\0destination\0"
    "operationNames\0operationDescription\0"
    "operationName\0startOperationCall\0"
    "ServiceJob*\0description\0parent\0"
    "isOperationEnabled\0name"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Plasma__Service[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      10,   14, // methods
       3,   92, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       2,       // signalCount

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

 // methods: name, argc, parameters, tag, flags
       8,    1,   72,    2, 0x02 /* Public */,
       9,    0,   75,    2, 0x02 /* Public */,
      10,    0,   76,    2, 0x02 /* Public */,
      11,    1,   77,    2, 0x02 /* Public */,
      13,    2,   80,    2, 0x02 /* Public */,
      13,    1,   85,    2, 0x22 /* Public | MethodCloned */,
      17,    1,   88,    2, 0x02 /* Public */,
      18,    0,   91,    2, 0x02 /* Public */,

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

 // methods: parameters
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::QString,
    QMetaType::QStringList,
    QMetaType::QVariantMap, QMetaType::QString,   12,
    0x80000000 | 14, QMetaType::QVariantMap, QMetaType::QObjectStar,   15,   16,
    0x80000000 | 14, QMetaType::QVariantMap,   15,
    QMetaType::Bool, QMetaType::QString,    6,
    QMetaType::QString,

 // properties: name, type, flags
       9, QMetaType::QString, 0x00095103,
      10, QMetaType::QStringList, 0x00095001,
      18, QMetaType::QString, 0x00095001,

       0        // eod
};

void Plasma::Service::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Service *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->serviceReady((*reinterpret_cast< Plasma::Service*(*)>(_a[1]))); break;
        case 1: _t->operationEnabledChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 2: _t->setDestination((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: { QString _r = _t->destination();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 4: { QStringList _r = _t->operationNames();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        case 5: { QVariantMap _r = _t->operationDescription((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariantMap*>(_a[0]) = std::move(_r); }  break;
        case 6: { ServiceJob* _r = _t->startOperationCall((*reinterpret_cast< const QVariantMap(*)>(_a[1])),(*reinterpret_cast< QObject*(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< ServiceJob**>(_a[0]) = std::move(_r); }  break;
        case 7: { ServiceJob* _r = _t->startOperationCall((*reinterpret_cast< const QVariantMap(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< ServiceJob**>(_a[0]) = std::move(_r); }  break;
        case 8: { bool _r = _t->isOperationEnabled((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 9: { QString _r = _t->name();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Plasma::Service* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (Service::*)(Plasma::Service * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Service::serviceReady)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (Service::*)(const QString & , bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Service::operationEnabledChanged)) {
                *result = 1;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<Service *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->destination(); break;
        case 1: *reinterpret_cast< QStringList*>(_v) = _t->operationNames(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->name(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<Service *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setDestination(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject Plasma::Service::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_Plasma__Service.data,
    qt_meta_data_Plasma__Service,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int Plasma::Service::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;
    }
#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 Plasma::Service::serviceReady(Plasma::Service * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Plasma::Service::operationEnabledChanged(const QString & _t1, bool _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
