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