1/****************************************************************************
2** Meta object code from reading C++ file 'renderthread.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.0)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include <memory>
10#include "renderthread.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'renderthread.h' doesn't include <QObject>."
15#elif Q_MOC_OUTPUT_REVISION != 68
16#error "This file was generated using the moc from 6.0.0. It"
17#error "cannot be used with the include files from this version of Qt."
18#error "(The moc has changed too much.)"
19#endif
20
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
24struct qt_meta_stringdata_RenderThread_t {
25 const uint offsetsAndSize[10];
26 char stringdata0[46];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_RenderThread_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_RenderThread_t qt_meta_stringdata_RenderThread = {
31 {
32QT_MOC_LITERAL(0, 12), // "RenderThread"
33QT_MOC_LITERAL(13, 13), // "renderedImage"
34QT_MOC_LITERAL(27, 0), // ""
35QT_MOC_LITERAL(28, 5), // "image"
36QT_MOC_LITERAL(34, 11) // "scaleFactor"
37
38 },
39 "RenderThread\0renderedImage\0\0image\0"
40 "scaleFactor"
41};
42#undef QT_MOC_LITERAL
43
44static const uint qt_meta_data_RenderThread[] = {
45
46 // content:
47 9, // revision
48 0, // classname
49 0, 0, // classinfo
50 1, 14, // methods
51 0, 0, // properties
52 0, 0, // enums/sets
53 0, 0, // constructors
54 0, // flags
55 1, // signalCount
56
57 // signals: name, argc, parameters, tag, flags, initial metatype offsets
58 1, 2, 20, 2, 0x06, 0 /* Public */,
59
60 // signals: parameters
61 QMetaType::Void, QMetaType::QImage, QMetaType::Double, 3, 4,
62
63 0 // eod
64};
65
66void RenderThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
67{
68 if (_c == QMetaObject::InvokeMetaMethod) {
69 Q_ASSERT(staticMetaObject.cast(_o));
70 auto *_t = static_cast<RenderThread *>(_o);
71 Q_UNUSED(_t)
72 switch (_id) {
73 case 0: _t->renderedImage((*reinterpret_cast< const QImage(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break;
74 default: ;
75 }
76 } else if (_c == QMetaObject::IndexOfMethod) {
77 int *result = reinterpret_cast<int *>(_a[0]);
78 {
79 using _t = void (RenderThread::*)(const QImage & , double );
80 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RenderThread::renderedImage)) {
81 *result = 0;
82 return;
83 }
84 }
85 }
86}
87
88const QMetaObject RenderThread::staticMetaObject = { {
89 QMetaObject::SuperData::link<QThread::staticMetaObject>(),
90 qt_meta_stringdata_RenderThread.offsetsAndSize,
91 qt_meta_data_RenderThread,
92 qt_static_metacall,
93 nullptr,
94qt_incomplete_metaTypeArray<qt_meta_stringdata_RenderThread_t
95, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QImage &, std::false_type>, QtPrivate::TypeAndForceComplete<double, std::false_type>
96
97
98
99>,
100 nullptr
101} };
102
103
104const QMetaObject *RenderThread::metaObject() const
105{
106 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
107}
108
109void *RenderThread::qt_metacast(const char *_clname)
110{
111 if (!_clname) return nullptr;
112 if (!strcmp(_clname, qt_meta_stringdata_RenderThread.stringdata0))
113 return static_cast<void*>(this);
114 return QThread::qt_metacast(_clname);
115}
116
117int RenderThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
118{
119 _id = QThread::qt_metacall(_c, _id, _a);
120 if (_id < 0)
121 return _id;
122 if (_c == QMetaObject::InvokeMetaMethod) {
123 if (_id < 1)
124 qt_static_metacall(this, _c, _id, _a);
125 _id -= 1;
126 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
127 if (_id < 1)
128 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
129 _id -= 1;
130 }
131 return _id;
132}
133
134// SIGNAL 0
135void RenderThread::renderedImage(const QImage & _t1, double _t2)
136{
137 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
138 QMetaObject::activate(this, &staticMetaObject, 0, _a);
139}
140QT_WARNING_POP
141QT_END_MOC_NAMESPACE
142