umbrello 25.12.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_umlclassifier.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'umlclassifier.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 'umlclassifier.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 UMLClassifier::qt_create_metaobjectdata<qt_meta_tag_ZN13UMLClassifierE_t>()
38{
39 namespace QMC = QtMocConstants;
40 QtMocHelpers::StringRefStorage qt_stringData {
41 "UMLClassifier",
42 "operationAdded",
43 "",
44 "UMLClassifierListItem*",
45 "operationRemoved",
46 "templateAdded",
47 "templateRemoved",
48 "attributeAdded",
49 "attributeRemoved"
50 };
51
52 QtMocHelpers::UintData qt_methods {
53 // Signal 'operationAdded'
54 QtMocHelpers::SignalData<void(UMLClassifierListItem *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
55 { 0x80000000 | 3, 2 },
56 }}),
57 // Signal 'operationRemoved'
58 QtMocHelpers::SignalData<void(UMLClassifierListItem *)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
59 { 0x80000000 | 3, 2 },
60 }}),
61 // Signal 'templateAdded'
62 QtMocHelpers::SignalData<void(UMLClassifierListItem *)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
63 { 0x80000000 | 3, 2 },
64 }}),
65 // Signal 'templateRemoved'
66 QtMocHelpers::SignalData<void(UMLClassifierListItem *)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
67 { 0x80000000 | 3, 2 },
68 }}),
69 // Signal 'attributeAdded'
70 QtMocHelpers::SignalData<void(UMLClassifierListItem *)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
71 { 0x80000000 | 3, 2 },
72 }}),
73 // Signal 'attributeRemoved'
74 QtMocHelpers::SignalData<void(UMLClassifierListItem *)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
75 { 0x80000000 | 3, 2 },
76 }}),
77 };
78 QtMocHelpers::UintData qt_properties {
79 };
80 QtMocHelpers::UintData qt_enums {
81 };
82 return QtMocHelpers::metaObjectData<UMLClassifier, qt_meta_tag_ZN13UMLClassifierE_t>(QMC::MetaObjectFlag{}, qt_stringData,
83 qt_methods, qt_properties, qt_enums);
84}
85Q_CONSTINIT const QMetaObject UMLClassifier::staticMetaObject = { {
86 QMetaObject::SuperData::link<UMLPackage::staticMetaObject>(),
87 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13UMLClassifierE_t>.stringdata,
88 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13UMLClassifierE_t>.data,
89 qt_static_metacall,
90 nullptr,
91 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13UMLClassifierE_t>.metaTypes,
92 nullptr
93} };
94
95void UMLClassifier::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
96{
97 auto *_t = static_cast<UMLClassifier *>(_o);
98 if (_c == QMetaObject::InvokeMetaMethod) {
99 switch (_id) {
100 case 0: _t->operationAdded((*reinterpret_cast< std::add_pointer_t<UMLClassifierListItem*>>(_a[1]))); break;
101 case 1: _t->operationRemoved((*reinterpret_cast< std::add_pointer_t<UMLClassifierListItem*>>(_a[1]))); break;
102 case 2: _t->templateAdded((*reinterpret_cast< std::add_pointer_t<UMLClassifierListItem*>>(_a[1]))); break;
103 case 3: _t->templateRemoved((*reinterpret_cast< std::add_pointer_t<UMLClassifierListItem*>>(_a[1]))); break;
104 case 4: _t->attributeAdded((*reinterpret_cast< std::add_pointer_t<UMLClassifierListItem*>>(_a[1]))); break;
105 case 5: _t->attributeRemoved((*reinterpret_cast< std::add_pointer_t<UMLClassifierListItem*>>(_a[1]))); break;
106 default: ;
107 }
108 }
109 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
110 switch (_id) {
111 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
112 case 0:
113 switch (*reinterpret_cast<int*>(_a[1])) {
114 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
115 case 0:
116 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< UMLClassifierListItem* >(); break;
117 }
118 break;
119 case 1:
120 switch (*reinterpret_cast<int*>(_a[1])) {
121 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
122 case 0:
123 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< UMLClassifierListItem* >(); break;
124 }
125 break;
126 case 2:
127 switch (*reinterpret_cast<int*>(_a[1])) {
128 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
129 case 0:
130 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< UMLClassifierListItem* >(); break;
131 }
132 break;
133 case 3:
134 switch (*reinterpret_cast<int*>(_a[1])) {
135 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
136 case 0:
137 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< UMLClassifierListItem* >(); break;
138 }
139 break;
140 case 4:
141 switch (*reinterpret_cast<int*>(_a[1])) {
142 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
143 case 0:
144 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< UMLClassifierListItem* >(); break;
145 }
146 break;
147 case 5:
148 switch (*reinterpret_cast<int*>(_a[1])) {
149 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
150 case 0:
151 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< UMLClassifierListItem* >(); break;
152 }
153 break;
154 }
155 }
156 if (_c == QMetaObject::IndexOfMethod) {
157 if (QtMocHelpers::indexOfMethod<void (UMLClassifier::*)(UMLClassifierListItem * )>(_a, &UMLClassifier::operationAdded, 0))
158 return;
159 if (QtMocHelpers::indexOfMethod<void (UMLClassifier::*)(UMLClassifierListItem * )>(_a, &UMLClassifier::operationRemoved, 1))
160 return;
161 if (QtMocHelpers::indexOfMethod<void (UMLClassifier::*)(UMLClassifierListItem * )>(_a, &UMLClassifier::templateAdded, 2))
162 return;
163 if (QtMocHelpers::indexOfMethod<void (UMLClassifier::*)(UMLClassifierListItem * )>(_a, &UMLClassifier::templateRemoved, 3))
164 return;
165 if (QtMocHelpers::indexOfMethod<void (UMLClassifier::*)(UMLClassifierListItem * )>(_a, &UMLClassifier::attributeAdded, 4))
166 return;
167 if (QtMocHelpers::indexOfMethod<void (UMLClassifier::*)(UMLClassifierListItem * )>(_a, &UMLClassifier::attributeRemoved, 5))
168 return;
169 }
170}
171
172const QMetaObject *UMLClassifier::metaObject() const
173{
174 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
175}
176
177void *UMLClassifier::qt_metacast(const char *_clname)
178{
179 if (!_clname) return nullptr;
180 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13UMLClassifierE_t>.strings))
181 return static_cast<void*>(this);
182 return UMLPackage::qt_metacast(_clname);
183}
184
185int UMLClassifier::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
186{
187 _id = UMLPackage::qt_metacall(_c, _id, _a);
188 if (_id < 0)
189 return _id;
190 if (_c == QMetaObject::InvokeMetaMethod) {
191 if (_id < 6)
192 qt_static_metacall(this, _c, _id, _a);
193 _id -= 6;
194 }
195 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
196 if (_id < 6)
197 qt_static_metacall(this, _c, _id, _a);
198 _id -= 6;
199 }
200 return _id;
201}
202
203// SIGNAL 0
205{
206 QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
207}
208
209// SIGNAL 1
211{
212 QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
213}
214
215// SIGNAL 2
217{
218 QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
219}
220
221// SIGNAL 3
223{
224 QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
225}
226
227// SIGNAL 4
229{
230 QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
231}
232
233// SIGNAL 5
235{
236 QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
237}
238QT_WARNING_POP
A base class for classifier list items (e.g. attributes)
Definition umlclassifierlistitem.h:25
void operationRemoved(UMLClassifierListItem *)
Definition moc_umlclassifier.cpp:210
UMLClassifier(const QString &name=QString(), Uml::ID::Type id=Uml::ID::None)
Definition umlclassifier.cpp:62
void operationAdded(UMLClassifierListItem *)
Definition moc_umlclassifier.cpp:204
void attributeAdded(UMLClassifierListItem *)
Definition moc_umlclassifier.cpp:228
void templateAdded(UMLClassifierListItem *)
Definition moc_umlclassifier.cpp:216
void templateRemoved(UMLClassifierListItem *)
Definition moc_umlclassifier.cpp:222
void attributeRemoved(UMLClassifierListItem *)
Definition moc_umlclassifier.cpp:234
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33