GCC Code Coverage Report


Directory: ./
File: src/__/include/gepetto/gui/moc_selection-handler.cpp
Date: 2024-12-20 15:53:58
Exec Total Coverage
Lines: 0 130 0.0%
Branches: 0 118 0.0%

Line Branch Exec Source
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'selection-handler.hh'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.3)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8
9 #include <memory>
10 #include "../../../../../include/gepetto/gui/selection-handler.hh"
11 #include <QtCore/qbytearray.h>
12 #include <QtCore/qmetatype.h>
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'selection-handler.hh' doesn't include <QObject>."
15 #elif Q_MOC_OUTPUT_REVISION != 67
16 #error "This file was generated using the moc from 5.15.3. 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
21 QT_BEGIN_MOC_NAMESPACE
22 QT_WARNING_PUSH
23 QT_WARNING_DISABLE_DEPRECATED
24 struct qt_meta_stringdata_gepetto__gui__SelectionMode_t {
25 QByteArrayData data[7];
26 char stringdata0[83];
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_gepetto__gui__SelectionMode_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
33 static const qt_meta_stringdata_gepetto__gui__SelectionMode_t qt_meta_stringdata_gepetto__gui__SelectionMode = {
34 {
35 QT_MOC_LITERAL(0, 0, 27), // "gepetto::gui::SelectionMode"
36 QT_MOC_LITERAL(1, 28, 14), // "selectedBodies"
37 QT_MOC_LITERAL(2, 43, 0), // ""
38 QT_MOC_LITERAL(3, 44, 8), // "onSelect"
39 QT_MOC_LITERAL(4, 53, 15), // "SelectionEvent*"
40 QT_MOC_LITERAL(5, 69, 5), // "event"
41 QT_MOC_LITERAL(6, 75, 7) // "getName"
42
43 },
44 "gepetto::gui::SelectionMode\0selectedBodies\0"
45 "\0onSelect\0SelectionEvent*\0event\0getName"
46 };
47 #undef QT_MOC_LITERAL
48
49 static const uint qt_meta_data_gepetto__gui__SelectionMode[] = {
50
51 // content:
52 8, // revision
53 0, // classname
54 0, 0, // classinfo
55 3, 14, // methods
56 0, 0, // properties
57 0, 0, // enums/sets
58 0, 0, // constructors
59 0, // flags
60 1, // signalCount
61
62 // signals: name, argc, parameters, tag, flags
63 1, 1, 29, 2, 0x06 /* Public */,
64
65 // slots: name, argc, parameters, tag, flags
66 3, 1, 32, 2, 0x0a /* Public */,
67 6, 0, 35, 2, 0x0a /* Public */,
68
69 // signals: parameters
70 QMetaType::Void, QMetaType::QStringList, 1,
71
72 // slots: parameters
73 QMetaType::Void, 0x80000000 | 4, 5,
74 QMetaType::QString,
75
76 0 // eod
77 };
78
79 void gepetto::gui::SelectionMode::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
80 {
81 if (_c == QMetaObject::InvokeMetaMethod) {
82 auto *_t = static_cast<SelectionMode *>(_o);
83 (void)_t;
84 switch (_id) {
85 case 0: _t->selectedBodies((*reinterpret_cast< QStringList(*)>(_a[1]))); break;
86 case 1: _t->onSelect((*reinterpret_cast< SelectionEvent*(*)>(_a[1]))); break;
87 case 2: { QString _r = _t->getName();
88 if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); } break;
89 default: ;
90 }
91 } else if (_c == QMetaObject::IndexOfMethod) {
92 int *result = reinterpret_cast<int *>(_a[0]);
93 {
94 using _t = void (SelectionMode::*)(QStringList );
95 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SelectionMode::selectedBodies)) {
96 *result = 0;
97 return;
98 }
99 }
100 }
101 }
102
103 QT_INIT_METAOBJECT const QMetaObject gepetto::gui::SelectionMode::staticMetaObject = { {
104 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
105 qt_meta_stringdata_gepetto__gui__SelectionMode.data,
106 qt_meta_data_gepetto__gui__SelectionMode,
107 qt_static_metacall,
108 nullptr,
109 nullptr
110 } };
111
112
113 const QMetaObject *gepetto::gui::SelectionMode::metaObject() const
114 {
115 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
116 }
117
118 void *gepetto::gui::SelectionMode::qt_metacast(const char *_clname)
119 {
120 if (!_clname) return nullptr;
121 if (!strcmp(_clname, qt_meta_stringdata_gepetto__gui__SelectionMode.stringdata0))
122 return static_cast<void*>(this);
123 return QObject::qt_metacast(_clname);
124 }
125
126 int gepetto::gui::SelectionMode::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
127 {
128 _id = QObject::qt_metacall(_c, _id, _a);
129 if (_id < 0)
130 return _id;
131 if (_c == QMetaObject::InvokeMetaMethod) {
132 if (_id < 3)
133 qt_static_metacall(this, _c, _id, _a);
134 _id -= 3;
135 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
136 if (_id < 3)
137 *reinterpret_cast<int*>(_a[0]) = -1;
138 _id -= 3;
139 }
140 return _id;
141 }
142
143 // SIGNAL 0
144 void gepetto::gui::SelectionMode::selectedBodies(QStringList _t1)
145 {
146 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
147 QMetaObject::activate(this, &staticMetaObject, 0, _a);
148 }
149 struct qt_meta_stringdata_gepetto__gui__UniqueSelection_t {
150 QByteArrayData data[6];
151 char stringdata0[70];
152 };
153 #define QT_MOC_LITERAL(idx, ofs, len) \
154 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
155 qptrdiff(offsetof(qt_meta_stringdata_gepetto__gui__UniqueSelection_t, stringdata0) + ofs \
156 - idx * sizeof(QByteArrayData)) \
157 )
158 static const qt_meta_stringdata_gepetto__gui__UniqueSelection_t qt_meta_stringdata_gepetto__gui__UniqueSelection = {
159 {
160 QT_MOC_LITERAL(0, 0, 29), // "gepetto::gui::UniqueSelection"
161 QT_MOC_LITERAL(1, 30, 8), // "onSelect"
162 QT_MOC_LITERAL(2, 39, 0), // ""
163 QT_MOC_LITERAL(3, 40, 15), // "SelectionEvent*"
164 QT_MOC_LITERAL(4, 56, 5), // "event"
165 QT_MOC_LITERAL(5, 62, 7) // "getName"
166
167 },
168 "gepetto::gui::UniqueSelection\0onSelect\0"
169 "\0SelectionEvent*\0event\0getName"
170 };
171 #undef QT_MOC_LITERAL
172
173 static const uint qt_meta_data_gepetto__gui__UniqueSelection[] = {
174
175 // content:
176 8, // revision
177 0, // classname
178 0, 0, // classinfo
179 2, 14, // methods
180 0, 0, // properties
181 0, 0, // enums/sets
182 0, 0, // constructors
183 0, // flags
184 0, // signalCount
185
186 // slots: name, argc, parameters, tag, flags
187 1, 1, 24, 2, 0x0a /* Public */,
188 5, 0, 27, 2, 0x0a /* Public */,
189
190 // slots: parameters
191 QMetaType::Void, 0x80000000 | 3, 4,
192 QMetaType::QString,
193
194 0 // eod
195 };
196
197 void gepetto::gui::UniqueSelection::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
198 {
199 if (_c == QMetaObject::InvokeMetaMethod) {
200 auto *_t = static_cast<UniqueSelection *>(_o);
201 (void)_t;
202 switch (_id) {
203 case 0: _t->onSelect((*reinterpret_cast< SelectionEvent*(*)>(_a[1]))); break;
204 case 1: { QString _r = _t->getName();
205 if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); } break;
206 default: ;
207 }
208 }
209 }
210
211 QT_INIT_METAOBJECT const QMetaObject gepetto::gui::UniqueSelection::staticMetaObject = { {
212 QMetaObject::SuperData::link<SelectionMode::staticMetaObject>(),
213 qt_meta_stringdata_gepetto__gui__UniqueSelection.data,
214 qt_meta_data_gepetto__gui__UniqueSelection,
215 qt_static_metacall,
216 nullptr,
217 nullptr
218 } };
219
220
221 const QMetaObject *gepetto::gui::UniqueSelection::metaObject() const
222 {
223 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
224 }
225
226 void *gepetto::gui::UniqueSelection::qt_metacast(const char *_clname)
227 {
228 if (!_clname) return nullptr;
229 if (!strcmp(_clname, qt_meta_stringdata_gepetto__gui__UniqueSelection.stringdata0))
230 return static_cast<void*>(this);
231 return SelectionMode::qt_metacast(_clname);
232 }
233
234 int gepetto::gui::UniqueSelection::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
235 {
236 _id = SelectionMode::qt_metacall(_c, _id, _a);
237 if (_id < 0)
238 return _id;
239 if (_c == QMetaObject::InvokeMetaMethod) {
240 if (_id < 2)
241 qt_static_metacall(this, _c, _id, _a);
242 _id -= 2;
243 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
244 if (_id < 2)
245 *reinterpret_cast<int*>(_a[0]) = -1;
246 _id -= 2;
247 }
248 return _id;
249 }
250 struct qt_meta_stringdata_gepetto__gui__MultiSelection_t {
251 QByteArrayData data[6];
252 char stringdata0[69];
253 };
254 #define QT_MOC_LITERAL(idx, ofs, len) \
255 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
256 qptrdiff(offsetof(qt_meta_stringdata_gepetto__gui__MultiSelection_t, stringdata0) + ofs \
257 - idx * sizeof(QByteArrayData)) \
258 )
259 static const qt_meta_stringdata_gepetto__gui__MultiSelection_t qt_meta_stringdata_gepetto__gui__MultiSelection = {
260 {
261 QT_MOC_LITERAL(0, 0, 28), // "gepetto::gui::MultiSelection"
262 QT_MOC_LITERAL(1, 29, 8), // "onSelect"
263 QT_MOC_LITERAL(2, 38, 0), // ""
264 QT_MOC_LITERAL(3, 39, 15), // "SelectionEvent*"
265 QT_MOC_LITERAL(4, 55, 5), // "event"
266 QT_MOC_LITERAL(5, 61, 7) // "getName"
267
268 },
269 "gepetto::gui::MultiSelection\0onSelect\0"
270 "\0SelectionEvent*\0event\0getName"
271 };
272 #undef QT_MOC_LITERAL
273
274 static const uint qt_meta_data_gepetto__gui__MultiSelection[] = {
275
276 // content:
277 8, // revision
278 0, // classname
279 0, 0, // classinfo
280 2, 14, // methods
281 0, 0, // properties
282 0, 0, // enums/sets
283 0, 0, // constructors
284 0, // flags
285 0, // signalCount
286
287 // slots: name, argc, parameters, tag, flags
288 1, 1, 24, 2, 0x0a /* Public */,
289 5, 0, 27, 2, 0x0a /* Public */,
290
291 // slots: parameters
292 QMetaType::Void, 0x80000000 | 3, 4,
293 QMetaType::QString,
294
295 0 // eod
296 };
297
298 void gepetto::gui::MultiSelection::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
299 {
300 if (_c == QMetaObject::InvokeMetaMethod) {
301 auto *_t = static_cast<MultiSelection *>(_o);
302 (void)_t;
303 switch (_id) {
304 case 0: _t->onSelect((*reinterpret_cast< SelectionEvent*(*)>(_a[1]))); break;
305 case 1: { QString _r = _t->getName();
306 if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); } break;
307 default: ;
308 }
309 }
310 }
311
312 QT_INIT_METAOBJECT const QMetaObject gepetto::gui::MultiSelection::staticMetaObject = { {
313 QMetaObject::SuperData::link<SelectionMode::staticMetaObject>(),
314 qt_meta_stringdata_gepetto__gui__MultiSelection.data,
315 qt_meta_data_gepetto__gui__MultiSelection,
316 qt_static_metacall,
317 nullptr,
318 nullptr
319 } };
320
321
322 const QMetaObject *gepetto::gui::MultiSelection::metaObject() const
323 {
324 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
325 }
326
327 void *gepetto::gui::MultiSelection::qt_metacast(const char *_clname)
328 {
329 if (!_clname) return nullptr;
330 if (!strcmp(_clname, qt_meta_stringdata_gepetto__gui__MultiSelection.stringdata0))
331 return static_cast<void*>(this);
332 return SelectionMode::qt_metacast(_clname);
333 }
334
335 int gepetto::gui::MultiSelection::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
336 {
337 _id = SelectionMode::qt_metacall(_c, _id, _a);
338 if (_id < 0)
339 return _id;
340 if (_c == QMetaObject::InvokeMetaMethod) {
341 if (_id < 2)
342 qt_static_metacall(this, _c, _id, _a);
343 _id -= 2;
344 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
345 if (_id < 2)
346 *reinterpret_cast<int*>(_a[0]) = -1;
347 _id -= 2;
348 }
349 return _id;
350 }
351 struct qt_meta_stringdata_gepetto__gui__SelectionHandler_t {
352 QByteArrayData data[9];
353 char stringdata0[102];
354 };
355 #define QT_MOC_LITERAL(idx, ofs, len) \
356 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
357 qptrdiff(offsetof(qt_meta_stringdata_gepetto__gui__SelectionHandler_t, stringdata0) + ofs \
358 - idx * sizeof(QByteArrayData)) \
359 )
360 static const qt_meta_stringdata_gepetto__gui__SelectionHandler_t qt_meta_stringdata_gepetto__gui__SelectionHandler = {
361 {
362 QT_MOC_LITERAL(0, 0, 30), // "gepetto::gui::SelectionHandler"
363 QT_MOC_LITERAL(1, 31, 7), // "addMode"
364 QT_MOC_LITERAL(2, 39, 0), // ""
365 QT_MOC_LITERAL(3, 40, 14), // "SelectionMode*"
366 QT_MOC_LITERAL(4, 55, 4), // "mode"
367 QT_MOC_LITERAL(5, 60, 9), // "getBodies"
368 QT_MOC_LITERAL(6, 70, 14), // "selectedBodies"
369 QT_MOC_LITERAL(7, 85, 10), // "changeMode"
370 QT_MOC_LITERAL(8, 96, 5) // "index"
371
372 },
373 "gepetto::gui::SelectionHandler\0addMode\0"
374 "\0SelectionMode*\0mode\0getBodies\0"
375 "selectedBodies\0changeMode\0index"
376 };
377 #undef QT_MOC_LITERAL
378
379 static const uint qt_meta_data_gepetto__gui__SelectionHandler[] = {
380
381 // content:
382 8, // revision
383 0, // classname
384 0, 0, // classinfo
385 3, 14, // methods
386 0, 0, // properties
387 0, 0, // enums/sets
388 0, 0, // constructors
389 0, // flags
390 0, // signalCount
391
392 // slots: name, argc, parameters, tag, flags
393 1, 1, 29, 2, 0x0a /* Public */,
394 5, 1, 32, 2, 0x08 /* Private */,
395 7, 1, 35, 2, 0x08 /* Private */,
396
397 // slots: parameters
398 QMetaType::Void, 0x80000000 | 3, 4,
399 QMetaType::Void, QMetaType::QStringList, 6,
400 QMetaType::Void, QMetaType::Int, 8,
401
402 0 // eod
403 };
404
405 void gepetto::gui::SelectionHandler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
406 {
407 if (_c == QMetaObject::InvokeMetaMethod) {
408 auto *_t = static_cast<SelectionHandler *>(_o);
409 (void)_t;
410 switch (_id) {
411 case 0: _t->addMode((*reinterpret_cast< SelectionMode*(*)>(_a[1]))); break;
412 case 1: _t->getBodies((*reinterpret_cast< QStringList(*)>(_a[1]))); break;
413 case 2: _t->changeMode((*reinterpret_cast< int(*)>(_a[1]))); break;
414 default: ;
415 }
416 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
417 switch (_id) {
418 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
419 case 0:
420 switch (*reinterpret_cast<int*>(_a[1])) {
421 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
422 case 0:
423 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< SelectionMode* >(); break;
424 }
425 break;
426 }
427 }
428 }
429
430 QT_INIT_METAOBJECT const QMetaObject gepetto::gui::SelectionHandler::staticMetaObject = { {
431 QMetaObject::SuperData::link<QComboBox::staticMetaObject>(),
432 qt_meta_stringdata_gepetto__gui__SelectionHandler.data,
433 qt_meta_data_gepetto__gui__SelectionHandler,
434 qt_static_metacall,
435 nullptr,
436 nullptr
437 } };
438
439
440 const QMetaObject *gepetto::gui::SelectionHandler::metaObject() const
441 {
442 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
443 }
444
445 void *gepetto::gui::SelectionHandler::qt_metacast(const char *_clname)
446 {
447 if (!_clname) return nullptr;
448 if (!strcmp(_clname, qt_meta_stringdata_gepetto__gui__SelectionHandler.stringdata0))
449 return static_cast<void*>(this);
450 return QComboBox::qt_metacast(_clname);
451 }
452
453 int gepetto::gui::SelectionHandler::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
454 {
455 _id = QComboBox::qt_metacall(_c, _id, _a);
456 if (_id < 0)
457 return _id;
458 if (_c == QMetaObject::InvokeMetaMethod) {
459 if (_id < 3)
460 qt_static_metacall(this, _c, _id, _a);
461 _id -= 3;
462 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
463 if (_id < 3)
464 qt_static_metacall(this, _c, _id, _a);
465 _id -= 3;
466 }
467 return _id;
468 }
469 QT_WARNING_POP
470 QT_END_MOC_NAMESPACE
471