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