umbrello 25.11.70
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_entity.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'entity.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 'entity.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_ZN9UMLEntityE = QtMocHelpers::stringData(
40 "UMLEntity",
41 "entityAttributeAdded",
42 "",
43 "UMLClassifierListItem*",
44 "entityAttributeRemoved",
45 "entityConstraintAdded",
46 "entityConstraintRemoved",
47 "slotEntityAttributeRemoved"
48);
49#else // !QT_MOC_HAS_STRINGDATA
50#error "qtmochelpers.h not found or too old."
51#endif // !QT_MOC_HAS_STRINGDATA
52
54
55 // content:
56 12, // revision
57 0, // classname
58 0, 0, // classinfo
59 5, 14, // methods
60 0, 0, // properties
61 0, 0, // enums/sets
62 0, 0, // constructors
63 0, // flags
64 4, // signalCount
65
66 // signals: name, argc, parameters, tag, flags, initial metatype offsets
67 1, 1, 44, 2, 0x06, 1 /* Public */,
68 4, 1, 47, 2, 0x06, 3 /* Public */,
69 5, 1, 50, 2, 0x06, 5 /* Public */,
70 6, 1, 53, 2, 0x06, 7 /* Public */,
71
72 // slots: name, argc, parameters, tag, flags, initial metatype offsets
73 7, 1, 56, 2, 0x08, 9 /* Private */,
74
75 // signals: parameters
76 QMetaType::Void, 0x80000000 | 3, 2,
77 QMetaType::Void, 0x80000000 | 3, 2,
78 QMetaType::Void, 0x80000000 | 3, 2,
79 QMetaType::Void, 0x80000000 | 3, 2,
80
81 // slots: parameters
82 QMetaType::Void, 0x80000000 | 3, 2,
83
84 0 // eod
85};
86
87Q_CONSTINIT const QMetaObject UMLEntity::staticMetaObject = { {
88 QMetaObject::SuperData::link<UMLClassifier::staticMetaObject>(),
89 qt_meta_stringdata_ZN9UMLEntityE.offsetsAndSizes,
91 qt_static_metacall,
92 nullptr,
93 qt_incomplete_metaTypeArray<qt_meta_tag_ZN9UMLEntityE_t,
94 // Q_OBJECT / Q_GADGET
95 QtPrivate::TypeAndForceComplete<UMLEntity, std::true_type>,
96 // method 'entityAttributeAdded'
97 QtPrivate::TypeAndForceComplete<void, std::false_type>,
98 QtPrivate::TypeAndForceComplete<UMLClassifierListItem *, std::false_type>,
99 // method 'entityAttributeRemoved'
100 QtPrivate::TypeAndForceComplete<void, std::false_type>,
101 QtPrivate::TypeAndForceComplete<UMLClassifierListItem *, std::false_type>,
102 // method 'entityConstraintAdded'
103 QtPrivate::TypeAndForceComplete<void, std::false_type>,
104 QtPrivate::TypeAndForceComplete<UMLClassifierListItem *, std::false_type>,
105 // method 'entityConstraintRemoved'
106 QtPrivate::TypeAndForceComplete<void, std::false_type>,
107 QtPrivate::TypeAndForceComplete<UMLClassifierListItem *, std::false_type>,
108 // method 'slotEntityAttributeRemoved'
109 QtPrivate::TypeAndForceComplete<void, std::false_type>,
110 QtPrivate::TypeAndForceComplete<UMLClassifierListItem *, std::false_type>
111 >,
112 nullptr
113} };
114
115void UMLEntity::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
116{
117 auto *_t = static_cast<UMLEntity *>(_o);
118 if (_c == QMetaObject::InvokeMetaMethod) {
119 switch (_id) {
120 case 0: _t->entityAttributeAdded((*reinterpret_cast< std::add_pointer_t<UMLClassifierListItem*>>(_a[1]))); break;
121 case 1: _t->entityAttributeRemoved((*reinterpret_cast< std::add_pointer_t<UMLClassifierListItem*>>(_a[1]))); break;
122 case 2: _t->entityConstraintAdded((*reinterpret_cast< std::add_pointer_t<UMLClassifierListItem*>>(_a[1]))); break;
123 case 3: _t->entityConstraintRemoved((*reinterpret_cast< std::add_pointer_t<UMLClassifierListItem*>>(_a[1]))); break;
124 case 4: _t->slotEntityAttributeRemoved((*reinterpret_cast< std::add_pointer_t<UMLClassifierListItem*>>(_a[1]))); break;
125 default: ;
126 }
127 }
128 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
129 switch (_id) {
130 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
131 case 0:
132 switch (*reinterpret_cast<int*>(_a[1])) {
133 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
134 case 0:
135 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< UMLClassifierListItem* >(); break;
136 }
137 break;
138 case 1:
139 switch (*reinterpret_cast<int*>(_a[1])) {
140 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
141 case 0:
142 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< UMLClassifierListItem* >(); break;
143 }
144 break;
145 case 2:
146 switch (*reinterpret_cast<int*>(_a[1])) {
147 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
148 case 0:
149 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< UMLClassifierListItem* >(); break;
150 }
151 break;
152 case 3:
153 switch (*reinterpret_cast<int*>(_a[1])) {
154 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
155 case 0:
156 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< UMLClassifierListItem* >(); break;
157 }
158 break;
159 case 4:
160 switch (*reinterpret_cast<int*>(_a[1])) {
161 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
162 case 0:
163 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< UMLClassifierListItem* >(); break;
164 }
165 break;
166 }
167 }
168 if (_c == QMetaObject::IndexOfMethod) {
169 int *result = reinterpret_cast<int *>(_a[0]);
170 {
171 using _q_method_type = void (UMLEntity::*)(UMLClassifierListItem * );
172 if (_q_method_type _q_method = &UMLEntity::entityAttributeAdded; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
173 *result = 0;
174 return;
175 }
176 }
177 {
178 using _q_method_type = void (UMLEntity::*)(UMLClassifierListItem * );
179 if (_q_method_type _q_method = &UMLEntity::entityAttributeRemoved; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
180 *result = 1;
181 return;
182 }
183 }
184 {
185 using _q_method_type = void (UMLEntity::*)(UMLClassifierListItem * );
186 if (_q_method_type _q_method = &UMLEntity::entityConstraintAdded; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
187 *result = 2;
188 return;
189 }
190 }
191 {
192 using _q_method_type = void (UMLEntity::*)(UMLClassifierListItem * );
193 if (_q_method_type _q_method = &UMLEntity::entityConstraintRemoved; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
194 *result = 3;
195 return;
196 }
197 }
198 }
199}
200
201const QMetaObject *UMLEntity::metaObject() const
202{
203 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
204}
205
206void *UMLEntity::qt_metacast(const char *_clname)
207{
208 if (!_clname) return nullptr;
209 if (!strcmp(_clname, qt_meta_stringdata_ZN9UMLEntityE.stringdata0))
210 return static_cast<void*>(this);
211 return UMLClassifier::qt_metacast(_clname);
212}
213
214int UMLEntity::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
215{
216 _id = UMLClassifier::qt_metacall(_c, _id, _a);
217 if (_id < 0)
218 return _id;
219 if (_c == QMetaObject::InvokeMetaMethod) {
220 if (_id < 5)
221 qt_static_metacall(this, _c, _id, _a);
222 _id -= 5;
223 }
224 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
225 if (_id < 5)
226 qt_static_metacall(this, _c, _id, _a);
227 _id -= 5;
228 }
229 return _id;
230}
231
232// SIGNAL 0
234{
235 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
236 QMetaObject::activate(this, &staticMetaObject, 0, _a);
237}
238
239// SIGNAL 1
241{
242 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
243 QMetaObject::activate(this, &staticMetaObject, 1, _a);
244}
245
246// SIGNAL 2
248{
249 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
250 QMetaObject::activate(this, &staticMetaObject, 2, _a);
251}
252
253// SIGNAL 3
255{
256 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
257 QMetaObject::activate(this, &staticMetaObject, 3, _a);
258}
259QT_WARNING_POP
A base class for classifier list items (e.g. attributes)
Definition classifierlistitem.h:25
void entityAttributeRemoved(UMLClassifierListItem *)
Definition moc_entity.cpp:240
UMLEntity(const QString &name=QString(), Uml::ID::Type id=Uml::ID::None)
Definition entity.cpp:38
void entityAttributeAdded(UMLClassifierListItem *)
Definition moc_entity.cpp:233
void entityConstraintAdded(UMLClassifierListItem *)
Definition moc_entity.cpp:247
void entityConstraintRemoved(UMLClassifierListItem *)
Definition moc_entity.cpp:254
static Q_CONSTINIT const uint qt_meta_data_ZN9UMLEntityE[]
Definition moc_entity.cpp:53
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33