umbrello 25.04.1
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 67 (Qt 5.15.13)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include <memory>
10#include "../../../../umbrello/umlscene.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'umlscene.h' doesn't include <QObject>."
15#elif Q_MOC_OUTPUT_REVISION != 67
16#error "This file was generated using the moc from 5.15.13. 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
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
25 QByteArrayData data[36];
26 char stringdata0[565];
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_UMLScene_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
34 {
35QT_MOC_LITERAL(0, 0, 8), // "UMLScene"
36QT_MOC_LITERAL(1, 9, 15), // "sigResetToolBar"
37QT_MOC_LITERAL(2, 25, 0), // ""
38QT_MOC_LITERAL(3, 26, 19), // "sigFillColorChanged"
39QT_MOC_LITERAL(4, 46, 13), // "Uml::ID::Type"
40QT_MOC_LITERAL(5, 60, 19), // "sigGridColorChanged"
41QT_MOC_LITERAL(6, 80, 19), // "sigLineColorChanged"
42QT_MOC_LITERAL(7, 100, 19), // "sigTextColorChanged"
43QT_MOC_LITERAL(8, 120, 19), // "sigLineWidthChanged"
44QT_MOC_LITERAL(9, 140, 20), // "sigSnapToGridToggled"
45QT_MOC_LITERAL(10, 161, 33), // "sigSnapComponentSizeToGridTog..."
46QT_MOC_LITERAL(11, 195, 18), // "sigShowGridToggled"
47QT_MOC_LITERAL(12, 214, 21), // "sigAssociationRemoved"
48QT_MOC_LITERAL(13, 236, 18), // "AssociationWidget*"
49QT_MOC_LITERAL(14, 255, 16), // "sigWidgetRemoved"
50QT_MOC_LITERAL(15, 272, 10), // "UMLWidget*"
51QT_MOC_LITERAL(16, 283, 18), // "slotToolBarChanged"
52QT_MOC_LITERAL(17, 302, 1), // "c"
53QT_MOC_LITERAL(18, 304, 17), // "slotObjectCreated"
54QT_MOC_LITERAL(19, 322, 10), // "UMLObject*"
55QT_MOC_LITERAL(20, 333, 1), // "o"
56QT_MOC_LITERAL(21, 335, 17), // "slotObjectRemoved"
57QT_MOC_LITERAL(22, 353, 17), // "slotMenuSelection"
58QT_MOC_LITERAL(23, 371, 8), // "QAction*"
59QT_MOC_LITERAL(24, 380, 6), // "action"
60QT_MOC_LITERAL(25, 387, 12), // "slotActivate"
61QT_MOC_LITERAL(26, 400, 17), // "slotCutSuccessful"
62QT_MOC_LITERAL(27, 418, 12), // "slotShowView"
63QT_MOC_LITERAL(28, 431, 9), // "alignLeft"
64QT_MOC_LITERAL(29, 441, 10), // "alignRight"
65QT_MOC_LITERAL(30, 452, 8), // "alignTop"
66QT_MOC_LITERAL(31, 461, 11), // "alignBottom"
67QT_MOC_LITERAL(32, 473, 19), // "alignVerticalMiddle"
68QT_MOC_LITERAL(33, 493, 21), // "alignHorizontalMiddle"
69QT_MOC_LITERAL(34, 515, 23), // "alignVerticalDistribute"
70QT_MOC_LITERAL(35, 539, 25) // "alignHorizontalDistribute"
71
72 },
73 "UMLScene\0sigResetToolBar\0\0sigFillColorChanged\0"
74 "Uml::ID::Type\0sigGridColorChanged\0"
75 "sigLineColorChanged\0sigTextColorChanged\0"
76 "sigLineWidthChanged\0sigSnapToGridToggled\0"
77 "sigSnapComponentSizeToGridToggled\0"
78 "sigShowGridToggled\0sigAssociationRemoved\0"
79 "AssociationWidget*\0sigWidgetRemoved\0"
80 "UMLWidget*\0slotToolBarChanged\0c\0"
81 "slotObjectCreated\0UMLObject*\0o\0"
82 "slotObjectRemoved\0slotMenuSelection\0"
83 "QAction*\0action\0slotActivate\0"
84 "slotCutSuccessful\0slotShowView\0alignLeft\0"
85 "alignRight\0alignTop\0alignBottom\0"
86 "alignVerticalMiddle\0alignHorizontalMiddle\0"
87 "alignVerticalDistribute\0"
88 "alignHorizontalDistribute"
89};
90#undef QT_MOC_LITERAL
91
92static const uint qt_meta_data_UMLScene[] = {
93
94 // content:
95 8, // revision
96 0, // classname
97 0, 0, // classinfo
98 26, 14, // methods
99 0, 0, // properties
100 0, 0, // enums/sets
101 0, 0, // constructors
102 0, // flags
103 11, // signalCount
104
105 // signals: name, argc, parameters, tag, flags
106 1, 0, 144, 2, 0x06 /* Public */,
107 3, 1, 145, 2, 0x06 /* Public */,
108 5, 1, 148, 2, 0x06 /* Public */,
109 6, 1, 151, 2, 0x06 /* Public */,
110 7, 1, 154, 2, 0x06 /* Public */,
111 8, 1, 157, 2, 0x06 /* Public */,
112 9, 1, 160, 2, 0x06 /* Public */,
113 10, 1, 163, 2, 0x06 /* Public */,
114 11, 1, 166, 2, 0x06 /* Public */,
115 12, 1, 169, 2, 0x06 /* Public */,
116 14, 1, 172, 2, 0x06 /* Public */,
117
118 // slots: name, argc, parameters, tag, flags
119 16, 1, 175, 2, 0x0a /* Public */,
120 18, 1, 178, 2, 0x0a /* Public */,
121 21, 1, 181, 2, 0x0a /* Public */,
122 22, 1, 184, 2, 0x0a /* Public */,
123 25, 0, 187, 2, 0x0a /* Public */,
124 26, 0, 188, 2, 0x0a /* Public */,
125 27, 0, 189, 2, 0x0a /* Public */,
126 28, 0, 190, 2, 0x0a /* Public */,
127 29, 0, 191, 2, 0x0a /* Public */,
128 30, 0, 192, 2, 0x0a /* Public */,
129 31, 0, 193, 2, 0x0a /* Public */,
130 32, 0, 194, 2, 0x0a /* Public */,
131 33, 0, 195, 2, 0x0a /* Public */,
132 34, 0, 196, 2, 0x0a /* Public */,
133 35, 0, 197, 2, 0x0a /* Public */,
134
135 // signals: parameters
136 QMetaType::Void,
137 QMetaType::Void, 0x80000000 | 4, 2,
138 QMetaType::Void, 0x80000000 | 4, 2,
139 QMetaType::Void, 0x80000000 | 4, 2,
140 QMetaType::Void, 0x80000000 | 4, 2,
141 QMetaType::Void, 0x80000000 | 4, 2,
142 QMetaType::Void, QMetaType::Bool, 2,
143 QMetaType::Void, QMetaType::Bool, 2,
144 QMetaType::Void, QMetaType::Bool, 2,
145 QMetaType::Void, 0x80000000 | 13, 2,
146 QMetaType::Void, 0x80000000 | 15, 2,
147
148 // slots: parameters
149 QMetaType::Void, QMetaType::Int, 17,
150 QMetaType::Void, 0x80000000 | 19, 20,
151 QMetaType::Void, 0x80000000 | 19, 20,
152 QMetaType::Void, 0x80000000 | 23, 24,
153 QMetaType::Void,
154 QMetaType::Void,
155 QMetaType::Void,
156 QMetaType::Void,
157 QMetaType::Void,
158 QMetaType::Void,
159 QMetaType::Void,
160 QMetaType::Void,
161 QMetaType::Void,
162 QMetaType::Void,
163 QMetaType::Void,
164
165 0 // eod
166};
167
168void UMLScene::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
169{
170 if (_c == QMetaObject::InvokeMetaMethod) {
171 auto *_t = static_cast<UMLScene *>(_o);
172 (void)_t;
173 switch (_id) {
174 case 0: _t->sigResetToolBar(); break;
175 case 1: _t->sigFillColorChanged((*reinterpret_cast< Uml::ID::Type(*)>(_a[1]))); break;
176 case 2: _t->sigGridColorChanged((*reinterpret_cast< Uml::ID::Type(*)>(_a[1]))); break;
177 case 3: _t->sigLineColorChanged((*reinterpret_cast< Uml::ID::Type(*)>(_a[1]))); break;
178 case 4: _t->sigTextColorChanged((*reinterpret_cast< Uml::ID::Type(*)>(_a[1]))); break;
179 case 5: _t->sigLineWidthChanged((*reinterpret_cast< Uml::ID::Type(*)>(_a[1]))); break;
180 case 6: _t->sigSnapToGridToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
181 case 7: _t->sigSnapComponentSizeToGridToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
182 case 8: _t->sigShowGridToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
183 case 9: _t->sigAssociationRemoved((*reinterpret_cast< AssociationWidget*(*)>(_a[1]))); break;
184 case 10: _t->sigWidgetRemoved((*reinterpret_cast< UMLWidget*(*)>(_a[1]))); break;
185 case 11: _t->slotToolBarChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
186 case 12: _t->slotObjectCreated((*reinterpret_cast< UMLObject*(*)>(_a[1]))); break;
187 case 13: _t->slotObjectRemoved((*reinterpret_cast< UMLObject*(*)>(_a[1]))); break;
188 case 14: _t->slotMenuSelection((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
189 case 15: _t->slotActivate(); break;
190 case 16: _t->slotCutSuccessful(); break;
191 case 17: _t->slotShowView(); break;
192 case 18: _t->alignLeft(); break;
193 case 19: _t->alignRight(); break;
194 case 20: _t->alignTop(); break;
195 case 21: _t->alignBottom(); break;
196 case 22: _t->alignVerticalMiddle(); break;
197 case 23: _t->alignHorizontalMiddle(); break;
198 case 24: _t->alignVerticalDistribute(); break;
199 case 25: _t->alignHorizontalDistribute(); break;
200 default: ;
201 }
202 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
203 switch (_id) {
204 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
205 case 10:
206 switch (*reinterpret_cast<int*>(_a[1])) {
207 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
208 case 0:
209 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UMLWidget* >(); break;
210 }
211 break;
212 case 12:
213 switch (*reinterpret_cast<int*>(_a[1])) {
214 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
215 case 0:
216 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UMLObject* >(); break;
217 }
218 break;
219 case 13:
220 switch (*reinterpret_cast<int*>(_a[1])) {
221 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
222 case 0:
223 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UMLObject* >(); break;
224 }
225 break;
226 case 14:
227 switch (*reinterpret_cast<int*>(_a[1])) {
228 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
229 case 0:
230 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break;
231 }
232 break;
233 }
234 } else if (_c == QMetaObject::IndexOfMethod) {
235 int *result = reinterpret_cast<int *>(_a[0]);
236 {
237 using _t = void (UMLScene::*)();
238 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLScene::sigResetToolBar)) {
239 *result = 0;
240 return;
241 }
242 }
243 {
244 using _t = void (UMLScene::*)(Uml::ID::Type );
245 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLScene::sigFillColorChanged)) {
246 *result = 1;
247 return;
248 }
249 }
250 {
251 using _t = void (UMLScene::*)(Uml::ID::Type );
252 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLScene::sigGridColorChanged)) {
253 *result = 2;
254 return;
255 }
256 }
257 {
258 using _t = void (UMLScene::*)(Uml::ID::Type );
259 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLScene::sigLineColorChanged)) {
260 *result = 3;
261 return;
262 }
263 }
264 {
265 using _t = void (UMLScene::*)(Uml::ID::Type );
266 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLScene::sigTextColorChanged)) {
267 *result = 4;
268 return;
269 }
270 }
271 {
272 using _t = void (UMLScene::*)(Uml::ID::Type );
273 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLScene::sigLineWidthChanged)) {
274 *result = 5;
275 return;
276 }
277 }
278 {
279 using _t = void (UMLScene::*)(bool );
280 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLScene::sigSnapToGridToggled)) {
281 *result = 6;
282 return;
283 }
284 }
285 {
286 using _t = void (UMLScene::*)(bool );
287 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLScene::sigSnapComponentSizeToGridToggled)) {
288 *result = 7;
289 return;
290 }
291 }
292 {
293 using _t = void (UMLScene::*)(bool );
294 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLScene::sigShowGridToggled)) {
295 *result = 8;
296 return;
297 }
298 }
299 {
300 using _t = void (UMLScene::*)(AssociationWidget * );
301 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLScene::sigAssociationRemoved)) {
302 *result = 9;
303 return;
304 }
305 }
306 {
307 using _t = void (UMLScene::*)(UMLWidget * );
308 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLScene::sigWidgetRemoved)) {
309 *result = 10;
310 return;
311 }
312 }
313 }
314}
315
316QT_INIT_METAOBJECT const QMetaObject UMLScene::staticMetaObject = { {
317 QMetaObject::SuperData::link<QGraphicsScene::staticMetaObject>(),
320 qt_static_metacall,
321 nullptr,
322 nullptr
323} };
324
325
326const QMetaObject *UMLScene::metaObject() const
327{
328 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
329}
330
331void *UMLScene::qt_metacast(const char *_clname)
332{
333 if (!_clname) return nullptr;
334 if (!strcmp(_clname, qt_meta_stringdata_UMLScene.stringdata0))
335 return static_cast<void*>(this);
336 return QGraphicsScene::qt_metacast(_clname);
337}
338
339int UMLScene::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
340{
341 _id = QGraphicsScene::qt_metacall(_c, _id, _a);
342 if (_id < 0)
343 return _id;
344 if (_c == QMetaObject::InvokeMetaMethod) {
345 if (_id < 26)
346 qt_static_metacall(this, _c, _id, _a);
347 _id -= 26;
348 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
349 if (_id < 26)
350 qt_static_metacall(this, _c, _id, _a);
351 _id -= 26;
352 }
353 return _id;
354}
355
356// SIGNAL 0
358{
359 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
360}
361
362// SIGNAL 1
364{
365 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
366 QMetaObject::activate(this, &staticMetaObject, 1, _a);
367}
368
369// SIGNAL 2
371{
372 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
373 QMetaObject::activate(this, &staticMetaObject, 2, _a);
374}
375
376// SIGNAL 3
378{
379 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
380 QMetaObject::activate(this, &staticMetaObject, 3, _a);
381}
382
383// SIGNAL 4
385{
386 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
387 QMetaObject::activate(this, &staticMetaObject, 4, _a);
388}
389
390// SIGNAL 5
392{
393 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
394 QMetaObject::activate(this, &staticMetaObject, 5, _a);
395}
396
397// SIGNAL 6
399{
400 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
401 QMetaObject::activate(this, &staticMetaObject, 6, _a);
402}
403
404// SIGNAL 7
406{
407 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
408 QMetaObject::activate(this, &staticMetaObject, 7, _a);
409}
410
411// SIGNAL 8
413{
414 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
415 QMetaObject::activate(this, &staticMetaObject, 8, _a);
416}
417
418// SIGNAL 9
420{
421 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
422 QMetaObject::activate(this, &staticMetaObject, 9, _a);
423}
424
425// SIGNAL 10
427{
428 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
429 QMetaObject::activate(this, &staticMetaObject, 10, _a);
430}
431QT_WARNING_POP
432QT_END_MOC_NAMESPACE
This class represents an association inside a diagram. Bugs and comments to umbrello-devel@kde....
Definition associationwidget.h:47
The base class for UML objects.
Definition umlobject.h:70
Definition umlscene.h:65
void sigTextColorChanged(Uml::ID::Type)
Definition moc_umlscene.cpp:384
void sigLineWidthChanged(Uml::ID::Type)
Definition moc_umlscene.cpp:391
void sigSnapComponentSizeToGridToggled(bool)
Definition moc_umlscene.cpp:405
void sigAssociationRemoved(AssociationWidget *)
Definition moc_umlscene.cpp:419
void sigSnapToGridToggled(bool)
Definition moc_umlscene.cpp:398
void sigLineColorChanged(Uml::ID::Type)
Definition moc_umlscene.cpp:377
void sigResetToolBar()
Definition moc_umlscene.cpp:357
void sigShowGridToggled(bool)
Definition moc_umlscene.cpp:412
void sigGridColorChanged(Uml::ID::Type)
Definition moc_umlscene.cpp:370
void sigWidgetRemoved(UMLWidget *)
Definition moc_umlscene.cpp:426
void sigFillColorChanged(Uml::ID::Type)
Definition moc_umlscene.cpp:363
Uml::ID::Type ID() const
Definition umlscene.cpp:459
The base class for graphical UML objects.
Definition umlwidget.h:36
static const qt_meta_stringdata_UMLScene_t qt_meta_stringdata_UMLScene
Definition moc_umlscene.cpp:33
static const uint qt_meta_data_UMLScene[]
Definition moc_umlscene.cpp:92
#define QT_MOC_LITERAL(idx, ofs, len)
Definition moc_umlscene.cpp:28
std::string Type
Definition basictypes.h:371
Definition basictypes.cpp:17
Definition moc_umlscene.cpp:24
char stringdata0[565]
Definition moc_umlscene.cpp:26
QByteArrayData data[36]
Definition moc_umlscene.cpp:25
#define bool
Definition moc_predefs.h:49