Line |
Branch |
Exec |
Source |
1 |
|
|
/**************************************************************************** |
2 |
|
|
** Meta object code from reading C++ file 'QGVScene.h' |
3 |
|
|
** |
4 |
|
|
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.3) |
5 |
|
|
** |
6 |
|
|
** WARNING! All changes made in this file will be lost! |
7 |
|
|
*****************************************************************************/ |
8 |
|
|
|
9 |
|
|
#include <memory> |
10 |
|
|
#include "../../QGVScene.h" |
11 |
|
|
#include <QtCore/qbytearray.h> |
12 |
|
|
#include <QtCore/qmetatype.h> |
13 |
|
|
#if !defined(Q_MOC_OUTPUT_REVISION) |
14 |
|
|
#error "The header file 'QGVScene.h' doesn't include <QObject>." |
15 |
|
|
#elif Q_MOC_OUTPUT_REVISION != 67 |
16 |
|
|
#error "This file was generated using the moc from 5.15.3. It" |
17 |
|
|
#error "cannot be used with the include files from this version of Qt." |
18 |
|
|
#error "(The moc has changed too much.)" |
19 |
|
|
#endif |
20 |
|
|
|
21 |
|
|
QT_BEGIN_MOC_NAMESPACE |
22 |
|
|
QT_WARNING_PUSH |
23 |
|
|
QT_WARNING_DISABLE_DEPRECATED |
24 |
|
|
struct qt_meta_stringdata_QGVScene_t { |
25 |
|
|
QByteArrayData data[17]; |
26 |
|
|
char stringdata0[212]; |
27 |
|
|
}; |
28 |
|
|
#define QT_MOC_LITERAL(idx, ofs, len) \ |
29 |
|
|
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ |
30 |
|
|
qptrdiff(offsetof(qt_meta_stringdata_QGVScene_t, stringdata0) + ofs \ |
31 |
|
|
- idx * sizeof(QByteArrayData)) \ |
32 |
|
|
) |
33 |
|
|
static const qt_meta_stringdata_QGVScene_t qt_meta_stringdata_QGVScene = { |
34 |
|
|
{ |
35 |
|
|
QT_MOC_LITERAL(0, 0, 8), // "QGVScene" |
36 |
|
|
QT_MOC_LITERAL(1, 9, 15), // "nodeContextMenu" |
37 |
|
|
QT_MOC_LITERAL(2, 25, 0), // "" |
38 |
|
|
QT_MOC_LITERAL(3, 26, 8), // "QGVNode*" |
39 |
|
|
QT_MOC_LITERAL(4, 35, 4), // "node" |
40 |
|
|
QT_MOC_LITERAL(5, 40, 15), // "nodeDoubleClick" |
41 |
|
|
QT_MOC_LITERAL(6, 56, 11), // "nodeChanged" |
42 |
|
|
QT_MOC_LITERAL(7, 68, 16), // "nodeMouseRelease" |
43 |
|
|
QT_MOC_LITERAL(8, 85, 15), // "edgeContextMenu" |
44 |
|
|
QT_MOC_LITERAL(9, 101, 8), // "QGVEdge*" |
45 |
|
|
QT_MOC_LITERAL(10, 110, 4), // "edge" |
46 |
|
|
QT_MOC_LITERAL(11, 115, 15), // "edgeDoubleClick" |
47 |
|
|
QT_MOC_LITERAL(12, 131, 19), // "subGraphContextMenu" |
48 |
|
|
QT_MOC_LITERAL(13, 151, 12), // "QGVSubGraph*" |
49 |
|
|
QT_MOC_LITERAL(14, 164, 5), // "graph" |
50 |
|
|
QT_MOC_LITERAL(15, 170, 19), // "subGraphDoubleClick" |
51 |
|
|
QT_MOC_LITERAL(16, 190, 21) // "graphContextMenuEvent" |
52 |
|
|
|
53 |
|
|
}, |
54 |
|
|
"QGVScene\0nodeContextMenu\0\0QGVNode*\0" |
55 |
|
|
"node\0nodeDoubleClick\0nodeChanged\0" |
56 |
|
|
"nodeMouseRelease\0edgeContextMenu\0" |
57 |
|
|
"QGVEdge*\0edge\0edgeDoubleClick\0" |
58 |
|
|
"subGraphContextMenu\0QGVSubGraph*\0graph\0" |
59 |
|
|
"subGraphDoubleClick\0graphContextMenuEvent" |
60 |
|
|
}; |
61 |
|
|
#undef QT_MOC_LITERAL |
62 |
|
|
|
63 |
|
|
static const uint qt_meta_data_QGVScene[] = { |
64 |
|
|
|
65 |
|
|
// content: |
66 |
|
|
8, // revision |
67 |
|
|
0, // classname |
68 |
|
|
0, 0, // classinfo |
69 |
|
|
9, 14, // methods |
70 |
|
|
0, 0, // properties |
71 |
|
|
0, 0, // enums/sets |
72 |
|
|
0, 0, // constructors |
73 |
|
|
0, // flags |
74 |
|
|
9, // signalCount |
75 |
|
|
|
76 |
|
|
// signals: name, argc, parameters, tag, flags |
77 |
|
|
1, 1, 59, 2, 0x06 /* Public */, |
78 |
|
|
5, 1, 62, 2, 0x06 /* Public */, |
79 |
|
|
6, 1, 65, 2, 0x06 /* Public */, |
80 |
|
|
7, 1, 68, 2, 0x06 /* Public */, |
81 |
|
|
8, 1, 71, 2, 0x06 /* Public */, |
82 |
|
|
11, 1, 74, 2, 0x06 /* Public */, |
83 |
|
|
12, 1, 77, 2, 0x06 /* Public */, |
84 |
|
|
15, 1, 80, 2, 0x06 /* Public */, |
85 |
|
|
16, 0, 83, 2, 0x06 /* Public */, |
86 |
|
|
|
87 |
|
|
// signals: parameters |
88 |
|
|
QMetaType::Void, 0x80000000 | 3, 4, |
89 |
|
|
QMetaType::Void, 0x80000000 | 3, 4, |
90 |
|
|
QMetaType::Void, 0x80000000 | 3, 4, |
91 |
|
|
QMetaType::Void, 0x80000000 | 3, 4, |
92 |
|
|
QMetaType::Void, 0x80000000 | 9, 10, |
93 |
|
|
QMetaType::Void, 0x80000000 | 9, 10, |
94 |
|
|
QMetaType::Void, 0x80000000 | 13, 14, |
95 |
|
|
QMetaType::Void, 0x80000000 | 13, 14, |
96 |
|
|
QMetaType::Void, |
97 |
|
|
|
98 |
|
|
0 // eod |
99 |
|
|
}; |
100 |
|
|
|
101 |
|
✗ |
void QGVScene::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
102 |
|
|
{ |
103 |
|
✗ |
if (_c == QMetaObject::InvokeMetaMethod) { |
104 |
|
✗ |
auto *_t = static_cast<QGVScene *>(_o); |
105 |
|
|
(void)_t; |
106 |
|
✗ |
switch (_id) { |
107 |
|
✗ |
case 0: _t->nodeContextMenu((*reinterpret_cast< QGVNode*(*)>(_a[1]))); break; |
108 |
|
✗ |
case 1: _t->nodeDoubleClick((*reinterpret_cast< QGVNode*(*)>(_a[1]))); break; |
109 |
|
✗ |
case 2: _t->nodeChanged((*reinterpret_cast< QGVNode*(*)>(_a[1]))); break; |
110 |
|
✗ |
case 3: _t->nodeMouseRelease((*reinterpret_cast< QGVNode*(*)>(_a[1]))); break; |
111 |
|
✗ |
case 4: _t->edgeContextMenu((*reinterpret_cast< QGVEdge*(*)>(_a[1]))); break; |
112 |
|
✗ |
case 5: _t->edgeDoubleClick((*reinterpret_cast< QGVEdge*(*)>(_a[1]))); break; |
113 |
|
✗ |
case 6: _t->subGraphContextMenu((*reinterpret_cast< QGVSubGraph*(*)>(_a[1]))); break; |
114 |
|
✗ |
case 7: _t->subGraphDoubleClick((*reinterpret_cast< QGVSubGraph*(*)>(_a[1]))); break; |
115 |
|
✗ |
case 8: _t->graphContextMenuEvent(); break; |
116 |
|
✗ |
default: ; |
117 |
|
|
} |
118 |
|
✗ |
} else if (_c == QMetaObject::IndexOfMethod) { |
119 |
|
✗ |
int *result = reinterpret_cast<int *>(_a[0]); |
120 |
|
|
{ |
121 |
|
|
using _t = void (QGVScene::*)(QGVNode * ); |
122 |
|
✗ |
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGVScene::nodeContextMenu)) { |
123 |
|
✗ |
*result = 0; |
124 |
|
✗ |
return; |
125 |
|
|
} |
126 |
|
|
} |
127 |
|
|
{ |
128 |
|
|
using _t = void (QGVScene::*)(QGVNode * ); |
129 |
|
✗ |
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGVScene::nodeDoubleClick)) { |
130 |
|
✗ |
*result = 1; |
131 |
|
✗ |
return; |
132 |
|
|
} |
133 |
|
|
} |
134 |
|
|
{ |
135 |
|
|
using _t = void (QGVScene::*)(QGVNode * ); |
136 |
|
✗ |
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGVScene::nodeChanged)) { |
137 |
|
✗ |
*result = 2; |
138 |
|
✗ |
return; |
139 |
|
|
} |
140 |
|
|
} |
141 |
|
|
{ |
142 |
|
|
using _t = void (QGVScene::*)(QGVNode * ); |
143 |
|
✗ |
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGVScene::nodeMouseRelease)) { |
144 |
|
✗ |
*result = 3; |
145 |
|
✗ |
return; |
146 |
|
|
} |
147 |
|
|
} |
148 |
|
|
{ |
149 |
|
|
using _t = void (QGVScene::*)(QGVEdge * ); |
150 |
|
✗ |
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGVScene::edgeContextMenu)) { |
151 |
|
✗ |
*result = 4; |
152 |
|
✗ |
return; |
153 |
|
|
} |
154 |
|
|
} |
155 |
|
|
{ |
156 |
|
|
using _t = void (QGVScene::*)(QGVEdge * ); |
157 |
|
✗ |
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGVScene::edgeDoubleClick)) { |
158 |
|
✗ |
*result = 5; |
159 |
|
✗ |
return; |
160 |
|
|
} |
161 |
|
|
} |
162 |
|
|
{ |
163 |
|
|
using _t = void (QGVScene::*)(QGVSubGraph * ); |
164 |
|
✗ |
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGVScene::subGraphContextMenu)) { |
165 |
|
✗ |
*result = 6; |
166 |
|
✗ |
return; |
167 |
|
|
} |
168 |
|
|
} |
169 |
|
|
{ |
170 |
|
|
using _t = void (QGVScene::*)(QGVSubGraph * ); |
171 |
|
✗ |
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGVScene::subGraphDoubleClick)) { |
172 |
|
✗ |
*result = 7; |
173 |
|
✗ |
return; |
174 |
|
|
} |
175 |
|
|
} |
176 |
|
|
{ |
177 |
|
|
using _t = void (QGVScene::*)(); |
178 |
|
✗ |
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGVScene::graphContextMenuEvent)) { |
179 |
|
✗ |
*result = 8; |
180 |
|
✗ |
return; |
181 |
|
|
} |
182 |
|
|
} |
183 |
|
|
} |
184 |
|
|
} |
185 |
|
|
|
186 |
|
|
QT_INIT_METAOBJECT const QMetaObject QGVScene::staticMetaObject = { { |
187 |
|
|
QMetaObject::SuperData::link<QGraphicsScene::staticMetaObject>(), |
188 |
|
|
qt_meta_stringdata_QGVScene.data, |
189 |
|
|
qt_meta_data_QGVScene, |
190 |
|
|
qt_static_metacall, |
191 |
|
|
nullptr, |
192 |
|
|
nullptr |
193 |
|
|
} }; |
194 |
|
|
|
195 |
|
|
|
196 |
|
✗ |
const QMetaObject *QGVScene::metaObject() const |
197 |
|
|
{ |
198 |
|
✗ |
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
199 |
|
|
} |
200 |
|
|
|
201 |
|
✗ |
void *QGVScene::qt_metacast(const char *_clname) |
202 |
|
|
{ |
203 |
|
✗ |
if (!_clname) return nullptr; |
204 |
|
✗ |
if (!strcmp(_clname, qt_meta_stringdata_QGVScene.stringdata0)) |
205 |
|
✗ |
return static_cast<void*>(this); |
206 |
|
✗ |
return QGraphicsScene::qt_metacast(_clname); |
207 |
|
|
} |
208 |
|
|
|
209 |
|
✗ |
int QGVScene::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
210 |
|
|
{ |
211 |
|
✗ |
_id = QGraphicsScene::qt_metacall(_c, _id, _a); |
212 |
|
✗ |
if (_id < 0) |
213 |
|
✗ |
return _id; |
214 |
|
✗ |
if (_c == QMetaObject::InvokeMetaMethod) { |
215 |
|
✗ |
if (_id < 9) |
216 |
|
✗ |
qt_static_metacall(this, _c, _id, _a); |
217 |
|
✗ |
_id -= 9; |
218 |
|
✗ |
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
219 |
|
✗ |
if (_id < 9) |
220 |
|
✗ |
*reinterpret_cast<int*>(_a[0]) = -1; |
221 |
|
✗ |
_id -= 9; |
222 |
|
|
} |
223 |
|
✗ |
return _id; |
224 |
|
|
} |
225 |
|
|
|
226 |
|
|
// SIGNAL 0 |
227 |
|
✗ |
void QGVScene::nodeContextMenu(QGVNode * _t1) |
228 |
|
|
{ |
229 |
|
✗ |
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
230 |
|
✗ |
QMetaObject::activate(this, &staticMetaObject, 0, _a); |
231 |
|
|
} |
232 |
|
|
|
233 |
|
|
// SIGNAL 1 |
234 |
|
✗ |
void QGVScene::nodeDoubleClick(QGVNode * _t1) |
235 |
|
|
{ |
236 |
|
✗ |
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
237 |
|
✗ |
QMetaObject::activate(this, &staticMetaObject, 1, _a); |
238 |
|
|
} |
239 |
|
|
|
240 |
|
|
// SIGNAL 2 |
241 |
|
✗ |
void QGVScene::nodeChanged(QGVNode * _t1) |
242 |
|
|
{ |
243 |
|
✗ |
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
244 |
|
✗ |
QMetaObject::activate(this, &staticMetaObject, 2, _a); |
245 |
|
|
} |
246 |
|
|
|
247 |
|
|
// SIGNAL 3 |
248 |
|
✗ |
void QGVScene::nodeMouseRelease(QGVNode * _t1) |
249 |
|
|
{ |
250 |
|
✗ |
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
251 |
|
✗ |
QMetaObject::activate(this, &staticMetaObject, 3, _a); |
252 |
|
|
} |
253 |
|
|
|
254 |
|
|
// SIGNAL 4 |
255 |
|
✗ |
void QGVScene::edgeContextMenu(QGVEdge * _t1) |
256 |
|
|
{ |
257 |
|
✗ |
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
258 |
|
✗ |
QMetaObject::activate(this, &staticMetaObject, 4, _a); |
259 |
|
|
} |
260 |
|
|
|
261 |
|
|
// SIGNAL 5 |
262 |
|
✗ |
void QGVScene::edgeDoubleClick(QGVEdge * _t1) |
263 |
|
|
{ |
264 |
|
✗ |
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
265 |
|
✗ |
QMetaObject::activate(this, &staticMetaObject, 5, _a); |
266 |
|
|
} |
267 |
|
|
|
268 |
|
|
// SIGNAL 6 |
269 |
|
✗ |
void QGVScene::subGraphContextMenu(QGVSubGraph * _t1) |
270 |
|
|
{ |
271 |
|
✗ |
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
272 |
|
✗ |
QMetaObject::activate(this, &staticMetaObject, 6, _a); |
273 |
|
|
} |
274 |
|
|
|
275 |
|
|
// SIGNAL 7 |
276 |
|
✗ |
void QGVScene::subGraphDoubleClick(QGVSubGraph * _t1) |
277 |
|
|
{ |
278 |
|
✗ |
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
279 |
|
✗ |
QMetaObject::activate(this, &staticMetaObject, 7, _a); |
280 |
|
|
} |
281 |
|
|
|
282 |
|
|
// SIGNAL 8 |
283 |
|
✗ |
void QGVScene::graphContextMenuEvent() |
284 |
|
|
{ |
285 |
|
✗ |
QMetaObject::activate(this, &staticMetaObject, 8, nullptr); |
286 |
|
|
} |
287 |
|
|
QT_WARNING_POP |
288 |
|
|
QT_END_MOC_NAMESPACE |
289 |
|
|
|