/****************************************************************************
** Meta object code from reading C++ file 'coloreditor.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-sdk-5.8.9/themeexplorer/src/coloreditor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'coloreditor.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_ColorEditor_t {
    QByteArrayData data[22];
    char stringdata0[349];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ColorEditor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ColorEditor_t qt_meta_stringdata_ColorEditor = {
    {
QT_MOC_LITERAL(0, 0, 11), // "ColorEditor"
QT_MOC_LITERAL(1, 12, 13), // "colorsChanged"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 12), // "themeChanged"
QT_MOC_LITERAL(4, 40, 4), // "save"
QT_MOC_LITERAL(5, 45, 9), // "textColor"
QT_MOC_LITERAL(6, 55, 14), // "highlightColor"
QT_MOC_LITERAL(7, 70, 15), // "backgroundColor"
QT_MOC_LITERAL(8, 86, 9), // "linkColor"
QT_MOC_LITERAL(9, 96, 16), // "visitedLinkColor"
QT_MOC_LITERAL(10, 113, 15), // "buttonTextColor"
QT_MOC_LITERAL(11, 129, 21), // "buttonBackgroundColor"
QT_MOC_LITERAL(12, 151, 16), // "buttonHoverColor"
QT_MOC_LITERAL(13, 168, 16), // "buttonFocusColor"
QT_MOC_LITERAL(14, 185, 13), // "viewTextColor"
QT_MOC_LITERAL(15, 199, 19), // "viewBackgroundColor"
QT_MOC_LITERAL(16, 219, 14), // "viewHoverColor"
QT_MOC_LITERAL(17, 234, 14), // "viewFocusColor"
QT_MOC_LITERAL(18, 249, 22), // "complementaryTextColor"
QT_MOC_LITERAL(19, 272, 28), // "complementaryBackgroundColor"
QT_MOC_LITERAL(20, 301, 23), // "complementaryHoverColor"
QT_MOC_LITERAL(21, 325, 23) // "complementaryFocusColor"

    },
    "ColorEditor\0colorsChanged\0\0themeChanged\0"
    "save\0textColor\0highlightColor\0"
    "backgroundColor\0linkColor\0visitedLinkColor\0"
    "buttonTextColor\0buttonBackgroundColor\0"
    "buttonHoverColor\0buttonFocusColor\0"
    "viewTextColor\0viewBackgroundColor\0"
    "viewHoverColor\0viewFocusColor\0"
    "complementaryTextColor\0"
    "complementaryBackgroundColor\0"
    "complementaryHoverColor\0complementaryFocusColor"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ColorEditor[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       3,   14, // methods
      17,   32, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       2,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   29,    2, 0x06 /* Public */,
       3,    0,   30,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
       4,    0,   31,    2, 0x02 /* Public */,

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

 // methods: parameters
    QMetaType::Void,

 // properties: name, type, flags
       5, QMetaType::QColor, 0x00495103,
       6, QMetaType::QColor, 0x00495103,
       7, QMetaType::QColor, 0x00495103,
       8, QMetaType::QColor, 0x00495103,
       9, QMetaType::QColor, 0x00495103,
      10, QMetaType::QColor, 0x00495103,
      11, QMetaType::QColor, 0x00495103,
      12, QMetaType::QColor, 0x00495103,
      13, QMetaType::QColor, 0x00495103,
      14, QMetaType::QColor, 0x00495103,
      15, QMetaType::QColor, 0x00495103,
      16, QMetaType::QColor, 0x00495103,
      17, QMetaType::QColor, 0x00495103,
      18, QMetaType::QColor, 0x00495103,
      19, QMetaType::QColor, 0x00495103,
      20, QMetaType::QColor, 0x00495103,
      21, QMetaType::QColor, 0x00495103,

 // properties: notify_signal_id
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,

       0        // eod
};

void ColorEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ColorEditor *_t = static_cast<ColorEditor *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->colorsChanged(); break;
        case 1: _t->themeChanged(); break;
        case 2: _t->save(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (ColorEditor::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ColorEditor::colorsChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ColorEditor::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ColorEditor::themeChanged)) {
                *result = 1;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        ColorEditor *_t = static_cast<ColorEditor *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QColor*>(_v) = _t->textColor(); break;
        case 1: *reinterpret_cast< QColor*>(_v) = _t->highlightColor(); break;
        case 2: *reinterpret_cast< QColor*>(_v) = _t->backgroundColor(); break;
        case 3: *reinterpret_cast< QColor*>(_v) = _t->linkColor(); break;
        case 4: *reinterpret_cast< QColor*>(_v) = _t->visitedLinkColor(); break;
        case 5: *reinterpret_cast< QColor*>(_v) = _t->buttonTextColor(); break;
        case 6: *reinterpret_cast< QColor*>(_v) = _t->buttonBackgroundColor(); break;
        case 7: *reinterpret_cast< QColor*>(_v) = _t->buttonHoverColor(); break;
        case 8: *reinterpret_cast< QColor*>(_v) = _t->buttonFocusColor(); break;
        case 9: *reinterpret_cast< QColor*>(_v) = _t->viewTextColor(); break;
        case 10: *reinterpret_cast< QColor*>(_v) = _t->viewBackgroundColor(); break;
        case 11: *reinterpret_cast< QColor*>(_v) = _t->viewHoverColor(); break;
        case 12: *reinterpret_cast< QColor*>(_v) = _t->viewFocusColor(); break;
        case 13: *reinterpret_cast< QColor*>(_v) = _t->complementaryTextColor(); break;
        case 14: *reinterpret_cast< QColor*>(_v) = _t->complementaryBackgroundColor(); break;
        case 15: *reinterpret_cast< QColor*>(_v) = _t->complementaryHoverColor(); break;
        case 16: *reinterpret_cast< QColor*>(_v) = _t->complementaryFocusColor(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        ColorEditor *_t = static_cast<ColorEditor *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setTextColor(*reinterpret_cast< QColor*>(_v)); break;
        case 1: _t->setHighlightColor(*reinterpret_cast< QColor*>(_v)); break;
        case 2: _t->setBackgroundColor(*reinterpret_cast< QColor*>(_v)); break;
        case 3: _t->setLinkColor(*reinterpret_cast< QColor*>(_v)); break;
        case 4: _t->setVisitedLinkColor(*reinterpret_cast< QColor*>(_v)); break;
        case 5: _t->setButtonTextColor(*reinterpret_cast< QColor*>(_v)); break;
        case 6: _t->setButtonBackgroundColor(*reinterpret_cast< QColor*>(_v)); break;
        case 7: _t->setButtonHoverColor(*reinterpret_cast< QColor*>(_v)); break;
        case 8: _t->setButtonFocusColor(*reinterpret_cast< QColor*>(_v)); break;
        case 9: _t->setViewTextColor(*reinterpret_cast< QColor*>(_v)); break;
        case 10: _t->setViewBackgroundColor(*reinterpret_cast< QColor*>(_v)); break;
        case 11: _t->setViewHoverColor(*reinterpret_cast< QColor*>(_v)); break;
        case 12: _t->setViewFocusColor(*reinterpret_cast< QColor*>(_v)); break;
        case 13: _t->setComplementaryTextColor(*reinterpret_cast< QColor*>(_v)); break;
        case 14: _t->setComplementaryBackgroundColor(*reinterpret_cast< QColor*>(_v)); break;
        case 15: _t->setComplementaryHoverColor(*reinterpret_cast< QColor*>(_v)); break;
        case 16: _t->setComplementaryFocusColor(*reinterpret_cast< QColor*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    Q_UNUSED(_a);
}

const QMetaObject ColorEditor::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_ColorEditor.data,
      qt_meta_data_ColorEditor,  qt_static_metacall, nullptr, nullptr}
};


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

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

int ColorEditor::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 < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 3;
    }
#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 ColorEditor::colorsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void ColorEditor::themeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
