GCC Code Coverage Report


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

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