Line data Source code
1 : /****************************************************************************
2 : ** Meta object code from reading C++ file 'executor.h'
3 : **
4 : ** Created by: The Qt Meta Object Compiler version 69 (Qt 6.10.2)
5 : **
6 : ** WARNING! All changes made in this file will be lost!
7 : *****************************************************************************/
8 :
9 : #include "executor.h"
10 : #include <QtCore/qmetatype.h>
11 :
12 : #include <QtCore/qtmochelpers.h>
13 :
14 : #include <memory>
15 :
16 :
17 : #include <QtCore/qxptype_traits.h>
18 : #if !defined(Q_MOC_OUTPUT_REVISION)
19 : #error "The header file 'executor.h' doesn't include <QObject>."
20 : #elif Q_MOC_OUTPUT_REVISION != 69
21 : #error "This file was generated using the moc from 6.10.2. It"
22 : #error "cannot be used with the include files from this version of Qt."
23 : #error "(The moc has changed too much.)"
24 : #endif
25 :
26 : #ifndef Q_CONSTINIT
27 : #define Q_CONSTINIT
28 : #endif
29 :
30 : QT_WARNING_PUSH
31 : QT_WARNING_DISABLE_DEPRECATED
32 : QT_WARNING_DISABLE_GCC("-Wuseless-cast")
33 : namespace {
34 : struct qt_meta_tag_ZN8ExecutorE_t {};
35 : } // unnamed namespace
36 :
37 : template <> constexpr inline auto Executor::qt_create_metaobjectdata<qt_meta_tag_ZN8ExecutorE_t>()
38 : {
39 : namespace QMC = QtMocConstants;
40 : QtMocHelpers::StringRefStorage qt_stringData {
41 : "Executor",
42 : "finished",
43 : "",
44 : "id",
45 : "exitCode",
46 : "output",
47 : "errout",
48 : "starting",
49 : "error",
50 : "QProcess::ExitStatus",
51 : "exitStatus"
52 : };
53 :
54 : QtMocHelpers::UintData qt_methods {
55 : // Signal 'finished'
56 : QtMocHelpers::SignalData<void(int, int, const QString &, const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
57 : { QMetaType::Int, 3 }, { QMetaType::Int, 4 }, { QMetaType::QString, 5 }, { QMetaType::QString, 6 },
58 : }}),
59 : // Signal 'starting'
60 : QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
61 : // Signal 'error'
62 : QtMocHelpers::SignalData<void(int, int, const QString &, const QString &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
63 : { QMetaType::Int, 3 }, { QMetaType::Int, 4 }, { QMetaType::QString, 5 }, { QMetaType::QString, 6 },
64 : }}),
65 : // Slot 'finished'
66 : QtMocHelpers::SlotData<void(int, QProcess::ExitStatus)>(1, 2, QMC::AccessPrivate, QMetaType::Void, {{
67 : { QMetaType::Int, 4 }, { 0x80000000 | 9, 10 },
68 : }}),
69 : };
70 : QtMocHelpers::UintData qt_properties {
71 : };
72 : QtMocHelpers::UintData qt_enums {
73 : };
74 : return QtMocHelpers::metaObjectData<Executor, qt_meta_tag_ZN8ExecutorE_t>(QMC::MetaObjectFlag{}, qt_stringData,
75 : qt_methods, qt_properties, qt_enums);
76 : }
77 : Q_CONSTINIT const QMetaObject Executor::staticMetaObject = { {
78 : QMetaObject::SuperData::link<QObject::staticMetaObject>(),
79 : qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8ExecutorE_t>.stringdata,
80 : qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8ExecutorE_t>.data,
81 : qt_static_metacall,
82 : nullptr,
83 : qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN8ExecutorE_t>.metaTypes,
84 : nullptr
85 : } };
86 :
87 156 : void Executor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
88 : {
89 : auto *_t = static_cast<Executor *>(_o);
90 156 : if (_c == QMetaObject::InvokeMetaMethod) {
91 0 : switch (_id) {
92 0 : case 0: _t->finished((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4]))); break;
93 0 : case 1: _t->starting(); break;
94 0 : case 2: _t->error((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4]))); break;
95 0 : case 3: _t->finished((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QProcess::ExitStatus>>(_a[2]))); break;
96 : default: ;
97 : }
98 : }
99 156 : if (_c == QMetaObject::IndexOfMethod) {
100 : if (QtMocHelpers::indexOfMethod<void (Executor::*)(int , int , const QString & , const QString & )>(_a, &Executor::finished, 0))
101 78 : return;
102 : if (QtMocHelpers::indexOfMethod<void (Executor::*)()>(_a, &Executor::starting, 1))
103 78 : return;
104 : if (QtMocHelpers::indexOfMethod<void (Executor::*)(int , int , const QString & , const QString & )>(_a, &Executor::error, 2))
105 0 : return;
106 : }
107 : }
108 :
109 0 : const QMetaObject *Executor::metaObject() const
110 : {
111 0 : return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
112 : }
113 :
114 0 : void *Executor::qt_metacast(const char *_clname)
115 : {
116 0 : if (!_clname) return nullptr;
117 0 : if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8ExecutorE_t>.strings))
118 : return static_cast<void*>(this);
119 0 : return QObject::qt_metacast(_clname);
120 : }
121 :
122 0 : int Executor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
123 : {
124 0 : _id = QObject::qt_metacall(_c, _id, _a);
125 0 : if (_id < 0)
126 : return _id;
127 0 : if (_c == QMetaObject::InvokeMetaMethod) {
128 0 : if (_id < 4)
129 0 : qt_static_metacall(this, _c, _id, _a);
130 0 : _id -= 4;
131 : }
132 0 : if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
133 0 : if (_id < 4)
134 0 : *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
135 0 : _id -= 4;
136 : }
137 : return _id;
138 : }
139 :
140 : // SIGNAL 0
141 0 : void Executor::finished(int _t1, int _t2, const QString & _t3, const QString & _t4)
142 : {
143 0 : QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2, _t3, _t4);
144 0 : }
145 :
146 : // SIGNAL 1
147 0 : void Executor::starting()
148 : {
149 0 : QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
150 0 : }
151 :
152 : // SIGNAL 2
153 0 : void Executor::error(int _t1, int _t2, const QString & _t3, const QString & _t4)
154 : {
155 0 : QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2, _t3, _t4);
156 0 : }
157 : QT_WARNING_POP
|