umbrello 25.11.70
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_codeimpthread.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'codeimpthread.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.8.3)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
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 'codeimpthread.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 68
21#error "This file was generated using the moc from 6.8.3. 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
30QT_WARNING_PUSH
32QT_WARNING_DISABLE_GCC("-Wuseless-cast")
33namespace {
35} // unnamed namespace
36
37
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN13CodeImpThreadE = QtMocHelpers::stringData(
40 "CodeImpThread",
41 "askQuestion",
42 "",
43 "question",
44 "int&",
45 "answer",
46 "messageToWiz",
47 "file",
48 "text",
49 "messageToLog",
50 "messageToApp",
51 "aborted",
52 "failed",
53 "finished",
54 "noError",
55 "run",
56 "emitAskQuestion",
57 "emitMessageToLog",
58 "questionAsked"
59);
60#else // !QT_MOC_HAS_STRINGDATA
61#error "qtmochelpers.h not found or too old."
62#endif // !QT_MOC_HAS_STRINGDATA
63
65
66 // content:
67 12, // revision
68 0, // classname
69 0, 0, // classinfo
70 11, 14, // methods
71 0, 0, // properties
72 0, 0, // enums/sets
73 0, 0, // constructors
74 0, // flags
75 7, // signalCount
76
77 // signals: name, argc, parameters, tag, flags, initial metatype offsets
78 1, 2, 80, 2, 0x06, 1 /* Public */,
79 6, 2, 85, 2, 0x06, 4 /* Public */,
80 9, 2, 90, 2, 0x06, 7 /* Public */,
81 10, 1, 95, 2, 0x06, 10 /* Public */,
82 11, 0, 98, 2, 0x06, 12 /* Public */,
83 12, 0, 99, 2, 0x06, 13 /* Public */,
84 13, 1, 100, 2, 0x06, 14 /* Public */,
85
86 // slots: name, argc, parameters, tag, flags, initial metatype offsets
87 15, 0, 103, 2, 0x0a, 16 /* Public */,
88 16, 1, 104, 2, 0x0a, 17 /* Public */,
89 17, 2, 107, 2, 0x0a, 19 /* Public */,
90 18, 2, 112, 2, 0x08, 22 /* Private */,
91
92 // signals: parameters
93 QMetaType::Void, QMetaType::QString, 0x80000000 | 4, 3, 5,
94 QMetaType::Void, QMetaType::QString, QMetaType::QString, 7, 8,
95 QMetaType::Void, QMetaType::QString, QMetaType::QString, 7, 8,
96 QMetaType::Void, QMetaType::QString, 8,
97 QMetaType::Void,
98 QMetaType::Void,
99 QMetaType::Void, QMetaType::Bool, 14,
100
101 // slots: parameters
102 QMetaType::Void,
103 QMetaType::Int, QMetaType::QString, 3,
104 QMetaType::Void, QMetaType::QString, QMetaType::QString, 7, 8,
105 QMetaType::Void, QMetaType::QString, 0x80000000 | 4, 3, 5,
106
107 0 // eod
108};
109
110Q_CONSTINIT const QMetaObject CodeImpThread::staticMetaObject = { {
111 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
112 qt_meta_stringdata_ZN13CodeImpThreadE.offsetsAndSizes,
114 qt_static_metacall,
115 nullptr,
116 qt_incomplete_metaTypeArray<qt_meta_tag_ZN13CodeImpThreadE_t,
117 // Q_OBJECT / Q_GADGET
118 QtPrivate::TypeAndForceComplete<CodeImpThread, std::true_type>,
119 // method 'askQuestion'
120 QtPrivate::TypeAndForceComplete<void, std::false_type>,
121 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
122 QtPrivate::TypeAndForceComplete<int &, std::false_type>,
123 // method 'messageToWiz'
124 QtPrivate::TypeAndForceComplete<void, std::false_type>,
125 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
126 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
127 // method 'messageToLog'
128 QtPrivate::TypeAndForceComplete<void, std::false_type>,
129 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
130 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
131 // method 'messageToApp'
132 QtPrivate::TypeAndForceComplete<void, std::false_type>,
133 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
134 // method 'aborted'
135 QtPrivate::TypeAndForceComplete<void, std::false_type>,
136 // method 'failed'
137 QtPrivate::TypeAndForceComplete<void, std::false_type>,
138 // method 'finished'
139 QtPrivate::TypeAndForceComplete<void, std::false_type>,
140 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
141 // method 'run'
142 QtPrivate::TypeAndForceComplete<void, std::false_type>,
143 // method 'emitAskQuestion'
144 QtPrivate::TypeAndForceComplete<int, std::false_type>,
145 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
146 // method 'emitMessageToLog'
147 QtPrivate::TypeAndForceComplete<void, std::false_type>,
148 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
149 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
150 // method 'questionAsked'
151 QtPrivate::TypeAndForceComplete<void, std::false_type>,
152 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
153 QtPrivate::TypeAndForceComplete<int &, std::false_type>
154 >,
155 nullptr
156} };
157
158void CodeImpThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
159{
160 auto *_t = static_cast<CodeImpThread *>(_o);
161 if (_c == QMetaObject::InvokeMetaMethod) {
162 switch (_id) {
163 case 0: _t->askQuestion((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int&>>(_a[2]))); break;
164 case 1: _t->messageToWiz((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QString>>(_a[2]))); break;
165 case 2: _t->messageToLog((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QString>>(_a[2]))); break;
166 case 3: _t->messageToApp((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
167 case 4: _t->aborted(); break;
168 case 5: _t->failed(); break;
169 case 6: _t->finished((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
170 case 7: _t->run(); break;
171 case 8: { int _r = _t->emitAskQuestion((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])));
172 if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); } break;
173 case 9: _t->emitMessageToLog((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QString>>(_a[2]))); break;
174 case 10: _t->questionAsked((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int&>>(_a[2]))); break;
175 default: ;
176 }
177 }
178 if (_c == QMetaObject::IndexOfMethod) {
179 int *result = reinterpret_cast<int *>(_a[0]);
180 {
181 using _q_method_type = void (CodeImpThread::*)(const QString & , int & );
182 if (_q_method_type _q_method = &CodeImpThread::askQuestion; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
183 *result = 0;
184 return;
185 }
186 }
187 {
188 using _q_method_type = void (CodeImpThread::*)(const QString & , const QString & );
189 if (_q_method_type _q_method = &CodeImpThread::messageToWiz; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
190 *result = 1;
191 return;
192 }
193 }
194 {
195 using _q_method_type = void (CodeImpThread::*)(const QString & , const QString & );
196 if (_q_method_type _q_method = &CodeImpThread::messageToLog; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
197 *result = 2;
198 return;
199 }
200 }
201 {
202 using _q_method_type = void (CodeImpThread::*)(const QString & );
203 if (_q_method_type _q_method = &CodeImpThread::messageToApp; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
204 *result = 3;
205 return;
206 }
207 }
208 {
209 using _q_method_type = void (CodeImpThread::*)();
210 if (_q_method_type _q_method = &CodeImpThread::aborted; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
211 *result = 4;
212 return;
213 }
214 }
215 {
216 using _q_method_type = void (CodeImpThread::*)();
217 if (_q_method_type _q_method = &CodeImpThread::failed; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
218 *result = 5;
219 return;
220 }
221 }
222 {
223 using _q_method_type = void (CodeImpThread::*)(bool );
224 if (_q_method_type _q_method = &CodeImpThread::finished; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
225 *result = 6;
226 return;
227 }
228 }
229 }
230}
231
232const QMetaObject *CodeImpThread::metaObject() const
233{
234 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
235}
236
237void *CodeImpThread::qt_metacast(const char *_clname)
238{
239 if (!_clname) return nullptr;
240 if (!strcmp(_clname, qt_meta_stringdata_ZN13CodeImpThreadE.stringdata0))
241 return static_cast<void*>(this);
242 return QObject::qt_metacast(_clname);
243}
244
245int CodeImpThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
246{
247 _id = QObject::qt_metacall(_c, _id, _a);
248 if (_id < 0)
249 return _id;
250 if (_c == QMetaObject::InvokeMetaMethod) {
251 if (_id < 11)
252 qt_static_metacall(this, _c, _id, _a);
253 _id -= 11;
254 }
255 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
256 if (_id < 11)
257 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
258 _id -= 11;
259 }
260 return _id;
261}
262
263// SIGNAL 0
264void CodeImpThread::askQuestion(const QString & _t1, int & _t2)
265{
266 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
267 QMetaObject::activate(this, &staticMetaObject, 0, _a);
268}
269
270// SIGNAL 1
271void CodeImpThread::messageToWiz(const QString & _t1, const QString & _t2)
272{
273 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
274 QMetaObject::activate(this, &staticMetaObject, 1, _a);
275}
276
277// SIGNAL 2
278void CodeImpThread::messageToLog(const QString & _t1, const QString & _t2)
279{
280 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
281 QMetaObject::activate(this, &staticMetaObject, 2, _a);
282}
283
284// SIGNAL 3
285void CodeImpThread::messageToApp(const QString & _t1)
286{
287 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
288 QMetaObject::activate(this, &staticMetaObject, 3, _a);
289}
290
291// SIGNAL 4
293{
294 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
295}
296
297// SIGNAL 5
299{
300 QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
301}
302
303// SIGNAL 6
305{
306 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
307 QMetaObject::activate(this, &staticMetaObject, 6, _a);
308}
309QT_WARNING_POP
void messageToWiz(const QString &file, const QString &text)
Definition moc_codeimpthread.cpp:271
void aborted()
Definition moc_codeimpthread.cpp:292
void finished(bool noError)
Definition moc_codeimpthread.cpp:304
void failed()
Definition moc_codeimpthread.cpp:298
CodeImpThread(QFileInfo &file, QObject *parent=nullptr)
Definition codeimpthread.cpp:21
void askQuestion(const QString &question, int &answer)
Definition moc_codeimpthread.cpp:264
void messageToLog(const QString &file, const QString &text)
Definition moc_codeimpthread.cpp:278
void messageToApp(const QString &text)
Definition moc_codeimpthread.cpp:285
static Q_CONSTINIT const uint qt_meta_data_ZN13CodeImpThreadE[]
Definition moc_codeimpthread.cpp:64
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33