GCC Code Coverage Report


Directory: ./
File: src/__/include/gepetto/gui/moc_tree-item.cpp
Date: 2024-12-20 15:53:58
Exec Total Coverage
Lines: 0 45 0.0%
Branches: 0 47 0.0%

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