umbrello 25.11.70
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 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 'testbasictypes.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_ZN14TestBasicTypesE = QtMocHelpers::stringData(
40 "TestBasicTypes",
41 "test_dynamic_cast",
42 "",
43 "test_QString_english",
44 "test_QString_non_english",
45 "test_DomDocument_english",
46 "test_DomDocument_non_english",
47 "test_ModelType_toString",
48 "test_ModelType_fromString",
49 "test_ModelType_forLoop",
50 "test_Visibility_toString",
51 "test_Visibility_fromString",
52 "test_DiagramType_toString",
53 "test_DiagramType_fromString",
54 "test_DiagramType_forLoop",
55 "test_AssociationType_toString_fromString",
56 "test_SignatureType_toString_fromString",
57 "test_TextRole_toString_fromString",
58 "test_Changeability_toString_fromString",
59 "test_SequenceMessage_toString_fromString",
60 "test_RoleType_toString_fromString",
61 "test_ParameterDirection_toString_fromString",
62 "test_ProgrammingLanguage_toString_fromString",
63 "test_Region_toString_fromString",
64 "test_Corner_toString_fromString"
65);
66#else // !QT_MOC_HAS_STRINGDATA
67#error "qtmochelpers.h not found or too old."
68#endif // !QT_MOC_HAS_STRINGDATA
69
71
72 // content:
73 12, // revision
74 0, // classname
75 0, 0, // classinfo
76 23, 14, // methods
77 0, 0, // properties
78 0, 0, // enums/sets
79 0, 0, // constructors
80 0, // flags
81 0, // signalCount
82
83 // slots: name, argc, parameters, tag, flags, initial metatype offsets
84 1, 0, 152, 2, 0x08, 1 /* Private */,
85 3, 0, 153, 2, 0x08, 2 /* Private */,
86 4, 0, 154, 2, 0x08, 3 /* Private */,
87 5, 0, 155, 2, 0x08, 4 /* Private */,
88 6, 0, 156, 2, 0x08, 5 /* Private */,
89 7, 0, 157, 2, 0x08, 6 /* Private */,
90 8, 0, 158, 2, 0x08, 7 /* Private */,
91 9, 0, 159, 2, 0x08, 8 /* Private */,
92 10, 0, 160, 2, 0x08, 9 /* Private */,
93 11, 0, 161, 2, 0x08, 10 /* Private */,
94 12, 0, 162, 2, 0x08, 11 /* Private */,
95 13, 0, 163, 2, 0x08, 12 /* Private */,
96 14, 0, 164, 2, 0x08, 13 /* Private */,
97 15, 0, 165, 2, 0x08, 14 /* Private */,
98 16, 0, 166, 2, 0x08, 15 /* Private */,
99 17, 0, 167, 2, 0x08, 16 /* Private */,
100 18, 0, 168, 2, 0x08, 17 /* Private */,
101 19, 0, 169, 2, 0x08, 18 /* Private */,
102 20, 0, 170, 2, 0x08, 19 /* Private */,
103 21, 0, 171, 2, 0x08, 20 /* Private */,
104 22, 0, 172, 2, 0x08, 21 /* Private */,
105 23, 0, 173, 2, 0x08, 22 /* Private */,
106 24, 0, 174, 2, 0x08, 23 /* Private */,
107
108 // slots: parameters
109 QMetaType::Void,
110 QMetaType::Void,
111 QMetaType::Void,
112 QMetaType::Void,
113 QMetaType::Void,
114 QMetaType::Void,
115 QMetaType::Void,
116 QMetaType::Void,
117 QMetaType::Void,
118 QMetaType::Void,
119 QMetaType::Void,
120 QMetaType::Void,
121 QMetaType::Void,
122 QMetaType::Void,
123 QMetaType::Void,
124 QMetaType::Void,
125 QMetaType::Void,
126 QMetaType::Void,
127 QMetaType::Void,
128 QMetaType::Void,
129 QMetaType::Void,
130 QMetaType::Void,
131 QMetaType::Void,
132
133 0 // eod
134};
135
136Q_CONSTINIT const QMetaObject TestBasicTypes::staticMetaObject = { {
137 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
138 qt_meta_stringdata_ZN14TestBasicTypesE.offsetsAndSizes,
140 qt_static_metacall,
141 nullptr,
142 qt_incomplete_metaTypeArray<qt_meta_tag_ZN14TestBasicTypesE_t,
143 // Q_OBJECT / Q_GADGET
144 QtPrivate::TypeAndForceComplete<TestBasicTypes, std::true_type>,
145 // method 'test_dynamic_cast'
146 QtPrivate::TypeAndForceComplete<void, std::false_type>,
147 // method 'test_QString_english'
148 QtPrivate::TypeAndForceComplete<void, std::false_type>,
149 // method 'test_QString_non_english'
150 QtPrivate::TypeAndForceComplete<void, std::false_type>,
151 // method 'test_DomDocument_english'
152 QtPrivate::TypeAndForceComplete<void, std::false_type>,
153 // method 'test_DomDocument_non_english'
154 QtPrivate::TypeAndForceComplete<void, std::false_type>,
155 // method 'test_ModelType_toString'
156 QtPrivate::TypeAndForceComplete<void, std::false_type>,
157 // method 'test_ModelType_fromString'
158 QtPrivate::TypeAndForceComplete<void, std::false_type>,
159 // method 'test_ModelType_forLoop'
160 QtPrivate::TypeAndForceComplete<void, std::false_type>,
161 // method 'test_Visibility_toString'
162 QtPrivate::TypeAndForceComplete<void, std::false_type>,
163 // method 'test_Visibility_fromString'
164 QtPrivate::TypeAndForceComplete<void, std::false_type>,
165 // method 'test_DiagramType_toString'
166 QtPrivate::TypeAndForceComplete<void, std::false_type>,
167 // method 'test_DiagramType_fromString'
168 QtPrivate::TypeAndForceComplete<void, std::false_type>,
169 // method 'test_DiagramType_forLoop'
170 QtPrivate::TypeAndForceComplete<void, std::false_type>,
171 // method 'test_AssociationType_toString_fromString'
172 QtPrivate::TypeAndForceComplete<void, std::false_type>,
173 // method 'test_SignatureType_toString_fromString'
174 QtPrivate::TypeAndForceComplete<void, std::false_type>,
175 // method 'test_TextRole_toString_fromString'
176 QtPrivate::TypeAndForceComplete<void, std::false_type>,
177 // method 'test_Changeability_toString_fromString'
178 QtPrivate::TypeAndForceComplete<void, std::false_type>,
179 // method 'test_SequenceMessage_toString_fromString'
180 QtPrivate::TypeAndForceComplete<void, std::false_type>,
181 // method 'test_RoleType_toString_fromString'
182 QtPrivate::TypeAndForceComplete<void, std::false_type>,
183 // method 'test_ParameterDirection_toString_fromString'
184 QtPrivate::TypeAndForceComplete<void, std::false_type>,
185 // method 'test_ProgrammingLanguage_toString_fromString'
186 QtPrivate::TypeAndForceComplete<void, std::false_type>,
187 // method 'test_Region_toString_fromString'
188 QtPrivate::TypeAndForceComplete<void, std::false_type>,
189 // method 'test_Corner_toString_fromString'
190 QtPrivate::TypeAndForceComplete<void, std::false_type>
191 >,
192 nullptr
193} };
194
195void TestBasicTypes::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
196{
197 auto *_t = static_cast<TestBasicTypes *>(_o);
198 if (_c == QMetaObject::InvokeMetaMethod) {
199 switch (_id) {
200 case 0: _t->test_dynamic_cast(); break;
201 case 1: _t->test_QString_english(); break;
202 case 2: _t->test_QString_non_english(); break;
203 case 3: _t->test_DomDocument_english(); break;
204 case 4: _t->test_DomDocument_non_english(); break;
205 case 5: _t->test_ModelType_toString(); break;
206 case 6: _t->test_ModelType_fromString(); break;
207 case 7: _t->test_ModelType_forLoop(); break;
208 case 8: _t->test_Visibility_toString(); break;
209 case 9: _t->test_Visibility_fromString(); break;
210 case 10: _t->test_DiagramType_toString(); break;
211 case 11: _t->test_DiagramType_fromString(); break;
212 case 12: _t->test_DiagramType_forLoop(); break;
213 case 13: _t->test_AssociationType_toString_fromString(); break;
214 case 14: _t->test_SignatureType_toString_fromString(); break;
215 case 15: _t->test_TextRole_toString_fromString(); break;
216 case 16: _t->test_Changeability_toString_fromString(); break;
217 case 17: _t->test_SequenceMessage_toString_fromString(); break;
218 case 18: _t->test_RoleType_toString_fromString(); break;
219 case 19: _t->test_ParameterDirection_toString_fromString(); break;
220 case 20: _t->test_ProgrammingLanguage_toString_fromString(); break;
221 case 21: _t->test_Region_toString_fromString(); break;
222 case 22: _t->test_Corner_toString_fromString(); break;
223 default: ;
224 }
225 }
226 (void)_a;
227}
228
229const QMetaObject *TestBasicTypes::metaObject() const
230{
231 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
232}
233
234void *TestBasicTypes::qt_metacast(const char *_clname)
235{
236 if (!_clname) return nullptr;
237 if (!strcmp(_clname, qt_meta_stringdata_ZN14TestBasicTypesE.stringdata0))
238 return static_cast<void*>(this);
239 return QObject::qt_metacast(_clname);
240}
241
242int TestBasicTypes::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
243{
244 _id = QObject::qt_metacall(_c, _id, _a);
245 if (_id < 0)
246 return _id;
247 if (_c == QMetaObject::InvokeMetaMethod) {
248 if (_id < 23)
249 qt_static_metacall(this, _c, _id, _a);
250 _id -= 23;
251 }
252 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
253 if (_id < 23)
254 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
255 _id -= 23;
256 }
257 return _id;
258}
259QT_WARNING_POP
#define Q_CONSTINIT
Definition moc_parser.cpp:27
static Q_CONSTINIT const uint qt_meta_data_ZN14TestBasicTypesE[]
Definition moc_testbasictypes.cpp:70
Definition moc_parser.cpp:33