/****************************************************************************
** Meta object code from reading C++ file 'platformtheme.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/kirigami2-5.43.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.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_Kirigami__PlatformTheme_t {
    QByteArrayData data[45];
    char stringdata0[581];
};
#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, 17), // "colorGroupChanged"
QT_MOC_LITERAL(9, 140, 35), // "Kirigami::PlatformTheme::Colo..."
QT_MOC_LITERAL(10, 176, 10), // "colorGroup"
QT_MOC_LITERAL(11, 187, 14), // "paletteChanged"
QT_MOC_LITERAL(12, 202, 3), // "pal"
QT_MOC_LITERAL(13, 206, 14), // "inheritChanged"
QT_MOC_LITERAL(14, 221, 7), // "inherit"
QT_MOC_LITERAL(15, 229, 13), // "iconFromTheme"
QT_MOC_LITERAL(16, 243, 4), // "name"
QT_MOC_LITERAL(17, 248, 11), // "customColor"
QT_MOC_LITERAL(18, 260, 8), // "ColorSet"
QT_MOC_LITERAL(19, 269, 10), // "ColorGroup"
QT_MOC_LITERAL(20, 280, 9), // "textColor"
QT_MOC_LITERAL(21, 290, 17), // "disabledTextColor"
QT_MOC_LITERAL(22, 308, 20), // "highlightedTextColor"
QT_MOC_LITERAL(23, 329, 15), // "activeTextColor"
QT_MOC_LITERAL(24, 345, 9), // "linkColor"
QT_MOC_LITERAL(25, 355, 16), // "visitedLinkColor"
QT_MOC_LITERAL(26, 372, 17), // "negativeTextColor"
QT_MOC_LITERAL(27, 390, 16), // "neutralTextColor"
QT_MOC_LITERAL(28, 407, 17), // "positiveTextColor"
QT_MOC_LITERAL(29, 425, 15), // "backgroundColor"
QT_MOC_LITERAL(30, 441, 14), // "highlightColor"
QT_MOC_LITERAL(31, 456, 10), // "focusColor"
QT_MOC_LITERAL(32, 467, 10), // "hoverColor"
QT_MOC_LITERAL(33, 478, 11), // "defaultFont"
QT_MOC_LITERAL(34, 490, 7), // "palette"
QT_MOC_LITERAL(35, 498, 4), // "View"
QT_MOC_LITERAL(36, 503, 6), // "Window"
QT_MOC_LITERAL(37, 510, 6), // "Button"
QT_MOC_LITERAL(38, 517, 9), // "Selection"
QT_MOC_LITERAL(39, 527, 7), // "Tooltip"
QT_MOC_LITERAL(40, 535, 13), // "Complementary"
QT_MOC_LITERAL(41, 549, 8), // "Disabled"
QT_MOC_LITERAL(42, 558, 6), // "Active"
QT_MOC_LITERAL(43, 565, 8), // "Inactive"
QT_MOC_LITERAL(44, 574, 6) // "Normal"

    },
    "Kirigami::PlatformTheme\0colorsChanged\0"
    "\0defaultFontChanged\0font\0colorSetChanged\0"
    "Kirigami::PlatformTheme::ColorSet\0"
    "colorSet\0colorGroupChanged\0"
    "Kirigami::PlatformTheme::ColorGroup\0"
    "colorGroup\0paletteChanged\0pal\0"
    "inheritChanged\0inherit\0iconFromTheme\0"
    "name\0customColor\0ColorSet\0ColorGroup\0"
    "textColor\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\0Disabled\0Active\0"
    "Inactive\0Normal"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kirigami__PlatformTheme[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       8,   14, // methods
      18,   78, // properties
       2,  150, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   54,    2, 0x06 /* Public */,
       3,    1,   55,    2, 0x06 /* Public */,
       5,    1,   58,    2, 0x06 /* Public */,
       8,    1,   61,    2, 0x06 /* Public */,
      11,    1,   64,    2, 0x06 /* Public */,
      13,    1,   67,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
      15,    2,   70,    2, 0x02 /* Public */,
      15,    1,   75,    2, 0x22 /* Public | MethodCloned */,

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

 // methods: parameters
    QMetaType::QIcon, QMetaType::QString, QMetaType::QColor,   16,   17,
    QMetaType::QIcon, QMetaType::QString,   16,

 // properties: name, type, flags
       7, 0x80000000 | 18, 0x0049510b,
      10, 0x80000000 | 19, 0x0049510b,
      14, QMetaType::Bool, 0x00495103,
      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::QColor, 0x00495001,
      30, QMetaType::QColor, 0x00495001,
      31, QMetaType::QColor, 0x00495001,
      32, QMetaType::QColor, 0x00495001,
      33, QMetaType::QFont, 0x00495001,
      34, QMetaType::QPalette, 0x00495001,

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

 // enums: name, flags, count, data
      18, 0x0,    6,  158,
      19, 0x0,    4,  170,

 // enum data: key, value
      35, uint(Kirigami::PlatformTheme::View),
      36, uint(Kirigami::PlatformTheme::Window),
      37, uint(Kirigami::PlatformTheme::Button),
      38, uint(Kirigami::PlatformTheme::Selection),
      39, uint(Kirigami::PlatformTheme::Tooltip),
      40, uint(Kirigami::PlatformTheme::Complementary),
      41, uint(Kirigami::PlatformTheme::Disabled),
      42, uint(Kirigami::PlatformTheme::Active),
      43, uint(Kirigami::PlatformTheme::Inactive),
      44, uint(Kirigami::PlatformTheme::Normal),

       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->colorGroupChanged((*reinterpret_cast< Kirigami::PlatformTheme::ColorGroup(*)>(_a[1]))); break;
        case 4: _t->paletteChanged((*reinterpret_cast< const QPalette(*)>(_a[1]))); break;
        case 5: _t->inheritChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: { 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 7: { 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]);
        {
            typedef void (PlatformTheme::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlatformTheme::colorsChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (PlatformTheme::*_t)(const QFont & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlatformTheme::defaultFontChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (PlatformTheme::*_t)(Kirigami::PlatformTheme::ColorSet );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlatformTheme::colorSetChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (PlatformTheme::*_t)(Kirigami::PlatformTheme::ColorGroup );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlatformTheme::colorGroupChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (PlatformTheme::*_t)(const QPalette & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlatformTheme::paletteChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (PlatformTheme::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlatformTheme::inheritChanged)) {
                *result = 5;
                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< ColorGroup*>(_v) = _t->colorGroup(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->inherit(); break;
        case 3: *reinterpret_cast< QColor*>(_v) = _t->textColor(); break;
        case 4: *reinterpret_cast< QColor*>(_v) = _t->disabledTextColor(); break;
        case 5: *reinterpret_cast< QColor*>(_v) = _t->highlightedTextColor(); break;
        case 6: *reinterpret_cast< QColor*>(_v) = _t->activeTextColor(); break;
        case 7: *reinterpret_cast< QColor*>(_v) = _t->linkColor(); break;
        case 8: *reinterpret_cast< QColor*>(_v) = _t->visitedLinkColor(); break;
        case 9: *reinterpret_cast< QColor*>(_v) = _t->negativeTextColor(); break;
        case 10: *reinterpret_cast< QColor*>(_v) = _t->neutralTextColor(); break;
        case 11: *reinterpret_cast< QColor*>(_v) = _t->positiveTextColor(); break;
        case 12: *reinterpret_cast< QColor*>(_v) = _t->backgroundColor(); break;
        case 13: *reinterpret_cast< QColor*>(_v) = _t->highlightColor(); break;
        case 14: *reinterpret_cast< QColor*>(_v) = _t->focusColor(); break;
        case 15: *reinterpret_cast< QColor*>(_v) = _t->hoverColor(); break;
        case 16: *reinterpret_cast< QFont*>(_v) = _t->defaultFont(); break;
        case 17: *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->setColorGroup(*reinterpret_cast< ColorGroup*>(_v)); break;
        case 2: _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 < 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 -= 18;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 18;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 18;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 18;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 18;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 18;
    }
#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::colorGroupChanged(Kirigami::PlatformTheme::ColorGroup _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

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

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