umbrello 25.11.70
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_foreignkeyconstraint.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'foreignkeyconstraint.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 'foreignkeyconstraint.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_ZN23UMLForeignKeyConstraintE = QtMocHelpers::stringData(
40 "UMLForeignKeyConstraint",
41 "sigReferencedEntityChanged",
42 "",
43 "slotReferencedEntityChanged"
44);
45#else // !QT_MOC_HAS_STRINGDATA
46#error "qtmochelpers.h not found or too old."
47#endif // !QT_MOC_HAS_STRINGDATA
48
50
51 // content:
52 12, // revision
53 0, // classname
54 0, 0, // classinfo
55 2, 14, // methods
56 0, 0, // properties
57 0, 0, // enums/sets
58 0, 0, // constructors
59 0, // flags
60 1, // signalCount
61
62 // signals: name, argc, parameters, tag, flags, initial metatype offsets
63 1, 0, 26, 2, 0x06, 1 /* Public */,
64
65 // slots: name, argc, parameters, tag, flags, initial metatype offsets
66 3, 0, 27, 2, 0x08, 2 /* Private */,
67
68 // signals: parameters
69 QMetaType::Void,
70
71 // slots: parameters
72 QMetaType::Void,
73
74 0 // eod
75};
76
77Q_CONSTINIT const QMetaObject UMLForeignKeyConstraint::staticMetaObject = { {
78 QMetaObject::SuperData::link<UMLEntityConstraint::staticMetaObject>(),
79 qt_meta_stringdata_ZN23UMLForeignKeyConstraintE.offsetsAndSizes,
81 qt_static_metacall,
82 nullptr,
83 qt_incomplete_metaTypeArray<qt_meta_tag_ZN23UMLForeignKeyConstraintE_t,
84 // Q_OBJECT / Q_GADGET
85 QtPrivate::TypeAndForceComplete<UMLForeignKeyConstraint, std::true_type>,
86 // method 'sigReferencedEntityChanged'
87 QtPrivate::TypeAndForceComplete<void, std::false_type>,
88 // method 'slotReferencedEntityChanged'
89 QtPrivate::TypeAndForceComplete<void, std::false_type>
90 >,
91 nullptr
92} };
93
94void UMLForeignKeyConstraint::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
95{
96 auto *_t = static_cast<UMLForeignKeyConstraint *>(_o);
97 if (_c == QMetaObject::InvokeMetaMethod) {
98 switch (_id) {
99 case 0: _t->sigReferencedEntityChanged(); break;
100 case 1: _t->slotReferencedEntityChanged(); break;
101 default: ;
102 }
103 }
104 if (_c == QMetaObject::IndexOfMethod) {
105 int *result = reinterpret_cast<int *>(_a[0]);
106 {
107 using _q_method_type = void (UMLForeignKeyConstraint::*)();
108 if (_q_method_type _q_method = &UMLForeignKeyConstraint::sigReferencedEntityChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
109 *result = 0;
110 return;
111 }
112 }
113 }
114}
115
116const QMetaObject *UMLForeignKeyConstraint::metaObject() const
117{
118 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
119}
120
121void *UMLForeignKeyConstraint::qt_metacast(const char *_clname)
122{
123 if (!_clname) return nullptr;
124 if (!strcmp(_clname, qt_meta_stringdata_ZN23UMLForeignKeyConstraintE.stringdata0))
125 return static_cast<void*>(this);
126 return UMLEntityConstraint::qt_metacast(_clname);
127}
128
129int UMLForeignKeyConstraint::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
130{
131 _id = UMLEntityConstraint::qt_metacall(_c, _id, _a);
132 if (_id < 0)
133 return _id;
134 if (_c == QMetaObject::InvokeMetaMethod) {
135 if (_id < 2)
136 qt_static_metacall(this, _c, _id, _a);
137 _id -= 2;
138 }
139 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
140 if (_id < 2)
141 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
142 _id -= 2;
143 }
144 return _id;
145}
146
147// SIGNAL 0
149{
150 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
151}
152QT_WARNING_POP
void sigReferencedEntityChanged()
Definition moc_foreignkeyconstraint.cpp:148
UMLForeignKeyConstraint(UMLObject *parent, const QString &name, Uml::ID::Type id=Uml::ID::None)
Definition foreignkeyconstraint.cpp:27
static Q_CONSTINIT const uint qt_meta_data_ZN23UMLForeignKeyConstraintE[]
Definition moc_foreignkeyconstraint.cpp:49
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33