umbrello 25.04.1
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 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/umlmodel/entity.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'entity.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[8];
26 char stringdata0[151];
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_UMLEntity_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
34 {
35QT_MOC_LITERAL(0, 0, 9), // "UMLEntity"
36QT_MOC_LITERAL(1, 10, 20), // "entityAttributeAdded"
37QT_MOC_LITERAL(2, 31, 0), // ""
38QT_MOC_LITERAL(3, 32, 22), // "UMLClassifierListItem*"
39QT_MOC_LITERAL(4, 55, 22), // "entityAttributeRemoved"
40QT_MOC_LITERAL(5, 78, 21), // "entityConstraintAdded"
41QT_MOC_LITERAL(6, 100, 23), // "entityConstraintRemoved"
42QT_MOC_LITERAL(7, 124, 26) // "slotEntityAttributeRemoved"
43
44 },
45 "UMLEntity\0entityAttributeAdded\0\0"
46 "UMLClassifierListItem*\0entityAttributeRemoved\0"
47 "entityConstraintAdded\0entityConstraintRemoved\0"
48 "slotEntityAttributeRemoved"
49};
50#undef QT_MOC_LITERAL
51
52static const uint qt_meta_data_UMLEntity[] = {
53
54 // content:
55 8, // revision
56 0, // classname
57 0, 0, // classinfo
58 5, 14, // methods
59 0, 0, // properties
60 0, 0, // enums/sets
61 0, 0, // constructors
62 0, // flags
63 4, // signalCount
64
65 // signals: name, argc, parameters, tag, flags
66 1, 1, 39, 2, 0x06 /* Public */,
67 4, 1, 42, 2, 0x06 /* Public */,
68 5, 1, 45, 2, 0x06 /* Public */,
69 6, 1, 48, 2, 0x06 /* Public */,
70
71 // slots: name, argc, parameters, tag, flags
72 7, 1, 51, 2, 0x08 /* Private */,
73
74 // signals: parameters
75 QMetaType::Void, 0x80000000 | 3, 2,
76 QMetaType::Void, 0x80000000 | 3, 2,
77 QMetaType::Void, 0x80000000 | 3, 2,
78 QMetaType::Void, 0x80000000 | 3, 2,
79
80 // slots: parameters
81 QMetaType::Void, 0x80000000 | 3, 2,
82
83 0 // eod
84};
85
86void UMLEntity::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
87{
88 if (_c == QMetaObject::InvokeMetaMethod) {
89 auto *_t = static_cast<UMLEntity *>(_o);
90 (void)_t;
91 switch (_id) {
92 case 0: _t->entityAttributeAdded((*reinterpret_cast< UMLClassifierListItem*(*)>(_a[1]))); break;
93 case 1: _t->entityAttributeRemoved((*reinterpret_cast< UMLClassifierListItem*(*)>(_a[1]))); break;
94 case 2: _t->entityConstraintAdded((*reinterpret_cast< UMLClassifierListItem*(*)>(_a[1]))); break;
95 case 3: _t->entityConstraintRemoved((*reinterpret_cast< UMLClassifierListItem*(*)>(_a[1]))); break;
96 case 4: _t->slotEntityAttributeRemoved((*reinterpret_cast< UMLClassifierListItem*(*)>(_a[1]))); break;
97 default: ;
98 }
99 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
100 switch (_id) {
101 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
102 case 0:
103 switch (*reinterpret_cast<int*>(_a[1])) {
104 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
105 case 0:
106 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UMLClassifierListItem* >(); break;
107 }
108 break;
109 case 1:
110 switch (*reinterpret_cast<int*>(_a[1])) {
111 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
112 case 0:
113 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UMLClassifierListItem* >(); break;
114 }
115 break;
116 case 2:
117 switch (*reinterpret_cast<int*>(_a[1])) {
118 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
119 case 0:
120 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UMLClassifierListItem* >(); break;
121 }
122 break;
123 case 3:
124 switch (*reinterpret_cast<int*>(_a[1])) {
125 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
126 case 0:
127 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UMLClassifierListItem* >(); break;
128 }
129 break;
130 case 4:
131 switch (*reinterpret_cast<int*>(_a[1])) {
132 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
133 case 0:
134 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UMLClassifierListItem* >(); break;
135 }
136 break;
137 }
138 } else if (_c == QMetaObject::IndexOfMethod) {
139 int *result = reinterpret_cast<int *>(_a[0]);
140 {
141 using _t = void (UMLEntity::*)(UMLClassifierListItem * );
142 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLEntity::entityAttributeAdded)) {
143 *result = 0;
144 return;
145 }
146 }
147 {
148 using _t = void (UMLEntity::*)(UMLClassifierListItem * );
149 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLEntity::entityAttributeRemoved)) {
150 *result = 1;
151 return;
152 }
153 }
154 {
155 using _t = void (UMLEntity::*)(UMLClassifierListItem * );
156 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLEntity::entityConstraintAdded)) {
157 *result = 2;
158 return;
159 }
160 }
161 {
162 using _t = void (UMLEntity::*)(UMLClassifierListItem * );
163 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLEntity::entityConstraintRemoved)) {
164 *result = 3;
165 return;
166 }
167 }
168 }
169}
170
171QT_INIT_METAOBJECT const QMetaObject UMLEntity::staticMetaObject = { {
172 QMetaObject::SuperData::link<UMLClassifier::staticMetaObject>(),
175 qt_static_metacall,
176 nullptr,
177 nullptr
178} };
179
180
181const QMetaObject *UMLEntity::metaObject() const
182{
183 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
184}
185
186void *UMLEntity::qt_metacast(const char *_clname)
187{
188 if (!_clname) return nullptr;
189 if (!strcmp(_clname, qt_meta_stringdata_UMLEntity.stringdata0))
190 return static_cast<void*>(this);
191 return UMLClassifier::qt_metacast(_clname);
192}
193
194int UMLEntity::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
195{
196 _id = UMLClassifier::qt_metacall(_c, _id, _a);
197 if (_id < 0)
198 return _id;
199 if (_c == QMetaObject::InvokeMetaMethod) {
200 if (_id < 5)
201 qt_static_metacall(this, _c, _id, _a);
202 _id -= 5;
203 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
204 if (_id < 5)
205 qt_static_metacall(this, _c, _id, _a);
206 _id -= 5;
207 }
208 return _id;
209}
210
211// SIGNAL 0
213{
214 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
215 QMetaObject::activate(this, &staticMetaObject, 0, _a);
216}
217
218// SIGNAL 1
220{
221 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
222 QMetaObject::activate(this, &staticMetaObject, 1, _a);
223}
224
225// SIGNAL 2
227{
228 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
229 QMetaObject::activate(this, &staticMetaObject, 2, _a);
230}
231
232// SIGNAL 3
234{
235 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
236 QMetaObject::activate(this, &staticMetaObject, 3, _a);
237}
238QT_WARNING_POP
239QT_END_MOC_NAMESPACE
A base class for classifier list items (e.g. attributes)
Definition classifierlistitem.h:25
Non-graphical Information for an Entity.
Definition entity.h:30
void entityAttributeRemoved(UMLClassifierListItem *)
Definition moc_entity.cpp:219
void entityAttributeAdded(UMLClassifierListItem *)
Definition moc_entity.cpp:212
void entityConstraintAdded(UMLClassifierListItem *)
Definition moc_entity.cpp:226
void entityConstraintRemoved(UMLClassifierListItem *)
Definition moc_entity.cpp:233
#define QT_MOC_LITERAL(idx, ofs, len)
Definition moc_entity.cpp:28
static const uint qt_meta_data_UMLEntity[]
Definition moc_entity.cpp:52
static const qt_meta_stringdata_UMLEntity_t qt_meta_stringdata_UMLEntity
Definition moc_entity.cpp:33
Definition moc_entity.cpp:24
char stringdata0[151]
Definition moc_entity.cpp:26
QByteArrayData data[8]
Definition moc_entity.cpp:25