umbrello 25.12.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_associationwidget.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'associationwidget.h'
3**
4** Created by: The Qt Meta Object Compiler version 69 (Qt 6.9.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 'associationwidget.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 69
21#error "This file was generated using the moc from 6.9.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
37template <> constexpr inline auto AssociationWidget::qt_create_metaobjectdata<qt_meta_tag_ZN17AssociationWidgetE_t>()
38{
39 namespace QMC = QtMocConstants;
40 QtMocHelpers::StringRefStorage qt_stringData {
41 "AssociationWidget",
42 "slotMenuSelection",
43 "",
44 "QAction*",
45 "action",
46 "slotClassifierListItemRemoved",
47 "UMLClassifierListItem*",
48 "obj",
49 "slotAttributeChanged",
50 "syncToModel"
51 };
52
53 QtMocHelpers::UintData qt_methods {
54 // Slot 'slotMenuSelection'
55 QtMocHelpers::SlotData<void(QAction *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
56 { 0x80000000 | 3, 4 },
57 }}),
58 // Slot 'slotClassifierListItemRemoved'
59 QtMocHelpers::SlotData<void(UMLClassifierListItem *)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
60 { 0x80000000 | 6, 7 },
61 }}),
62 // Slot 'slotAttributeChanged'
63 QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
64 // Slot 'syncToModel'
65 QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
66 };
67 QtMocHelpers::UintData qt_properties {
68 };
69 QtMocHelpers::UintData qt_enums {
70 };
71 return QtMocHelpers::metaObjectData<AssociationWidget, qt_meta_tag_ZN17AssociationWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
72 qt_methods, qt_properties, qt_enums);
73}
74Q_CONSTINIT const QMetaObject AssociationWidget::staticMetaObject = { {
75 QMetaObject::SuperData::link<WidgetBase::staticMetaObject>(),
76 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17AssociationWidgetE_t>.stringdata,
77 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17AssociationWidgetE_t>.data,
78 qt_static_metacall,
79 nullptr,
80 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN17AssociationWidgetE_t>.metaTypes,
81 nullptr
82} };
83
84void AssociationWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
85{
86 auto *_t = static_cast<AssociationWidget *>(_o);
87 if (_c == QMetaObject::InvokeMetaMethod) {
88 switch (_id) {
89 case 0: _t->slotMenuSelection((*reinterpret_cast< std::add_pointer_t<QAction*>>(_a[1]))); break;
90 case 1: _t->slotClassifierListItemRemoved((*reinterpret_cast< std::add_pointer_t<UMLClassifierListItem*>>(_a[1]))); break;
91 case 2: _t->slotAttributeChanged(); break;
92 case 3: _t->syncToModel(); break;
93 default: ;
94 }
95 }
96 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
97 switch (_id) {
98 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
99 case 0:
100 switch (*reinterpret_cast<int*>(_a[1])) {
101 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
102 case 0:
103 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAction* >(); break;
104 }
105 break;
106 }
107 }
108}
109
110const QMetaObject *AssociationWidget::metaObject() const
111{
112 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
113}
114
115void *AssociationWidget::qt_metacast(const char *_clname)
116{
117 if (!_clname) return nullptr;
118 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17AssociationWidgetE_t>.strings))
119 return static_cast<void*>(this);
120 if (!strcmp(_clname, "LinkWidget"))
121 return static_cast< LinkWidget*>(this);
122 return WidgetBase::qt_metacast(_clname);
123}
124
125int AssociationWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
126{
127 _id = WidgetBase::qt_metacall(_c, _id, _a);
128 if (_id < 0)
129 return _id;
130 if (_c == QMetaObject::InvokeMetaMethod) {
131 if (_id < 4)
132 qt_static_metacall(this, _c, _id, _a);
133 _id -= 4;
134 }
135 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
136 if (_id < 4)
137 qt_static_metacall(this, _c, _id, _a);
138 _id -= 4;
139 }
140 return _id;
141}
142QT_WARNING_POP
AssociationWidget(UMLScene *scene)
Definition associationwidget.cpp:69
LinkWidget()
Definition linkwidget.cpp:22
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33