CuteLogger
Fast and simple logging solution for Qt based applications
moc_colorwheel.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'colorwheel.h'
3**
4** Created by: The Qt Meta Object Compiler version 69 (Qt 6.10.2)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include "../../../../src/widgets/colorwheel.h"
10#include <QtCore/qmetatype.h>
11
12#include <QtCore/qtmochelpers.h>
13
14#include <memory>
15
16
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 != 69
21#error "This file was generated using the moc from 6.10.2. It"
22#error "cannot be used with the include files from this version of Qt."
23#error "(The moc has changed too much.)"
24#endif
25
26#ifndef Q_CONSTINIT
27#define Q_CONSTINIT
28#endif
29
30QT_WARNING_PUSH
31QT_WARNING_DISABLE_DEPRECATED
32QT_WARNING_DISABLE_GCC("-Wuseless-cast")
33namespace {
34struct qt_meta_tag_ZN10ColorWheelE_t {};
35} // unnamed namespace
36
37template <> constexpr inline auto ColorWheel::qt_create_metaobjectdata<qt_meta_tag_ZN10ColorWheelE_t>()
38{
39 namespace QMC = QtMocConstants;
40 QtMocHelpers::StringRefStorage qt_stringData {
41 "ColorWheel",
42 "colorChanged",
43 "",
44 "QColor",
45 "color",
46 "changeColor"
47 };
48
49 QtMocHelpers::UintData qt_methods {
50 // Signal 'colorChanged'
51 QtMocHelpers::SignalData<void(const QColor &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
52 { 0x80000000 | 3, 4 },
53 }}),
54 // Slot 'changeColor'
55 QtMocHelpers::SlotData<void(const QColor &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
56 { 0x80000000 | 3, 4 },
57 }}),
58 };
59 QtMocHelpers::UintData qt_properties {
60 };
61 QtMocHelpers::UintData qt_enums {
62 };
63 return QtMocHelpers::metaObjectData<ColorWheel, qt_meta_tag_ZN10ColorWheelE_t>(QMC::MetaObjectFlag{}, qt_stringData,
64 qt_methods, qt_properties, qt_enums);
65}
66Q_CONSTINIT const QMetaObject ColorWheel::staticMetaObject = { {
67 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
68 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10ColorWheelE_t>.stringdata,
69 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10ColorWheelE_t>.data,
70 qt_static_metacall,
71 nullptr,
72 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10ColorWheelE_t>.metaTypes,
73 nullptr
74} };
75
76void ColorWheel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
77{
78 auto *_t = static_cast<ColorWheel *>(_o);
79 if (_c == QMetaObject::InvokeMetaMethod) {
80 switch (_id) {
81 case 0: _t->colorChanged((*reinterpret_cast<std::add_pointer_t<QColor>>(_a[1]))); break;
82 case 1: _t->changeColor((*reinterpret_cast<std::add_pointer_t<QColor>>(_a[1]))); break;
83 default: ;
84 }
85 }
86 if (_c == QMetaObject::IndexOfMethod) {
87 if (QtMocHelpers::indexOfMethod<void (ColorWheel::*)(const QColor & )>(_a, &ColorWheel::colorChanged, 0))
88 return;
89 }
90}
91
92const QMetaObject *ColorWheel::metaObject() const
93{
94 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
95}
96
97void *ColorWheel::qt_metacast(const char *_clname)
98{
99 if (!_clname) return nullptr;
100 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10ColorWheelE_t>.strings))
101 return static_cast<void*>(this);
102 return QWidget::qt_metacast(_clname);
103}
104
105int ColorWheel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
106{
107 _id = QWidget::qt_metacall(_c, _id, _a);
108 if (_id < 0)
109 return _id;
110 if (_c == QMetaObject::InvokeMetaMethod) {
111 if (_id < 2)
112 qt_static_metacall(this, _c, _id, _a);
113 _id -= 2;
114 }
115 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
116 if (_id < 2)
117 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
118 _id -= 2;
119 }
120 return _id;
121}
122
123// SIGNAL 0
124void ColorWheel::colorChanged(const QColor & _t1)
125{
126 QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
127}
128QT_WARNING_POP