1 |
|
|
/**************************************************************************** |
2 |
|
|
** Meta object code from reading C++ file 'selection-event.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/selection-event.hh" |
10 |
|
|
#include <QtCore/qbytearray.h> |
11 |
|
|
#include <QtCore/qmetatype.h> |
12 |
|
|
#if !defined(Q_MOC_OUTPUT_REVISION) |
13 |
|
|
#error "The header file 'selection-event.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__SelectionEvent_t { |
24 |
|
|
QByteArrayData data[13]; |
25 |
|
|
char stringdata0[133]; |
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__SelectionEvent_t, stringdata0) + ofs \ |
30 |
|
|
- idx * sizeof(QByteArrayData)) \ |
31 |
|
|
) |
32 |
|
|
static const qt_meta_stringdata_gepetto__gui__SelectionEvent_t qt_meta_stringdata_gepetto__gui__SelectionEvent = { |
33 |
|
|
{ |
34 |
|
|
QT_MOC_LITERAL(0, 0, 28), // "gepetto::gui::SelectionEvent" |
35 |
|
|
QT_MOC_LITERAL(1, 29, 4), // "type" |
36 |
|
|
QT_MOC_LITERAL(2, 34, 4), // "Type" |
37 |
|
|
QT_MOC_LITERAL(3, 39, 0), // "" |
38 |
|
|
QT_MOC_LITERAL(4, 40, 8), // "nodeName" |
39 |
|
|
QT_MOC_LITERAL(5, 49, 6), // "modKey" |
40 |
|
|
QT_MOC_LITERAL(6, 56, 21), // "Qt::KeyboardModifiers" |
41 |
|
|
QT_MOC_LITERAL(7, 78, 15), // "hasIntersection" |
42 |
|
|
QT_MOC_LITERAL(8, 94, 14), // "primitiveIndex" |
43 |
|
|
QT_MOC_LITERAL(9, 109, 6), // "normal" |
44 |
|
|
QT_MOC_LITERAL(10, 116, 5), // "local" |
45 |
|
|
QT_MOC_LITERAL(11, 122, 5), // "point" |
46 |
|
|
QT_MOC_LITERAL(12, 128, 4) // "done" |
47 |
|
|
|
48 |
|
|
}, |
49 |
|
|
"gepetto::gui::SelectionEvent\0type\0" |
50 |
|
|
"Type\0\0nodeName\0modKey\0Qt::KeyboardModifiers\0" |
51 |
|
|
"hasIntersection\0primitiveIndex\0normal\0" |
52 |
|
|
"local\0point\0done" |
53 |
|
|
}; |
54 |
|
|
#undef QT_MOC_LITERAL |
55 |
|
|
|
56 |
|
|
static const uint qt_meta_data_gepetto__gui__SelectionEvent[] = { |
57 |
|
|
|
58 |
|
|
// content: |
59 |
|
|
8, // revision |
60 |
|
|
0, // classname |
61 |
|
|
0, 0, // classinfo |
62 |
|
|
8, 14, // methods |
63 |
|
|
0, 0, // properties |
64 |
|
|
0, 0, // enums/sets |
65 |
|
|
0, 0, // constructors |
66 |
|
|
0, // flags |
67 |
|
|
0, // signalCount |
68 |
|
|
|
69 |
|
|
// slots: name, argc, parameters, tag, flags |
70 |
|
|
1, 0, 54, 3, 0x0a /* Public */, |
71 |
|
|
4, 0, 55, 3, 0x0a /* Public */, |
72 |
|
|
5, 0, 56, 3, 0x0a /* Public */, |
73 |
|
|
7, 0, 57, 3, 0x0a /* Public */, |
74 |
|
|
8, 0, 58, 3, 0x0a /* Public */, |
75 |
|
|
9, 1, 59, 3, 0x0a /* Public */, |
76 |
|
|
11, 1, 62, 3, 0x0a /* Public */, |
77 |
|
|
12, 0, 65, 3, 0x0a /* Public */, |
78 |
|
|
|
79 |
|
|
// slots: parameters |
80 |
|
|
0x80000000 | 2, |
81 |
|
|
QMetaType::QString, |
82 |
|
|
0x80000000 | 6, |
83 |
|
|
QMetaType::Bool, |
84 |
|
|
QMetaType::Void, |
85 |
|
|
QMetaType::QVector3D, QMetaType::Bool, 10, |
86 |
|
|
QMetaType::QVector3D, QMetaType::Bool, 10, |
87 |
|
|
QMetaType::Void, |
88 |
|
|
|
89 |
|
|
0 // eod |
90 |
|
|
}; |
91 |
|
|
|
92 |
|
|
void gepetto::gui::SelectionEvent::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
93 |
|
|
{ |
94 |
|
|
if (_c == QMetaObject::InvokeMetaMethod) { |
95 |
|
|
auto *_t = static_cast<SelectionEvent *>(_o); |
96 |
|
|
Q_UNUSED(_t) |
97 |
|
|
switch (_id) { |
98 |
|
|
case 0: { Type _r = _t->type(); |
99 |
|
|
if (_a[0]) *reinterpret_cast< Type*>(_a[0]) = std::move(_r); } break; |
100 |
|
|
case 1: { QString _r = _t->nodeName(); |
101 |
|
|
if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); } break; |
102 |
|
|
case 2: { Qt::KeyboardModifiers _r = _t->modKey(); |
103 |
|
|
if (_a[0]) *reinterpret_cast< Qt::KeyboardModifiers*>(_a[0]) = std::move(_r); } break; |
104 |
|
|
case 3: { bool _r = _t->hasIntersection(); |
105 |
|
|
if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break; |
106 |
|
|
case 4: _t->primitiveIndex(); break; |
107 |
|
|
case 5: { QVector3D _r = _t->normal((*reinterpret_cast< bool(*)>(_a[1]))); |
108 |
|
|
if (_a[0]) *reinterpret_cast< QVector3D*>(_a[0]) = std::move(_r); } break; |
109 |
|
|
case 6: { QVector3D _r = _t->point((*reinterpret_cast< bool(*)>(_a[1]))); |
110 |
|
|
if (_a[0]) *reinterpret_cast< QVector3D*>(_a[0]) = std::move(_r); } break; |
111 |
|
|
case 7: _t->done(); break; |
112 |
|
|
default: ; |
113 |
|
|
} |
114 |
|
|
} |
115 |
|
|
} |
116 |
|
|
|
117 |
|
|
QT_INIT_METAOBJECT const QMetaObject gepetto::gui::SelectionEvent::staticMetaObject = { { |
118 |
|
|
&QObject::staticMetaObject, |
119 |
|
|
qt_meta_stringdata_gepetto__gui__SelectionEvent.data, |
120 |
|
|
qt_meta_data_gepetto__gui__SelectionEvent, |
121 |
|
|
qt_static_metacall, |
122 |
|
|
nullptr, |
123 |
|
|
nullptr |
124 |
|
|
} }; |
125 |
|
|
|
126 |
|
|
|
127 |
|
|
const QMetaObject *gepetto::gui::SelectionEvent::metaObject() const |
128 |
|
|
{ |
129 |
|
|
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
130 |
|
|
} |
131 |
|
|
|
132 |
|
|
void *gepetto::gui::SelectionEvent::qt_metacast(const char *_clname) |
133 |
|
|
{ |
134 |
|
|
if (!_clname) return nullptr; |
135 |
|
|
if (!strcmp(_clname, qt_meta_stringdata_gepetto__gui__SelectionEvent.stringdata0)) |
136 |
|
|
return static_cast<void*>(this); |
137 |
|
|
return QObject::qt_metacast(_clname); |
138 |
|
|
} |
139 |
|
|
|
140 |
|
|
int gepetto::gui::SelectionEvent::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
141 |
|
|
{ |
142 |
|
|
_id = QObject::qt_metacall(_c, _id, _a); |
143 |
|
|
if (_id < 0) |
144 |
|
|
return _id; |
145 |
|
|
if (_c == QMetaObject::InvokeMetaMethod) { |
146 |
|
|
if (_id < 8) |
147 |
|
|
qt_static_metacall(this, _c, _id, _a); |
148 |
|
|
_id -= 8; |
149 |
|
|
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
150 |
|
|
if (_id < 8) |
151 |
|
|
*reinterpret_cast<int*>(_a[0]) = -1; |
152 |
|
|
_id -= 8; |
153 |
|
|
} |
154 |
|
|
return _id; |
155 |
|
|
} |
156 |
|
|
QT_WARNING_POP |
157 |
|
|
QT_END_MOC_NAMESPACE |