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

#include <memory>
#include "mdconfgroup.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mdconfgroup.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_MDConfGroup_t {
    QByteArrayData data[19];
    char stringdata0[188];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MDConfGroup_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MDConfGroup_t qt_meta_stringdata_MDConfGroup = {
    {
QT_MOC_LITERAL(0, 0, 11), // "MDConfGroup"
QT_MOC_LITERAL(1, 12, 18), // "synchronousChanged"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 11), // "pathChanged"
QT_MOC_LITERAL(4, 44, 12), // "scopeChanged"
QT_MOC_LITERAL(5, 57, 12), // "valueChanged"
QT_MOC_LITERAL(6, 70, 3), // "key"
QT_MOC_LITERAL(7, 74, 13), // "valuesChanged"
QT_MOC_LITERAL(8, 88, 4), // "sync"
QT_MOC_LITERAL(9, 93, 5), // "clear"
QT_MOC_LITERAL(10, 99, 15), // "propertyChanged"
QT_MOC_LITERAL(11, 115, 5), // "value"
QT_MOC_LITERAL(12, 121, 12), // "defaultValue"
QT_MOC_LITERAL(13, 134, 8), // "typeHint"
QT_MOC_LITERAL(14, 143, 8), // "setValue"
QT_MOC_LITERAL(15, 152, 11), // "synchronous"
QT_MOC_LITERAL(16, 164, 4), // "path"
QT_MOC_LITERAL(17, 169, 5), // "scope"
QT_MOC_LITERAL(18, 175, 12) // "MDConfGroup*"

    },
    "MDConfGroup\0synchronousChanged\0\0"
    "pathChanged\0scopeChanged\0valueChanged\0"
    "key\0valuesChanged\0sync\0clear\0"
    "propertyChanged\0value\0defaultValue\0"
    "typeHint\0setValue\0synchronous\0path\0"
    "scope\0MDConfGroup*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MDConfGroup[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   74,    2, 0x06 /* Public */,
       3,    0,   75,    2, 0x06 /* Public */,
       4,    0,   76,    2, 0x06 /* Public */,
       5,    1,   77,    2, 0x06 /* Public */,
       7,    0,   80,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,   81,    2, 0x0a /* Public */,
       9,    0,   82,    2, 0x0a /* Public */,
      10,    0,   83,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      11,    3,   84,    2, 0x02 /* Public */,
      11,    2,   91,    2, 0x22 /* Public | MethodCloned */,
      11,    1,   96,    2, 0x22 /* Public | MethodCloned */,
      14,    2,   99,    2, 0x02 /* Public */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    QMetaType::QVariant, QMetaType::QString, QMetaType::QVariant, QMetaType::Int,    6,   12,   13,
    QMetaType::QVariant, QMetaType::QString, QMetaType::QVariant,    6,   12,
    QMetaType::QVariant, QMetaType::QString,    6,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariant,    6,   11,

 // properties: name, type, flags
      15, QMetaType::Bool, 0x00495103,
      16, QMetaType::QString, 0x00495103,
      17, 0x80000000 | 18, 0x0049510b,

 // properties: notify_signal_id
       0,
       1,
       2,

       0        // eod
};

void MDConfGroup::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<MDConfGroup *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->synchronousChanged(); break;
        case 1: _t->pathChanged(); break;
        case 2: _t->scopeChanged(); break;
        case 3: _t->valueChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->valuesChanged(); break;
        case 5: _t->sync(); break;
        case 6: _t->clear(); break;
        case 7: _t->propertyChanged(); break;
        case 8: { QVariant _r = _t->value((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = std::move(_r); }  break;
        case 9: { QVariant _r = _t->value((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = std::move(_r); }  break;
        case 10: { QVariant _r = _t->value((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = std::move(_r); }  break;
        case 11: _t->setValue((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (MDConfGroup::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MDConfGroup::synchronousChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (MDConfGroup::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MDConfGroup::pathChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (MDConfGroup::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MDConfGroup::scopeChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (MDConfGroup::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MDConfGroup::valueChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (MDConfGroup::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MDConfGroup::valuesChanged)) {
                *result = 4;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< MDConfGroup* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<MDConfGroup *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->isSynchronous(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->path(); break;
        case 2: *reinterpret_cast< MDConfGroup**>(_v) = _t->scope(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<MDConfGroup *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setSynchronous(*reinterpret_cast< bool*>(_v)); break;
        case 1: _t->setPath(*reinterpret_cast< QString*>(_v)); break;
        case 2: _t->setScope(*reinterpret_cast< MDConfGroup**>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject MDConfGroup::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_MDConfGroup.data,
    qt_meta_data_MDConfGroup,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

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

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

// SIGNAL 3
void MDConfGroup::valueChanged(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void MDConfGroup::valuesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
