9#include "../../../../src/qmltypes/colordialog.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 'colordialog.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_ZN11ColorDialogE_t {};
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN11ColorDialogE = QtMocHelpers::stringData(
41 "selectedColorChanged",
51#error "qtmochelpers.h not found or too old."
54Q_CONSTINIT
static const uint qt_meta_data_ZN11ColorDialogE[] = {
68 1, 1, 38, 2, 0x06, 3 ,
69 4, 0, 41, 2, 0x06, 5 ,
70 5, 0, 42, 2, 0x06, 6 ,
73 6, 0, 43, 2, 0x02, 7 ,
76 QMetaType::Void, QMetaType::QColor, 3,
84 7, QMetaType::QColor, 0x00015103, uint(0), 0,
85 8, QMetaType::QString, 0x00015103, uint(2), 0,
90Q_CONSTINIT
const QMetaObject ColorDialog::staticMetaObject = { {
91 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
92 qt_meta_stringdata_ZN11ColorDialogE.offsetsAndSizes,
93 qt_meta_data_ZN11ColorDialogE,
96 qt_incomplete_metaTypeArray<qt_meta_tag_ZN11ColorDialogE_t,
98 QtPrivate::TypeAndForceComplete<QColor, std::true_type>,
100 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
102 QtPrivate::TypeAndForceComplete<ColorDialog, std::true_type>,
104 QtPrivate::TypeAndForceComplete<void, std::false_type>,
105 QtPrivate::TypeAndForceComplete<const QColor &, std::false_type>,
107 QtPrivate::TypeAndForceComplete<void, std::false_type>,
109 QtPrivate::TypeAndForceComplete<void, std::false_type>,
111 QtPrivate::TypeAndForceComplete<void, std::false_type>
116void ColorDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
118 auto *_t =
static_cast<ColorDialog *
>(_o);
119 if (_c == QMetaObject::InvokeMetaMethod) {
121 case 0: _t->selectedColorChanged((*
reinterpret_cast< std::add_pointer_t<QColor>
>(_a[1])));
break;
122 case 1: _t->accepted();
break;
123 case 2: _t->titleChanged();
break;
124 case 3: _t->open();
break;
128 if (_c == QMetaObject::IndexOfMethod) {
129 int *result =
reinterpret_cast<int *
>(_a[0]);
131 using _q_method_type = void (ColorDialog::*)(
const QColor & );
132 if (_q_method_type _q_method = &ColorDialog::selectedColorChanged; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
138 using _q_method_type = void (ColorDialog::*)();
139 if (_q_method_type _q_method = &ColorDialog::accepted; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
145 using _q_method_type = void (ColorDialog::*)();
146 if (_q_method_type _q_method = &ColorDialog::titleChanged; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
152 if (_c == QMetaObject::ReadProperty) {
155 case 0: *
reinterpret_cast< QColor*
>(_v) = _t->selectedColor();
break;
156 case 1: *
reinterpret_cast< QString*
>(_v) = _t->title();
break;
160 if (_c == QMetaObject::WriteProperty) {
163 case 0: _t->setSelectedColor(*
reinterpret_cast< QColor*
>(_v));
break;
164 case 1: _t->setTitle(*
reinterpret_cast< QString*
>(_v));
break;
170const QMetaObject *ColorDialog::metaObject()
const
172 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
175void *ColorDialog::qt_metacast(
const char *_clname)
177 if (!_clname)
return nullptr;
178 if (!strcmp(_clname, qt_meta_stringdata_ZN11ColorDialogE.stringdata0))
179 return static_cast<void*
>(
this);
180 return QObject::qt_metacast(_clname);
183int ColorDialog::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
185 _id = QObject::qt_metacall(_c, _id, _a);
188 if (_c == QMetaObject::InvokeMetaMethod) {
190 qt_static_metacall(
this, _c, _id, _a);
193 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
195 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
198 if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
199 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
200 || _c == QMetaObject::RegisterPropertyMetaType) {
201 qt_static_metacall(
this, _c, _id, _a);
208void ColorDialog::selectedColorChanged(
const QColor & _t1)
210 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
211 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
215void ColorDialog::accepted()
217 QMetaObject::activate(
this, &staticMetaObject, 1,
nullptr);
221void ColorDialog::titleChanged()
223 QMetaObject::activate(
this, &staticMetaObject, 2,
nullptr);