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