umbrello 25.11.70
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 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 'umlobject.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_ZN9UMLObjectE = QtMocHelpers::stringData(
40 "UMLObject",
41 "modified",
42 "",
43 "emitModified",
44 "ObjectType",
45 "ot_Unknown",
46 "ot_UMLObject",
47 "ot_Actor",
48 "ot_UseCase",
49 "ot_Package",
50 "ot_Interface",
51 "ot_Datatype",
52 "ot_Enum",
53 "ot_Class",
54 "ot_Instance",
55 "ot_Association",
56 "ot_Attribute",
57 "ot_Operation",
58 "ot_EnumLiteral",
59 "ot_Template",
60 "ot_Component",
61 "ot_Artifact",
62 "ot_Node",
63 "ot_Stereotype",
64 "ot_Role",
65 "ot_Entity",
66 "ot_EntityAttribute",
67 "ot_Folder",
68 "ot_EntityConstraint",
69 "ot_UniqueConstraint",
70 "ot_ForeignKeyConstraint",
71 "ot_CheckConstraint",
72 "ot_Category",
73 "ot_Port",
74 "ot_InstanceAttribute",
75 "ot_SubSystem"
76);
77#else // !QT_MOC_HAS_STRINGDATA
78#error "qtmochelpers.h not found or too old."
79#endif // !QT_MOC_HAS_STRINGDATA
80
82
83 // content:
84 12, // revision
85 0, // classname
86 0, 0, // classinfo
87 2, 14, // methods
88 0, 0, // properties
89 1, 28, // enums/sets
90 0, 0, // constructors
91 0, // flags
92 1, // signalCount
93
94 // signals: name, argc, parameters, tag, flags, initial metatype offsets
95 1, 0, 26, 2, 0x06, 2 /* Public */,
96
97 // slots: name, argc, parameters, tag, flags, initial metatype offsets
98 3, 0, 27, 2, 0x0a, 3 /* Public */,
99
100 // signals: parameters
101 QMetaType::Void,
102
103 // slots: parameters
104 QMetaType::Void,
105
106 // enums: name, alias, flags, count, data
107 4, 4, 0x0, 31, 33,
108
109 // enum data: key, value
110 5, uint(UMLObject::ot_Unknown),
112 7, uint(UMLObject::ot_Actor),
113 8, uint(UMLObject::ot_UseCase),
114 9, uint(UMLObject::ot_Package),
115 10, uint(UMLObject::ot_Interface),
116 11, uint(UMLObject::ot_Datatype),
117 12, uint(UMLObject::ot_Enum),
118 13, uint(UMLObject::ot_Class),
119 14, uint(UMLObject::ot_Instance),
121 16, uint(UMLObject::ot_Attribute),
122 17, uint(UMLObject::ot_Operation),
124 19, uint(UMLObject::ot_Template),
125 20, uint(UMLObject::ot_Component),
126 21, uint(UMLObject::ot_Artifact),
127 22, uint(UMLObject::ot_Node),
128 23, uint(UMLObject::ot_Stereotype),
129 24, uint(UMLObject::ot_Role),
130 25, uint(UMLObject::ot_Entity),
132 27, uint(UMLObject::ot_Folder),
137 32, uint(UMLObject::ot_Category),
138 33, uint(UMLObject::ot_Port),
140 35, uint(UMLObject::ot_SubSystem),
141
142 0 // eod
143};
144
145Q_CONSTINIT const QMetaObject UMLObject::staticMetaObject = { {
146 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
147 qt_meta_stringdata_ZN9UMLObjectE.offsetsAndSizes,
149 qt_static_metacall,
150 nullptr,
151 qt_incomplete_metaTypeArray<qt_meta_tag_ZN9UMLObjectE_t,
152 // enum 'ObjectType'
153 QtPrivate::TypeAndForceComplete<UMLObject::ObjectType, std::true_type>,
154 // Q_OBJECT / Q_GADGET
155 QtPrivate::TypeAndForceComplete<UMLObject, std::true_type>,
156 // method 'modified'
157 QtPrivate::TypeAndForceComplete<void, std::false_type>,
158 // method 'emitModified'
159 QtPrivate::TypeAndForceComplete<void, std::false_type>
160 >,
161 nullptr
162} };
163
164void UMLObject::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
165{
166 auto *_t = static_cast<UMLObject *>(_o);
167 if (_c == QMetaObject::InvokeMetaMethod) {
168 switch (_id) {
169 case 0: _t->modified(); break;
170 case 1: _t->emitModified(); break;
171 default: ;
172 }
173 }
174 if (_c == QMetaObject::IndexOfMethod) {
175 int *result = reinterpret_cast<int *>(_a[0]);
176 {
177 using _q_method_type = void (UMLObject::*)();
178 if (_q_method_type _q_method = &UMLObject::modified; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
179 *result = 0;
180 return;
181 }
182 }
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_ZN9UMLObjectE.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 }
209 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
210 if (_id < 2)
211 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
212 _id -= 2;
213 }
214 return _id;
215}
216
217// SIGNAL 0
219{
220 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
221}
222QT_WARNING_POP
@ 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
UMLObject(const UMLObject &other)
Definition umlobject.cpp:44
void modified()
Definition moc_umlobject.cpp:218
#define Q_CONSTINIT
Definition moc_parser.cpp:27
static Q_CONSTINIT const uint qt_meta_data_ZN9UMLObjectE[]
Definition moc_umlobject.cpp:81
Definition moc_parser.cpp:33