/****************************************************************************
** Meta object code from reading C++ file 'kcm.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-desktop-5.8.9/kcms/desktoptheme/kcm.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kcm.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_KCMDesktopTheme_t {
    QByteArrayData data[26];
    char stringdata0[301];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KCMDesktopTheme_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KCMDesktopTheme_t qt_meta_stringdata_KCMDesktopTheme = {
    {
QT_MOC_LITERAL(0, 0, 15), // "KCMDesktopTheme"
QT_MOC_LITERAL(1, 16, 21), // "selectedPluginChanged"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 6), // "plugin"
QT_MOC_LITERAL(4, 46, 15), // "showInfoMessage"
QT_MOC_LITERAL(5, 62, 11), // "infoMessage"
QT_MOC_LITERAL(6, 74, 4), // "load"
QT_MOC_LITERAL(7, 79, 4), // "save"
QT_MOC_LITERAL(8, 84, 8), // "defaults"
QT_MOC_LITERAL(9, 93, 12), // "getNewThemes"
QT_MOC_LITERAL(10, 106, 20), // "installThemeFromFile"
QT_MOC_LITERAL(11, 127, 4), // "file"
QT_MOC_LITERAL(12, 132, 11), // "removeTheme"
QT_MOC_LITERAL(13, 144, 4), // "name"
QT_MOC_LITERAL(14, 149, 16), // "applyPlasmaTheme"
QT_MOC_LITERAL(15, 166, 11), // "QQuickItem*"
QT_MOC_LITERAL(16, 178, 4), // "item"
QT_MOC_LITERAL(17, 183, 9), // "themeName"
QT_MOC_LITERAL(18, 193, 7), // "indexOf"
QT_MOC_LITERAL(19, 201, 17), // "desktopThemeModel"
QT_MOC_LITERAL(20, 219, 19), // "QStandardItemModel*"
QT_MOC_LITERAL(21, 239, 14), // "selectedPlugin"
QT_MOC_LITERAL(22, 254, 5), // "Roles"
QT_MOC_LITERAL(23, 260, 14), // "PluginNameRole"
QT_MOC_LITERAL(24, 275, 13), // "ThemeNameRole"
QT_MOC_LITERAL(25, 289, 11) // "IsLocalRole"

    },
    "KCMDesktopTheme\0selectedPluginChanged\0"
    "\0plugin\0showInfoMessage\0infoMessage\0"
    "load\0save\0defaults\0getNewThemes\0"
    "installThemeFromFile\0file\0removeTheme\0"
    "name\0applyPlasmaTheme\0QQuickItem*\0"
    "item\0themeName\0indexOf\0desktopThemeModel\0"
    "QStandardItemModel*\0selectedPlugin\0"
    "Roles\0PluginNameRole\0ThemeNameRole\0"
    "IsLocalRole"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KCMDesktopTheme[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      10,   14, // methods
       2,   88, // properties
       1,   96, // enums/sets
       0,    0, // constructors
       0,       // flags
       2,       // signalCount

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

 // slots: name, argc, parameters, tag, flags
       6,    0,   70,    2, 0x0a /* Public */,
       7,    0,   71,    2, 0x0a /* Public */,
       8,    0,   72,    2, 0x0a /* Public */,

 // methods: name, argc, parameters, tag, flags
       9,    0,   73,    2, 0x02 /* Public */,
      10,    1,   74,    2, 0x02 /* Public */,
      12,    1,   77,    2, 0x02 /* Public */,
      14,    2,   80,    2, 0x02 /* Public */,
      18,    1,   85,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    5,

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

 // methods: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl,   11,
    QMetaType::Void, QMetaType::QString,   13,
    QMetaType::Void, 0x80000000 | 15, QMetaType::QString,   16,   17,
    QMetaType::Int, QMetaType::QString,   17,

 // properties: name, type, flags
      19, 0x80000000 | 20, 0x00095409,
      21, QMetaType::QString, 0x00495103,

 // properties: notify_signal_id
       0,
       0,

 // enums: name, flags, count, data
      22, 0x0,    3,  100,

 // enum data: key, value
      23, uint(KCMDesktopTheme::PluginNameRole),
      24, uint(KCMDesktopTheme::ThemeNameRole),
      25, uint(KCMDesktopTheme::IsLocalRole),

       0        // eod
};

void KCMDesktopTheme::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KCMDesktopTheme *_t = static_cast<KCMDesktopTheme *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->selectedPluginChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->showInfoMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->load(); break;
        case 3: _t->save(); break;
        case 4: _t->defaults(); break;
        case 5: _t->getNewThemes(); break;
        case 6: _t->installThemeFromFile((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 7: _t->removeTheme((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->applyPlasmaTheme((*reinterpret_cast< QQuickItem*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 9: { int _r = _t->indexOf((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (KCMDesktopTheme::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KCMDesktopTheme::selectedPluginChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KCMDesktopTheme::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KCMDesktopTheme::showInfoMessage)) {
                *result = 1;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        KCMDesktopTheme *_t = static_cast<KCMDesktopTheme *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QStandardItemModel**>(_v) = _t->desktopThemeModel(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->selectedPlugin(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        KCMDesktopTheme *_t = static_cast<KCMDesktopTheme *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setSelectedPlugin(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KCMDesktopTheme::staticMetaObject = {
    { &KQuickAddons::ConfigModule::staticMetaObject, qt_meta_stringdata_KCMDesktopTheme.data,
      qt_meta_data_KCMDesktopTheme,  qt_static_metacall, nullptr, nullptr}
};


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

void *KCMDesktopTheme::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KCMDesktopTheme.stringdata0))
        return static_cast<void*>(this);
    return KQuickAddons::ConfigModule::qt_metacast(_clname);
}

int KCMDesktopTheme::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KQuickAddons::ConfigModule::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)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _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 -= 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 KCMDesktopTheme::selectedPluginChanged(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KCMDesktopTheme::showInfoMessage(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
