10#include <QtCore/qmetatype.h>
12#include <QtCore/qtmochelpers.h>
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.)"
32QT_WARNING_DISABLE_GCC(
"-Wuseless-cast")
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN8UMLSceneE = QtMocHelpers::stringData(
43 "sigFillColorChanged",
45 "sigGridColorChanged",
46 "sigLineColorChanged",
47 "sigTextColorChanged",
48 "sigLineWidthChanged",
49 "sigSnapToGridToggled",
50 "sigSnapComponentSizeToGridToggled",
52 "sigAssociationRemoved",
72 "alignVerticalMiddle",
73 "alignHorizontalMiddle",
74 "alignVerticalDistribute",
75 "alignHorizontalDistribute"
78#error "qtmochelpers.h not found or too old."
95 1, 0, 170, 2, 0x06, 1 ,
96 3, 1, 171, 2, 0x06, 2 ,
97 5, 1, 174, 2, 0x06, 4 ,
98 6, 1, 177, 2, 0x06, 6 ,
99 7, 1, 180, 2, 0x06, 8 ,
100 8, 1, 183, 2, 0x06, 10 ,
101 9, 1, 186, 2, 0x06, 12 ,
102 10, 1, 189, 2, 0x06, 14 ,
103 11, 1, 192, 2, 0x06, 16 ,
104 12, 1, 195, 2, 0x06, 18 ,
105 14, 1, 198, 2, 0x06, 20 ,
108 16, 1, 201, 2, 0x0a, 22 ,
109 18, 1, 204, 2, 0x0a, 24 ,
110 21, 1, 207, 2, 0x0a, 26 ,
111 22, 1, 210, 2, 0x0a, 28 ,
112 25, 0, 213, 2, 0x0a, 30 ,
113 26, 0, 214, 2, 0x0a, 31 ,
114 27, 0, 215, 2, 0x0a, 32 ,
115 28, 0, 216, 2, 0x0a, 33 ,
116 29, 0, 217, 2, 0x0a, 34 ,
117 30, 0, 218, 2, 0x0a, 35 ,
118 31, 0, 219, 2, 0x0a, 36 ,
119 32, 0, 220, 2, 0x0a, 37 ,
120 33, 0, 221, 2, 0x0a, 38 ,
121 34, 0, 222, 2, 0x0a, 39 ,
122 35, 0, 223, 2, 0x0a, 40 ,
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,
138 QMetaType::Void, QMetaType::Int, 17,
139 QMetaType::Void, 0x80000000 | 19, 20,
140 QMetaType::Void, 0x80000000 | 19, 20,
141 QMetaType::Void, 0x80000000 | 23, 24,
157Q_CONSTINIT const QMetaObject UMLScene::staticMetaObject = { {
158 QMetaObject::SuperData::link<QGraphicsScene::staticMetaObject>(),
159 qt_meta_stringdata_ZN8UMLSceneE.offsetsAndSizes,
163 qt_incomplete_metaTypeArray<qt_meta_tag_ZN8UMLSceneE_t,
165 QtPrivate::TypeAndForceComplete<UMLScene, std::true_type>,
167 QtPrivate::TypeAndForceComplete<void, std::false_type>,
169 QtPrivate::TypeAndForceComplete<void, std::false_type>,
170 QtPrivate::TypeAndForceComplete<Uml::ID::Type, std::false_type>,
172 QtPrivate::TypeAndForceComplete<void, std::false_type>,
173 QtPrivate::TypeAndForceComplete<Uml::ID::Type, std::false_type>,
175 QtPrivate::TypeAndForceComplete<void, std::false_type>,
176 QtPrivate::TypeAndForceComplete<Uml::ID::Type, std::false_type>,
178 QtPrivate::TypeAndForceComplete<void, std::false_type>,
179 QtPrivate::TypeAndForceComplete<Uml::ID::Type, std::false_type>,
181 QtPrivate::TypeAndForceComplete<void, std::false_type>,
182 QtPrivate::TypeAndForceComplete<Uml::ID::Type, std::false_type>,
184 QtPrivate::TypeAndForceComplete<void, std::false_type>,
185 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
187 QtPrivate::TypeAndForceComplete<void, std::false_type>,
188 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
190 QtPrivate::TypeAndForceComplete<void, std::false_type>,
191 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
193 QtPrivate::TypeAndForceComplete<void, std::false_type>,
194 QtPrivate::TypeAndForceComplete<AssociationWidget *, std::false_type>,
196 QtPrivate::TypeAndForceComplete<void, std::false_type>,
197 QtPrivate::TypeAndForceComplete<UMLWidget *, std::false_type>,
199 QtPrivate::TypeAndForceComplete<void, std::false_type>,
200 QtPrivate::TypeAndForceComplete<int, std::false_type>,
202 QtPrivate::TypeAndForceComplete<void, std::false_type>,
203 QtPrivate::TypeAndForceComplete<UMLObject *, std::false_type>,
205 QtPrivate::TypeAndForceComplete<void, std::false_type>,
206 QtPrivate::TypeAndForceComplete<UMLObject *, std::false_type>,
208 QtPrivate::TypeAndForceComplete<void, std::false_type>,
209 QtPrivate::TypeAndForceComplete<QAction *, std::false_type>,
211 QtPrivate::TypeAndForceComplete<void, std::false_type>,
213 QtPrivate::TypeAndForceComplete<void, std::false_type>,
215 QtPrivate::TypeAndForceComplete<void, std::false_type>,
217 QtPrivate::TypeAndForceComplete<void, std::false_type>,
219 QtPrivate::TypeAndForceComplete<void, std::false_type>,
221 QtPrivate::TypeAndForceComplete<void, std::false_type>,
223 QtPrivate::TypeAndForceComplete<void, std::false_type>,
225 QtPrivate::TypeAndForceComplete<void, std::false_type>,
227 QtPrivate::TypeAndForceComplete<void, std::false_type>,
229 QtPrivate::TypeAndForceComplete<void, std::false_type>,
231 QtPrivate::TypeAndForceComplete<void, std::false_type>
236void UMLScene::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
238 auto *_t =
static_cast<UMLScene *
>(_o);
239 if (_c == QMetaObject::InvokeMetaMethod) {
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;
270 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
272 default: *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
break;
274 switch (*
reinterpret_cast<int*
>(_a[1])) {
275 default: *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
break;
277 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType::fromType< UMLWidget* >();
break;
281 switch (*
reinterpret_cast<int*
>(_a[1])) {
282 default: *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
break;
284 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType::fromType< UMLObject* >();
break;
288 switch (*
reinterpret_cast<int*
>(_a[1])) {
289 default: *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
break;
291 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType::fromType< UMLObject* >();
break;
295 switch (*
reinterpret_cast<int*
>(_a[1])) {
296 default: *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
break;
298 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType::fromType< QAction* >();
break;
303 if (_c == QMetaObject::IndexOfMethod) {
304 int *result =
reinterpret_cast<int *
>(_a[0]);
306 using _q_method_type = void (
UMLScene::*)();
348 using _q_method_type = void (
UMLScene::*)(bool );
355 using _q_method_type = void (
UMLScene::*)(bool );
362 using _q_method_type = void (
UMLScene::*)(bool );
369 using _q_method_type = void (
UMLScene::*)(AssociationWidget * );
376 using _q_method_type = void (
UMLScene::*)(UMLWidget * );
385const QMetaObject *UMLScene::metaObject()
const
387 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
390void *UMLScene::qt_metacast(
const char *_clname)
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);
398int UMLScene::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
400 _id = QGraphicsScene::qt_metacall(_c, _id, _a);
403 if (_c == QMetaObject::InvokeMetaMethod) {
405 qt_static_metacall(
this, _c, _id, _a);
408 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
410 qt_static_metacall(
this, _c, _id, _a);
419 QMetaObject::activate(
this, &staticMetaObject, 0,
nullptr);
425 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
426 QMetaObject::activate(
this, &staticMetaObject, 1, _a);
432 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
433 QMetaObject::activate(
this, &staticMetaObject, 2, _a);
439 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
440 QMetaObject::activate(
this, &staticMetaObject, 3, _a);
446 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
447 QMetaObject::activate(
this, &staticMetaObject, 4, _a);
453 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
454 QMetaObject::activate(
this, &staticMetaObject, 5, _a);
460 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
461 QMetaObject::activate(
this, &staticMetaObject, 6, _a);
467 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
468 QMetaObject::activate(
this, &staticMetaObject, 7, _a);
474 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
475 QMetaObject::activate(
this, &staticMetaObject, 8, _a);
481 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
482 QMetaObject::activate(
this, &staticMetaObject, 9, _a);
488 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
489 QMetaObject::activate(
this, &staticMetaObject, 10, _a);
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
#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