9#include "../../../../src/jobs/abstractjob.h"
10#include <QtCore/qmetatype.h>
12#include <QtCore/qtmochelpers.h>
17#include <QtCore/qxptype_traits.h>
18#if !defined(Q_MOC_OUTPUT_REVISION)
19#error "The header file 'abstractjob.h' 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.)"
31QT_WARNING_DISABLE_DEPRECATED
32QT_WARNING_DISABLE_GCC(
"-Wuseless-cast")
34struct qt_meta_tag_ZN11AbstractJobE_t {};
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN11AbstractJobE = QtMocHelpers::stringData(
59 "QProcess::ExitStatus",
66#error "qtmochelpers.h not found or too old."
69Q_CONSTINIT
static const uint qt_meta_data_ZN11AbstractJobE[] = {
83 1, 2, 92, 2, 0x06, 1 ,
84 6, 3, 97, 2, 0x06, 4 ,
85 6, 2, 104, 2, 0x26, 8 ,
88 11, 2, 109, 2, 0x0a, 11 ,
89 11, 0, 114, 2, 0x0a, 14 ,
90 14, 0, 115, 2, 0x0a, 15 ,
91 15, 0, 116, 2, 0x0a, 16 ,
92 16, 0, 117, 2, 0x0a, 17 ,
93 17, 2, 118, 2, 0x09, 18 ,
94 17, 1, 123, 2, 0x29, 21 ,
95 21, 0, 126, 2, 0x09, 23 ,
96 22, 0, 127, 2, 0x09, 24 ,
97 23, 2, 128, 2, 0x08, 25 ,
100 QMetaType::Void, 0x80000000 | 3, QMetaType::Int, 4, 5,
101 QMetaType::Void, 0x80000000 | 7, QMetaType::Bool, QMetaType::QString, 8, 9, 10,
102 QMetaType::Void, 0x80000000 | 7, QMetaType::Bool, 8, 9,
105 QMetaType::Void, QMetaType::QString, QMetaType::QStringList, 12, 13,
110 QMetaType::Void, QMetaType::Int, 0x80000000 | 19, 18, 20,
111 QMetaType::Void, QMetaType::Int, 18,
114 QMetaType::Void, 0x80000000 | 3, QMetaType::Int, 2, 5,
119Q_CONSTINIT
const QMetaObject AbstractJob::staticMetaObject = { {
120 QMetaObject::SuperData::link<QProcess::staticMetaObject>(),
121 qt_meta_stringdata_ZN11AbstractJobE.offsetsAndSizes,
122 qt_meta_data_ZN11AbstractJobE,
125 qt_incomplete_metaTypeArray<qt_meta_tag_ZN11AbstractJobE_t,
127 QtPrivate::TypeAndForceComplete<AbstractJob, std::true_type>,
129 QtPrivate::TypeAndForceComplete<void, std::false_type>,
130 QtPrivate::TypeAndForceComplete<QStandardItem *, std::false_type>,
131 QtPrivate::TypeAndForceComplete<int, std::false_type>,
133 QtPrivate::TypeAndForceComplete<void, std::false_type>,
134 QtPrivate::TypeAndForceComplete<AbstractJob *, std::false_type>,
135 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
136 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
138 QtPrivate::TypeAndForceComplete<void, std::false_type>,
139 QtPrivate::TypeAndForceComplete<AbstractJob *, std::false_type>,
140 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
142 QtPrivate::TypeAndForceComplete<void, std::false_type>,
143 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
144 QtPrivate::TypeAndForceComplete<const QStringList &, std::false_type>,
146 QtPrivate::TypeAndForceComplete<void, 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<int, std::false_type>,
156 QtPrivate::TypeAndForceComplete<QProcess::ExitStatus, std::false_type>,
158 QtPrivate::TypeAndForceComplete<void, std::false_type>,
159 QtPrivate::TypeAndForceComplete<int, std::false_type>,
161 QtPrivate::TypeAndForceComplete<void, std::false_type>,
163 QtPrivate::TypeAndForceComplete<void, std::false_type>,
165 QtPrivate::TypeAndForceComplete<void, std::false_type>,
166 QtPrivate::TypeAndForceComplete<QStandardItem *, std::false_type>,
167 QtPrivate::TypeAndForceComplete<int, std::false_type>
172void AbstractJob::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
174 auto *_t =
static_cast<AbstractJob *
>(_o);
175 if (_c == QMetaObject::InvokeMetaMethod) {
177 case 0: _t->progressUpdated((*
reinterpret_cast< std::add_pointer_t<QStandardItem*>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
break;
178 case 1: _t->finished((*
reinterpret_cast< std::add_pointer_t<AbstractJob*>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<bool>
>(_a[2])),(*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[3])));
break;
179 case 2: _t->finished((*
reinterpret_cast< std::add_pointer_t<AbstractJob*>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<bool>
>(_a[2])));
break;
180 case 3: _t->start((*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<QStringList>
>(_a[2])));
break;
181 case 4: _t->start();
break;
182 case 5: _t->stop();
break;
183 case 6: _t->pause();
break;
184 case 7: _t->resume();
break;
185 case 8: _t->onFinished((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<QProcess::ExitStatus>
>(_a[2])));
break;
186 case 9: _t->onFinished((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
187 case 10: _t->onReadyRead();
break;
188 case 11: _t->onStarted();
break;
189 case 12: _t->onProgressUpdated((*
reinterpret_cast< std::add_pointer_t<QStandardItem*>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
break;
193 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
195 default: *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
break;
197 switch (*
reinterpret_cast<int*
>(_a[1])) {
198 default: *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
break;
200 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType::fromType< AbstractJob* >();
break;
204 switch (*
reinterpret_cast<int*
>(_a[1])) {
205 default: *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
break;
207 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType::fromType< AbstractJob* >();
break;
212 if (_c == QMetaObject::IndexOfMethod) {
213 int *result =
reinterpret_cast<int *
>(_a[0]);
215 using _q_method_type = void (AbstractJob::*)(QStandardItem * , int );
216 if (_q_method_type _q_method = &AbstractJob::progressUpdated; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
222 using _q_method_type = void (AbstractJob::*)(AbstractJob * , bool , QString );
223 if (_q_method_type _q_method = &AbstractJob::finished; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
231const QMetaObject *AbstractJob::metaObject()
const
233 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
236void *AbstractJob::qt_metacast(
const char *_clname)
238 if (!_clname)
return nullptr;
239 if (!strcmp(_clname, qt_meta_stringdata_ZN11AbstractJobE.stringdata0))
240 return static_cast<void*
>(
this);
241 return QProcess::qt_metacast(_clname);
244int AbstractJob::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
246 _id = QProcess::qt_metacall(_c, _id, _a);
249 if (_c == QMetaObject::InvokeMetaMethod) {
251 qt_static_metacall(
this, _c, _id, _a);
254 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
256 qt_static_metacall(
this, _c, _id, _a);
263void AbstractJob::progressUpdated(QStandardItem * _t1,
int _t2)
265 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))) };
266 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
270void AbstractJob::finished(AbstractJob * _t1,
bool _t2, QString _t3)
272 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t3))) };
273 QMetaObject::activate(
this, &staticMetaObject, 1, _a);