/****************************************************************************
** Meta object code from reading C++ file 'theme.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/plasma/theme.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'theme.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_Plasma__Theme_t {
    QByteArrayData data[21];
    char stringdata0[274];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Plasma__Theme_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Plasma__Theme_t qt_meta_stringdata_Plasma__Theme = {
    {
QT_MOC_LITERAL(0, 0, 13), // "Plasma::Theme"
QT_MOC_LITERAL(1, 14, 12), // "themeChanged"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 18), // "defaultFontChanged"
QT_MOC_LITERAL(4, 47, 19), // "smallestFontChanged"
QT_MOC_LITERAL(5, 67, 20), // "wallpaperPathForSize"
QT_MOC_LITERAL(6, 88, 5), // "width"
QT_MOC_LITERAL(7, 94, 6), // "height"
QT_MOC_LITERAL(8, 101, 5), // "mSize"
QT_MOC_LITERAL(9, 107, 4), // "font"
QT_MOC_LITERAL(10, 112, 9), // "themeName"
QT_MOC_LITERAL(11, 122, 17), // "useGlobalSettings"
QT_MOC_LITERAL(12, 140, 13), // "wallpaperPath"
QT_MOC_LITERAL(13, 154, 11), // "defaultFont"
QT_MOC_LITERAL(14, 166, 12), // "smallestFont"
QT_MOC_LITERAL(15, 179, 10), // "styleSheet"
QT_MOC_LITERAL(16, 190, 10), // "ColorGroup"
QT_MOC_LITERAL(17, 201, 16), // "NormalColorGroup"
QT_MOC_LITERAL(18, 218, 16), // "ButtonColorGroup"
QT_MOC_LITERAL(19, 235, 14), // "ViewColorGroup"
QT_MOC_LITERAL(20, 250, 23) // "ComplementaryColorGroup"

    },
    "Plasma::Theme\0themeChanged\0\0"
    "defaultFontChanged\0smallestFontChanged\0"
    "wallpaperPathForSize\0width\0height\0"
    "mSize\0font\0themeName\0useGlobalSettings\0"
    "wallpaperPath\0defaultFont\0smallestFont\0"
    "styleSheet\0ColorGroup\0NormalColorGroup\0"
    "ButtonColorGroup\0ViewColorGroup\0"
    "ComplementaryColorGroup"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Plasma__Theme[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       8,   14, // methods
       6,   70, // properties
       1,   94, // enums/sets
       0,    0, // constructors
       0,       // flags
       3,       // 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 */,

 // methods: name, argc, parameters, tag, flags
       5,    2,   57,    2, 0x02 /* Public */,
       5,    1,   62,    2, 0x22 /* Public | MethodCloned */,
       5,    0,   65,    2, 0x22 /* Public | MethodCloned */,
       8,    1,   66,    2, 0x02 /* Public */,
       8,    0,   69,    2, 0x22 /* Public | MethodCloned */,

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

 // methods: parameters
    QMetaType::QString, QMetaType::Int, QMetaType::Int,    6,    7,
    QMetaType::QString, QMetaType::Int,    6,
    QMetaType::QString,
    QMetaType::QSizeF, QMetaType::QFont,    9,
    QMetaType::QSizeF,

 // properties: name, type, flags
      10, QMetaType::QString, 0x00495001,
      11, QMetaType::Bool, 0x00495001,
      12, QMetaType::QString, 0x00495001,
      13, QMetaType::QFont, 0x00495001,
      14, QMetaType::QFont, 0x00495001,
      15, QMetaType::QString, 0x00495001,

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

 // enums: name, flags, count, data
      16, 0x0,    4,   98,

 // enum data: key, value
      17, uint(Plasma::Theme::NormalColorGroup),
      18, uint(Plasma::Theme::ButtonColorGroup),
      19, uint(Plasma::Theme::ViewColorGroup),
      20, uint(Plasma::Theme::ComplementaryColorGroup),

       0        // eod
};

void Plasma::Theme::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Theme *_t = static_cast<Theme *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->themeChanged(); break;
        case 1: _t->defaultFontChanged(); break;
        case 2: _t->smallestFontChanged(); break;
        case 3: { QString _r = _t->wallpaperPathForSize((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 4: { QString _r = _t->wallpaperPathForSize((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 5: { QString _r = _t->wallpaperPathForSize();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 6: { QSizeF _r = _t->mSize((*reinterpret_cast< const QFont(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QSizeF*>(_a[0]) = std::move(_r); }  break;
        case 7: { QSizeF _r = _t->mSize();
            if (_a[0]) *reinterpret_cast< QSizeF*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (Theme::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Theme::themeChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Theme::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Theme::defaultFontChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Theme::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Theme::smallestFontChanged)) {
                *result = 2;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        Theme *_t = static_cast<Theme *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->themeName(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->useGlobalSettings(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->wallpaperPath(); break;
        case 3: *reinterpret_cast< QFont*>(_v) = _t->defaultFont(); break;
        case 4: *reinterpret_cast< QFont*>(_v) = _t->smallestFont(); break;
        case 5: *reinterpret_cast< QString*>(_v) = _t->styleSheet(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Plasma::Theme::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Plasma__Theme.data,
      qt_meta_data_Plasma__Theme,  qt_static_metacall, nullptr, nullptr}
};


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

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

int Plasma::Theme::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 -= 6;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 6;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Plasma::Theme::themeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void Plasma::Theme::defaultFontChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void Plasma::Theme::smallestFontChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
