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

#include <memory>
#include "../../../../../../kde-qttools/src/shared/qtgradienteditor/qtgradienteditor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qtgradienteditor.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. 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_QtGradientEditor_t {
    QByteArrayData data[38];
    char stringdata0[698];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QtGradientEditor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QtGradientEditor_t qt_meta_stringdata_QtGradientEditor = {
    {
QT_MOC_LITERAL(0, 0, 16), // "QtGradientEditor"
QT_MOC_LITERAL(1, 17, 15), // "gradientChanged"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 9), // "QGradient"
QT_MOC_LITERAL(4, 44, 8), // "gradient"
QT_MOC_LITERAL(5, 53, 18), // "aboutToShowDetails"
QT_MOC_LITERAL(6, 72, 7), // "details"
QT_MOC_LITERAL(7, 80, 19), // "extenstionWidthHint"
QT_MOC_LITERAL(8, 100, 24), // "slotGradientStopsChanged"
QT_MOC_LITERAL(9, 125, 14), // "QGradientStops"
QT_MOC_LITERAL(10, 140, 5), // "stops"
QT_MOC_LITERAL(11, 146, 15), // "slotTypeChanged"
QT_MOC_LITERAL(12, 162, 4), // "type"
QT_MOC_LITERAL(13, 167, 17), // "slotSpreadChanged"
QT_MOC_LITERAL(14, 185, 23), // "slotStartLinearXChanged"
QT_MOC_LITERAL(15, 209, 5), // "value"
QT_MOC_LITERAL(16, 215, 23), // "slotStartLinearYChanged"
QT_MOC_LITERAL(17, 239, 21), // "slotEndLinearXChanged"
QT_MOC_LITERAL(18, 261, 21), // "slotEndLinearYChanged"
QT_MOC_LITERAL(19, 283, 25), // "slotCentralRadialXChanged"
QT_MOC_LITERAL(20, 309, 25), // "slotCentralRadialYChanged"
QT_MOC_LITERAL(21, 335, 23), // "slotFocalRadialXChanged"
QT_MOC_LITERAL(22, 359, 23), // "slotFocalRadialYChanged"
QT_MOC_LITERAL(23, 383, 23), // "slotRadiusRadialChanged"
QT_MOC_LITERAL(24, 407, 26), // "slotCentralConicalXChanged"
QT_MOC_LITERAL(25, 434, 26), // "slotCentralConicalYChanged"
QT_MOC_LITERAL(26, 461, 23), // "slotAngleConicalChanged"
QT_MOC_LITERAL(27, 485, 18), // "slotDetailsChanged"
QT_MOC_LITERAL(28, 504, 18), // "startLinearChanged"
QT_MOC_LITERAL(29, 523, 16), // "endLinearChanged"
QT_MOC_LITERAL(30, 540, 20), // "centralRadialChanged"
QT_MOC_LITERAL(31, 561, 18), // "focalRadialChanged"
QT_MOC_LITERAL(32, 580, 19), // "radiusRadialChanged"
QT_MOC_LITERAL(33, 600, 21), // "centralConicalChanged"
QT_MOC_LITERAL(34, 622, 19), // "angleConicalChanged"
QT_MOC_LITERAL(35, 642, 19), // "backgroundCheckered"
QT_MOC_LITERAL(36, 662, 14), // "detailsVisible"
QT_MOC_LITERAL(37, 677, 20) // "detailsButtonVisible"

    },
    "QtGradientEditor\0gradientChanged\0\0"
    "QGradient\0gradient\0aboutToShowDetails\0"
    "details\0extenstionWidthHint\0"
    "slotGradientStopsChanged\0QGradientStops\0"
    "stops\0slotTypeChanged\0type\0slotSpreadChanged\0"
    "slotStartLinearXChanged\0value\0"
    "slotStartLinearYChanged\0slotEndLinearXChanged\0"
    "slotEndLinearYChanged\0slotCentralRadialXChanged\0"
    "slotCentralRadialYChanged\0"
    "slotFocalRadialXChanged\0slotFocalRadialYChanged\0"
    "slotRadiusRadialChanged\0"
    "slotCentralConicalXChanged\0"
    "slotCentralConicalYChanged\0"
    "slotAngleConicalChanged\0slotDetailsChanged\0"
    "startLinearChanged\0endLinearChanged\0"
    "centralRadialChanged\0focalRadialChanged\0"
    "radiusRadialChanged\0centralConicalChanged\0"
    "angleConicalChanged\0backgroundCheckered\0"
    "detailsVisible\0detailsButtonVisible"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QtGradientEditor[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      25,   14, // methods
       4,  216, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       2,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  139,    2, 0x06 /* Public */,
       5,    2,  142,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    1,  147,    2, 0x08 /* Private */,
      11,    1,  150,    2, 0x08 /* Private */,
      13,    1,  153,    2, 0x08 /* Private */,
      14,    1,  156,    2, 0x08 /* Private */,
      16,    1,  159,    2, 0x08 /* Private */,
      17,    1,  162,    2, 0x08 /* Private */,
      18,    1,  165,    2, 0x08 /* Private */,
      19,    1,  168,    2, 0x08 /* Private */,
      20,    1,  171,    2, 0x08 /* Private */,
      21,    1,  174,    2, 0x08 /* Private */,
      22,    1,  177,    2, 0x08 /* Private */,
      23,    1,  180,    2, 0x08 /* Private */,
      24,    1,  183,    2, 0x08 /* Private */,
      25,    1,  186,    2, 0x08 /* Private */,
      26,    1,  189,    2, 0x08 /* Private */,
      27,    1,  192,    2, 0x08 /* Private */,
      28,    1,  195,    2, 0x08 /* Private */,
      29,    1,  198,    2, 0x08 /* Private */,
      30,    1,  201,    2, 0x08 /* Private */,
      31,    1,  204,    2, 0x08 /* Private */,
      32,    1,  207,    2, 0x08 /* Private */,
      33,    1,  210,    2, 0x08 /* Private */,
      34,    1,  213,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::Bool, QMetaType::Int,    6,    7,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, QMetaType::Int,   12,
    QMetaType::Void, QMetaType::Int,   12,
    QMetaType::Void, QMetaType::Double,   15,
    QMetaType::Void, QMetaType::Double,   15,
    QMetaType::Void, QMetaType::Double,   15,
    QMetaType::Void, QMetaType::Double,   15,
    QMetaType::Void, QMetaType::Double,   15,
    QMetaType::Void, QMetaType::Double,   15,
    QMetaType::Void, QMetaType::Double,   15,
    QMetaType::Void, QMetaType::Double,   15,
    QMetaType::Void, QMetaType::Double,   15,
    QMetaType::Void, QMetaType::Double,   15,
    QMetaType::Void, QMetaType::Double,   15,
    QMetaType::Void, QMetaType::Double,   15,
    QMetaType::Void, QMetaType::Bool,    6,
    QMetaType::Void, QMetaType::QPointF,    2,
    QMetaType::Void, QMetaType::QPointF,    2,
    QMetaType::Void, QMetaType::QPointF,    2,
    QMetaType::Void, QMetaType::QPointF,    2,
    QMetaType::Void, QMetaType::QReal,    2,
    QMetaType::Void, QMetaType::QPointF,    2,
    QMetaType::Void, QMetaType::QReal,    2,

 // properties: name, type, flags
       4, 0x80000000 | 3, 0x0009510b,
      35, QMetaType::Bool, 0x00095103,
      36, QMetaType::Bool, 0x00095103,
      37, QMetaType::Bool, 0x00095103,

       0        // eod
};

void QtGradientEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QtGradientEditor *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->gradientChanged((*reinterpret_cast< const QGradient(*)>(_a[1]))); break;
        case 1: _t->aboutToShowDetails((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 2: _t->d_func()->slotGradientStopsChanged((*reinterpret_cast< const QGradientStops(*)>(_a[1]))); break;
        case 3: _t->d_func()->slotTypeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->d_func()->slotSpreadChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->d_func()->slotStartLinearXChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 6: _t->d_func()->slotStartLinearYChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 7: _t->d_func()->slotEndLinearXChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 8: _t->d_func()->slotEndLinearYChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 9: _t->d_func()->slotCentralRadialXChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 10: _t->d_func()->slotCentralRadialYChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 11: _t->d_func()->slotFocalRadialXChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 12: _t->d_func()->slotFocalRadialYChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 13: _t->d_func()->slotRadiusRadialChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 14: _t->d_func()->slotCentralConicalXChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 15: _t->d_func()->slotCentralConicalYChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 16: _t->d_func()->slotAngleConicalChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 17: _t->d_func()->slotDetailsChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 18: _t->d_func()->startLinearChanged((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
        case 19: _t->d_func()->endLinearChanged((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
        case 20: _t->d_func()->centralRadialChanged((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
        case 21: _t->d_func()->focalRadialChanged((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
        case 22: _t->d_func()->radiusRadialChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 23: _t->d_func()->centralConicalChanged((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
        case 24: _t->d_func()->angleConicalChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QtGradientEditor::*)(const QGradient & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QtGradientEditor::gradientChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QtGradientEditor::*)(bool , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QtGradientEditor::aboutToShowDetails)) {
                *result = 1;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QtGradientEditor *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QGradient*>(_v) = _t->gradient(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->isBackgroundCheckered(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->detailsVisible(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->isDetailsButtonVisible(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QtGradientEditor *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setGradient(*reinterpret_cast< QGradient*>(_v)); break;
        case 1: _t->setBackgroundCheckered(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setDetailsVisible(*reinterpret_cast< bool*>(_v)); break;
        case 3: _t->setDetailsButtonVisible(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QtGradientEditor::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_QtGradientEditor.data,
    qt_meta_data_QtGradientEditor,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QtGradientEditor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 25)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 25;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 25)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 25;
    }
#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 -= 4;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 4;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void QtGradientEditor::gradientChanged(const QGradient & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void QtGradientEditor::aboutToShowDetails(bool _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
