9#include "../../../../src/htmlgenerator.h"
10#include <QtNetwork/QSslError>
11#include <QtCore/qmetatype.h>
13#include <QtCore/qtmochelpers.h>
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.)"
32QT_WARNING_DISABLE_DEPRECATED
33QT_WARNING_DISABLE_GCC(
"-Wuseless-cast")
35struct qt_meta_tag_ZN13HtmlGeneratorE_t {};
39#ifdef QT_MOC_HAS_STRINGDATA
40static constexpr auto qt_meta_stringdata_ZN13HtmlGeneratorE = QtMocHelpers::stringData(
48 "onWebSocketConnected",
51 "onWebSocketDisconnected",
52 "onChromeProcessFinished",
54 "QProcess::ExitStatus",
56 "onChromeProcessError",
57 "QProcess::ProcessError",
59 "startAnimationCapture",
60 "captureAnimationFrame",
61 "handleAnimationFrame",
63 "completeAnimationCapture",
65 "handleScreenshotResult",
71#error "qtmochelpers.h not found or too old."
74Q_CONSTINIT
static const uint qt_meta_data_ZN13HtmlGeneratorE[] = {
88 1, 1, 116, 2, 0x06, 1 ,
89 3, 1, 119, 2, 0x06, 3 ,
92 5, 0, 122, 2, 0x08, 5 ,
93 6, 0, 123, 2, 0x08, 6 ,
94 7, 0, 124, 2, 0x08, 7 ,
95 8, 1, 125, 2, 0x08, 8 ,
96 10, 0, 128, 2, 0x08, 10 ,
97 11, 2, 129, 2, 0x08, 11 ,
98 15, 1, 134, 2, 0x08, 14 ,
99 18, 0, 137, 2, 0x08, 16 ,
100 19, 0, 138, 2, 0x08, 17 ,
101 20, 1, 139, 2, 0x08, 18 ,
102 22, 0, 142, 2, 0x08, 20 ,
103 23, 0, 143, 2, 0x08, 21 ,
104 24, 1, 144, 2, 0x08, 22 ,
105 25, 2, 147, 2, 0x08, 24 ,
106 25, 1, 152, 2, 0x28, 27 ,
109 QMetaType::Void, QMetaType::Float, 2,
110 QMetaType::Void, QMetaType::QString, 4,
116 QMetaType::Void, QMetaType::QString, 9,
118 QMetaType::Void, QMetaType::Int, 0x80000000 | 13, 12, 14,
119 QMetaType::Void, 0x80000000 | 16, 17,
122 QMetaType::Void, QMetaType::QJsonObject, 21,
125 QMetaType::Void, QMetaType::QJsonObject, 21,
126 QMetaType::Int, QMetaType::QString, QMetaType::QJsonObject, 26, 27,
127 QMetaType::Int, QMetaType::QString, 26,
132Q_CONSTINIT
const QMetaObject HtmlGenerator::staticMetaObject = { {
133 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
134 qt_meta_stringdata_ZN13HtmlGeneratorE.offsetsAndSizes,
135 qt_meta_data_ZN13HtmlGeneratorE,
138 qt_incomplete_metaTypeArray<qt_meta_tag_ZN13HtmlGeneratorE_t,
140 QtPrivate::TypeAndForceComplete<HtmlGenerator, std::true_type>,
142 QtPrivate::TypeAndForceComplete<void, std::false_type>,
143 QtPrivate::TypeAndForceComplete<float, std::false_type>,
145 QtPrivate::TypeAndForceComplete<void, std::false_type>,
146 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
148 QtPrivate::TypeAndForceComplete<void, std::false_type>,
150 QtPrivate::TypeAndForceComplete<void, std::false_type>,
152 QtPrivate::TypeAndForceComplete<void, std::false_type>,
154 QtPrivate::TypeAndForceComplete<void, std::false_type>,
155 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
157 QtPrivate::TypeAndForceComplete<void, std::false_type>,
159 QtPrivate::TypeAndForceComplete<void, std::false_type>,
160 QtPrivate::TypeAndForceComplete<int, std::false_type>,
161 QtPrivate::TypeAndForceComplete<QProcess::ExitStatus, std::false_type>,
163 QtPrivate::TypeAndForceComplete<void, std::false_type>,
164 QtPrivate::TypeAndForceComplete<QProcess::ProcessError, std::false_type>,
166 QtPrivate::TypeAndForceComplete<void, std::false_type>,
168 QtPrivate::TypeAndForceComplete<void, std::false_type>,
170 QtPrivate::TypeAndForceComplete<void, std::false_type>,
171 QtPrivate::TypeAndForceComplete<const QJsonObject &, std::false_type>,
173 QtPrivate::TypeAndForceComplete<void, std::false_type>,
175 QtPrivate::TypeAndForceComplete<void, std::false_type>,
177 QtPrivate::TypeAndForceComplete<void, std::false_type>,
178 QtPrivate::TypeAndForceComplete<const QJsonObject &, std::false_type>,
180 QtPrivate::TypeAndForceComplete<int, std::false_type>,
181 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
182 QtPrivate::TypeAndForceComplete<const QJsonObject &, std::false_type>,
184 QtPrivate::TypeAndForceComplete<int, std::false_type>,
185 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
190void HtmlGenerator::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
192 auto *_t =
static_cast<HtmlGenerator *
>(_o);
193 if (_c == QMetaObject::InvokeMetaMethod) {
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;
217 if (_c == QMetaObject::IndexOfMethod) {
218 int *result =
reinterpret_cast<int *
>(_a[0]);
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) {
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) {
236const QMetaObject *HtmlGenerator::metaObject()
const
238 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
241void *HtmlGenerator::qt_metacast(
const char *_clname)
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);
249int HtmlGenerator::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
251 _id = QObject::qt_metacall(_c, _id, _a);
254 if (_c == QMetaObject::InvokeMetaMethod) {
256 qt_static_metacall(
this, _c, _id, _a);
259 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
261 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
268void HtmlGenerator::progressUpdate(
float _t1)
270 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
271 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
275void HtmlGenerator::imageReady(QString _t1)
277 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
278 QMetaObject::activate(
this, &staticMetaObject, 1, _a);