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

#include <memory>
#include "../../../../../../qtquickcontrols2/src/imports/controls/universal/qquickuniversalstyle_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qquickuniversalstyle_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.6. 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_QQuickUniversalStyle_t {
    QByteArrayData data[61];
    char stringdata0[726];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQuickUniversalStyle_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQuickUniversalStyle_t qt_meta_stringdata_QQuickUniversalStyle = {
    {
QT_MOC_LITERAL(0, 0, 20), // "QQuickUniversalStyle"
QT_MOC_LITERAL(1, 21, 12), // "themeChanged"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 13), // "accentChanged"
QT_MOC_LITERAL(4, 49, 17), // "foregroundChanged"
QT_MOC_LITERAL(5, 67, 17), // "backgroundChanged"
QT_MOC_LITERAL(6, 85, 14), // "paletteChanged"
QT_MOC_LITERAL(7, 100, 5), // "color"
QT_MOC_LITERAL(8, 106, 5), // "Color"
QT_MOC_LITERAL(9, 112, 5), // "theme"
QT_MOC_LITERAL(10, 118, 5), // "Theme"
QT_MOC_LITERAL(11, 124, 6), // "accent"
QT_MOC_LITERAL(12, 131, 10), // "foreground"
QT_MOC_LITERAL(13, 142, 10), // "background"
QT_MOC_LITERAL(14, 153, 12), // "altHighColor"
QT_MOC_LITERAL(15, 166, 11), // "altLowColor"
QT_MOC_LITERAL(16, 178, 14), // "altMediumColor"
QT_MOC_LITERAL(17, 193, 18), // "altMediumHighColor"
QT_MOC_LITERAL(18, 212, 17), // "altMediumLowColor"
QT_MOC_LITERAL(19, 230, 13), // "baseHighColor"
QT_MOC_LITERAL(20, 244, 12), // "baseLowColor"
QT_MOC_LITERAL(21, 257, 15), // "baseMediumColor"
QT_MOC_LITERAL(22, 273, 19), // "baseMediumHighColor"
QT_MOC_LITERAL(23, 293, 18), // "baseMediumLowColor"
QT_MOC_LITERAL(24, 312, 17), // "chromeAltLowColor"
QT_MOC_LITERAL(25, 330, 20), // "chromeBlackHighColor"
QT_MOC_LITERAL(26, 351, 19), // "chromeBlackLowColor"
QT_MOC_LITERAL(27, 371, 25), // "chromeBlackMediumLowColor"
QT_MOC_LITERAL(28, 397, 22), // "chromeBlackMediumColor"
QT_MOC_LITERAL(29, 420, 23), // "chromeDisabledHighColor"
QT_MOC_LITERAL(30, 444, 22), // "chromeDisabledLowColor"
QT_MOC_LITERAL(31, 467, 15), // "chromeHighColor"
QT_MOC_LITERAL(32, 483, 14), // "chromeLowColor"
QT_MOC_LITERAL(33, 498, 17), // "chromeMediumColor"
QT_MOC_LITERAL(34, 516, 20), // "chromeMediumLowColor"
QT_MOC_LITERAL(35, 537, 16), // "chromeWhiteColor"
QT_MOC_LITERAL(36, 554, 12), // "listLowColor"
QT_MOC_LITERAL(37, 567, 15), // "listMediumColor"
QT_MOC_LITERAL(38, 583, 5), // "Light"
QT_MOC_LITERAL(39, 589, 4), // "Dark"
QT_MOC_LITERAL(40, 594, 6), // "System"
QT_MOC_LITERAL(41, 601, 4), // "Lime"
QT_MOC_LITERAL(42, 606, 5), // "Green"
QT_MOC_LITERAL(43, 612, 7), // "Emerald"
QT_MOC_LITERAL(44, 620, 4), // "Teal"
QT_MOC_LITERAL(45, 625, 4), // "Cyan"
QT_MOC_LITERAL(46, 630, 6), // "Cobalt"
QT_MOC_LITERAL(47, 637, 6), // "Indigo"
QT_MOC_LITERAL(48, 644, 6), // "Violet"
QT_MOC_LITERAL(49, 651, 4), // "Pink"
QT_MOC_LITERAL(50, 656, 7), // "Magenta"
QT_MOC_LITERAL(51, 664, 7), // "Crimson"
QT_MOC_LITERAL(52, 672, 3), // "Red"
QT_MOC_LITERAL(53, 676, 6), // "Orange"
QT_MOC_LITERAL(54, 683, 5), // "Amber"
QT_MOC_LITERAL(55, 689, 6), // "Yellow"
QT_MOC_LITERAL(56, 696, 5), // "Brown"
QT_MOC_LITERAL(57, 702, 5), // "Olive"
QT_MOC_LITERAL(58, 708, 5), // "Steel"
QT_MOC_LITERAL(59, 714, 5), // "Mauve"
QT_MOC_LITERAL(60, 720, 5) // "Taupe"

    },
    "QQuickUniversalStyle\0themeChanged\0\0"
    "accentChanged\0foregroundChanged\0"
    "backgroundChanged\0paletteChanged\0color\0"
    "Color\0theme\0Theme\0accent\0foreground\0"
    "background\0altHighColor\0altLowColor\0"
    "altMediumColor\0altMediumHighColor\0"
    "altMediumLowColor\0baseHighColor\0"
    "baseLowColor\0baseMediumColor\0"
    "baseMediumHighColor\0baseMediumLowColor\0"
    "chromeAltLowColor\0chromeBlackHighColor\0"
    "chromeBlackLowColor\0chromeBlackMediumLowColor\0"
    "chromeBlackMediumColor\0chromeDisabledHighColor\0"
    "chromeDisabledLowColor\0chromeHighColor\0"
    "chromeLowColor\0chromeMediumColor\0"
    "chromeMediumLowColor\0chromeWhiteColor\0"
    "listLowColor\0listMediumColor\0Light\0"
    "Dark\0System\0Lime\0Green\0Emerald\0Teal\0"
    "Cyan\0Cobalt\0Indigo\0Violet\0Pink\0Magenta\0"
    "Crimson\0Red\0Orange\0Amber\0Yellow\0Brown\0"
    "Olive\0Steel\0Mauve\0Taupe"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQuickUniversalStyle[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       6,   14, // methods
      28,   52, // properties
       2,  164, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   44,    2, 0x06 /* Public */,
       3,    0,   45,    2, 0x06 /* Public */,
       4,    0,   46,    2, 0x06 /* Public */,
       5,    0,   47,    2, 0x06 /* Public */,
       6,    0,   48,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
       7,    1,   49,    2, 0x02 /* Public */,

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

 // methods: parameters
    QMetaType::QColor, 0x80000000 | 8,    7,

 // properties: name, type, flags
       9, 0x80000000 | 10, 0x0049590f,
      11, QMetaType::QVariant, 0x00495907,
      12, QMetaType::QVariant, 0x00495907,
      13, QMetaType::QVariant, 0x00495907,
      14, QMetaType::QColor, 0x00495801,
      15, QMetaType::QColor, 0x00495801,
      16, QMetaType::QColor, 0x00495801,
      17, QMetaType::QColor, 0x00495801,
      18, QMetaType::QColor, 0x00495801,
      19, QMetaType::QColor, 0x00495801,
      20, QMetaType::QColor, 0x00495801,
      21, QMetaType::QColor, 0x00495801,
      22, QMetaType::QColor, 0x00495801,
      23, QMetaType::QColor, 0x00495801,
      24, QMetaType::QColor, 0x00495801,
      25, QMetaType::QColor, 0x00495801,
      26, QMetaType::QColor, 0x00495801,
      27, QMetaType::QColor, 0x00495801,
      28, QMetaType::QColor, 0x00495801,
      29, QMetaType::QColor, 0x00495801,
      30, QMetaType::QColor, 0x00495801,
      31, QMetaType::QColor, 0x00495801,
      32, QMetaType::QColor, 0x00495801,
      33, QMetaType::QColor, 0x00495801,
      34, QMetaType::QColor, 0x00495801,
      35, QMetaType::QColor, 0x00495801,
      36, QMetaType::QColor, 0x00495801,
      37, QMetaType::QColor, 0x00495801,

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

 // enums: name, alias, flags, count, data
      10,   10, 0x0,    3,  174,
       8,    8, 0x0,   20,  180,

 // enum data: key, value
      38, uint(QQuickUniversalStyle::Light),
      39, uint(QQuickUniversalStyle::Dark),
      40, uint(QQuickUniversalStyle::System),
      41, uint(QQuickUniversalStyle::Lime),
      42, uint(QQuickUniversalStyle::Green),
      43, uint(QQuickUniversalStyle::Emerald),
      44, uint(QQuickUniversalStyle::Teal),
      45, uint(QQuickUniversalStyle::Cyan),
      46, uint(QQuickUniversalStyle::Cobalt),
      47, uint(QQuickUniversalStyle::Indigo),
      48, uint(QQuickUniversalStyle::Violet),
      49, uint(QQuickUniversalStyle::Pink),
      50, uint(QQuickUniversalStyle::Magenta),
      51, uint(QQuickUniversalStyle::Crimson),
      52, uint(QQuickUniversalStyle::Red),
      53, uint(QQuickUniversalStyle::Orange),
      54, uint(QQuickUniversalStyle::Amber),
      55, uint(QQuickUniversalStyle::Yellow),
      56, uint(QQuickUniversalStyle::Brown),
      57, uint(QQuickUniversalStyle::Olive),
      58, uint(QQuickUniversalStyle::Steel),
      59, uint(QQuickUniversalStyle::Mauve),
      60, uint(QQuickUniversalStyle::Taupe),

       0        // eod
};

void QQuickUniversalStyle::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QQuickUniversalStyle *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->themeChanged(); break;
        case 1: _t->accentChanged(); break;
        case 2: _t->foregroundChanged(); break;
        case 3: _t->backgroundChanged(); break;
        case 4: _t->paletteChanged(); break;
        case 5: { QColor _r = _t->color((*reinterpret_cast< Color(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QColor*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QQuickUniversalStyle::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickUniversalStyle::themeChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QQuickUniversalStyle::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickUniversalStyle::accentChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QQuickUniversalStyle::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickUniversalStyle::foregroundChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QQuickUniversalStyle::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickUniversalStyle::backgroundChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QQuickUniversalStyle::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickUniversalStyle::paletteChanged)) {
                *result = 4;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QQuickUniversalStyle *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< Theme*>(_v) = _t->theme(); break;
        case 1: *reinterpret_cast< QVariant*>(_v) = _t->accent(); break;
        case 2: *reinterpret_cast< QVariant*>(_v) = _t->foreground(); break;
        case 3: *reinterpret_cast< QVariant*>(_v) = _t->background(); break;
        case 4: *reinterpret_cast< QColor*>(_v) = _t->altHighColor(); break;
        case 5: *reinterpret_cast< QColor*>(_v) = _t->altLowColor(); break;
        case 6: *reinterpret_cast< QColor*>(_v) = _t->altMediumColor(); break;
        case 7: *reinterpret_cast< QColor*>(_v) = _t->altMediumHighColor(); break;
        case 8: *reinterpret_cast< QColor*>(_v) = _t->altMediumLowColor(); break;
        case 9: *reinterpret_cast< QColor*>(_v) = _t->baseHighColor(); break;
        case 10: *reinterpret_cast< QColor*>(_v) = _t->baseLowColor(); break;
        case 11: *reinterpret_cast< QColor*>(_v) = _t->baseMediumColor(); break;
        case 12: *reinterpret_cast< QColor*>(_v) = _t->baseMediumHighColor(); break;
        case 13: *reinterpret_cast< QColor*>(_v) = _t->baseMediumLowColor(); break;
        case 14: *reinterpret_cast< QColor*>(_v) = _t->chromeAltLowColor(); break;
        case 15: *reinterpret_cast< QColor*>(_v) = _t->chromeBlackHighColor(); break;
        case 16: *reinterpret_cast< QColor*>(_v) = _t->chromeBlackLowColor(); break;
        case 17: *reinterpret_cast< QColor*>(_v) = _t->chromeBlackMediumLowColor(); break;
        case 18: *reinterpret_cast< QColor*>(_v) = _t->chromeBlackMediumColor(); break;
        case 19: *reinterpret_cast< QColor*>(_v) = _t->chromeDisabledHighColor(); break;
        case 20: *reinterpret_cast< QColor*>(_v) = _t->chromeDisabledLowColor(); break;
        case 21: *reinterpret_cast< QColor*>(_v) = _t->chromeHighColor(); break;
        case 22: *reinterpret_cast< QColor*>(_v) = _t->chromeLowColor(); break;
        case 23: *reinterpret_cast< QColor*>(_v) = _t->chromeMediumColor(); break;
        case 24: *reinterpret_cast< QColor*>(_v) = _t->chromeMediumLowColor(); break;
        case 25: *reinterpret_cast< QColor*>(_v) = _t->chromeWhiteColor(); break;
        case 26: *reinterpret_cast< QColor*>(_v) = _t->listLowColor(); break;
        case 27: *reinterpret_cast< QColor*>(_v) = _t->listMediumColor(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QQuickUniversalStyle *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setTheme(*reinterpret_cast< Theme*>(_v)); break;
        case 1: _t->setAccent(*reinterpret_cast< QVariant*>(_v)); break;
        case 2: _t->setForeground(*reinterpret_cast< QVariant*>(_v)); break;
        case 3: _t->setBackground(*reinterpret_cast< QVariant*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
        QQuickUniversalStyle *_t = static_cast<QQuickUniversalStyle *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->resetTheme(); break;
        case 1: _t->resetAccent(); break;
        case 2: _t->resetForeground(); break;
        case 3: _t->resetBackground(); break;
        default: break;
        }
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QQuickUniversalStyle::staticMetaObject = { {
    QMetaObject::SuperData::link<QQuickAttachedObject::staticMetaObject>(),
    qt_meta_stringdata_QQuickUniversalStyle.data,
    qt_meta_data_QQuickUniversalStyle,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *QQuickUniversalStyle::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QQuickUniversalStyle.stringdata0))
        return static_cast<void*>(this);
    return QQuickAttachedObject::qt_metacast(_clname);
}

int QQuickUniversalStyle::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuickAttachedObject::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 -= 28;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 28;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 28;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 28;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 28;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 28;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

// SIGNAL 1
void QQuickUniversalStyle::accentChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void QQuickUniversalStyle::foregroundChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void QQuickUniversalStyle::backgroundChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void QQuickUniversalStyle::paletteChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
