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