/****************************************************************************
** Meta object code from reading C++ file 'configgroup.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-workspace-5.8.9/shell/scripting/configgroup.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'configgroup.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_ConfigGroup_t {
    QByteArrayData data[16];
    char stringdata0[147];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ConfigGroup_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ConfigGroup_t qt_meta_stringdata_ConfigGroup = {
    {
QT_MOC_LITERAL(0, 0, 11), // "ConfigGroup"
QT_MOC_LITERAL(1, 12, 11), // "fileChanged"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 12), // "groupChanged"
QT_MOC_LITERAL(4, 38, 14), // "keyListChanged"
QT_MOC_LITERAL(5, 53, 16), // "groupListChanged"
QT_MOC_LITERAL(6, 70, 4), // "sync"
QT_MOC_LITERAL(7, 75, 9), // "readEntry"
QT_MOC_LITERAL(8, 85, 3), // "key"
QT_MOC_LITERAL(9, 89, 10), // "writeEntry"
QT_MOC_LITERAL(10, 100, 5), // "value"
QT_MOC_LITERAL(11, 106, 11), // "deleteEntry"
QT_MOC_LITERAL(12, 118, 4), // "file"
QT_MOC_LITERAL(13, 123, 5), // "group"
QT_MOC_LITERAL(14, 129, 7), // "keyList"
QT_MOC_LITERAL(15, 137, 9) // "groupList"

    },
    "ConfigGroup\0fileChanged\0\0groupChanged\0"
    "keyListChanged\0groupListChanged\0sync\0"
    "readEntry\0key\0writeEntry\0value\0"
    "deleteEntry\0file\0group\0keyList\0groupList"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ConfigGroup[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   54,    2, 0x06 /* Public */,
       3,    0,   55,    2, 0x06 /* Public */,
       4,    0,   56,    2, 0x06 /* Public */,
       5,    0,   57,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    0,   58,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
       7,    1,   59,    2, 0x02 /* Public */,
       9,    2,   62,    2, 0x02 /* Public */,
      11,    1,   67,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,

 // methods: parameters
    QMetaType::QVariant, QMetaType::QString,    8,
    QMetaType::Bool, QMetaType::QString, QMetaType::QVariant,    8,   10,
    QMetaType::Void, QMetaType::QString,    8,

 // properties: name, type, flags
      12, QMetaType::QString, 0x00495103,
      13, QMetaType::QString, 0x00495103,
      14, QMetaType::QStringList, 0x00495001,
      15, QMetaType::QStringList, 0x00495001,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,

       0        // eod
};

void ConfigGroup::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ConfigGroup *_t = static_cast<ConfigGroup *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->fileChanged(); break;
        case 1: _t->groupChanged(); break;
        case 2: _t->keyListChanged(); break;
        case 3: _t->groupListChanged(); break;
        case 4: _t->sync(); break;
        case 5: { QVariant _r = _t->readEntry((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = std::move(_r); }  break;
        case 6: { bool _r = _t->writeEntry((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 7: _t->deleteEntry((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (ConfigGroup::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConfigGroup::fileChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ConfigGroup::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConfigGroup::groupChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (ConfigGroup::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConfigGroup::keyListChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (ConfigGroup::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConfigGroup::groupListChanged)) {
                *result = 3;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        ConfigGroup *_t = static_cast<ConfigGroup *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->file(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->group(); break;
        case 2: *reinterpret_cast< QStringList*>(_v) = _t->keyList(); break;
        case 3: *reinterpret_cast< QStringList*>(_v) = _t->groupList(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        ConfigGroup *_t = static_cast<ConfigGroup *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setFile(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setGroup(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject ConfigGroup::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_ConfigGroup.data,
      qt_meta_data_ConfigGroup,  qt_static_metacall, nullptr, nullptr}
};


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

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

int ConfigGroup::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 < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 8)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 8;
    }
#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 -= 4;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 4;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

// SIGNAL 3
void ConfigGroup::groupListChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
