umbrello 25.04.1
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 67 (Qt 5.15.13)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include <memory>
10#include "../../../../umbrello/codeimpwizard/codeimpthread.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'codeimpthread.h' doesn't include <QObject>."
15#elif Q_MOC_OUTPUT_REVISION != 67
16#error "This file was generated using the moc from 5.15.13. 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
25 QByteArrayData data[19];
26 char stringdata0[180];
27};
28#define QT_MOC_LITERAL(idx, ofs, len) \
29 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
30 qptrdiff(offsetof(qt_meta_stringdata_CodeImpThread_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
34 {
35QT_MOC_LITERAL(0, 0, 13), // "CodeImpThread"
36QT_MOC_LITERAL(1, 14, 11), // "askQuestion"
37QT_MOC_LITERAL(2, 26, 0), // ""
38QT_MOC_LITERAL(3, 27, 8), // "question"
39QT_MOC_LITERAL(4, 36, 4), // "int&"
40QT_MOC_LITERAL(5, 41, 6), // "answer"
41QT_MOC_LITERAL(6, 48, 12), // "messageToWiz"
42QT_MOC_LITERAL(7, 61, 4), // "file"
43QT_MOC_LITERAL(8, 66, 4), // "text"
44QT_MOC_LITERAL(9, 71, 12), // "messageToLog"
45QT_MOC_LITERAL(10, 84, 12), // "messageToApp"
46QT_MOC_LITERAL(11, 97, 7), // "aborted"
47QT_MOC_LITERAL(12, 105, 6), // "failed"
48QT_MOC_LITERAL(13, 112, 8), // "finished"
49QT_MOC_LITERAL(14, 121, 7), // "noError"
50QT_MOC_LITERAL(15, 129, 3), // "run"
51QT_MOC_LITERAL(16, 133, 15), // "emitAskQuestion"
52QT_MOC_LITERAL(17, 149, 16), // "emitMessageToLog"
53QT_MOC_LITERAL(18, 166, 13) // "questionAsked"
54
55 },
56 "CodeImpThread\0askQuestion\0\0question\0"
57 "int&\0answer\0messageToWiz\0file\0text\0"
58 "messageToLog\0messageToApp\0aborted\0"
59 "failed\0finished\0noError\0run\0emitAskQuestion\0"
60 "emitMessageToLog\0questionAsked"
61};
62#undef QT_MOC_LITERAL
63
64static const uint qt_meta_data_CodeImpThread[] = {
65
66 // content:
67 8, // 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
78 1, 2, 69, 2, 0x06 /* Public */,
79 6, 2, 74, 2, 0x06 /* Public */,
80 9, 2, 79, 2, 0x06 /* Public */,
81 10, 1, 84, 2, 0x06 /* Public */,
82 11, 0, 87, 2, 0x06 /* Public */,
83 12, 0, 88, 2, 0x06 /* Public */,
84 13, 1, 89, 2, 0x06 /* Public */,
85
86 // slots: name, argc, parameters, tag, flags
87 15, 0, 92, 2, 0x0a /* Public */,
88 16, 1, 93, 2, 0x0a /* Public */,
89 17, 2, 96, 2, 0x0a /* Public */,
90 18, 2, 101, 2, 0x08 /* 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
110void CodeImpThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
111{
112 if (_c == QMetaObject::InvokeMetaMethod) {
113 auto *_t = static_cast<CodeImpThread *>(_o);
114 (void)_t;
115 switch (_id) {
116 case 0: _t->askQuestion((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
117 case 1: _t->messageToWiz((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
118 case 2: _t->messageToLog((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
119 case 3: _t->messageToApp((*reinterpret_cast< const QString(*)>(_a[1]))); break;
120 case 4: _t->aborted(); break;
121 case 5: _t->failed(); break;
122 case 6: _t->finished((*reinterpret_cast< bool(*)>(_a[1]))); break;
123 case 7: _t->run(); break;
124 case 8: { int _r = _t->emitAskQuestion((*reinterpret_cast< const QString(*)>(_a[1])));
125 if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); } break;
126 case 9: _t->emitMessageToLog((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
127 case 10: _t->questionAsked((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
128 default: ;
129 }
130 } else if (_c == QMetaObject::IndexOfMethod) {
131 int *result = reinterpret_cast<int *>(_a[0]);
132 {
133 using _t = void (CodeImpThread::*)(const QString & , int & );
134 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CodeImpThread::askQuestion)) {
135 *result = 0;
136 return;
137 }
138 }
139 {
140 using _t = void (CodeImpThread::*)(const QString & , const QString & );
141 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CodeImpThread::messageToWiz)) {
142 *result = 1;
143 return;
144 }
145 }
146 {
147 using _t = void (CodeImpThread::*)(const QString & , const QString & );
148 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CodeImpThread::messageToLog)) {
149 *result = 2;
150 return;
151 }
152 }
153 {
154 using _t = void (CodeImpThread::*)(const QString & );
155 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CodeImpThread::messageToApp)) {
156 *result = 3;
157 return;
158 }
159 }
160 {
161 using _t = void (CodeImpThread::*)();
162 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CodeImpThread::aborted)) {
163 *result = 4;
164 return;
165 }
166 }
167 {
168 using _t = void (CodeImpThread::*)();
169 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CodeImpThread::failed)) {
170 *result = 5;
171 return;
172 }
173 }
174 {
175 using _t = void (CodeImpThread::*)(bool );
176 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CodeImpThread::finished)) {
177 *result = 6;
178 return;
179 }
180 }
181 }
182}
183
184QT_INIT_METAOBJECT const QMetaObject CodeImpThread::staticMetaObject = { {
185 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
188 qt_static_metacall,
189 nullptr,
190 nullptr
191} };
192
193
194const QMetaObject *CodeImpThread::metaObject() const
195{
196 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
197}
198
199void *CodeImpThread::qt_metacast(const char *_clname)
200{
201 if (!_clname) return nullptr;
202 if (!strcmp(_clname, qt_meta_stringdata_CodeImpThread.stringdata0))
203 return static_cast<void*>(this);
204 return QObject::qt_metacast(_clname);
205}
206
207int CodeImpThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
208{
209 _id = QObject::qt_metacall(_c, _id, _a);
210 if (_id < 0)
211 return _id;
212 if (_c == QMetaObject::InvokeMetaMethod) {
213 if (_id < 11)
214 qt_static_metacall(this, _c, _id, _a);
215 _id -= 11;
216 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
217 if (_id < 11)
218 *reinterpret_cast<int*>(_a[0]) = -1;
219 _id -= 11;
220 }
221 return _id;
222}
223
224// SIGNAL 0
225void CodeImpThread::askQuestion(const QString & _t1, int & _t2)
226{
227 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
228 QMetaObject::activate(this, &staticMetaObject, 0, _a);
229}
230
231// SIGNAL 1
232void CodeImpThread::messageToWiz(const QString & _t1, const QString & _t2)
233{
234 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
235 QMetaObject::activate(this, &staticMetaObject, 1, _a);
236}
237
238// SIGNAL 2
239void CodeImpThread::messageToLog(const QString & _t1, const QString & _t2)
240{
241 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
242 QMetaObject::activate(this, &staticMetaObject, 2, _a);
243}
244
245// SIGNAL 3
246void CodeImpThread::messageToApp(const QString & _t1)
247{
248 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
249 QMetaObject::activate(this, &staticMetaObject, 3, _a);
250}
251
252// SIGNAL 4
254{
255 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
256}
257
258// SIGNAL 5
260{
261 QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
262}
263
264// SIGNAL 6
266{
267 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
268 QMetaObject::activate(this, &staticMetaObject, 6, _a);
269}
270QT_WARNING_POP
271QT_END_MOC_NAMESPACE
Definition codeimpthread.h:22
void messageToWiz(const QString &file, const QString &text)
Definition moc_codeimpthread.cpp:232
void aborted()
Definition moc_codeimpthread.cpp:253
void finished(bool noError)
Definition moc_codeimpthread.cpp:265
void failed()
Definition moc_codeimpthread.cpp:259
void askQuestion(const QString &question, int &answer)
Definition moc_codeimpthread.cpp:225
void messageToLog(const QString &file, const QString &text)
Definition moc_codeimpthread.cpp:239
void messageToApp(const QString &text)
Definition moc_codeimpthread.cpp:246
int int y int
Definition cxx11-lambda-functions-and-expressions.h:4
static const uint qt_meta_data_CodeImpThread[]
Definition moc_codeimpthread.cpp:64
#define QT_MOC_LITERAL(idx, ofs, len)
Definition moc_codeimpthread.cpp:28
static const qt_meta_stringdata_CodeImpThread_t qt_meta_stringdata_CodeImpThread
Definition moc_codeimpthread.cpp:33
Definition moc_codeimpthread.cpp:24
char stringdata0[180]
Definition moc_codeimpthread.cpp:26
QByteArrayData data[19]
Definition moc_codeimpthread.cpp:25
#define bool
Definition moc_predefs.h:49