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

#include "../../../src/kirigami2-5.39.0/src/libkirigami/platformtheme.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'platformtheme.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.2. 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_Kirigami__PlatformTheme_t {
    QByteArrayData data[37];
    char stringdata0[473];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kirigami__PlatformTheme_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kirigami__PlatformTheme_t qt_meta_stringdata_Kirigami__PlatformTheme = {
    {
QT_MOC_LITERAL(0, 0, 23), // "Kirigami::PlatformTheme"
QT_MOC_LITERAL(1, 24, 13), // "colorsChanged"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 18), // "defaultFontChanged"
QT_MOC_LITERAL(4, 58, 4), // "font"
QT_MOC_LITERAL(5, 63, 15), // "colorSetChanged"
QT_MOC_LITERAL(6, 79, 33), // "Kirigami::PlatformTheme::Colo..."
QT_MOC_LITERAL(7, 113, 8), // "colorSet"
QT_MOC_LITERAL(8, 122, 14), // "paletteChanged"
QT_MOC_LITERAL(9, 137, 3), // "pal"
QT_MOC_LITERAL(10, 141, 14), // "inheritChanged"
QT_MOC_LITERAL(11, 156, 7), // "inherit"
QT_MOC_LITERAL(12, 164, 13), // "iconFromTheme"
QT_MOC_LITERAL(13, 178, 4), // "name"
QT_MOC_LITERAL(14, 183, 11), // "customColor"
QT_MOC_LITERAL(15, 195, 8), // "ColorSet"
QT_MOC_LITERAL(16, 204, 9), // "textColor"
QT_MOC_LITERAL(17, 214, 17), // "disabledTextColor"
QT_MOC_LITERAL(18, 232, 20), // "highlightedTextColor"
QT_MOC_LITERAL(19, 253, 15), // "activeTextColor"
QT_MOC_LITERAL(20, 269, 9), // "linkColor"
QT_MOC_LITERAL(21, 279, 16), // "visitedLinkColor"
QT_MOC_LITERAL(22, 296, 17), // "negativeTextColor"
QT_MOC_LITERAL(23, 314, 16), // "neutralTextColor"
QT_MOC_LITERAL(24, 331, 17), // "positiveTextColor"
QT_MOC_LITERAL(25, 349, 15), // "backgroundColor"
QT_MOC_LITERAL(26, 365, 14), // "highlightColor"
QT_MOC_LITERAL(27, 380, 10), // "focusColor"
QT_MOC_LITERAL(28, 391, 10), // "hoverColor"
QT_MOC_LITERAL(29, 402, 11), // "defaultFont"
QT_MOC_LITERAL(30, 414, 7), // "palette"
QT_MOC_LITERAL(31, 422, 4), // "View"
QT_MOC_LITERAL(32, 427, 6), // "Window"
QT_MOC_LITERAL(33, 434, 6), // "Button"
QT_MOC_LITERAL(34, 441, 9), // "Selection"
QT_MOC_LITERAL(35, 451, 7), // "Tooltip"
QT_MOC_LITERAL(36, 459, 13) // "Complementary"

    },
    "Kirigami::PlatformTheme\0colorsChanged\0"
    "\0defaultFontChanged\0font\0colorSetChanged\0"
    "Kirigami::PlatformTheme::ColorSet\0"
    "colorSet\0paletteChanged\0pal\0inheritChanged\0"
    "inherit\0iconFromTheme\0name\0customColor\0"
    "ColorSet\0textColor\0disabledTextColor\0"
    "highlightedTextColor\0activeTextColor\0"
    "linkColor\0visitedLinkColor\0negativeTextColor\0"
    "neutralTextColor\0positiveTextColor\0"
    "backgroundColor\0highlightColor\0"
    "focusColor\0hoverColor\0defaultFont\0"
    "palette\0View\0Window\0Button\0Selection\0"
    "Tooltip\0Complementary"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kirigami__PlatformTheme[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       7,   14, // methods
      17,   70, // properties
       1,  138, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   49,    2, 0x06 /* Public */,
       3,    1,   50,    2, 0x06 /* Public */,
       5,    1,   53,    2, 0x06 /* Public */,
       8,    1,   56,    2, 0x06 /* Public */,
      10,    1,   59,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
      12,    2,   62,    2, 0x02 /* Public */,
      12,    1,   67,    2, 0x22 /* Public | MethodCloned */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QFont,    4,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, QMetaType::QPalette,    9,
    QMetaType::Void, QMetaType::Bool,   11,

 // methods: parameters
    QMetaType::QIcon, QMetaType::QString, QMetaType::QColor,   13,   14,
    QMetaType::QIcon, QMetaType::QString,   13,

 // properties: name, type, flags
       7, 0x80000000 | 15, 0x0049510b,
      11, QMetaType::Bool, 0x00495103,
      16, QMetaType::QColor, 0x00495001,
      17, QMetaType::QColor, 0x00495001,
      18, QMetaType::QColor, 0x00495001,
      19, QMetaType::QColor, 0x00495001,
      20, QMetaType::QColor, 0x00495001,
      21, QMetaType::QColor, 0x00495001,
      22, QMetaType::QColor, 0x00495001,
      23, QMetaType::QColor, 0x00495001,
      24, QMetaType::QColor, 0x00495001,
      25, QMetaType::QColor, 0x00495001,
      26, QMetaType::QColor, 0x00495001,
      27, QMetaType::QColor, 0x00495001,
      28, QMetaType::QColor, 0x00495001,
      29, QMetaType::QFont, 0x00495001,
      30, QMetaType::QPalette, 0x00495001,

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

 // enums: name, flags, count, data
      15, 0x0,    6,  142,

 // enum data: key, value
      31, uint(Kirigami::PlatformTheme::View),
      32, uint(Kirigami::PlatformTheme::Window),
      33, uint(Kirigami::PlatformTheme::Button),
      34, uint(Kirigami::PlatformTheme::Selection),
      35, uint(Kirigami::PlatformTheme::Tooltip),
      36, uint(Kirigami::PlatformTheme::Complementary),

       0        // eod
};

void Kirigami::PlatformTheme::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PlatformTheme *_t = static_cast<PlatformTheme *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->colorsChanged(); break;
        case 1: _t->defaultFontChanged((*reinterpret_cast< const QFont(*)>(_a[1]))); break;
        case 2: _t->colorSetChanged((*reinterpret_cast< Kirigami::PlatformTheme::ColorSet(*)>(_a[1]))); break;
        case 3: _t->paletteChanged((*reinterpret_cast< const QPalette(*)>(_a[1]))); break;
        case 4: _t->inheritChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: { QIcon _r = _t->iconFromTheme((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QColor(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QIcon*>(_a[0]) = std::move(_r); }  break;
        case 6: { QIcon _r = _t->iconFromTheme((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QIcon*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (PlatformTheme::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlatformTheme::colorsChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (PlatformTheme::*_t)(const QFont & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlatformTheme::defaultFontChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (PlatformTheme::*_t)(Kirigami::PlatformTheme::ColorSet );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlatformTheme::colorSetChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (PlatformTheme::*_t)(const QPalette & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlatformTheme::paletteChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (PlatformTheme::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlatformTheme::inheritChanged)) {
                *result = 4;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        PlatformTheme *_t = static_cast<PlatformTheme *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< ColorSet*>(_v) = _t->colorSet(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->inherit(); break;
        case 2: *reinterpret_cast< QColor*>(_v) = _t->textColor(); break;
        case 3: *reinterpret_cast< QColor*>(_v) = _t->disabledTextColor(); break;
        case 4: *reinterpret_cast< QColor*>(_v) = _t->highlightedTextColor(); break;
        case 5: *reinterpret_cast< QColor*>(_v) = _t->activeTextColor(); break;
        case 6: *reinterpret_cast< QColor*>(_v) = _t->linkColor(); break;
        case 7: *reinterpret_cast< QColor*>(_v) = _t->visitedLinkColor(); break;
        case 8: *reinterpret_cast< QColor*>(_v) = _t->negativeTextColor(); break;
        case 9: *reinterpret_cast< QColor*>(_v) = _t->neutralTextColor(); break;
        case 10: *reinterpret_cast< QColor*>(_v) = _t->positiveTextColor(); break;
        case 11: *reinterpret_cast< QColor*>(_v) = _t->backgroundColor(); break;
        case 12: *reinterpret_cast< QColor*>(_v) = _t->highlightColor(); break;
        case 13: *reinterpret_cast< QColor*>(_v) = _t->focusColor(); break;
        case 14: *reinterpret_cast< QColor*>(_v) = _t->hoverColor(); break;
        case 15: *reinterpret_cast< QFont*>(_v) = _t->defaultFont(); break;
        case 16: *reinterpret_cast< QPalette*>(_v) = _t->palette(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        PlatformTheme *_t = static_cast<PlatformTheme *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setColorSet(*reinterpret_cast< ColorSet*>(_v)); break;
        case 1: _t->setInherit(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Kirigami::PlatformTheme::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Kirigami__PlatformTheme.data,
      qt_meta_data_Kirigami__PlatformTheme,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void Kirigami::PlatformTheme::colorsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void Kirigami::PlatformTheme::defaultFontChanged(const QFont & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Kirigami::PlatformTheme::colorSetChanged(Kirigami::PlatformTheme::ColorSet _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Kirigami::PlatformTheme::paletteChanged(const QPalette & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Kirigami::PlatformTheme::inheritChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
