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.7.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")
35#ifdef QT_MOC_HAS_STRINGDATA
36struct qt_meta_stringdata_CLASSColorDialogENDCLASS_t {};
37constexpr auto qt_meta_stringdata_CLASSColorDialogENDCLASS = QtMocHelpers::stringData(
39 "selectedColorChanged",
49#error "qtmochelpers.h not found or too old."
53Q_CONSTINIT
static const uint qt_meta_data_CLASSColorDialogENDCLASS[] = {
67 1, 1, 38, 2, 0x06, 3 ,
68 4, 0, 41, 2, 0x06, 5 ,
69 5, 0, 42, 2, 0x06, 6 ,
72 6, 0, 43, 2, 0x02, 7 ,
75 QMetaType::Void, QMetaType::QColor, 3,
83 7, QMetaType::QColor, 0x00015103, uint(0), 0,
84 8, QMetaType::QString, 0x00015103, uint(2), 0,
89Q_CONSTINIT
const QMetaObject ColorDialog::staticMetaObject = { {
90 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
91 qt_meta_stringdata_CLASSColorDialogENDCLASS.offsetsAndSizes,
92 qt_meta_data_CLASSColorDialogENDCLASS,
95 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSColorDialogENDCLASS_t,
97 QtPrivate::TypeAndForceComplete<QColor, std::true_type>,
99 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
101 QtPrivate::TypeAndForceComplete<ColorDialog, std::true_type>,
103 QtPrivate::TypeAndForceComplete<void, std::false_type>,
104 QtPrivate::TypeAndForceComplete<const QColor &, std::false_type>,
106 QtPrivate::TypeAndForceComplete<void, std::false_type>,
108 QtPrivate::TypeAndForceComplete<void, std::false_type>,
110 QtPrivate::TypeAndForceComplete<void, std::false_type>
115void ColorDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
117 if (_c == QMetaObject::InvokeMetaMethod) {
118 auto *_t =
static_cast<ColorDialog *
>(_o);
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;
127 }
else if (_c == QMetaObject::IndexOfMethod) {
128 int *result =
reinterpret_cast<int *
>(_a[0]);
130 using _t = void (ColorDialog::*)(
const QColor & );
131 if (_t _q_method = &ColorDialog::selectedColorChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
137 using _t = void (ColorDialog::*)();
138 if (_t _q_method = &ColorDialog::accepted; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
144 using _t = void (ColorDialog::*)();
145 if (_t _q_method = &ColorDialog::titleChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
150 }
else if (_c == QMetaObject::ReadProperty) {
151 auto *_t =
static_cast<ColorDialog *
>(_o);
155 case 0: *
reinterpret_cast< QColor*
>(_v) = _t->selectedColor();
break;
156 case 1: *
reinterpret_cast< QString*
>(_v) = _t->title();
break;
159 }
else if (_c == QMetaObject::WriteProperty) {
160 auto *_t =
static_cast<ColorDialog *
>(_o);
164 case 0: _t->setSelectedColor(*
reinterpret_cast< QColor*
>(_v));
break;
165 case 1: _t->setTitle(*
reinterpret_cast< QString*
>(_v));
break;
168 }
else if (_c == QMetaObject::ResetProperty) {
169 }
else if (_c == QMetaObject::BindableProperty) {
173const QMetaObject *ColorDialog::metaObject()
const
175 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
178void *ColorDialog::qt_metacast(
const char *_clname)
180 if (!_clname)
return nullptr;
181 if (!strcmp(_clname, qt_meta_stringdata_CLASSColorDialogENDCLASS.stringdata0))
182 return static_cast<void*
>(
this);
183 return QObject::qt_metacast(_clname);
186int ColorDialog::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
188 _id = QObject::qt_metacall(_c, _id, _a);
191 if (_c == QMetaObject::InvokeMetaMethod) {
193 qt_static_metacall(
this, _c, _id, _a);
195 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
197 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
199 }
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
200 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
201 || _c == QMetaObject::RegisterPropertyMetaType) {
202 qt_static_metacall(
this, _c, _id, _a);
209void ColorDialog::selectedColorChanged(
const QColor & _t1)
211 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
212 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
216void ColorDialog::accepted()
218 QMetaObject::activate(
this, &staticMetaObject, 1,
nullptr);
222void ColorDialog::titleChanged()
224 QMetaObject::activate(
this, &staticMetaObject, 2,
nullptr);