GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: src/__/include/gepetto/gui/moc_ledindicator.cxx Lines: 0 31 0.0 %
Date: 2020-06-14 11:23:49 Branches: 0 23 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 63 (Qt 4.8.7)
5
**
6
** WARNING! All changes made in this file will be lost!
7
*****************************************************************************/
8
9
#include "../../../../../include/gepetto/gui/ledindicator.hh"
10
#if !defined(Q_MOC_OUTPUT_REVISION)
11
#error "The header file 'ledindicator.hh' doesn't include <QObject>."
12
#elif Q_MOC_OUTPUT_REVISION != 63
13
#error "This file was generated using the moc from 4.8.7. It"
14
#error "cannot be used with the include files from this version of Qt."
15
#error "(The moc has changed too much.)"
16
#endif
17
18
QT_BEGIN_MOC_NAMESPACE
19
static const uint qt_meta_data_gepetto__gui__LedIndicator[] = {
20
21
 // content:
22
       6,       // revision
23
       0,       // classname
24
       0,    0, // classinfo
25
       4,   14, // methods
26
       0,    0, // properties
27
       0,    0, // enums/sets
28
       0,    0, // constructors
29
       0,       // flags
30
       2,       // signalCount
31
32
 // signals: signature, parameters, type, tag, flags
33
      31,   28,   27,   27, 0x05,
34
      46,   27,   27,   27, 0x05,
35
36
 // slots: signature, parameters, type, tag, flags
37
      64,   27,   27,   27, 0x0a,
38
      76,   28,   27,   27, 0x0a,
39
40
       0        // eod
41
};
42
43
static const char qt_meta_stringdata_gepetto__gui__LedIndicator[] = {
44
    "gepetto::gui::LedIndicator\0\0on\0"
45
    "switched(bool)\0mouseClickEvent()\0"
46
    "switchLed()\0switchLed(bool)\0"
47
};
48
49
void gepetto::gui::LedIndicator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
50
{
51
    if (_c == QMetaObject::InvokeMetaMethod) {
52
        Q_ASSERT(staticMetaObject.cast(_o));
53
        LedIndicator *_t = static_cast<LedIndicator *>(_o);
54
        switch (_id) {
55
        case 0: _t->switched((*reinterpret_cast< bool(*)>(_a[1]))); break;
56
        case 1: _t->mouseClickEvent(); break;
57
        case 2: _t->switchLed(); break;
58
        case 3: _t->switchLed((*reinterpret_cast< bool(*)>(_a[1]))); break;
59
        default: ;
60
        }
61
    }
62
}
63
64
const QMetaObjectExtraData gepetto::gui::LedIndicator::staticMetaObjectExtraData = {
65
    0,  qt_static_metacall
66
};
67
68
const QMetaObject gepetto::gui::LedIndicator::staticMetaObject = {
69
    { &QWidget::staticMetaObject, qt_meta_stringdata_gepetto__gui__LedIndicator,
70
      qt_meta_data_gepetto__gui__LedIndicator, &staticMetaObjectExtraData }
71
};
72
73
#ifdef Q_NO_DATA_RELOCATION
74
const QMetaObject &gepetto::gui::LedIndicator::getStaticMetaObject() { return staticMetaObject; }
75
#endif //Q_NO_DATA_RELOCATION
76
77
const QMetaObject *gepetto::gui::LedIndicator::metaObject() const
78
{
79
    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
80
}
81
82
void *gepetto::gui::LedIndicator::qt_metacast(const char *_clname)
83
{
84
    if (!_clname) return 0;
85
    if (!strcmp(_clname, qt_meta_stringdata_gepetto__gui__LedIndicator))
86
        return static_cast<void*>(const_cast< LedIndicator*>(this));
87
    return QWidget::qt_metacast(_clname);
88
}
89
90
int gepetto::gui::LedIndicator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
91
{
92
    _id = QWidget::qt_metacall(_c, _id, _a);
93
    if (_id < 0)
94
        return _id;
95
    if (_c == QMetaObject::InvokeMetaMethod) {
96
        if (_id < 4)
97
            qt_static_metacall(this, _c, _id, _a);
98
        _id -= 4;
99
    }
100
    return _id;
101
}
102
103
// SIGNAL 0
104
void gepetto::gui::LedIndicator::switched(bool _t1)
105
{
106
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
107
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
108
}
109
110
// SIGNAL 1
111
void gepetto::gui::LedIndicator::mouseClickEvent()
112
{
113
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
114
}
115
QT_END_MOC_NAMESPACE