9#include "../../../../src/widgets/colorwheel.h"
10#include <QtCore/qmetatype.h>
12#include <QtCore/qtmochelpers.h>
17#include <QtCore/qxptype_traits.h>
18#if !defined(Q_MOC_OUTPUT_REVISION)
19#error "The header file 'colorwheel.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 68
21#error "This file was generated using the moc from 6.8.2. It"
22#error "cannot be used with the include files from this version of Qt."
23#error "(The moc has changed too much.)"
31QT_WARNING_DISABLE_DEPRECATED
32QT_WARNING_DISABLE_GCC(
"-Wuseless-cast")
34struct qt_meta_tag_ZN10ColorWheelE_t {};
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN10ColorWheelE = QtMocHelpers::stringData(
47#error "qtmochelpers.h not found or too old."
50Q_CONSTINIT
static const uint qt_meta_data_ZN10ColorWheelE[] = {
64 1, 1, 26, 2, 0x06, 1 ,
67 4, 1, 29, 2, 0x0a, 3 ,
70 QMetaType::Void, QMetaType::QColor, 3,
73 QMetaType::Void, QMetaType::QColor, 3,
78Q_CONSTINIT
const QMetaObject ColorWheel::staticMetaObject = { {
79 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
80 qt_meta_stringdata_ZN10ColorWheelE.offsetsAndSizes,
81 qt_meta_data_ZN10ColorWheelE,
84 qt_incomplete_metaTypeArray<qt_meta_tag_ZN10ColorWheelE_t,
86 QtPrivate::TypeAndForceComplete<ColorWheel, std::true_type>,
88 QtPrivate::TypeAndForceComplete<void, std::false_type>,
89 QtPrivate::TypeAndForceComplete<const QColor &, std::false_type>,
91 QtPrivate::TypeAndForceComplete<void, std::false_type>,
92 QtPrivate::TypeAndForceComplete<const QColor &, std::false_type>
97void ColorWheel::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
99 auto *_t =
static_cast<ColorWheel *
>(_o);
100 if (_c == QMetaObject::InvokeMetaMethod) {
102 case 0: _t->colorChanged((*
reinterpret_cast< std::add_pointer_t<QColor>
>(_a[1])));
break;
103 case 1: _t->changeColor((*
reinterpret_cast< std::add_pointer_t<QColor>
>(_a[1])));
break;
107 if (_c == QMetaObject::IndexOfMethod) {
108 int *result =
reinterpret_cast<int *
>(_a[0]);
110 using _q_method_type = void (ColorWheel::*)(const QColor & );
111 if (_q_method_type _q_method = &ColorWheel::colorChanged; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
119const QMetaObject *ColorWheel::metaObject()
const
121 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
124void *ColorWheel::qt_metacast(
const char *_clname)
126 if (!_clname)
return nullptr;
127 if (!strcmp(_clname, qt_meta_stringdata_ZN10ColorWheelE.stringdata0))
128 return static_cast<void*
>(
this);
129 return QWidget::qt_metacast(_clname);
132int ColorWheel::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
134 _id = QWidget::qt_metacall(_c, _id, _a);
137 if (_c == QMetaObject::InvokeMetaMethod) {
139 qt_static_metacall(
this, _c, _id, _a);
142 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
144 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
151void ColorWheel::colorChanged(
const QColor & _t1)
153 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
154 QMetaObject::activate(
this, &staticMetaObject, 0, _a);