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