umbrello 25.11.70
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_umlscene.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'umlscene.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.8.3)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
10#include <QtCore/qmetatype.h>
11
12#include <QtCore/qtmochelpers.h>
13
14#include <memory>
15
16
17#include <QtCore/qxptype_traits.h>
18#if !defined(Q_MOC_OUTPUT_REVISION)
19#error "The header file 'umlscene.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 68
21#error "This file was generated using the moc from 6.8.3. It"
22#error "cannot be used with the include files from this version of Qt."
23#error "(The moc has changed too much.)"
24#endif
25
26#ifndef Q_CONSTINIT
27#define Q_CONSTINIT
28#endif
29
30QT_WARNING_PUSH
32QT_WARNING_DISABLE_GCC("-Wuseless-cast")
33namespace {
35} // unnamed namespace
36
37
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN8UMLSceneE = QtMocHelpers::stringData(
40 "UMLScene",
41 "sigResetToolBar",
42 "",
43 "sigFillColorChanged",
44 "Uml::ID::Type",
45 "sigGridColorChanged",
46 "sigLineColorChanged",
47 "sigTextColorChanged",
48 "sigLineWidthChanged",
49 "sigSnapToGridToggled",
50 "sigSnapComponentSizeToGridToggled",
51 "sigShowGridToggled",
52 "sigAssociationRemoved",
53 "AssociationWidget*",
54 "sigWidgetRemoved",
55 "UMLWidget*",
56 "slotToolBarChanged",
57 "c",
58 "slotObjectCreated",
59 "UMLObject*",
60 "o",
61 "slotObjectRemoved",
62 "slotMenuSelection",
63 "QAction*",
64 "action",
65 "slotActivate",
66 "slotCutSuccessful",
67 "slotShowView",
68 "alignLeft",
69 "alignRight",
70 "alignTop",
71 "alignBottom",
72 "alignVerticalMiddle",
73 "alignHorizontalMiddle",
74 "alignVerticalDistribute",
75 "alignHorizontalDistribute"
76);
77#else // !QT_MOC_HAS_STRINGDATA
78#error "qtmochelpers.h not found or too old."
79#endif // !QT_MOC_HAS_STRINGDATA
80
82
83 // content:
84 12, // revision
85 0, // classname
86 0, 0, // classinfo
87 26, 14, // methods
88 0, 0, // properties
89 0, 0, // enums/sets
90 0, 0, // constructors
91 0, // flags
92 11, // signalCount
93
94 // signals: name, argc, parameters, tag, flags, initial metatype offsets
95 1, 0, 170, 2, 0x06, 1 /* Public */,
96 3, 1, 171, 2, 0x06, 2 /* Public */,
97 5, 1, 174, 2, 0x06, 4 /* Public */,
98 6, 1, 177, 2, 0x06, 6 /* Public */,
99 7, 1, 180, 2, 0x06, 8 /* Public */,
100 8, 1, 183, 2, 0x06, 10 /* Public */,
101 9, 1, 186, 2, 0x06, 12 /* Public */,
102 10, 1, 189, 2, 0x06, 14 /* Public */,
103 11, 1, 192, 2, 0x06, 16 /* Public */,
104 12, 1, 195, 2, 0x06, 18 /* Public */,
105 14, 1, 198, 2, 0x06, 20 /* Public */,
106
107 // slots: name, argc, parameters, tag, flags, initial metatype offsets
108 16, 1, 201, 2, 0x0a, 22 /* Public */,
109 18, 1, 204, 2, 0x0a, 24 /* Public */,
110 21, 1, 207, 2, 0x0a, 26 /* Public */,
111 22, 1, 210, 2, 0x0a, 28 /* Public */,
112 25, 0, 213, 2, 0x0a, 30 /* Public */,
113 26, 0, 214, 2, 0x0a, 31 /* Public */,
114 27, 0, 215, 2, 0x0a, 32 /* Public */,
115 28, 0, 216, 2, 0x0a, 33 /* Public */,
116 29, 0, 217, 2, 0x0a, 34 /* Public */,
117 30, 0, 218, 2, 0x0a, 35 /* Public */,
118 31, 0, 219, 2, 0x0a, 36 /* Public */,
119 32, 0, 220, 2, 0x0a, 37 /* Public */,
120 33, 0, 221, 2, 0x0a, 38 /* Public */,
121 34, 0, 222, 2, 0x0a, 39 /* Public */,
122 35, 0, 223, 2, 0x0a, 40 /* Public */,
123
124 // signals: parameters
125 QMetaType::Void,
126 QMetaType::Void, 0x80000000 | 4, 2,
127 QMetaType::Void, 0x80000000 | 4, 2,
128 QMetaType::Void, 0x80000000 | 4, 2,
129 QMetaType::Void, 0x80000000 | 4, 2,
130 QMetaType::Void, 0x80000000 | 4, 2,
131 QMetaType::Void, QMetaType::Bool, 2,
132 QMetaType::Void, QMetaType::Bool, 2,
133 QMetaType::Void, QMetaType::Bool, 2,
134 QMetaType::Void, 0x80000000 | 13, 2,
135 QMetaType::Void, 0x80000000 | 15, 2,
136
137 // slots: parameters
138 QMetaType::Void, QMetaType::Int, 17,
139 QMetaType::Void, 0x80000000 | 19, 20,
140 QMetaType::Void, 0x80000000 | 19, 20,
141 QMetaType::Void, 0x80000000 | 23, 24,
142 QMetaType::Void,
143 QMetaType::Void,
144 QMetaType::Void,
145 QMetaType::Void,
146 QMetaType::Void,
147 QMetaType::Void,
148 QMetaType::Void,
149 QMetaType::Void,
150 QMetaType::Void,
151 QMetaType::Void,
152 QMetaType::Void,
153
154 0 // eod
155};
156
157Q_CONSTINIT const QMetaObject UMLScene::staticMetaObject = { {
158 QMetaObject::SuperData::link<QGraphicsScene::staticMetaObject>(),
159 qt_meta_stringdata_ZN8UMLSceneE.offsetsAndSizes,
161 qt_static_metacall,
162 nullptr,
163 qt_incomplete_metaTypeArray<qt_meta_tag_ZN8UMLSceneE_t,
164 // Q_OBJECT / Q_GADGET
165 QtPrivate::TypeAndForceComplete<UMLScene, std::true_type>,
166 // method 'sigResetToolBar'
167 QtPrivate::TypeAndForceComplete<void, std::false_type>,
168 // method 'sigFillColorChanged'
169 QtPrivate::TypeAndForceComplete<void, std::false_type>,
170 QtPrivate::TypeAndForceComplete<Uml::ID::Type, std::false_type>,
171 // method 'sigGridColorChanged'
172 QtPrivate::TypeAndForceComplete<void, std::false_type>,
173 QtPrivate::TypeAndForceComplete<Uml::ID::Type, std::false_type>,
174 // method 'sigLineColorChanged'
175 QtPrivate::TypeAndForceComplete<void, std::false_type>,
176 QtPrivate::TypeAndForceComplete<Uml::ID::Type, std::false_type>,
177 // method 'sigTextColorChanged'
178 QtPrivate::TypeAndForceComplete<void, std::false_type>,
179 QtPrivate::TypeAndForceComplete<Uml::ID::Type, std::false_type>,
180 // method 'sigLineWidthChanged'
181 QtPrivate::TypeAndForceComplete<void, std::false_type>,
182 QtPrivate::TypeAndForceComplete<Uml::ID::Type, std::false_type>,
183 // method 'sigSnapToGridToggled'
184 QtPrivate::TypeAndForceComplete<void, std::false_type>,
185 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
186 // method 'sigSnapComponentSizeToGridToggled'
187 QtPrivate::TypeAndForceComplete<void, std::false_type>,
188 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
189 // method 'sigShowGridToggled'
190 QtPrivate::TypeAndForceComplete<void, std::false_type>,
191 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
192 // method 'sigAssociationRemoved'
193 QtPrivate::TypeAndForceComplete<void, std::false_type>,
194 QtPrivate::TypeAndForceComplete<AssociationWidget *, std::false_type>,
195 // method 'sigWidgetRemoved'
196 QtPrivate::TypeAndForceComplete<void, std::false_type>,
197 QtPrivate::TypeAndForceComplete<UMLWidget *, std::false_type>,
198 // method 'slotToolBarChanged'
199 QtPrivate::TypeAndForceComplete<void, std::false_type>,
200 QtPrivate::TypeAndForceComplete<int, std::false_type>,
201 // method 'slotObjectCreated'
202 QtPrivate::TypeAndForceComplete<void, std::false_type>,
203 QtPrivate::TypeAndForceComplete<UMLObject *, std::false_type>,
204 // method 'slotObjectRemoved'
205 QtPrivate::TypeAndForceComplete<void, std::false_type>,
206 QtPrivate::TypeAndForceComplete<UMLObject *, std::false_type>,
207 // method 'slotMenuSelection'
208 QtPrivate::TypeAndForceComplete<void, std::false_type>,
209 QtPrivate::TypeAndForceComplete<QAction *, std::false_type>,
210 // method 'slotActivate'
211 QtPrivate::TypeAndForceComplete<void, std::false_type>,
212 // method 'slotCutSuccessful'
213 QtPrivate::TypeAndForceComplete<void, std::false_type>,
214 // method 'slotShowView'
215 QtPrivate::TypeAndForceComplete<void, std::false_type>,
216 // method 'alignLeft'
217 QtPrivate::TypeAndForceComplete<void, std::false_type>,
218 // method 'alignRight'
219 QtPrivate::TypeAndForceComplete<void, std::false_type>,
220 // method 'alignTop'
221 QtPrivate::TypeAndForceComplete<void, std::false_type>,
222 // method 'alignBottom'
223 QtPrivate::TypeAndForceComplete<void, std::false_type>,
224 // method 'alignVerticalMiddle'
225 QtPrivate::TypeAndForceComplete<void, std::false_type>,
226 // method 'alignHorizontalMiddle'
227 QtPrivate::TypeAndForceComplete<void, std::false_type>,
228 // method 'alignVerticalDistribute'
229 QtPrivate::TypeAndForceComplete<void, std::false_type>,
230 // method 'alignHorizontalDistribute'
231 QtPrivate::TypeAndForceComplete<void, std::false_type>
232 >,
233 nullptr
234} };
235
236void UMLScene::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
237{
238 auto *_t = static_cast<UMLScene *>(_o);
239 if (_c == QMetaObject::InvokeMetaMethod) {
240 switch (_id) {
241 case 0: _t->sigResetToolBar(); break;
242 case 1: _t->sigFillColorChanged((*reinterpret_cast< std::add_pointer_t<Uml::ID::Type>>(_a[1]))); break;
243 case 2: _t->sigGridColorChanged((*reinterpret_cast< std::add_pointer_t<Uml::ID::Type>>(_a[1]))); break;
244 case 3: _t->sigLineColorChanged((*reinterpret_cast< std::add_pointer_t<Uml::ID::Type>>(_a[1]))); break;
245 case 4: _t->sigTextColorChanged((*reinterpret_cast< std::add_pointer_t<Uml::ID::Type>>(_a[1]))); break;
246 case 5: _t->sigLineWidthChanged((*reinterpret_cast< std::add_pointer_t<Uml::ID::Type>>(_a[1]))); break;
247 case 6: _t->sigSnapToGridToggled((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
248 case 7: _t->sigSnapComponentSizeToGridToggled((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
249 case 8: _t->sigShowGridToggled((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
250 case 9: _t->sigAssociationRemoved((*reinterpret_cast< std::add_pointer_t<AssociationWidget*>>(_a[1]))); break;
251 case 10: _t->sigWidgetRemoved((*reinterpret_cast< std::add_pointer_t<UMLWidget*>>(_a[1]))); break;
252 case 11: _t->slotToolBarChanged((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
253 case 12: _t->slotObjectCreated((*reinterpret_cast< std::add_pointer_t<UMLObject*>>(_a[1]))); break;
254 case 13: _t->slotObjectRemoved((*reinterpret_cast< std::add_pointer_t<UMLObject*>>(_a[1]))); break;
255 case 14: _t->slotMenuSelection((*reinterpret_cast< std::add_pointer_t<QAction*>>(_a[1]))); break;
256 case 15: _t->slotActivate(); break;
257 case 16: _t->slotCutSuccessful(); break;
258 case 17: _t->slotShowView(); break;
259 case 18: _t->alignLeft(); break;
260 case 19: _t->alignRight(); break;
261 case 20: _t->alignTop(); break;
262 case 21: _t->alignBottom(); break;
263 case 22: _t->alignVerticalMiddle(); break;
264 case 23: _t->alignHorizontalMiddle(); break;
265 case 24: _t->alignVerticalDistribute(); break;
266 case 25: _t->alignHorizontalDistribute(); break;
267 default: ;
268 }
269 }
270 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
271 switch (_id) {
272 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
273 case 10:
274 switch (*reinterpret_cast<int*>(_a[1])) {
275 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
276 case 0:
277 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< UMLWidget* >(); break;
278 }
279 break;
280 case 12:
281 switch (*reinterpret_cast<int*>(_a[1])) {
282 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
283 case 0:
284 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< UMLObject* >(); break;
285 }
286 break;
287 case 13:
288 switch (*reinterpret_cast<int*>(_a[1])) {
289 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
290 case 0:
291 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< UMLObject* >(); break;
292 }
293 break;
294 case 14:
295 switch (*reinterpret_cast<int*>(_a[1])) {
296 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
297 case 0:
298 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAction* >(); break;
299 }
300 break;
301 }
302 }
303 if (_c == QMetaObject::IndexOfMethod) {
304 int *result = reinterpret_cast<int *>(_a[0]);
305 {
306 using _q_method_type = void (UMLScene::*)();
307 if (_q_method_type _q_method = &UMLScene::sigResetToolBar; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
308 *result = 0;
309 return;
310 }
311 }
312 {
313 using _q_method_type = void (UMLScene::*)(Uml::ID::Type );
314 if (_q_method_type _q_method = &UMLScene::sigFillColorChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
315 *result = 1;
316 return;
317 }
318 }
319 {
320 using _q_method_type = void (UMLScene::*)(Uml::ID::Type );
321 if (_q_method_type _q_method = &UMLScene::sigGridColorChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
322 *result = 2;
323 return;
324 }
325 }
326 {
327 using _q_method_type = void (UMLScene::*)(Uml::ID::Type );
328 if (_q_method_type _q_method = &UMLScene::sigLineColorChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
329 *result = 3;
330 return;
331 }
332 }
333 {
334 using _q_method_type = void (UMLScene::*)(Uml::ID::Type );
335 if (_q_method_type _q_method = &UMLScene::sigTextColorChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
336 *result = 4;
337 return;
338 }
339 }
340 {
341 using _q_method_type = void (UMLScene::*)(Uml::ID::Type );
342 if (_q_method_type _q_method = &UMLScene::sigLineWidthChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
343 *result = 5;
344 return;
345 }
346 }
347 {
348 using _q_method_type = void (UMLScene::*)(bool );
349 if (_q_method_type _q_method = &UMLScene::sigSnapToGridToggled; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
350 *result = 6;
351 return;
352 }
353 }
354 {
355 using _q_method_type = void (UMLScene::*)(bool );
356 if (_q_method_type _q_method = &UMLScene::sigSnapComponentSizeToGridToggled; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
357 *result = 7;
358 return;
359 }
360 }
361 {
362 using _q_method_type = void (UMLScene::*)(bool );
363 if (_q_method_type _q_method = &UMLScene::sigShowGridToggled; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
364 *result = 8;
365 return;
366 }
367 }
368 {
369 using _q_method_type = void (UMLScene::*)(AssociationWidget * );
370 if (_q_method_type _q_method = &UMLScene::sigAssociationRemoved; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
371 *result = 9;
372 return;
373 }
374 }
375 {
376 using _q_method_type = void (UMLScene::*)(UMLWidget * );
377 if (_q_method_type _q_method = &UMLScene::sigWidgetRemoved; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
378 *result = 10;
379 return;
380 }
381 }
382 }
383}
384
385const QMetaObject *UMLScene::metaObject() const
386{
387 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
388}
389
390void *UMLScene::qt_metacast(const char *_clname)
391{
392 if (!_clname) return nullptr;
393 if (!strcmp(_clname, qt_meta_stringdata_ZN8UMLSceneE.stringdata0))
394 return static_cast<void*>(this);
395 return QGraphicsScene::qt_metacast(_clname);
396}
397
398int UMLScene::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
399{
400 _id = QGraphicsScene::qt_metacall(_c, _id, _a);
401 if (_id < 0)
402 return _id;
403 if (_c == QMetaObject::InvokeMetaMethod) {
404 if (_id < 26)
405 qt_static_metacall(this, _c, _id, _a);
406 _id -= 26;
407 }
408 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
409 if (_id < 26)
410 qt_static_metacall(this, _c, _id, _a);
411 _id -= 26;
412 }
413 return _id;
414}
415
416// SIGNAL 0
418{
419 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
420}
421
422// SIGNAL 1
424{
425 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
426 QMetaObject::activate(this, &staticMetaObject, 1, _a);
427}
428
429// SIGNAL 2
431{
432 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
433 QMetaObject::activate(this, &staticMetaObject, 2, _a);
434}
435
436// SIGNAL 3
438{
439 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
440 QMetaObject::activate(this, &staticMetaObject, 3, _a);
441}
442
443// SIGNAL 4
445{
446 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
447 QMetaObject::activate(this, &staticMetaObject, 4, _a);
448}
449
450// SIGNAL 5
452{
453 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
454 QMetaObject::activate(this, &staticMetaObject, 5, _a);
455}
456
457// SIGNAL 6
459{
460 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
461 QMetaObject::activate(this, &staticMetaObject, 6, _a);
462}
463
464// SIGNAL 7
466{
467 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
468 QMetaObject::activate(this, &staticMetaObject, 7, _a);
469}
470
471// SIGNAL 8
473{
474 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
475 QMetaObject::activate(this, &staticMetaObject, 8, _a);
476}
477
478// SIGNAL 9
480{
481 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
482 QMetaObject::activate(this, &staticMetaObject, 9, _a);
483}
484
485// SIGNAL 10
487{
488 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
489 QMetaObject::activate(this, &staticMetaObject, 10, _a);
490}
491QT_WARNING_POP
This class represents an association inside a diagram. Bugs and comments to umbrello-devel@kde....
Definition associationwidget.h:47
void sigTextColorChanged(Uml::ID::Type)
Definition moc_umlscene.cpp:444
void sigLineWidthChanged(Uml::ID::Type)
Definition moc_umlscene.cpp:451
UMLScene(UMLFolder *parentFolder, UMLView *view=nullptr)
Definition umlscene.cpp:262
void sigSnapComponentSizeToGridToggled(bool)
Definition moc_umlscene.cpp:465
void sigAssociationRemoved(AssociationWidget *)
Definition moc_umlscene.cpp:479
void sigSnapToGridToggled(bool)
Definition moc_umlscene.cpp:458
void sigLineColorChanged(Uml::ID::Type)
Definition moc_umlscene.cpp:437
void sigResetToolBar()
Definition moc_umlscene.cpp:417
void sigShowGridToggled(bool)
Definition moc_umlscene.cpp:472
void sigGridColorChanged(Uml::ID::Type)
Definition moc_umlscene.cpp:430
void sigWidgetRemoved(UMLWidget *)
Definition moc_umlscene.cpp:486
void sigFillColorChanged(Uml::ID::Type)
Definition moc_umlscene.cpp:423
The base class for graphical UML objects.
Definition umlwidget.h:36
#define Q_CONSTINIT
Definition moc_parser.cpp:27
static Q_CONSTINIT const uint qt_meta_data_ZN8UMLSceneE[]
Definition moc_umlscene.cpp:81
Definition moc_parser.cpp:33
std::string Type
Definition basictypes.h:371