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

#include "../../../../src/kwin-5.4.3/clients/aurorae/src/colorhelper.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'colorhelper.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.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
struct qt_meta_stringdata_ColorHelper_t {
    QByteArrayData data[35];
    char stringdata0[421];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ColorHelper_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ColorHelper_t qt_meta_stringdata_ColorHelper = {
    {
QT_MOC_LITERAL(0, 0, 11), // "ColorHelper"
QT_MOC_LITERAL(1, 12, 5), // "shade"
QT_MOC_LITERAL(2, 18, 0), // ""
QT_MOC_LITERAL(3, 19, 5), // "color"
QT_MOC_LITERAL(4, 25, 9), // "ShadeRole"
QT_MOC_LITERAL(5, 35, 4), // "role"
QT_MOC_LITERAL(6, 40, 8), // "contrast"
QT_MOC_LITERAL(7, 49, 13), // "multiplyAlpha"
QT_MOC_LITERAL(8, 63, 5), // "alpha"
QT_MOC_LITERAL(9, 69, 10), // "background"
QT_MOC_LITERAL(10, 80, 6), // "active"
QT_MOC_LITERAL(11, 87, 14), // "BackgroundRole"
QT_MOC_LITERAL(12, 102, 10), // "foreground"
QT_MOC_LITERAL(13, 113, 14), // "ForegroundRole"
QT_MOC_LITERAL(14, 128, 10), // "LightShade"
QT_MOC_LITERAL(15, 139, 13), // "MidlightShade"
QT_MOC_LITERAL(16, 153, 8), // "MidShade"
QT_MOC_LITERAL(17, 162, 9), // "DarkShade"
QT_MOC_LITERAL(18, 172, 11), // "ShadowShade"
QT_MOC_LITERAL(19, 184, 16), // "NormalBackground"
QT_MOC_LITERAL(20, 201, 19), // "AlternateBackground"
QT_MOC_LITERAL(21, 221, 16), // "ActiveBackground"
QT_MOC_LITERAL(22, 238, 14), // "LinkBackground"
QT_MOC_LITERAL(23, 253, 17), // "VisitedBackground"
QT_MOC_LITERAL(24, 271, 18), // "NegativeBackground"
QT_MOC_LITERAL(25, 290, 17), // "NeutralBackground"
QT_MOC_LITERAL(26, 308, 18), // "PositiveBackground"
QT_MOC_LITERAL(27, 327, 10), // "NormalText"
QT_MOC_LITERAL(28, 338, 12), // "InactiveText"
QT_MOC_LITERAL(29, 351, 10), // "ActiveText"
QT_MOC_LITERAL(30, 362, 8), // "LinkText"
QT_MOC_LITERAL(31, 371, 11), // "VisitedText"
QT_MOC_LITERAL(32, 383, 12), // "NegativeText"
QT_MOC_LITERAL(33, 396, 11), // "NeutralText"
QT_MOC_LITERAL(34, 408, 12) // "PositiveText"

    },
    "ColorHelper\0shade\0\0color\0ShadeRole\0"
    "role\0contrast\0multiplyAlpha\0alpha\0"
    "background\0active\0BackgroundRole\0"
    "foreground\0ForegroundRole\0LightShade\0"
    "MidlightShade\0MidShade\0DarkShade\0"
    "ShadowShade\0NormalBackground\0"
    "AlternateBackground\0ActiveBackground\0"
    "LinkBackground\0VisitedBackground\0"
    "NegativeBackground\0NeutralBackground\0"
    "PositiveBackground\0NormalText\0"
    "InactiveText\0ActiveText\0LinkText\0"
    "VisitedText\0NegativeText\0NeutralText\0"
    "PositiveText"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ColorHelper[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       7,   14, // methods
       1,   82, // properties
       3,   85, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // methods: name, argc, parameters, tag, flags
       1,    2,   49,    2, 0x02 /* Public */,
       1,    3,   54,    2, 0x02 /* Public */,
       7,    2,   61,    2, 0x02 /* Public */,
       9,    2,   66,    2, 0x02 /* Public */,
       9,    1,   71,    2, 0x22 /* Public | MethodCloned */,
      12,    2,   74,    2, 0x02 /* Public */,
      12,    1,   79,    2, 0x22 /* Public | MethodCloned */,

 // methods: parameters
    QMetaType::QColor, QMetaType::QColor, 0x80000000 | 4,    3,    5,
    QMetaType::QColor, QMetaType::QColor, 0x80000000 | 4, QMetaType::QReal,    3,    5,    6,
    QMetaType::QColor, QMetaType::QColor, QMetaType::QReal,    3,    8,
    QMetaType::QColor, QMetaType::Bool, 0x80000000 | 11,   10,    5,
    QMetaType::QColor, QMetaType::Bool,   10,
    QMetaType::QColor, QMetaType::Bool, 0x80000000 | 13,   10,    5,
    QMetaType::QColor, QMetaType::Bool,   10,

 // properties: name, type, flags
       6, QMetaType::QReal, 0x00095401,

 // enums: name, flags, count, data
       4, 0x0,    5,   97,
      11, 0x0,    8,  107,
      13, 0x0,    8,  123,

 // enum data: key, value
      14, uint(ColorHelper::LightShade),
      15, uint(ColorHelper::MidlightShade),
      16, uint(ColorHelper::MidShade),
      17, uint(ColorHelper::DarkShade),
      18, uint(ColorHelper::ShadowShade),
      19, uint(ColorHelper::NormalBackground),
      20, uint(ColorHelper::AlternateBackground),
      21, uint(ColorHelper::ActiveBackground),
      22, uint(ColorHelper::LinkBackground),
      23, uint(ColorHelper::VisitedBackground),
      24, uint(ColorHelper::NegativeBackground),
      25, uint(ColorHelper::NeutralBackground),
      26, uint(ColorHelper::PositiveBackground),
      27, uint(ColorHelper::NormalText),
      28, uint(ColorHelper::InactiveText),
      29, uint(ColorHelper::ActiveText),
      30, uint(ColorHelper::LinkText),
      31, uint(ColorHelper::VisitedText),
      32, uint(ColorHelper::NegativeText),
      33, uint(ColorHelper::NeutralText),
      34, uint(ColorHelper::PositiveText),

       0        // eod
};

void ColorHelper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ColorHelper *_t = static_cast<ColorHelper *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: { QColor _r = _t->shade((*reinterpret_cast< const QColor(*)>(_a[1])),(*reinterpret_cast< ShadeRole(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QColor*>(_a[0]) = _r; }  break;
        case 1: { QColor _r = _t->shade((*reinterpret_cast< const QColor(*)>(_a[1])),(*reinterpret_cast< ShadeRole(*)>(_a[2])),(*reinterpret_cast< qreal(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QColor*>(_a[0]) = _r; }  break;
        case 2: { QColor _r = _t->multiplyAlpha((*reinterpret_cast< const QColor(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QColor*>(_a[0]) = _r; }  break;
        case 3: { QColor _r = _t->background((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< BackgroundRole(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QColor*>(_a[0]) = _r; }  break;
        case 4: { QColor _r = _t->background((*reinterpret_cast< bool(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QColor*>(_a[0]) = _r; }  break;
        case 5: { QColor _r = _t->foreground((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< ForegroundRole(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QColor*>(_a[0]) = _r; }  break;
        case 6: { QColor _r = _t->foreground((*reinterpret_cast< bool(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QColor*>(_a[0]) = _r; }  break;
        default: ;
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        ColorHelper *_t = static_cast<ColorHelper *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< qreal*>(_v) = _t->contrast(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject ColorHelper::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_ColorHelper.data,
      qt_meta_data_ColorHelper,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *ColorHelper::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_ColorHelper.stringdata0))
        return static_cast<void*>(const_cast< ColorHelper*>(this));
    return QObject::qt_metacast(_clname);
}

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