umbrello 25.04.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_classifiercodedocument.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'classifiercodedocument.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/codegenerators/classifiercodedocument.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'classifiercodedocument.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[15];
26 char stringdata0[240];
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_ClassifierCodeDocument_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
34 {
35QT_MOC_LITERAL(0, 0, 22), // "ClassifierCodeDocument"
36QT_MOC_LITERAL(1, 23, 22), // "addAttributeClassField"
37QT_MOC_LITERAL(2, 46, 0), // ""
38QT_MOC_LITERAL(3, 47, 22), // "UMLClassifierListItem*"
39QT_MOC_LITERAL(4, 70, 2), // "at"
40QT_MOC_LITERAL(5, 73, 19), // "syncToParentIfAdded"
41QT_MOC_LITERAL(6, 93, 24), // "addAssociationClassField"
42QT_MOC_LITERAL(7, 118, 15), // "UMLAssociation*"
43QT_MOC_LITERAL(8, 134, 5), // "assoc"
44QT_MOC_LITERAL(9, 140, 25), // "removeAttributeClassField"
45QT_MOC_LITERAL(10, 166, 27), // "removeAssociationClassField"
46QT_MOC_LITERAL(11, 194, 12), // "addOperation"
47QT_MOC_LITERAL(12, 207, 3), // "obj"
48QT_MOC_LITERAL(13, 211, 15), // "removeOperation"
49QT_MOC_LITERAL(14, 227, 12) // "syncToParent"
50
51 },
52 "ClassifierCodeDocument\0addAttributeClassField\0"
53 "\0UMLClassifierListItem*\0at\0"
54 "syncToParentIfAdded\0addAssociationClassField\0"
55 "UMLAssociation*\0assoc\0removeAttributeClassField\0"
56 "removeAssociationClassField\0addOperation\0"
57 "obj\0removeOperation\0syncToParent"
58};
59#undef QT_MOC_LITERAL
60
62
63 // content:
64 8, // revision
65 0, // classname
66 0, 0, // classinfo
67 9, 14, // methods
68 0, 0, // properties
69 0, 0, // enums/sets
70 0, 0, // constructors
71 0, // flags
72 0, // signalCount
73
74 // slots: name, argc, parameters, tag, flags
75 1, 2, 59, 2, 0x0a /* Public */,
76 1, 1, 64, 2, 0x2a /* Public | MethodCloned */,
77 6, 2, 67, 2, 0x0a /* Public */,
78 6, 1, 72, 2, 0x2a /* Public | MethodCloned */,
79 9, 1, 75, 2, 0x0a /* Public */,
80 10, 1, 78, 2, 0x0a /* Public */,
81 11, 1, 81, 2, 0x0a /* Public */,
82 13, 1, 84, 2, 0x0a /* Public */,
83 14, 0, 87, 2, 0x0a /* Public */,
84
85 // slots: parameters
86 QMetaType::Void, 0x80000000 | 3, QMetaType::Bool, 4, 5,
87 QMetaType::Void, 0x80000000 | 3, 4,
88 QMetaType::Void, 0x80000000 | 7, QMetaType::Bool, 8, 5,
89 QMetaType::Void, 0x80000000 | 7, 8,
90 QMetaType::Void, 0x80000000 | 3, 4,
91 QMetaType::Void, 0x80000000 | 7, 8,
92 QMetaType::Void, 0x80000000 | 3, 12,
93 QMetaType::Void, 0x80000000 | 3, 12,
94 QMetaType::Void,
95
96 0 // eod
97};
98
99void ClassifierCodeDocument::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
100{
101 if (_c == QMetaObject::InvokeMetaMethod) {
102 auto *_t = static_cast<ClassifierCodeDocument *>(_o);
103 (void)_t;
104 switch (_id) {
105 case 0: _t->addAttributeClassField((*reinterpret_cast< UMLClassifierListItem*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
106 case 1: _t->addAttributeClassField((*reinterpret_cast< UMLClassifierListItem*(*)>(_a[1]))); break;
107 case 2: _t->addAssociationClassField((*reinterpret_cast< UMLAssociation*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
108 case 3: _t->addAssociationClassField((*reinterpret_cast< UMLAssociation*(*)>(_a[1]))); break;
109 case 4: _t->removeAttributeClassField((*reinterpret_cast< UMLClassifierListItem*(*)>(_a[1]))); break;
110 case 5: _t->removeAssociationClassField((*reinterpret_cast< UMLAssociation*(*)>(_a[1]))); break;
111 case 6: _t->addOperation((*reinterpret_cast< UMLClassifierListItem*(*)>(_a[1]))); break;
112 case 7: _t->removeOperation((*reinterpret_cast< UMLClassifierListItem*(*)>(_a[1]))); break;
113 case 8: _t->syncToParent(); break;
114 default: ;
115 }
116 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
117 switch (_id) {
118 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
119 case 0:
120 switch (*reinterpret_cast<int*>(_a[1])) {
121 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
122 case 0:
123 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UMLClassifierListItem* >(); break;
124 }
125 break;
126 case 1:
127 switch (*reinterpret_cast<int*>(_a[1])) {
128 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
129 case 0:
130 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UMLClassifierListItem* >(); break;
131 }
132 break;
133 case 4:
134 switch (*reinterpret_cast<int*>(_a[1])) {
135 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
136 case 0:
137 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UMLClassifierListItem* >(); break;
138 }
139 break;
140 case 6:
141 switch (*reinterpret_cast<int*>(_a[1])) {
142 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
143 case 0:
144 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UMLClassifierListItem* >(); break;
145 }
146 break;
147 case 7:
148 switch (*reinterpret_cast<int*>(_a[1])) {
149 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
150 case 0:
151 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UMLClassifierListItem* >(); break;
152 }
153 break;
154 }
155 }
156}
157
158QT_INIT_METAOBJECT const QMetaObject ClassifierCodeDocument::staticMetaObject = { {
159 QMetaObject::SuperData::link<CodeDocument::staticMetaObject>(),
162 qt_static_metacall,
163 nullptr,
164 nullptr
165} };
166
167
168const QMetaObject *ClassifierCodeDocument::metaObject() const
169{
170 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
171}
172
173void *ClassifierCodeDocument::qt_metacast(const char *_clname)
174{
175 if (!_clname) return nullptr;
177 return static_cast<void*>(this);
178 return CodeDocument::qt_metacast(_clname);
179}
180
181int ClassifierCodeDocument::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
182{
183 _id = CodeDocument::qt_metacall(_c, _id, _a);
184 if (_id < 0)
185 return _id;
186 if (_c == QMetaObject::InvokeMetaMethod) {
187 if (_id < 9)
188 qt_static_metacall(this, _c, _id, _a);
189 _id -= 9;
190 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
191 if (_id < 9)
192 qt_static_metacall(this, _c, _id, _a);
193 _id -= 9;
194 }
195 return _id;
196}
197QT_WARNING_POP
198QT_END_MOC_NAMESPACE
Definition classifiercodedocument.h:29
void addAttributeClassField(UMLClassifierListItem *at, bool syncToParentIfAdded=true)
Definition classifiercodedocument.cpp:202
Sets up association information.
Definition association.h:29
A base class for classifier list items (e.g. attributes)
Definition classifierlistitem.h:25
#define QT_MOC_LITERAL(idx, ofs, len)
Definition moc_classifiercodedocument.cpp:28
static const qt_meta_stringdata_ClassifierCodeDocument_t qt_meta_stringdata_ClassifierCodeDocument
Definition moc_classifiercodedocument.cpp:33
static const uint qt_meta_data_ClassifierCodeDocument[]
Definition moc_classifiercodedocument.cpp:61
Definition moc_classifiercodedocument.cpp:24
char stringdata0[240]
Definition moc_classifiercodedocument.cpp:26
QByteArrayData data[15]
Definition moc_classifiercodedocument.cpp:25