CuteLogger
Fast and simple logging solution for Qt based applications
moc_htmlgenerator.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'htmlgenerator.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.8.3)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include "../../../../src/htmlgenerator.h"
10#include <QtNetwork/QSslError>
11#include <QtCore/qmetatype.h>
12
13#include <QtCore/qtmochelpers.h>
14
15#include <memory>
16
17
18#include <QtCore/qxptype_traits.h>
19#if !defined(Q_MOC_OUTPUT_REVISION)
20#error "The header file 'htmlgenerator.h' doesn't include <QObject>."
21#elif Q_MOC_OUTPUT_REVISION != 68
22#error "This file was generated using the moc from 6.8.3. It"
23#error "cannot be used with the include files from this version of Qt."
24#error "(The moc has changed too much.)"
25#endif
26
27#ifndef Q_CONSTINIT
28#define Q_CONSTINIT
29#endif
30
31QT_WARNING_PUSH
32QT_WARNING_DISABLE_DEPRECATED
33QT_WARNING_DISABLE_GCC("-Wuseless-cast")
34namespace {
35struct qt_meta_tag_ZN13HtmlGeneratorE_t {};
36} // unnamed namespace
37
38
39#ifdef QT_MOC_HAS_STRINGDATA
40static constexpr auto qt_meta_stringdata_ZN13HtmlGeneratorE = QtMocHelpers::stringData(
41 "HtmlGenerator",
42 "progressUpdate",
43 "",
44 "imageReady",
45 "outputPath",
46 "connectToBrowser",
47 "createNewPage",
48 "onWebSocketConnected",
49 "onMessageReceived",
50 "message",
51 "onWebSocketDisconnected",
52 "onChromeProcessFinished",
53 "exitCode",
54 "QProcess::ExitStatus",
55 "exitStatus",
56 "onChromeProcessError",
57 "QProcess::ProcessError",
58 "error",
59 "startAnimationCapture",
60 "captureAnimationFrame",
61 "handleAnimationFrame",
62 "result",
63 "completeAnimationCapture",
64 "takeScreenshot",
65 "handleScreenshotResult",
66 "sendCommand",
67 "method",
68 "params"
69);
70#else // !QT_MOC_HAS_STRINGDATA
71#error "qtmochelpers.h not found or too old."
72#endif // !QT_MOC_HAS_STRINGDATA
73
74Q_CONSTINIT static const uint qt_meta_data_ZN13HtmlGeneratorE[] = {
75
76 // content:
77 12, // revision
78 0, // classname
79 0, 0, // classinfo
80 17, 14, // methods
81 0, 0, // properties
82 0, 0, // enums/sets
83 0, 0, // constructors
84 0, // flags
85 2, // signalCount
86
87 // signals: name, argc, parameters, tag, flags, initial metatype offsets
88 1, 1, 116, 2, 0x06, 1 /* Public */,
89 3, 1, 119, 2, 0x06, 3 /* Public */,
90
91 // slots: name, argc, parameters, tag, flags, initial metatype offsets
92 5, 0, 122, 2, 0x08, 5 /* Private */,
93 6, 0, 123, 2, 0x08, 6 /* Private */,
94 7, 0, 124, 2, 0x08, 7 /* Private */,
95 8, 1, 125, 2, 0x08, 8 /* Private */,
96 10, 0, 128, 2, 0x08, 10 /* Private */,
97 11, 2, 129, 2, 0x08, 11 /* Private */,
98 15, 1, 134, 2, 0x08, 14 /* Private */,
99 18, 0, 137, 2, 0x08, 16 /* Private */,
100 19, 0, 138, 2, 0x08, 17 /* Private */,
101 20, 1, 139, 2, 0x08, 18 /* Private */,
102 22, 0, 142, 2, 0x08, 20 /* Private */,
103 23, 0, 143, 2, 0x08, 21 /* Private */,
104 24, 1, 144, 2, 0x08, 22 /* Private */,
105 25, 2, 147, 2, 0x08, 24 /* Private */,
106 25, 1, 152, 2, 0x28, 27 /* Private | MethodCloned */,
107
108 // signals: parameters
109 QMetaType::Void, QMetaType::Float, 2,
110 QMetaType::Void, QMetaType::QString, 4,
111
112 // slots: parameters
113 QMetaType::Void,
114 QMetaType::Void,
115 QMetaType::Void,
116 QMetaType::Void, QMetaType::QString, 9,
117 QMetaType::Void,
118 QMetaType::Void, QMetaType::Int, 0x80000000 | 13, 12, 14,
119 QMetaType::Void, 0x80000000 | 16, 17,
120 QMetaType::Void,
121 QMetaType::Void,
122 QMetaType::Void, QMetaType::QJsonObject, 21,
123 QMetaType::Void,
124 QMetaType::Void,
125 QMetaType::Void, QMetaType::QJsonObject, 21,
126 QMetaType::Int, QMetaType::QString, QMetaType::QJsonObject, 26, 27,
127 QMetaType::Int, QMetaType::QString, 26,
128
129 0 // eod
130};
131
132Q_CONSTINIT const QMetaObject HtmlGenerator::staticMetaObject = { {
133 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
134 qt_meta_stringdata_ZN13HtmlGeneratorE.offsetsAndSizes,
135 qt_meta_data_ZN13HtmlGeneratorE,
136 qt_static_metacall,
137 nullptr,
138 qt_incomplete_metaTypeArray<qt_meta_tag_ZN13HtmlGeneratorE_t,
139 // Q_OBJECT / Q_GADGET
140 QtPrivate::TypeAndForceComplete<HtmlGenerator, std::true_type>,
141 // method 'progressUpdate'
142 QtPrivate::TypeAndForceComplete<void, std::false_type>,
143 QtPrivate::TypeAndForceComplete<float, std::false_type>,
144 // method 'imageReady'
145 QtPrivate::TypeAndForceComplete<void, std::false_type>,
146 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
147 // method 'connectToBrowser'
148 QtPrivate::TypeAndForceComplete<void, std::false_type>,
149 // method 'createNewPage'
150 QtPrivate::TypeAndForceComplete<void, std::false_type>,
151 // method 'onWebSocketConnected'
152 QtPrivate::TypeAndForceComplete<void, std::false_type>,
153 // method 'onMessageReceived'
154 QtPrivate::TypeAndForceComplete<void, std::false_type>,
155 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
156 // method 'onWebSocketDisconnected'
157 QtPrivate::TypeAndForceComplete<void, std::false_type>,
158 // method 'onChromeProcessFinished'
159 QtPrivate::TypeAndForceComplete<void, std::false_type>,
160 QtPrivate::TypeAndForceComplete<int, std::false_type>,
161 QtPrivate::TypeAndForceComplete<QProcess::ExitStatus, std::false_type>,
162 // method 'onChromeProcessError'
163 QtPrivate::TypeAndForceComplete<void, std::false_type>,
164 QtPrivate::TypeAndForceComplete<QProcess::ProcessError, std::false_type>,
165 // method 'startAnimationCapture'
166 QtPrivate::TypeAndForceComplete<void, std::false_type>,
167 // method 'captureAnimationFrame'
168 QtPrivate::TypeAndForceComplete<void, std::false_type>,
169 // method 'handleAnimationFrame'
170 QtPrivate::TypeAndForceComplete<void, std::false_type>,
171 QtPrivate::TypeAndForceComplete<const QJsonObject &, std::false_type>,
172 // method 'completeAnimationCapture'
173 QtPrivate::TypeAndForceComplete<void, std::false_type>,
174 // method 'takeScreenshot'
175 QtPrivate::TypeAndForceComplete<void, std::false_type>,
176 // method 'handleScreenshotResult'
177 QtPrivate::TypeAndForceComplete<void, std::false_type>,
178 QtPrivate::TypeAndForceComplete<const QJsonObject &, std::false_type>,
179 // method 'sendCommand'
180 QtPrivate::TypeAndForceComplete<int, std::false_type>,
181 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
182 QtPrivate::TypeAndForceComplete<const QJsonObject &, std::false_type>,
183 // method 'sendCommand'
184 QtPrivate::TypeAndForceComplete<int, std::false_type>,
185 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
186 >,
187 nullptr
188} };
189
190void HtmlGenerator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
191{
192 auto *_t = static_cast<HtmlGenerator *>(_o);
193 if (_c == QMetaObject::InvokeMetaMethod) {
194 switch (_id) {
195 case 0: _t->progressUpdate((*reinterpret_cast< std::add_pointer_t<float>>(_a[1]))); break;
196 case 1: _t->imageReady((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
197 case 2: _t->connectToBrowser(); break;
198 case 3: _t->createNewPage(); break;
199 case 4: _t->onWebSocketConnected(); break;
200 case 5: _t->onMessageReceived((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
201 case 6: _t->onWebSocketDisconnected(); break;
202 case 7: _t->onChromeProcessFinished((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QProcess::ExitStatus>>(_a[2]))); break;
203 case 8: _t->onChromeProcessError((*reinterpret_cast< std::add_pointer_t<QProcess::ProcessError>>(_a[1]))); break;
204 case 9: _t->startAnimationCapture(); break;
205 case 10: _t->captureAnimationFrame(); break;
206 case 11: _t->handleAnimationFrame((*reinterpret_cast< std::add_pointer_t<QJsonObject>>(_a[1]))); break;
207 case 12: _t->completeAnimationCapture(); break;
208 case 13: _t->takeScreenshot(); break;
209 case 14: _t->handleScreenshotResult((*reinterpret_cast< std::add_pointer_t<QJsonObject>>(_a[1]))); break;
210 case 15: { int _r = _t->sendCommand((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QJsonObject>>(_a[2])));
211 if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); } break;
212 case 16: { int _r = _t->sendCommand((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])));
213 if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); } break;
214 default: ;
215 }
216 }
217 if (_c == QMetaObject::IndexOfMethod) {
218 int *result = reinterpret_cast<int *>(_a[0]);
219 {
220 using _q_method_type = void (HtmlGenerator::*)(float );
221 if (_q_method_type _q_method = &HtmlGenerator::progressUpdate; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
222 *result = 0;
223 return;
224 }
225 }
226 {
227 using _q_method_type = void (HtmlGenerator::*)(QString );
228 if (_q_method_type _q_method = &HtmlGenerator::imageReady; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
229 *result = 1;
230 return;
231 }
232 }
233 }
234}
235
236const QMetaObject *HtmlGenerator::metaObject() const
237{
238 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
239}
240
241void *HtmlGenerator::qt_metacast(const char *_clname)
242{
243 if (!_clname) return nullptr;
244 if (!strcmp(_clname, qt_meta_stringdata_ZN13HtmlGeneratorE.stringdata0))
245 return static_cast<void*>(this);
246 return QObject::qt_metacast(_clname);
247}
248
249int HtmlGenerator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
250{
251 _id = QObject::qt_metacall(_c, _id, _a);
252 if (_id < 0)
253 return _id;
254 if (_c == QMetaObject::InvokeMetaMethod) {
255 if (_id < 17)
256 qt_static_metacall(this, _c, _id, _a);
257 _id -= 17;
258 }
259 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
260 if (_id < 17)
261 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
262 _id -= 17;
263 }
264 return _id;
265}
266
267// SIGNAL 0
268void HtmlGenerator::progressUpdate(float _t1)
269{
270 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
271 QMetaObject::activate(this, &staticMetaObject, 0, _a);
272}
273
274// SIGNAL 1
275void HtmlGenerator::imageReady(QString _t1)
276{
277 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
278 QMetaObject::activate(this, &staticMetaObject, 1, _a);
279}
280QT_WARNING_POP