umbrello 25.04.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_umlobject.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'umlobject.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/umlobject.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'umlobject.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[36];
26 char stringdata0[452];
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_UMLObject_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
34 {
35QT_MOC_LITERAL(0, 0, 9), // "UMLObject"
36QT_MOC_LITERAL(1, 10, 8), // "modified"
37QT_MOC_LITERAL(2, 19, 0), // ""
38QT_MOC_LITERAL(3, 20, 12), // "emitModified"
39QT_MOC_LITERAL(4, 33, 10), // "ObjectType"
40QT_MOC_LITERAL(5, 44, 10), // "ot_Unknown"
41QT_MOC_LITERAL(6, 55, 12), // "ot_UMLObject"
42QT_MOC_LITERAL(7, 68, 8), // "ot_Actor"
43QT_MOC_LITERAL(8, 77, 10), // "ot_UseCase"
44QT_MOC_LITERAL(9, 88, 10), // "ot_Package"
45QT_MOC_LITERAL(10, 99, 12), // "ot_Interface"
46QT_MOC_LITERAL(11, 112, 11), // "ot_Datatype"
47QT_MOC_LITERAL(12, 124, 7), // "ot_Enum"
48QT_MOC_LITERAL(13, 132, 8), // "ot_Class"
49QT_MOC_LITERAL(14, 141, 11), // "ot_Instance"
50QT_MOC_LITERAL(15, 153, 14), // "ot_Association"
51QT_MOC_LITERAL(16, 168, 12), // "ot_Attribute"
52QT_MOC_LITERAL(17, 181, 12), // "ot_Operation"
53QT_MOC_LITERAL(18, 194, 14), // "ot_EnumLiteral"
54QT_MOC_LITERAL(19, 209, 11), // "ot_Template"
55QT_MOC_LITERAL(20, 221, 12), // "ot_Component"
56QT_MOC_LITERAL(21, 234, 11), // "ot_Artifact"
57QT_MOC_LITERAL(22, 246, 7), // "ot_Node"
58QT_MOC_LITERAL(23, 254, 13), // "ot_Stereotype"
59QT_MOC_LITERAL(24, 268, 7), // "ot_Role"
60QT_MOC_LITERAL(25, 276, 9), // "ot_Entity"
61QT_MOC_LITERAL(26, 286, 18), // "ot_EntityAttribute"
62QT_MOC_LITERAL(27, 305, 9), // "ot_Folder"
63QT_MOC_LITERAL(28, 315, 19), // "ot_EntityConstraint"
64QT_MOC_LITERAL(29, 335, 19), // "ot_UniqueConstraint"
65QT_MOC_LITERAL(30, 355, 23), // "ot_ForeignKeyConstraint"
66QT_MOC_LITERAL(31, 379, 18), // "ot_CheckConstraint"
67QT_MOC_LITERAL(32, 398, 11), // "ot_Category"
68QT_MOC_LITERAL(33, 410, 7), // "ot_Port"
69QT_MOC_LITERAL(34, 418, 20), // "ot_InstanceAttribute"
70QT_MOC_LITERAL(35, 439, 12) // "ot_SubSystem"
71
72 },
73 "UMLObject\0modified\0\0emitModified\0"
74 "ObjectType\0ot_Unknown\0ot_UMLObject\0"
75 "ot_Actor\0ot_UseCase\0ot_Package\0"
76 "ot_Interface\0ot_Datatype\0ot_Enum\0"
77 "ot_Class\0ot_Instance\0ot_Association\0"
78 "ot_Attribute\0ot_Operation\0ot_EnumLiteral\0"
79 "ot_Template\0ot_Component\0ot_Artifact\0"
80 "ot_Node\0ot_Stereotype\0ot_Role\0ot_Entity\0"
81 "ot_EntityAttribute\0ot_Folder\0"
82 "ot_EntityConstraint\0ot_UniqueConstraint\0"
83 "ot_ForeignKeyConstraint\0ot_CheckConstraint\0"
84 "ot_Category\0ot_Port\0ot_InstanceAttribute\0"
85 "ot_SubSystem"
86};
87#undef QT_MOC_LITERAL
88
89static const uint qt_meta_data_UMLObject[] = {
90
91 // content:
92 8, // revision
93 0, // classname
94 0, 0, // classinfo
95 2, 14, // methods
96 0, 0, // properties
97 1, 26, // enums/sets
98 0, 0, // constructors
99 0, // flags
100 1, // signalCount
101
102 // signals: name, argc, parameters, tag, flags
103 1, 0, 24, 2, 0x06 /* Public */,
104
105 // slots: name, argc, parameters, tag, flags
106 3, 0, 25, 2, 0x0a /* Public */,
107
108 // signals: parameters
109 QMetaType::Void,
110
111 // slots: parameters
112 QMetaType::Void,
113
114 // enums: name, alias, flags, count, data
115 4, 4, 0x0, 31, 31,
116
117 // enum data: key, value
118 5, uint(UMLObject::ot_Unknown),
120 7, uint(UMLObject::ot_Actor),
121 8, uint(UMLObject::ot_UseCase),
122 9, uint(UMLObject::ot_Package),
123 10, uint(UMLObject::ot_Interface),
124 11, uint(UMLObject::ot_Datatype),
125 12, uint(UMLObject::ot_Enum),
126 13, uint(UMLObject::ot_Class),
127 14, uint(UMLObject::ot_Instance),
129 16, uint(UMLObject::ot_Attribute),
130 17, uint(UMLObject::ot_Operation),
132 19, uint(UMLObject::ot_Template),
133 20, uint(UMLObject::ot_Component),
134 21, uint(UMLObject::ot_Artifact),
135 22, uint(UMLObject::ot_Node),
136 23, uint(UMLObject::ot_Stereotype),
137 24, uint(UMLObject::ot_Role),
138 25, uint(UMLObject::ot_Entity),
140 27, uint(UMLObject::ot_Folder),
145 32, uint(UMLObject::ot_Category),
146 33, uint(UMLObject::ot_Port),
148 35, uint(UMLObject::ot_SubSystem),
149
150 0 // eod
151};
152
153void UMLObject::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
154{
155 if (_c == QMetaObject::InvokeMetaMethod) {
156 auto *_t = static_cast<UMLObject *>(_o);
157 (void)_t;
158 switch (_id) {
159 case 0: _t->modified(); break;
160 case 1: _t->emitModified(); break;
161 default: ;
162 }
163 } else if (_c == QMetaObject::IndexOfMethod) {
164 int *result = reinterpret_cast<int *>(_a[0]);
165 {
166 using _t = void (UMLObject::*)();
167 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UMLObject::modified)) {
168 *result = 0;
169 return;
170 }
171 }
172 }
173 (void)_a;
174}
175
176QT_INIT_METAOBJECT const QMetaObject UMLObject::staticMetaObject = { {
177 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
180 qt_static_metacall,
181 nullptr,
182 nullptr
183} };
184
185
186const QMetaObject *UMLObject::metaObject() const
187{
188 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
189}
190
191void *UMLObject::qt_metacast(const char *_clname)
192{
193 if (!_clname) return nullptr;
194 if (!strcmp(_clname, qt_meta_stringdata_UMLObject.stringdata0))
195 return static_cast<void*>(this);
196 return QObject::qt_metacast(_clname);
197}
198
199int UMLObject::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
200{
201 _id = QObject::qt_metacall(_c, _id, _a);
202 if (_id < 0)
203 return _id;
204 if (_c == QMetaObject::InvokeMetaMethod) {
205 if (_id < 2)
206 qt_static_metacall(this, _c, _id, _a);
207 _id -= 2;
208 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
209 if (_id < 2)
210 *reinterpret_cast<int*>(_a[0]) = -1;
211 _id -= 2;
212 }
213 return _id;
214}
215
216// SIGNAL 0
218{
219 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
220}
221QT_WARNING_POP
222QT_END_MOC_NAMESPACE
The base class for UML objects.
Definition umlobject.h:70
@ ot_Interface
Definition umlobject.h:82
@ ot_Port
Definition umlobject.h:105
@ ot_Category
Definition umlobject.h:104
@ ot_Association
Definition umlobject.h:87
@ ot_UMLObject
Definition umlobject.h:78
@ ot_Stereotype
Definition umlobject.h:95
@ ot_Attribute
Definition umlobject.h:88
@ ot_Enum
Definition umlobject.h:84
@ ot_Package
Definition umlobject.h:81
@ ot_Unknown
Definition umlobject.h:77
@ ot_ForeignKeyConstraint
Definition umlobject.h:102
@ ot_EnumLiteral
Definition umlobject.h:90
@ ot_Operation
Definition umlobject.h:89
@ ot_Actor
Definition umlobject.h:79
@ ot_Template
Definition umlobject.h:91
@ ot_EntityConstraint
Definition umlobject.h:100
@ ot_CheckConstraint
Definition umlobject.h:103
@ ot_Node
Definition umlobject.h:94
@ ot_Role
Definition umlobject.h:96
@ ot_Class
Definition umlobject.h:85
@ ot_Datatype
Definition umlobject.h:83
@ ot_SubSystem
no real object type
Definition umlobject.h:107
@ ot_Instance
Definition umlobject.h:86
@ ot_Component
Definition umlobject.h:92
@ ot_Folder
Definition umlobject.h:99
@ ot_EntityAttribute
Definition umlobject.h:98
@ ot_UseCase
Definition umlobject.h:80
@ ot_InstanceAttribute
Definition umlobject.h:106
@ ot_Artifact
Definition umlobject.h:93
@ ot_UniqueConstraint
Definition umlobject.h:101
@ ot_Entity
Definition umlobject.h:97
void modified()
Definition moc_umlobject.cpp:217
static const uint qt_meta_data_UMLObject[]
Definition moc_umlobject.cpp:89
#define QT_MOC_LITERAL(idx, ofs, len)
Definition moc_umlobject.cpp:28
static const qt_meta_stringdata_UMLObject_t qt_meta_stringdata_UMLObject
Definition moc_umlobject.cpp:33
Definition moc_umlobject.cpp:24
char stringdata0[452]
Definition moc_umlobject.cpp:26
QByteArrayData data[36]
Definition moc_umlobject.cpp:25