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.7.2. 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")
35#ifdef QT_MOC_HAS_STRINGDATA
36struct qt_meta_stringdata_CLASSAbstractJobENDCLASS_t {};
37constexpr auto qt_meta_stringdata_CLASSAbstractJobENDCLASS = QtMocHelpers::stringData(
57 "QProcess::ExitStatus",
64#error "qtmochelpers.h not found or too old."
68Q_CONSTINIT
static const uint qt_meta_data_CLASSAbstractJobENDCLASS[] = {
82 1, 2, 92, 2, 0x06, 1 ,
83 6, 3, 97, 2, 0x06, 4 ,
84 6, 2, 104, 2, 0x26, 8 ,
87 11, 2, 109, 2, 0x0a, 11 ,
88 11, 0, 114, 2, 0x0a, 14 ,
89 14, 0, 115, 2, 0x0a, 15 ,
90 15, 0, 116, 2, 0x0a, 16 ,
91 16, 0, 117, 2, 0x0a, 17 ,
92 17, 2, 118, 2, 0x09, 18 ,
93 17, 1, 123, 2, 0x29, 21 ,
94 21, 0, 126, 2, 0x09, 23 ,
95 22, 0, 127, 2, 0x09, 24 ,
96 23, 2, 128, 2, 0x08, 25 ,
99 QMetaType::Void, 0x80000000 | 3, QMetaType::Int, 4, 5,
100 QMetaType::Void, 0x80000000 | 7, QMetaType::Bool, QMetaType::QString, 8, 9, 10,
101 QMetaType::Void, 0x80000000 | 7, QMetaType::Bool, 8, 9,
104 QMetaType::Void, QMetaType::QString, QMetaType::QStringList, 12, 13,
109 QMetaType::Void, QMetaType::Int, 0x80000000 | 19, 18, 20,
110 QMetaType::Void, QMetaType::Int, 18,
113 QMetaType::Void, 0x80000000 | 3, QMetaType::Int, 2, 5,
118Q_CONSTINIT
const QMetaObject AbstractJob::staticMetaObject = { {
119 QMetaObject::SuperData::link<QProcess::staticMetaObject>(),
120 qt_meta_stringdata_CLASSAbstractJobENDCLASS.offsetsAndSizes,
121 qt_meta_data_CLASSAbstractJobENDCLASS,
124 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSAbstractJobENDCLASS_t,
126 QtPrivate::TypeAndForceComplete<AbstractJob, std::true_type>,
128 QtPrivate::TypeAndForceComplete<void, std::false_type>,
129 QtPrivate::TypeAndForceComplete<QStandardItem *, std::false_type>,
130 QtPrivate::TypeAndForceComplete<int, std::false_type>,
132 QtPrivate::TypeAndForceComplete<void, std::false_type>,
133 QtPrivate::TypeAndForceComplete<AbstractJob *, std::false_type>,
134 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
135 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
137 QtPrivate::TypeAndForceComplete<void, std::false_type>,
138 QtPrivate::TypeAndForceComplete<AbstractJob *, std::false_type>,
139 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
141 QtPrivate::TypeAndForceComplete<void, std::false_type>,
142 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
143 QtPrivate::TypeAndForceComplete<const QStringList &, std::false_type>,
145 QtPrivate::TypeAndForceComplete<void, std::false_type>,
147 QtPrivate::TypeAndForceComplete<void, std::false_type>,
149 QtPrivate::TypeAndForceComplete<void, std::false_type>,
151 QtPrivate::TypeAndForceComplete<void, std::false_type>,
153 QtPrivate::TypeAndForceComplete<void, std::false_type>,
154 QtPrivate::TypeAndForceComplete<int, std::false_type>,
155 QtPrivate::TypeAndForceComplete<QProcess::ExitStatus, std::false_type>,
157 QtPrivate::TypeAndForceComplete<void, std::false_type>,
158 QtPrivate::TypeAndForceComplete<int, std::false_type>,
160 QtPrivate::TypeAndForceComplete<void, std::false_type>,
162 QtPrivate::TypeAndForceComplete<void, std::false_type>,
164 QtPrivate::TypeAndForceComplete<void, std::false_type>,
165 QtPrivate::TypeAndForceComplete<QStandardItem *, std::false_type>,
166 QtPrivate::TypeAndForceComplete<int, std::false_type>
171void AbstractJob::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
173 if (_c == QMetaObject::InvokeMetaMethod) {
174 auto *_t =
static_cast<AbstractJob *
>(_o);
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;
192 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
194 default: *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
break;
196 switch (*
reinterpret_cast<int*
>(_a[1])) {
197 default: *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
break;
199 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType::fromType< AbstractJob* >();
break;
203 switch (*
reinterpret_cast<int*
>(_a[1])) {
204 default: *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
break;
206 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType::fromType< AbstractJob* >();
break;
210 }
else if (_c == QMetaObject::IndexOfMethod) {
211 int *result =
reinterpret_cast<int *
>(_a[0]);
213 using _t = void (AbstractJob::*)(QStandardItem * , int );
214 if (_t _q_method = &AbstractJob::progressUpdated; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
220 using _t = void (AbstractJob::*)(AbstractJob * , bool , QString );
221 if (_t _q_method = &AbstractJob::finished; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
229const QMetaObject *AbstractJob::metaObject()
const
231 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
234void *AbstractJob::qt_metacast(
const char *_clname)
236 if (!_clname)
return nullptr;
237 if (!strcmp(_clname, qt_meta_stringdata_CLASSAbstractJobENDCLASS.stringdata0))
238 return static_cast<void*
>(
this);
239 return QProcess::qt_metacast(_clname);
242int AbstractJob::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
244 _id = QProcess::qt_metacall(_c, _id, _a);
247 if (_c == QMetaObject::InvokeMetaMethod) {
249 qt_static_metacall(
this, _c, _id, _a);
251 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
253 qt_static_metacall(
this, _c, _id, _a);
260void AbstractJob::progressUpdated(QStandardItem * _t1,
int _t2)
262 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))) };
263 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
267void AbstractJob::finished(AbstractJob * _t1,
bool _t2, QString _t3)
269 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))) };
270 QMetaObject::activate(
this, &staticMetaObject, 1, _a);