1/****************************************************************************
2** Meta object code from reading C++ file 'qfuturewatcher.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 "thread/qfuturewatcher.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qfuturewatcher.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_QFutureWatcherBase_t {
25 const uint offsetsAndSize[58];
26 char stringdata0[328];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QFutureWatcherBase_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QFutureWatcherBase_t qt_meta_stringdata_QFutureWatcherBase = {
31 {
32QT_MOC_LITERAL(0, 18), // "QFutureWatcherBase"
33QT_MOC_LITERAL(19, 7), // "started"
34QT_MOC_LITERAL(27, 0), // ""
35QT_MOC_LITERAL(28, 8), // "finished"
36QT_MOC_LITERAL(37, 8), // "canceled"
37QT_MOC_LITERAL(46, 6), // "paused"
38QT_MOC_LITERAL(53, 10), // "suspending"
39QT_MOC_LITERAL(64, 9), // "suspended"
40QT_MOC_LITERAL(74, 7), // "resumed"
41QT_MOC_LITERAL(82, 13), // "resultReadyAt"
42QT_MOC_LITERAL(96, 11), // "resultIndex"
43QT_MOC_LITERAL(108, 14), // "resultsReadyAt"
44QT_MOC_LITERAL(123, 10), // "beginIndex"
45QT_MOC_LITERAL(134, 8), // "endIndex"
46QT_MOC_LITERAL(143, 20), // "progressRangeChanged"
47QT_MOC_LITERAL(164, 7), // "minimum"
48QT_MOC_LITERAL(172, 7), // "maximum"
49QT_MOC_LITERAL(180, 20), // "progressValueChanged"
50QT_MOC_LITERAL(201, 13), // "progressValue"
51QT_MOC_LITERAL(215, 19), // "progressTextChanged"
52QT_MOC_LITERAL(235, 12), // "progressText"
53QT_MOC_LITERAL(248, 6), // "cancel"
54QT_MOC_LITERAL(255, 12), // "setSuspended"
55QT_MOC_LITERAL(268, 7), // "suspend"
56QT_MOC_LITERAL(276, 6), // "resume"
57QT_MOC_LITERAL(283, 15), // "toggleSuspended"
58QT_MOC_LITERAL(299, 9), // "setPaused"
59QT_MOC_LITERAL(309, 5), // "pause"
60QT_MOC_LITERAL(315, 12) // "togglePaused"
61
62 },
63 "QFutureWatcherBase\0started\0\0finished\0"
64 "canceled\0paused\0suspending\0suspended\0"
65 "resumed\0resultReadyAt\0resultIndex\0"
66 "resultsReadyAt\0beginIndex\0endIndex\0"
67 "progressRangeChanged\0minimum\0maximum\0"
68 "progressValueChanged\0progressValue\0"
69 "progressTextChanged\0progressText\0"
70 "cancel\0setSuspended\0suspend\0resume\0"
71 "toggleSuspended\0setPaused\0pause\0"
72 "togglePaused"
73};
74#undef QT_MOC_LITERAL
75
76static const uint qt_meta_data_QFutureWatcherBase[] = {
77
78 // content:
79 9, // revision
80 0, // classname
81 0, 0, // classinfo
82 20, 14, // methods
83 0, 0, // properties
84 0, 0, // enums/sets
85 0, 0, // constructors
86 0, // flags
87 12, // signalCount
88
89 // signals: name, argc, parameters, tag, flags, initial metatype offsets
90 1, 0, 134, 2, 0x06, 0 /* Public */,
91 3, 0, 135, 2, 0x06, 1 /* Public */,
92 4, 0, 136, 2, 0x06, 2 /* Public */,
93 5, 0, 137, 2, 0x06, 3 /* Public */,
94 6, 0, 138, 2, 0x06, 4 /* Public */,
95 7, 0, 139, 2, 0x06, 5 /* Public */,
96 8, 0, 140, 2, 0x06, 6 /* Public */,
97 9, 1, 141, 2, 0x06, 7 /* Public */,
98 11, 2, 144, 2, 0x06, 9 /* Public */,
99 14, 2, 149, 2, 0x06, 12 /* Public */,
100 17, 1, 154, 2, 0x06, 15 /* Public */,
101 19, 1, 157, 2, 0x06, 17 /* Public */,
102
103 // slots: name, argc, parameters, tag, flags, initial metatype offsets
104 21, 0, 160, 2, 0x0a, 19 /* Public */,
105 22, 1, 161, 2, 0x0a, 20 /* Public */,
106 23, 0, 164, 2, 0x0a, 22 /* Public */,
107 24, 0, 165, 2, 0x0a, 23 /* Public */,
108 25, 0, 166, 2, 0x0a, 24 /* Public */,
109 26, 1, 167, 2, 0x0a, 25 /* Public */,
110 27, 0, 170, 2, 0x0a, 27 /* Public */,
111 28, 0, 171, 2, 0x0a, 28 /* Public */,
112
113 // signals: parameters
114 QMetaType::Void,
115 QMetaType::Void,
116 QMetaType::Void,
117 QMetaType::Void,
118 QMetaType::Void,
119 QMetaType::Void,
120 QMetaType::Void,
121 QMetaType::Void, QMetaType::Int, 10,
122 QMetaType::Void, QMetaType::Int, QMetaType::Int, 12, 13,
123 QMetaType::Void, QMetaType::Int, QMetaType::Int, 15, 16,
124 QMetaType::Void, QMetaType::Int, 18,
125 QMetaType::Void, QMetaType::QString, 20,
126
127 // slots: parameters
128 QMetaType::Void,
129 QMetaType::Void, QMetaType::Bool, 23,
130 QMetaType::Void,
131 QMetaType::Void,
132 QMetaType::Void,
133 QMetaType::Void, QMetaType::Bool, 5,
134 QMetaType::Void,
135 QMetaType::Void,
136
137 0 // eod
138};
139
140void QFutureWatcherBase::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
141{
142 if (_c == QMetaObject::InvokeMetaMethod) {
143 Q_ASSERT(staticMetaObject.cast(_o));
144 auto *_t = static_cast<QFutureWatcherBase *>(_o);
145 Q_UNUSED(_t)
146 switch (_id) {
147 case 0: _t->started(); break;
148 case 1: _t->finished(); break;
149 case 2: _t->canceled(); break;
150 case 3: _t->paused(); break;
151 case 4: _t->suspending(); break;
152 case 5: _t->suspended(); break;
153 case 6: _t->resumed(); break;
154 case 7: _t->resultReadyAt((*reinterpret_cast< int(*)>(_a[1]))); break;
155 case 8: _t->resultsReadyAt((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
156 case 9: _t->progressRangeChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
157 case 10: _t->progressValueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
158 case 11: _t->progressTextChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
159 case 12: _t->cancel(); break;
160 case 13: _t->setSuspended((*reinterpret_cast< bool(*)>(_a[1]))); break;
161 case 14: _t->suspend(); break;
162 case 15: _t->resume(); break;
163 case 16: _t->toggleSuspended(); break;
164 case 17: _t->setPaused((*reinterpret_cast< bool(*)>(_a[1]))); break;
165 case 18: _t->pause(); break;
166 case 19: _t->togglePaused(); break;
167 default: ;
168 }
169 } else if (_c == QMetaObject::IndexOfMethod) {
170 int *result = reinterpret_cast<int *>(_a[0]);
171 {
172 using _t = void (QFutureWatcherBase::*)();
173 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QFutureWatcherBase::started)) {
174 *result = 0;
175 return;
176 }
177 }
178 {
179 using _t = void (QFutureWatcherBase::*)();
180 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QFutureWatcherBase::finished)) {
181 *result = 1;
182 return;
183 }
184 }
185 {
186 using _t = void (QFutureWatcherBase::*)();
187 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QFutureWatcherBase::canceled)) {
188 *result = 2;
189 return;
190 }
191 }
192 {
193 using _t = void (QFutureWatcherBase::*)();
194 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QFutureWatcherBase::paused)) {
195 *result = 3;
196 return;
197 }
198 }
199 {
200 using _t = void (QFutureWatcherBase::*)();
201 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QFutureWatcherBase::suspending)) {
202 *result = 4;
203 return;
204 }
205 }
206 {
207 using _t = void (QFutureWatcherBase::*)();
208 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QFutureWatcherBase::suspended)) {
209 *result = 5;
210 return;
211 }
212 }
213 {
214 using _t = void (QFutureWatcherBase::*)();
215 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QFutureWatcherBase::resumed)) {
216 *result = 6;
217 return;
218 }
219 }
220 {
221 using _t = void (QFutureWatcherBase::*)(int );
222 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QFutureWatcherBase::resultReadyAt)) {
223 *result = 7;
224 return;
225 }
226 }
227 {
228 using _t = void (QFutureWatcherBase::*)(int , int );
229 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QFutureWatcherBase::resultsReadyAt)) {
230 *result = 8;
231 return;
232 }
233 }
234 {
235 using _t = void (QFutureWatcherBase::*)(int , int );
236 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QFutureWatcherBase::progressRangeChanged)) {
237 *result = 9;
238 return;
239 }
240 }
241 {
242 using _t = void (QFutureWatcherBase::*)(int );
243 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QFutureWatcherBase::progressValueChanged)) {
244 *result = 10;
245 return;
246 }
247 }
248 {
249 using _t = void (QFutureWatcherBase::*)(const QString & );
250 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QFutureWatcherBase::progressTextChanged)) {
251 *result = 11;
252 return;
253 }
254 }
255 }
256}
257
258const QMetaObject QFutureWatcherBase::staticMetaObject = { {
259 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
260 qt_meta_stringdata_QFutureWatcherBase.offsetsAndSize,
261 qt_meta_data_QFutureWatcherBase,
262 qt_static_metacall,
263 nullptr,
264qt_incomplete_metaTypeArray<qt_meta_stringdata_QFutureWatcherBase_t
265, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
266, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
267
268
269>,
270 nullptr
271} };
272
273
274const QMetaObject *QFutureWatcherBase::metaObject() const
275{
276 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
277}
278
279void *QFutureWatcherBase::qt_metacast(const char *_clname)
280{
281 if (!_clname) return nullptr;
282 if (!strcmp(_clname, qt_meta_stringdata_QFutureWatcherBase.stringdata0))
283 return static_cast<void*>(this);
284 return QObject::qt_metacast(_clname);
285}
286
287int QFutureWatcherBase::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
288{
289 _id = QObject::qt_metacall(_c, _id, _a);
290 if (_id < 0)
291 return _id;
292 if (_c == QMetaObject::InvokeMetaMethod) {
293 if (_id < 20)
294 qt_static_metacall(this, _c, _id, _a);
295 _id -= 20;
296 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
297 if (_id < 20)
298 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
299 _id -= 20;
300 }
301 return _id;
302}
303
304// SIGNAL 0
305void QFutureWatcherBase::started()
306{
307 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
308}
309
310// SIGNAL 1
311void QFutureWatcherBase::finished()
312{
313 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
314}
315
316// SIGNAL 2
317void QFutureWatcherBase::canceled()
318{
319 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
320}
321
322// SIGNAL 3
323void QFutureWatcherBase::paused()
324{
325 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
326}
327
328// SIGNAL 4
329void QFutureWatcherBase::suspending()
330{
331 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
332}
333
334// SIGNAL 5
335void QFutureWatcherBase::suspended()
336{
337 QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
338}
339
340// SIGNAL 6
341void QFutureWatcherBase::resumed()
342{
343 QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
344}
345
346// SIGNAL 7
347void QFutureWatcherBase::resultReadyAt(int _t1)
348{
349 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
350 QMetaObject::activate(this, &staticMetaObject, 7, _a);
351}
352
353// SIGNAL 8
354void QFutureWatcherBase::resultsReadyAt(int _t1, int _t2)
355{
356 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
357 QMetaObject::activate(this, &staticMetaObject, 8, _a);
358}
359
360// SIGNAL 9
361void QFutureWatcherBase::progressRangeChanged(int _t1, int _t2)
362{
363 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
364 QMetaObject::activate(this, &staticMetaObject, 9, _a);
365}
366
367// SIGNAL 10
368void QFutureWatcherBase::progressValueChanged(int _t1)
369{
370 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
371 QMetaObject::activate(this, &staticMetaObject, 10, _a);
372}
373
374// SIGNAL 11
375void QFutureWatcherBase::progressTextChanged(const QString & _t1)
376{
377 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
378 QMetaObject::activate(this, &staticMetaObject, 11, _a);
379}
380QT_WARNING_POP
381QT_END_MOC_NAMESPACE
382