EstervQrCode 2.0.0
Library for qr code manipulation
Loading...
Searching...
No Matches
moc_qr_image_decoder.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'qr_image_decoder.hpp'
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 "../../../../../QtQrDec/include/esterv/utils/qr_image_decoder.hpp"
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 'qr_image_decoder.hpp' 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
32QT_WARNING_DISABLE_GCC("-Wuseless-cast")
33namespace {
35} // unnamed namespace
36
37
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN6Esterv5Utils5QrDec14QRImageDecoderE = QtMocHelpers::stringData(
40 "Esterv::Utils::QrDec::QRImageDecoder",
41 "QML.Element",
42 "auto",
43 "QML.Singleton",
44 "true",
45 "decodedQR",
46 "",
47 "sourceChanged",
48 "hasTorchChanged",
49 "useTorchChanged",
50 "start",
51 "stop",
52 "clear",
53 "source",
54 "useTorch",
55 "hasTorch"
56);
57#else // !QT_MOC_HAS_STRINGDATA
58#error "qtmochelpers.h not found or too old."
59#endif // !QT_MOC_HAS_STRINGDATA
60
61Q_CONSTINIT static const uint qt_meta_data_ZN6Esterv5Utils5QrDec14QRImageDecoderE[] = {
62
63 // content:
64 12, // revision
65 0, // classname
66 2, 14, // classinfo
67 7, 18, // methods
68 3, 69, // properties
69 0, 0, // enums/sets
70 0, 0, // constructors
71 0, // flags
72 4, // signalCount
73
74 // classinfo: key, value
75 1, 2,
76 3, 4,
77
78 // signals: name, argc, parameters, tag, flags, initial metatype offsets
79 5, 1, 60, 6, 0x06, 4 /* Public */,
80 7, 0, 63, 6, 0x06, 6 /* Public */,
81 8, 0, 64, 6, 0x06, 7 /* Public */,
82 9, 0, 65, 6, 0x06, 8 /* Public */,
83
84 // methods: name, argc, parameters, tag, flags, initial metatype offsets
85 10, 0, 66, 6, 0x02, 9 /* Public */,
86 11, 0, 67, 6, 0x02, 10 /* Public */,
87 12, 0, 68, 6, 0x02, 11 /* Public */,
88
89 // signals: parameters
94
95 // methods: parameters
99
100 // properties: name, type, flags, notifyId, revision
101 13, QMetaType::QString, 0x00015001, uint(1), 0,
102 14, QMetaType::Bool, 0x00015003, uint(3), 0,
103 15, QMetaType::Bool, 0x00015003, uint(2), 0,
104
105 0 // eod
106};
107
108Q_CONSTINIT const QMetaObject Esterv::Utils::QrDec::QRImageDecoder::staticMetaObject = { {
109 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
110 qt_meta_stringdata_ZN6Esterv5Utils5QrDec14QRImageDecoderE.offsetsAndSizes,
111 qt_meta_data_ZN6Esterv5Utils5QrDec14QRImageDecoderE,
112 qt_static_metacall,
113 nullptr,
114 qt_metaTypeArray<
115 // property 'source'
116 QString,
117 // property 'useTorch'
118 bool,
119 // property 'hasTorch'
120 bool,
121 // Q_OBJECT / Q_GADGET
122 QRImageDecoder,
123 // method 'decodedQR'
124 void,
125 QString,
126 // method 'sourceChanged'
127 void,
128 // method 'hasTorchChanged'
129 void,
130 // method 'useTorchChanged'
131 void,
132 // method 'start'
133 void,
134 // method 'stop'
135 void,
136 // method 'clear'
137 void
138 >,
139 nullptr
140} };
141
142void Esterv::Utils::QrDec::QRImageDecoder::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
143{
144 auto *_t = static_cast<QRImageDecoder *>(_o);
145 if (_c == QMetaObject::InvokeMetaMethod) {
146 switch (_id) {
147 case 0: _t->decodedQR((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
148 case 1: _t->sourceChanged(); break;
149 case 2: _t->hasTorchChanged(); break;
150 case 3: _t->useTorchChanged(); break;
151 case 4: _t->start(); break;
152 case 5: _t->stop(); break;
153 case 6: _t->clear(); break;
154 default: ;
155 }
156 }
157 if (_c == QMetaObject::IndexOfMethod) {
158 int *result = reinterpret_cast<int *>(_a[0]);
159 {
160 using _q_method_type = void (QRImageDecoder::*)(QString );
161 if (_q_method_type _q_method = &QRImageDecoder::decodedQR; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
162 *result = 0;
163 return;
164 }
165 }
166 {
167 using _q_method_type = void (QRImageDecoder::*)();
168 if (_q_method_type _q_method = &QRImageDecoder::sourceChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
169 *result = 1;
170 return;
171 }
172 }
173 {
174 using _q_method_type = void (QRImageDecoder::*)();
175 if (_q_method_type _q_method = &QRImageDecoder::hasTorchChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
176 *result = 2;
177 return;
178 }
179 }
180 {
181 using _q_method_type = void (QRImageDecoder::*)();
182 if (_q_method_type _q_method = &QRImageDecoder::useTorchChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
183 *result = 3;
184 return;
185 }
186 }
187 }
188 if (_c == QMetaObject::ReadProperty) {
189 void *_v = _a[0];
190 switch (_id) {
191 case 0: *reinterpret_cast< QString*>(_v) = _t->get_source(); break;
192 case 1: *reinterpret_cast< bool*>(_v) = _t->m_useTorch; break;
193 case 2: *reinterpret_cast< bool*>(_v) = _t->m_hasTorch; break;
194 default: break;
195 }
196 }
197 if (_c == QMetaObject::WriteProperty) {
198 void *_v = _a[0];
199 switch (_id) {
200 case 1:
201 if (_t->m_useTorch != *reinterpret_cast< bool*>(_v)) {
202 _t->m_useTorch = *reinterpret_cast< bool*>(_v);
203 Q_EMIT _t->useTorchChanged();
204 }
205 break;
206 case 2:
207 if (_t->m_hasTorch != *reinterpret_cast< bool*>(_v)) {
208 _t->m_hasTorch = *reinterpret_cast< bool*>(_v);
209 Q_EMIT _t->hasTorchChanged();
210 }
211 break;
212 default: break;
213 }
214 }
215}
216
218{
219 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
220}
221
222void *Esterv::Utils::QrDec::QRImageDecoder::qt_metacast(const char *_clname)
223{
224 if (!_clname) return nullptr;
225 if (!strcmp(_clname, qt_meta_stringdata_ZN6Esterv5Utils5QrDec14QRImageDecoderE.stringdata0))
226 return static_cast<void*>(this);
227 return QObject::qt_metacast(_clname);
228}
229
230int Esterv::Utils::QrDec::QRImageDecoder::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
231{
232 _id = QObject::qt_metacall(_c, _id, _a);
233 if (_id < 0)
234 return _id;
235 if (_c == QMetaObject::InvokeMetaMethod) {
236 if (_id < 7)
237 qt_static_metacall(this, _c, _id, _a);
238 _id -= 7;
239 }
240 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
241 if (_id < 7)
242 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
243 _id -= 7;
244 }
245 if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
246 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
247 || _c == QMetaObject::RegisterPropertyMetaType) {
248 qt_static_metacall(this, _c, _id, _a);
249 _id -= 3;
250 }
251 return _id;
252}
253
254// SIGNAL 0
256{
257 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
258 QMetaObject::activate(this, &staticMetaObject, 0, _a);
259}
260
261// SIGNAL 1
263{
264 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
265}
266
267// SIGNAL 2
269{
270 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
271}
272
273// SIGNAL 3
275{
276 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
277}
278QT_WARNING_POP
T addressof(T... args)
void hasTorchChanged()
Definition moc_qr_image_decoder.cpp:268
void sourceChanged()
Definition moc_qr_image_decoder.cpp:262
void useTorchChanged()
Definition moc_qr_image_decoder.cpp:274
void decodedQR(QString)
Definition moc_qr_image_decoder.cpp:255
const CvArr const CvArr CvArr * result
Definition core_c.h:1423
uint32_t uint
Definition interface.h:42
Definition moc_about.cpp:33
Q_EMITQ_EMIT
virtual const QMetaObject * metaObject() const const
T strcmp(T... args)