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 68 (Qt 6.8.1)
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 != 68
21#error "This file was generated using the moc from 6.8.1. 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
37
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN10ColorWheelE = QtMocHelpers::stringData(
40 "ColorWheel",
41 "colorChanged",
42 "",
43 "color",
44 "changeColor"
45);
46#else // !QT_MOC_HAS_STRINGDATA
47#error "qtmochelpers.h not found or too old."
48#endif // !QT_MOC_HAS_STRINGDATA
49
50Q_CONSTINIT static const uint qt_meta_data_ZN10ColorWheelE[] = {
51
52 // content:
53 12, // revision
54 0, // classname
55 0, 0, // classinfo
56 2, 14, // methods
57 0, 0, // properties
58 0, 0, // enums/sets
59 0, 0, // constructors
60 0, // flags
61 1, // signalCount
62
63 // signals: name, argc, parameters, tag, flags, initial metatype offsets
64 1, 1, 26, 2, 0x06, 1 /* Public */,
65
66 // slots: name, argc, parameters, tag, flags, initial metatype offsets
67 4, 1, 29, 2, 0x0a, 3 /* Public */,
68
69 // signals: parameters
70 QMetaType::Void, QMetaType::QColor, 3,
71
72 // slots: parameters
73 QMetaType::Void, QMetaType::QColor, 3,
74
75 0 // eod
76};
77
78Q_CONSTINIT const QMetaObject ColorWheel::staticMetaObject = { {
79 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
80 qt_meta_stringdata_ZN10ColorWheelE.offsetsAndSizes,
81 qt_meta_data_ZN10ColorWheelE,
82 qt_static_metacall,
83 nullptr,
84 qt_incomplete_metaTypeArray<qt_meta_tag_ZN10ColorWheelE_t,
85 // Q_OBJECT / Q_GADGET
86 QtPrivate::TypeAndForceComplete<ColorWheel, std::true_type>,
87 // method 'colorChanged'
88 QtPrivate::TypeAndForceComplete<void, std::false_type>,
89 QtPrivate::TypeAndForceComplete<const QColor &, std::false_type>,
90 // method 'changeColor'
91 QtPrivate::TypeAndForceComplete<void, std::false_type>,
92 QtPrivate::TypeAndForceComplete<const QColor &, std::false_type>
93 >,
94 nullptr
95} };
96
97void ColorWheel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
98{
99 auto *_t = static_cast<ColorWheel *>(_o);
100 if (_c == QMetaObject::InvokeMetaMethod) {
101 switch (_id) {
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;
104 default: ;
105 }
106 }
107 if (_c == QMetaObject::IndexOfMethod) {
108 int *result = reinterpret_cast<int *>(_a[0]);
109 {
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) {
112 *result = 0;
113 return;
114 }
115 }
116 }
117}
118
119const QMetaObject *ColorWheel::metaObject() const
120{
121 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
122}
123
124void *ColorWheel::qt_metacast(const char *_clname)
125{
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);
130}
131
132int ColorWheel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
133{
134 _id = QWidget::qt_metacall(_c, _id, _a);
135 if (_id < 0)
136 return _id;
137 if (_c == QMetaObject::InvokeMetaMethod) {
138 if (_id < 2)
139 qt_static_metacall(this, _c, _id, _a);
140 _id -= 2;
141 }
142 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
143 if (_id < 2)
144 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
145 _id -= 2;
146 }
147 return _id;
148}
149
150// SIGNAL 0
151void ColorWheel::colorChanged(const QColor & _t1)
152{
153 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
154 QMetaObject::activate(this, &staticMetaObject, 0, _a);
155}
156QT_WARNING_POP