umbrello 25.12.2
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 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 'umlobject.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 UMLObject::qt_create_metaobjectdata<qt_meta_tag_ZN9UMLObjectE_t>()
38{
39 namespace QMC = QtMocConstants;
40 QtMocHelpers::StringRefStorage qt_stringData {
41 "UMLObject",
42 "modified",
43 "",
44 "emitModified",
45 "ObjectType",
46 "ot_Unknown",
47 "ot_UMLObject",
48 "ot_Actor",
49 "ot_UseCase",
50 "ot_Package",
51 "ot_Interface",
52 "ot_Datatype",
53 "ot_Enum",
54 "ot_Class",
55 "ot_Instance",
56 "ot_Association",
57 "ot_Attribute",
58 "ot_Operation",
59 "ot_EnumLiteral",
60 "ot_Template",
61 "ot_Component",
62 "ot_Artifact",
63 "ot_Node",
64 "ot_Stereotype",
65 "ot_Role",
66 "ot_Entity",
67 "ot_EntityAttribute",
68 "ot_Folder",
69 "ot_EntityConstraint",
70 "ot_UniqueConstraint",
71 "ot_ForeignKeyConstraint",
72 "ot_CheckConstraint",
73 "ot_Category",
74 "ot_Port",
75 "ot_InstanceAttribute",
76 "ot_SubSystem"
77 };
78
79 QtMocHelpers::UintData qt_methods {
80 // Signal 'modified'
81 QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
82 // Slot 'emitModified'
83 QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
84 };
85 QtMocHelpers::UintData qt_properties {
86 };
87 QtMocHelpers::UintData qt_enums {
88 // enum 'ObjectType'
89 QtMocHelpers::EnumData<enum ObjectType>(4, 4, QMC::EnumFlags{}).add({
97 { 12, ObjectType::ot_Enum },
107 { 22, ObjectType::ot_Node },
109 { 24, ObjectType::ot_Role },
110 { 25, ObjectType::ot_Entity },
112 { 27, ObjectType::ot_Folder },
118 { 33, ObjectType::ot_Port },
121 }),
122 };
123 return QtMocHelpers::metaObjectData<UMLObject, qt_meta_tag_ZN9UMLObjectE_t>(QMC::MetaObjectFlag{}, qt_stringData,
124 qt_methods, qt_properties, qt_enums);
125}
126Q_CONSTINIT const QMetaObject UMLObject::staticMetaObject = { {
127 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
128 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9UMLObjectE_t>.stringdata,
129 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9UMLObjectE_t>.data,
130 qt_static_metacall,
131 nullptr,
132 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN9UMLObjectE_t>.metaTypes,
133 nullptr
134} };
135
136void UMLObject::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
137{
138 auto *_t = static_cast<UMLObject *>(_o);
139 if (_c == QMetaObject::InvokeMetaMethod) {
140 switch (_id) {
141 case 0: _t->modified(); break;
142 case 1: _t->emitModified(); break;
143 default: ;
144 }
145 }
146 if (_c == QMetaObject::IndexOfMethod) {
147 if (QtMocHelpers::indexOfMethod<void (UMLObject::*)()>(_a, &UMLObject::modified, 0))
148 return;
149 }
150}
151
152const QMetaObject *UMLObject::metaObject() const
153{
154 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
155}
156
157void *UMLObject::qt_metacast(const char *_clname)
158{
159 if (!_clname) return nullptr;
160 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9UMLObjectE_t>.strings))
161 return static_cast<void*>(this);
162 return QObject::qt_metacast(_clname);
163}
164
165int UMLObject::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
166{
167 _id = QObject::qt_metacall(_c, _id, _a);
168 if (_id < 0)
169 return _id;
170 if (_c == QMetaObject::InvokeMetaMethod) {
171 if (_id < 2)
172 qt_static_metacall(this, _c, _id, _a);
173 _id -= 2;
174 }
175 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
176 if (_id < 2)
177 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
178 _id -= 2;
179 }
180 return _id;
181}
182
183// SIGNAL 0
185{
186 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
187}
188QT_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:184
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33