umbrello 25.12.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_testbasictypes.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'testbasictypes.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 'testbasictypes.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 TestBasicTypes::qt_create_metaobjectdata<qt_meta_tag_ZN14TestBasicTypesE_t>()
38{
39 namespace QMC = QtMocConstants;
40 QtMocHelpers::StringRefStorage qt_stringData {
41 "TestBasicTypes",
42 "test_dynamic_cast",
43 "",
44 "test_QString_english",
45 "test_QString_non_english",
46 "test_DomDocument_english",
47 "test_DomDocument_non_english",
48 "test_ModelType_toString",
49 "test_ModelType_fromString",
50 "test_ModelType_forLoop",
51 "test_Visibility_toString",
52 "test_Visibility_fromString",
53 "test_DiagramType_toString",
54 "test_DiagramType_fromString",
55 "test_DiagramType_forLoop",
56 "test_AssociationType_toString_fromString",
57 "test_SignatureType_toString_fromString",
58 "test_TextRole_toString_fromString",
59 "test_Changeability_toString_fromString",
60 "test_SequenceMessage_toString_fromString",
61 "test_RoleType_toString_fromString",
62 "test_ParameterDirection_toString_fromString",
63 "test_ProgrammingLanguage_toString_fromString",
64 "test_Region_toString_fromString",
65 "test_Corner_toString_fromString"
66 };
67
68 QtMocHelpers::UintData qt_methods {
69 // Slot 'test_dynamic_cast'
70 QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPrivate, QMetaType::Void),
71 // Slot 'test_QString_english'
72 QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPrivate, QMetaType::Void),
73 // Slot 'test_QString_non_english'
74 QtMocHelpers::SlotData<void()>(4, 2, QMC::AccessPrivate, QMetaType::Void),
75 // Slot 'test_DomDocument_english'
76 QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPrivate, QMetaType::Void),
77 // Slot 'test_DomDocument_non_english'
78 QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPrivate, QMetaType::Void),
79 // Slot 'test_ModelType_toString'
80 QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPrivate, QMetaType::Void),
81 // Slot 'test_ModelType_fromString'
82 QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPrivate, QMetaType::Void),
83 // Slot 'test_ModelType_forLoop'
84 QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPrivate, QMetaType::Void),
85 // Slot 'test_Visibility_toString'
86 QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPrivate, QMetaType::Void),
87 // Slot 'test_Visibility_fromString'
88 QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPrivate, QMetaType::Void),
89 // Slot 'test_DiagramType_toString'
90 QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPrivate, QMetaType::Void),
91 // Slot 'test_DiagramType_fromString'
92 QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPrivate, QMetaType::Void),
93 // Slot 'test_DiagramType_forLoop'
94 QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
95 // Slot 'test_AssociationType_toString_fromString'
96 QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
97 // Slot 'test_SignatureType_toString_fromString'
98 QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
99 // Slot 'test_TextRole_toString_fromString'
100 QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPrivate, QMetaType::Void),
101 // Slot 'test_Changeability_toString_fromString'
102 QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPrivate, QMetaType::Void),
103 // Slot 'test_SequenceMessage_toString_fromString'
104 QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPrivate, QMetaType::Void),
105 // Slot 'test_RoleType_toString_fromString'
106 QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPrivate, QMetaType::Void),
107 // Slot 'test_ParameterDirection_toString_fromString'
108 QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPrivate, QMetaType::Void),
109 // Slot 'test_ProgrammingLanguage_toString_fromString'
110 QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPrivate, QMetaType::Void),
111 // Slot 'test_Region_toString_fromString'
112 QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPrivate, QMetaType::Void),
113 // Slot 'test_Corner_toString_fromString'
114 QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate, QMetaType::Void),
115 };
116 QtMocHelpers::UintData qt_properties {
117 };
118 QtMocHelpers::UintData qt_enums {
119 };
120 return QtMocHelpers::metaObjectData<TestBasicTypes, qt_meta_tag_ZN14TestBasicTypesE_t>(QMC::MetaObjectFlag{}, qt_stringData,
121 qt_methods, qt_properties, qt_enums);
122}
123Q_CONSTINIT const QMetaObject TestBasicTypes::staticMetaObject = { {
124 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
125 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14TestBasicTypesE_t>.stringdata,
126 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14TestBasicTypesE_t>.data,
127 qt_static_metacall,
128 nullptr,
129 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN14TestBasicTypesE_t>.metaTypes,
130 nullptr
131} };
132
133void TestBasicTypes::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
134{
135 auto *_t = static_cast<TestBasicTypes *>(_o);
136 if (_c == QMetaObject::InvokeMetaMethod) {
137 switch (_id) {
138 case 0: _t->test_dynamic_cast(); break;
139 case 1: _t->test_QString_english(); break;
140 case 2: _t->test_QString_non_english(); break;
141 case 3: _t->test_DomDocument_english(); break;
142 case 4: _t->test_DomDocument_non_english(); break;
143 case 5: _t->test_ModelType_toString(); break;
144 case 6: _t->test_ModelType_fromString(); break;
145 case 7: _t->test_ModelType_forLoop(); break;
146 case 8: _t->test_Visibility_toString(); break;
147 case 9: _t->test_Visibility_fromString(); break;
148 case 10: _t->test_DiagramType_toString(); break;
149 case 11: _t->test_DiagramType_fromString(); break;
150 case 12: _t->test_DiagramType_forLoop(); break;
151 case 13: _t->test_AssociationType_toString_fromString(); break;
152 case 14: _t->test_SignatureType_toString_fromString(); break;
153 case 15: _t->test_TextRole_toString_fromString(); break;
154 case 16: _t->test_Changeability_toString_fromString(); break;
155 case 17: _t->test_SequenceMessage_toString_fromString(); break;
156 case 18: _t->test_RoleType_toString_fromString(); break;
157 case 19: _t->test_ParameterDirection_toString_fromString(); break;
158 case 20: _t->test_ProgrammingLanguage_toString_fromString(); break;
159 case 21: _t->test_Region_toString_fromString(); break;
160 case 22: _t->test_Corner_toString_fromString(); break;
161 default: ;
162 }
163 }
164 (void)_a;
165}
166
167const QMetaObject *TestBasicTypes::metaObject() const
168{
169 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
170}
171
172void *TestBasicTypes::qt_metacast(const char *_clname)
173{
174 if (!_clname) return nullptr;
175 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14TestBasicTypesE_t>.strings))
176 return static_cast<void*>(this);
177 return QObject::qt_metacast(_clname);
178}
179
180int TestBasicTypes::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
181{
182 _id = QObject::qt_metacall(_c, _id, _a);
183 if (_id < 0)
184 return _id;
185 if (_c == QMetaObject::InvokeMetaMethod) {
186 if (_id < 23)
187 qt_static_metacall(this, _c, _id, _a);
188 _id -= 23;
189 }
190 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
191 if (_id < 23)
192 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
193 _id -= 23;
194 }
195 return _id;
196}
197QT_WARNING_POP
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33