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

#include <memory>
#include "../../../../../../kde-qttools/src/shared/qtgradienteditor/qtgradientstopscontroller.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qtgradientstopscontroller.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_QtGradientStopsController_t {
    QByteArrayData data[35];
    char stringdata0[480];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QtGradientStopsController_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QtGradientStopsController_t qt_meta_stringdata_QtGradientStopsController = {
    {
QT_MOC_LITERAL(0, 0, 25), // "QtGradientStopsController"
QT_MOC_LITERAL(1, 26, 20), // "gradientStopsChanged"
QT_MOC_LITERAL(2, 47, 0), // ""
QT_MOC_LITERAL(3, 48, 14), // "QGradientStops"
QT_MOC_LITERAL(4, 63, 5), // "stops"
QT_MOC_LITERAL(5, 69, 14), // "slotHsvClicked"
QT_MOC_LITERAL(6, 84, 14), // "slotRgbClicked"
QT_MOC_LITERAL(7, 99, 22), // "slotCurrentStopChanged"
QT_MOC_LITERAL(8, 122, 15), // "QtGradientStop*"
QT_MOC_LITERAL(9, 138, 4), // "stop"
QT_MOC_LITERAL(10, 143, 13), // "slotStopMoved"
QT_MOC_LITERAL(11, 157, 6), // "newPos"
QT_MOC_LITERAL(12, 164, 16), // "slotStopsSwapped"
QT_MOC_LITERAL(13, 181, 5), // "stop1"
QT_MOC_LITERAL(14, 187, 5), // "stop2"
QT_MOC_LITERAL(15, 193, 15), // "slotStopChanged"
QT_MOC_LITERAL(16, 209, 8), // "newColor"
QT_MOC_LITERAL(17, 218, 16), // "slotStopSelected"
QT_MOC_LITERAL(18, 235, 8), // "selected"
QT_MOC_LITERAL(19, 244, 13), // "slotStopAdded"
QT_MOC_LITERAL(20, 258, 15), // "slotStopRemoved"
QT_MOC_LITERAL(21, 274, 25), // "slotUpdatePositionSpinBox"
QT_MOC_LITERAL(22, 300, 15), // "slotChangeColor"
QT_MOC_LITERAL(23, 316, 5), // "color"
QT_MOC_LITERAL(24, 322, 13), // "slotChangeHue"
QT_MOC_LITERAL(25, 336, 20), // "slotChangeSaturation"
QT_MOC_LITERAL(26, 357, 15), // "slotChangeValue"
QT_MOC_LITERAL(27, 373, 15), // "slotChangeAlpha"
QT_MOC_LITERAL(28, 389, 18), // "slotChangePosition"
QT_MOC_LITERAL(29, 408, 5), // "value"
QT_MOC_LITERAL(30, 414, 14), // "slotChangeZoom"
QT_MOC_LITERAL(31, 429, 10), // "slotZoomIn"
QT_MOC_LITERAL(32, 440, 11), // "slotZoomOut"
QT_MOC_LITERAL(33, 452, 11), // "slotZoomAll"
QT_MOC_LITERAL(34, 464, 15) // "slotZoomChanged"

    },
    "QtGradientStopsController\0"
    "gradientStopsChanged\0\0QGradientStops\0"
    "stops\0slotHsvClicked\0slotRgbClicked\0"
    "slotCurrentStopChanged\0QtGradientStop*\0"
    "stop\0slotStopMoved\0newPos\0slotStopsSwapped\0"
    "stop1\0stop2\0slotStopChanged\0newColor\0"
    "slotStopSelected\0selected\0slotStopAdded\0"
    "slotStopRemoved\0slotUpdatePositionSpinBox\0"
    "slotChangeColor\0color\0slotChangeHue\0"
    "slotChangeSaturation\0slotChangeValue\0"
    "slotChangeAlpha\0slotChangePosition\0"
    "value\0slotChangeZoom\0slotZoomIn\0"
    "slotZoomOut\0slotZoomAll\0slotZoomChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QtGradientStopsController[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      26,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  144,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    0,  147,    2, 0x08 /* Private */,
       6,    0,  148,    2, 0x08 /* Private */,
       7,    1,  149,    2, 0x08 /* Private */,
      10,    2,  152,    2, 0x08 /* Private */,
      12,    2,  157,    2, 0x08 /* Private */,
      15,    2,  162,    2, 0x08 /* Private */,
      17,    2,  167,    2, 0x08 /* Private */,
      19,    1,  172,    2, 0x08 /* Private */,
      20,    1,  175,    2, 0x08 /* Private */,
      21,    0,  178,    2, 0x08 /* Private */,
      22,    1,  179,    2, 0x08 /* Private */,
      24,    1,  182,    2, 0x08 /* Private */,
      25,    1,  185,    2, 0x08 /* Private */,
      26,    1,  188,    2, 0x08 /* Private */,
      27,    1,  191,    2, 0x08 /* Private */,
      24,    1,  194,    2, 0x08 /* Private */,
      25,    1,  197,    2, 0x08 /* Private */,
      26,    1,  200,    2, 0x08 /* Private */,
      27,    1,  203,    2, 0x08 /* Private */,
      28,    1,  206,    2, 0x08 /* Private */,
      30,    1,  209,    2, 0x08 /* Private */,
      31,    0,  212,    2, 0x08 /* Private */,
      32,    0,  213,    2, 0x08 /* Private */,
      33,    0,  214,    2, 0x08 /* Private */,
      34,    1,  215,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void, 0x80000000 | 8, QMetaType::QReal,    9,   11,
    QMetaType::Void, 0x80000000 | 8, 0x80000000 | 8,   13,   14,
    QMetaType::Void, 0x80000000 | 8, QMetaType::QColor,    9,   16,
    QMetaType::Void, 0x80000000 | 8, QMetaType::Bool,    9,   18,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QColor,   23,
    QMetaType::Void, QMetaType::QColor,   23,
    QMetaType::Void, QMetaType::QColor,   23,
    QMetaType::Void, QMetaType::QColor,   23,
    QMetaType::Void, QMetaType::QColor,   23,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Double,   29,
    QMetaType::Void, QMetaType::Int,   29,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Double,    2,

       0        // eod
};

void QtGradientStopsController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QtGradientStopsController *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->gradientStopsChanged((*reinterpret_cast< const QGradientStops(*)>(_a[1]))); break;
        case 1: _t->d_func()->slotHsvClicked(); break;
        case 2: _t->d_func()->slotRgbClicked(); break;
        case 3: _t->d_func()->slotCurrentStopChanged((*reinterpret_cast< QtGradientStop*(*)>(_a[1]))); break;
        case 4: _t->d_func()->slotStopMoved((*reinterpret_cast< QtGradientStop*(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2]))); break;
        case 5: _t->d_func()->slotStopsSwapped((*reinterpret_cast< QtGradientStop*(*)>(_a[1])),(*reinterpret_cast< QtGradientStop*(*)>(_a[2]))); break;
        case 6: _t->d_func()->slotStopChanged((*reinterpret_cast< QtGradientStop*(*)>(_a[1])),(*reinterpret_cast< const QColor(*)>(_a[2]))); break;
        case 7: _t->d_func()->slotStopSelected((*reinterpret_cast< QtGradientStop*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 8: _t->d_func()->slotStopAdded((*reinterpret_cast< QtGradientStop*(*)>(_a[1]))); break;
        case 9: _t->d_func()->slotStopRemoved((*reinterpret_cast< QtGradientStop*(*)>(_a[1]))); break;
        case 10: _t->d_func()->slotUpdatePositionSpinBox(); break;
        case 11: _t->d_func()->slotChangeColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 12: _t->d_func()->slotChangeHue((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 13: _t->d_func()->slotChangeSaturation((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 14: _t->d_func()->slotChangeValue((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 15: _t->d_func()->slotChangeAlpha((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 16: _t->d_func()->slotChangeHue((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 17: _t->d_func()->slotChangeSaturation((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 18: _t->d_func()->slotChangeValue((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 19: _t->d_func()->slotChangeAlpha((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 20: _t->d_func()->slotChangePosition((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 21: _t->d_func()->slotChangeZoom((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 22: _t->d_func()->slotZoomIn(); break;
        case 23: _t->d_func()->slotZoomOut(); break;
        case 24: _t->d_func()->slotZoomAll(); break;
        case 25: _t->d_func()->slotZoomChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QtGradientStopsController::*)(const QGradientStops & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QtGradientStopsController::gradientStopsChanged)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject QtGradientStopsController::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_QtGradientStopsController.data,
    qt_meta_data_QtGradientStopsController,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QtGradientStopsController::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 < 26)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 26;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 26)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 26;
    }
    return _id;
}

// SIGNAL 0
void QtGradientStopsController::gradientStopsChanged(const QGradientStops & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
