/****************************************************************************
** Meta object code from reading C++ file 'configmodel.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/plasmaquick/configmodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'configmodel.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_PlasmaQuick__ConfigModel_t {
    QByteArrayData data[20];
    char stringdata0[255];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PlasmaQuick__ConfigModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PlasmaQuick__ConfigModel_t qt_meta_stringdata_PlasmaQuick__ConfigModel = {
    {
QT_MOC_LITERAL(0, 0, 24), // "PlasmaQuick::ConfigModel"
QT_MOC_LITERAL(1, 25, 15), // "DefaultProperty"
QT_MOC_LITERAL(2, 41, 10), // "categories"
QT_MOC_LITERAL(3, 52, 12), // "countChanged"
QT_MOC_LITERAL(4, 65, 0), // ""
QT_MOC_LITERAL(5, 66, 14), // "appendCategory"
QT_MOC_LITERAL(6, 81, 8), // "iconName"
QT_MOC_LITERAL(7, 90, 4), // "name"
QT_MOC_LITERAL(8, 95, 4), // "path"
QT_MOC_LITERAL(9, 100, 10), // "pluginName"
QT_MOC_LITERAL(10, 111, 7), // "visible"
QT_MOC_LITERAL(11, 119, 28), // "PlasmaQuick::ConfigCategory*"
QT_MOC_LITERAL(12, 148, 8), // "category"
QT_MOC_LITERAL(13, 157, 14), // "removeCategory"
QT_MOC_LITERAL(14, 172, 16), // "removeCategoryAt"
QT_MOC_LITERAL(15, 189, 5), // "index"
QT_MOC_LITERAL(16, 195, 3), // "get"
QT_MOC_LITERAL(17, 199, 3), // "row"
QT_MOC_LITERAL(18, 203, 45), // "QQmlListProperty<PlasmaQuick:..."
QT_MOC_LITERAL(19, 249, 5) // "count"

    },
    "PlasmaQuick::ConfigModel\0DefaultProperty\0"
    "categories\0countChanged\0\0appendCategory\0"
    "iconName\0name\0path\0pluginName\0visible\0"
    "PlasmaQuick::ConfigCategory*\0category\0"
    "removeCategory\0removeCategoryAt\0index\0"
    "get\0row\0QQmlListProperty<PlasmaQuick::ConfigCategory>\0"
    "count"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PlasmaQuick__ConfigModel[] = {

 // content:
       7,       // revision
       0,       // classname
       1,   14, // classinfo
       6,   16, // methods
       2,   70, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    0,   46,    4, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
       5,    5,   47,    4, 0x02 /* Public */,
       5,    1,   58,    4, 0x02 /* Public */,
      13,    1,   61,    4, 0x02 /* Public */,
      14,    1,   64,    4, 0x02 /* Public */,
      16,    1,   67,    4, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,

 // methods: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::Bool,    6,    7,    8,    9,   10,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, QMetaType::Int,   15,
    QMetaType::QVariant, QMetaType::Int,   17,

 // properties: name, type, flags
       2, 0x80000000 | 18, 0x00095409,
      19, QMetaType::Int, 0x00495001,

 // properties: notify_signal_id
       0,
       0,

       0        // eod
};

void PlasmaQuick::ConfigModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ConfigModel *_t = static_cast<ConfigModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->countChanged(); break;
        case 1: _t->appendCategory((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4])),(*reinterpret_cast< bool(*)>(_a[5]))); break;
        case 2: _t->appendCategory((*reinterpret_cast< PlasmaQuick::ConfigCategory*(*)>(_a[1]))); break;
        case 3: _t->removeCategory((*reinterpret_cast< PlasmaQuick::ConfigCategory*(*)>(_a[1]))); break;
        case 4: _t->removeCategoryAt((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: { QVariant _r = _t->get((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (ConfigModel::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConfigModel::countChanged)) {
                *result = 0;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        ConfigModel *_t = static_cast<ConfigModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QQmlListProperty<PlasmaQuick::ConfigCategory>*>(_v) = _t->categories(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->count(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject PlasmaQuick::ConfigModel::staticMetaObject = {
    { &QAbstractListModel::staticMetaObject, qt_meta_stringdata_PlasmaQuick__ConfigModel.data,
      qt_meta_data_PlasmaQuick__ConfigModel,  qt_static_metacall, nullptr, nullptr}
};


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

void *PlasmaQuick::ConfigModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_PlasmaQuick__ConfigModel.stringdata0))
        return static_cast<void*>(this);
    return QAbstractListModel::qt_metacast(_clname);
}

int PlasmaQuick::ConfigModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractListModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 6)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 6;
    }
#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 PlasmaQuick::ConfigModel::countChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
