CuteLogger
Fast and simple logging solution for Qt based applications
moc_colorpickeritem.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'colorpickeritem.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/qmltypes/colorpickeritem.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 'colorpickeritem.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_ZN15ColorPickerItemE_t {};
35} // unnamed namespace
36
37
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN15ColorPickerItemE = QtMocHelpers::stringData(
40 "ColorPickerItem",
41 "pickColor",
42 "",
43 "initialPos",
44 "colorPicked",
45 "color",
46 "cancelled",
47 "screenSelected",
48 "rect",
49 "grabColor",
50 "grabColorDBus",
51 "gotColorResponse",
52 "response",
53 "QVariantMap",
54 "results"
55);
56#else // !QT_MOC_HAS_STRINGDATA
57#error "qtmochelpers.h not found or too old."
58#endif // !QT_MOC_HAS_STRINGDATA
59
60Q_CONSTINIT static const uint qt_meta_data_ZN15ColorPickerItemE[] = {
61
62 // content:
63 12, // revision
64 0, // classname
65 0, 0, // classinfo
66 8, 14, // methods
67 0, 0, // properties
68 0, 0, // enums/sets
69 0, 0, // constructors
70 0, // flags
71 4, // signalCount
72
73 // signals: name, argc, parameters, tag, flags, initial metatype offsets
74 1, 1, 62, 2, 0x06, 1 /* Public */,
75 1, 0, 65, 2, 0x26, 3 /* Public | MethodCloned */,
76 4, 1, 66, 2, 0x06, 4 /* Public */,
77 6, 0, 69, 2, 0x06, 6 /* Public */,
78
79 // slots: name, argc, parameters, tag, flags, initial metatype offsets
80 7, 1, 70, 2, 0x08, 7 /* Private */,
81 9, 0, 73, 2, 0x08, 9 /* Private */,
82 10, 0, 74, 2, 0x08, 10 /* Private */,
83 11, 2, 75, 2, 0x08, 11 /* Private */,
84
85 // signals: parameters
86 QMetaType::Void, QMetaType::QPoint, 3,
87 QMetaType::Void,
88 QMetaType::Void, QMetaType::QColor, 5,
89 QMetaType::Void,
90
91 // slots: parameters
92 QMetaType::Void, QMetaType::QRect, 8,
93 QMetaType::Void,
94 QMetaType::Void,
95 QMetaType::Void, QMetaType::UInt, 0x80000000 | 13, 12, 14,
96
97 0 // eod
98};
99
100Q_CONSTINIT const QMetaObject ColorPickerItem::staticMetaObject = { {
101 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
102 qt_meta_stringdata_ZN15ColorPickerItemE.offsetsAndSizes,
103 qt_meta_data_ZN15ColorPickerItemE,
104 qt_static_metacall,
105 nullptr,
106 qt_incomplete_metaTypeArray<qt_meta_tag_ZN15ColorPickerItemE_t,
107 // Q_OBJECT / Q_GADGET
108 QtPrivate::TypeAndForceComplete<ColorPickerItem, std::true_type>,
109 // method 'pickColor'
110 QtPrivate::TypeAndForceComplete<void, std::false_type>,
111 QtPrivate::TypeAndForceComplete<QPoint, std::false_type>,
112 // method 'pickColor'
113 QtPrivate::TypeAndForceComplete<void, std::false_type>,
114 // method 'colorPicked'
115 QtPrivate::TypeAndForceComplete<void, std::false_type>,
116 QtPrivate::TypeAndForceComplete<const QColor &, std::false_type>,
117 // method 'cancelled'
118 QtPrivate::TypeAndForceComplete<void, std::false_type>,
119 // method 'screenSelected'
120 QtPrivate::TypeAndForceComplete<void, std::false_type>,
121 QtPrivate::TypeAndForceComplete<const QRect &, std::false_type>,
122 // method 'grabColor'
123 QtPrivate::TypeAndForceComplete<void, std::false_type>,
124 // method 'grabColorDBus'
125 QtPrivate::TypeAndForceComplete<void, std::false_type>,
126 // method 'gotColorResponse'
127 QtPrivate::TypeAndForceComplete<void, std::false_type>,
128 QtPrivate::TypeAndForceComplete<uint, std::false_type>,
129 QtPrivate::TypeAndForceComplete<const QVariantMap &, std::false_type>
130 >,
131 nullptr
132} };
133
134void ColorPickerItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
135{
136 auto *_t = static_cast<ColorPickerItem *>(_o);
137 if (_c == QMetaObject::InvokeMetaMethod) {
138 switch (_id) {
139 case 0: _t->pickColor((*reinterpret_cast< std::add_pointer_t<QPoint>>(_a[1]))); break;
140 case 1: _t->pickColor(); break;
141 case 2: _t->colorPicked((*reinterpret_cast< std::add_pointer_t<QColor>>(_a[1]))); break;
142 case 3: _t->cancelled(); break;
143 case 4: _t->screenSelected((*reinterpret_cast< std::add_pointer_t<QRect>>(_a[1]))); break;
144 case 5: _t->grabColor(); break;
145 case 6: _t->grabColorDBus(); break;
146 case 7: _t->gotColorResponse((*reinterpret_cast< std::add_pointer_t<uint>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QVariantMap>>(_a[2]))); break;
147 default: ;
148 }
149 }
150 if (_c == QMetaObject::IndexOfMethod) {
151 int *result = reinterpret_cast<int *>(_a[0]);
152 {
153 using _q_method_type = void (ColorPickerItem::*)(QPoint );
154 if (_q_method_type _q_method = &ColorPickerItem::pickColor; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
155 *result = 0;
156 return;
157 }
158 }
159 {
160 using _q_method_type = void (ColorPickerItem::*)(const QColor & );
161 if (_q_method_type _q_method = &ColorPickerItem::colorPicked; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
162 *result = 2;
163 return;
164 }
165 }
166 {
167 using _q_method_type = void (ColorPickerItem::*)();
168 if (_q_method_type _q_method = &ColorPickerItem::cancelled; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
169 *result = 3;
170 return;
171 }
172 }
173 }
174}
175
176const QMetaObject *ColorPickerItem::metaObject() const
177{
178 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
179}
180
181void *ColorPickerItem::qt_metacast(const char *_clname)
182{
183 if (!_clname) return nullptr;
184 if (!strcmp(_clname, qt_meta_stringdata_ZN15ColorPickerItemE.stringdata0))
185 return static_cast<void*>(this);
186 return QObject::qt_metacast(_clname);
187}
188
189int ColorPickerItem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
190{
191 _id = QObject::qt_metacall(_c, _id, _a);
192 if (_id < 0)
193 return _id;
194 if (_c == QMetaObject::InvokeMetaMethod) {
195 if (_id < 8)
196 qt_static_metacall(this, _c, _id, _a);
197 _id -= 8;
198 }
199 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
200 if (_id < 8)
201 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
202 _id -= 8;
203 }
204 return _id;
205}
206
207// SIGNAL 0
208void ColorPickerItem::pickColor(QPoint _t1)
209{
210 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
211 QMetaObject::activate(this, &staticMetaObject, 0, _a);
212}
213
214// SIGNAL 2
215void ColorPickerItem::colorPicked(const QColor & _t1)
216{
217 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
218 QMetaObject::activate(this, &staticMetaObject, 2, _a);
219}
220
221// SIGNAL 3
222void ColorPickerItem::cancelled()
223{
224 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
225}
226QT_WARNING_POP