GCC Code Coverage Report


Directory: ./
File: src/__/include/gepetto/gui/moc_bodytreewidget.cpp
Date: 2024-12-20 15:53:58
Exec Total Coverage
Lines: 0 40 0.0%
Branches: 0 41 0.0%

Line Branch Exec Source
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'bodytreewidget.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/bodytreewidget.hh"
11 #include <QtCore/qbytearray.h>
12 #include <QtCore/qmetatype.h>
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'bodytreewidget.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__BodyTreeWidget_t {
25 QByteArrayData data[16];
26 char stringdata0[205];
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__BodyTreeWidget_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
33 static const qt_meta_stringdata_gepetto__gui__BodyTreeWidget_t qt_meta_stringdata_gepetto__gui__BodyTreeWidget = {
34 {
35 QT_MOC_LITERAL(0, 0, 28), // "gepetto::gui::BodyTreeWidget"
36 QT_MOC_LITERAL(1, 29, 12), // "bodySelected"
37 QT_MOC_LITERAL(2, 42, 0), // ""
38 QT_MOC_LITERAL(3, 43, 15), // "SelectionEvent*"
39 QT_MOC_LITERAL(4, 59, 5), // "event"
40 QT_MOC_LITERAL(5, 65, 16), // "selectBodyByName"
41 QT_MOC_LITERAL(6, 82, 8), // "bodyName"
42 QT_MOC_LITERAL(7, 91, 11), // "std::string"
43 QT_MOC_LITERAL(8, 103, 14), // "selectedBodies"
44 QT_MOC_LITERAL(9, 118, 20), // "QList<BodyTreeItem*>"
45 QT_MOC_LITERAL(10, 139, 17), // "customContextMenu"
46 QT_MOC_LITERAL(11, 157, 3), // "pos"
47 QT_MOC_LITERAL(12, 161, 14), // "currentChanged"
48 QT_MOC_LITERAL(13, 176, 11), // "QModelIndex"
49 QT_MOC_LITERAL(14, 188, 7), // "current"
50 QT_MOC_LITERAL(15, 196, 8) // "previous"
51
52 },
53 "gepetto::gui::BodyTreeWidget\0bodySelected\0"
54 "\0SelectionEvent*\0event\0selectBodyByName\0"
55 "bodyName\0std::string\0selectedBodies\0"
56 "QList<BodyTreeItem*>\0customContextMenu\0"
57 "pos\0currentChanged\0QModelIndex\0current\0"
58 "previous"
59 };
60 #undef QT_MOC_LITERAL
61
62 static const uint qt_meta_data_gepetto__gui__BodyTreeWidget[] = {
63
64 // content:
65 8, // revision
66 0, // classname
67 0, 0, // classinfo
68 6, 14, // methods
69 0, 0, // properties
70 0, 0, // enums/sets
71 0, 0, // constructors
72 0, // flags
73 1, // signalCount
74
75 // signals: name, argc, parameters, tag, flags
76 1, 1, 44, 2, 0x06 /* Public */,
77
78 // slots: name, argc, parameters, tag, flags
79 5, 1, 47, 2, 0x0a /* Public */,
80 5, 1, 50, 2, 0x0a /* Public */,
81 8, 0, 53, 2, 0x0a /* Public */,
82 10, 1, 54, 2, 0x09 /* Protected */,
83 12, 2, 57, 2, 0x09 /* Protected */,
84
85 // signals: parameters
86 QMetaType::Void, 0x80000000 | 3, 4,
87
88 // slots: parameters
89 QMetaType::Void, QMetaType::QString, 6,
90 QMetaType::Void, 0x80000000 | 7, 6,
91 0x80000000 | 9,
92 QMetaType::Void, QMetaType::QPoint, 11,
93 QMetaType::Void, 0x80000000 | 13, 0x80000000 | 13, 14, 15,
94
95 0 // eod
96 };
97
98 void gepetto::gui::BodyTreeWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
99 {
100 if (_c == QMetaObject::InvokeMetaMethod) {
101 auto *_t = static_cast<BodyTreeWidget *>(_o);
102 (void)_t;
103 switch (_id) {
104 case 0: _t->bodySelected((*reinterpret_cast< SelectionEvent*(*)>(_a[1]))); break;
105 case 1: _t->selectBodyByName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
106 case 2: _t->selectBodyByName((*reinterpret_cast< const std::string(*)>(_a[1]))); break;
107 case 3: { QList<BodyTreeItem*> _r = _t->selectedBodies();
108 if (_a[0]) *reinterpret_cast< QList<BodyTreeItem*>*>(_a[0]) = std::move(_r); } break;
109 case 4: _t->customContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
110 case 5: _t->currentChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
111 default: ;
112 }
113 } else if (_c == QMetaObject::IndexOfMethod) {
114 int *result = reinterpret_cast<int *>(_a[0]);
115 {
116 using _t = void (BodyTreeWidget::*)(SelectionEvent * );
117 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BodyTreeWidget::bodySelected)) {
118 *result = 0;
119 return;
120 }
121 }
122 }
123 }
124
125 QT_INIT_METAOBJECT const QMetaObject gepetto::gui::BodyTreeWidget::staticMetaObject = { {
126 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
127 qt_meta_stringdata_gepetto__gui__BodyTreeWidget.data,
128 qt_meta_data_gepetto__gui__BodyTreeWidget,
129 qt_static_metacall,
130 nullptr,
131 nullptr
132 } };
133
134
135 const QMetaObject *gepetto::gui::BodyTreeWidget::metaObject() const
136 {
137 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
138 }
139
140 void *gepetto::gui::BodyTreeWidget::qt_metacast(const char *_clname)
141 {
142 if (!_clname) return nullptr;
143 if (!strcmp(_clname, qt_meta_stringdata_gepetto__gui__BodyTreeWidget.stringdata0))
144 return static_cast<void*>(this);
145 return QWidget::qt_metacast(_clname);
146 }
147
148 int gepetto::gui::BodyTreeWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
149 {
150 _id = QWidget::qt_metacall(_c, _id, _a);
151 if (_id < 0)
152 return _id;
153 if (_c == QMetaObject::InvokeMetaMethod) {
154 if (_id < 6)
155 qt_static_metacall(this, _c, _id, _a);
156 _id -= 6;
157 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
158 if (_id < 6)
159 *reinterpret_cast<int*>(_a[0]) = -1;
160 _id -= 6;
161 }
162 return _id;
163 }
164
165 // SIGNAL 0
166 void gepetto::gui::BodyTreeWidget::bodySelected(SelectionEvent * _t1)
167 {
168 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
169 QMetaObject::activate(this, &staticMetaObject, 0, _a);
170 }
171 QT_WARNING_POP
172 QT_END_MOC_NAMESPACE
173