umbrello 25.12.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_testassociation.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'testassociation.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 <QtNetwork/QSslError>
11#include <QtCore/qmetatype.h>
12
13#include <QtCore/qtmochelpers.h>
14
15#include <memory>
16
17
18#include <QtCore/qxptype_traits.h>
19#if !defined(Q_MOC_OUTPUT_REVISION)
20#error "The header file 'testassociation.h' doesn't include <QObject>."
21#elif Q_MOC_OUTPUT_REVISION != 69
22#error "This file was generated using the moc from 6.9.3. It"
23#error "cannot be used with the include files from this version of Qt."
24#error "(The moc has changed too much.)"
25#endif
26
27#ifndef Q_CONSTINIT
28#define Q_CONSTINIT
29#endif
30
31QT_WARNING_PUSH
33QT_WARNING_DISABLE_GCC("-Wuseless-cast")
34namespace {
36} // unnamed namespace
37
38template <> constexpr inline auto TestAssociation::qt_create_metaobjectdata<qt_meta_tag_ZN15TestAssociationE_t>()
39{
40 namespace QMC = QtMocConstants;
41 QtMocHelpers::StringRefStorage qt_stringData {
42 "TestAssociation",
43 "initTestCase",
44 "",
45 "cleanupTestCase",
46 "test_equal",
47 "test_toString",
48 "test_UMLRole",
49 "test_associationType",
50 "test_objectID",
51 "test_visibility",
52 "test_changeability",
53 "test_multiplicity",
54 "test_roleName",
55 "test_roleDoc",
56 "resolveRef",
57 "test_saveAndLoad"
58 };
59
60 QtMocHelpers::UintData qt_methods {
61 // Slot 'initTestCase'
62 QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessProtected, QMetaType::Void),
63 // Slot 'cleanupTestCase'
64 QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessProtected, QMetaType::Void),
65 // Slot 'test_equal'
66 QtMocHelpers::SlotData<void()>(4, 2, QMC::AccessPrivate, QMetaType::Void),
67 // Slot 'test_toString'
68 QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPrivate, QMetaType::Void),
69 // Slot 'test_UMLRole'
70 QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPrivate, QMetaType::Void),
71 // Slot 'test_associationType'
72 QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPrivate, QMetaType::Void),
73 // Slot 'test_objectID'
74 QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPrivate, QMetaType::Void),
75 // Slot 'test_visibility'
76 QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPrivate, QMetaType::Void),
77 // Slot 'test_changeability'
78 QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPrivate, QMetaType::Void),
79 // Slot 'test_multiplicity'
80 QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPrivate, QMetaType::Void),
81 // Slot 'test_roleName'
82 QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPrivate, QMetaType::Void),
83 // Slot 'test_roleDoc'
84 QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPrivate, QMetaType::Void),
85 // Slot 'resolveRef'
86 QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
87 // Slot 'test_saveAndLoad'
88 QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
89 };
90 QtMocHelpers::UintData qt_properties {
91 };
92 QtMocHelpers::UintData qt_enums {
93 };
94 return QtMocHelpers::metaObjectData<TestAssociation, qt_meta_tag_ZN15TestAssociationE_t>(QMC::MetaObjectFlag{}, qt_stringData,
95 qt_methods, qt_properties, qt_enums);
96}
97Q_CONSTINIT const QMetaObject TestAssociation::staticMetaObject = { {
98 QMetaObject::SuperData::link<TestBase::staticMetaObject>(),
99 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15TestAssociationE_t>.stringdata,
100 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15TestAssociationE_t>.data,
101 qt_static_metacall,
102 nullptr,
103 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15TestAssociationE_t>.metaTypes,
104 nullptr
105} };
106
107void TestAssociation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
108{
109 auto *_t = static_cast<TestAssociation *>(_o);
110 if (_c == QMetaObject::InvokeMetaMethod) {
111 switch (_id) {
112 case 0: _t->initTestCase(); break;
113 case 1: _t->cleanupTestCase(); break;
114 case 2: _t->test_equal(); break;
115 case 3: _t->test_toString(); break;
116 case 4: _t->test_UMLRole(); break;
117 case 5: _t->test_associationType(); break;
118 case 6: _t->test_objectID(); break;
119 case 7: _t->test_visibility(); break;
120 case 8: _t->test_changeability(); break;
121 case 9: _t->test_multiplicity(); break;
122 case 10: _t->test_roleName(); break;
123 case 11: _t->test_roleDoc(); break;
124 case 12: _t->resolveRef(); break;
125 case 13: _t->test_saveAndLoad(); break;
126 default: ;
127 }
128 }
129 (void)_a;
130}
131
132const QMetaObject *TestAssociation::metaObject() const
133{
134 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
135}
136
137void *TestAssociation::qt_metacast(const char *_clname)
138{
139 if (!_clname) return nullptr;
140 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15TestAssociationE_t>.strings))
141 return static_cast<void*>(this);
142 return TestBase::qt_metacast(_clname);
143}
144
145int TestAssociation::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
146{
147 _id = TestBase::qt_metacall(_c, _id, _a);
148 if (_id < 0)
149 return _id;
150 if (_c == QMetaObject::InvokeMetaMethod) {
151 if (_id < 14)
152 qt_static_metacall(this, _c, _id, _a);
153 _id -= 14;
154 }
155 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
156 if (_id < 14)
157 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
158 _id -= 14;
159 }
160 return _id;
161}
162QT_WARNING_POP
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33