umbrello 25.04.1
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 67 (Qt 5.15.13)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include <memory>
10#include "../../../../unittests/testbasictypes.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'testbasictypes.h' doesn't include <QObject>."
15#elif Q_MOC_OUTPUT_REVISION != 67
16#error "This file was generated using the moc from 5.15.13. It"
17#error "cannot be used with the include files from this version of Qt."
18#error "(The moc has changed too much.)"
19#endif
20
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
25 QByteArrayData data[25];
26 char stringdata0[719];
27};
28#define QT_MOC_LITERAL(idx, ofs, len) \
29 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
30 qptrdiff(offsetof(qt_meta_stringdata_TestBasicTypes_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
34 {
35QT_MOC_LITERAL(0, 0, 14), // "TestBasicTypes"
36QT_MOC_LITERAL(1, 15, 17), // "test_dynamic_cast"
37QT_MOC_LITERAL(2, 33, 0), // ""
38QT_MOC_LITERAL(3, 34, 20), // "test_QString_english"
39QT_MOC_LITERAL(4, 55, 24), // "test_QString_non_english"
40QT_MOC_LITERAL(5, 80, 24), // "test_DomDocument_english"
41QT_MOC_LITERAL(6, 105, 28), // "test_DomDocument_non_english"
42QT_MOC_LITERAL(7, 134, 23), // "test_ModelType_toString"
43QT_MOC_LITERAL(8, 158, 25), // "test_ModelType_fromString"
44QT_MOC_LITERAL(9, 184, 22), // "test_ModelType_forLoop"
45QT_MOC_LITERAL(10, 207, 24), // "test_Visibility_toString"
46QT_MOC_LITERAL(11, 232, 26), // "test_Visibility_fromString"
47QT_MOC_LITERAL(12, 259, 25), // "test_DiagramType_toString"
48QT_MOC_LITERAL(13, 285, 27), // "test_DiagramType_fromString"
49QT_MOC_LITERAL(14, 313, 24), // "test_DiagramType_forLoop"
50QT_MOC_LITERAL(15, 338, 40), // "test_AssociationType_toString..."
51QT_MOC_LITERAL(16, 379, 38), // "test_SignatureType_toString_f..."
52QT_MOC_LITERAL(17, 418, 33), // "test_TextRole_toString_fromSt..."
53QT_MOC_LITERAL(18, 452, 38), // "test_Changeability_toString_f..."
54QT_MOC_LITERAL(19, 491, 40), // "test_SequenceMessage_toString..."
55QT_MOC_LITERAL(20, 532, 33), // "test_RoleType_toString_fromSt..."
56QT_MOC_LITERAL(21, 566, 43), // "test_ParameterDirection_toStr..."
57QT_MOC_LITERAL(22, 610, 44), // "test_ProgrammingLanguage_toSt..."
58QT_MOC_LITERAL(23, 655, 31), // "test_Region_toString_fromString"
59QT_MOC_LITERAL(24, 687, 31) // "test_Corner_toString_fromString"
60
61 },
62 "TestBasicTypes\0test_dynamic_cast\0\0"
63 "test_QString_english\0test_QString_non_english\0"
64 "test_DomDocument_english\0"
65 "test_DomDocument_non_english\0"
66 "test_ModelType_toString\0"
67 "test_ModelType_fromString\0"
68 "test_ModelType_forLoop\0test_Visibility_toString\0"
69 "test_Visibility_fromString\0"
70 "test_DiagramType_toString\0"
71 "test_DiagramType_fromString\0"
72 "test_DiagramType_forLoop\0"
73 "test_AssociationType_toString_fromString\0"
74 "test_SignatureType_toString_fromString\0"
75 "test_TextRole_toString_fromString\0"
76 "test_Changeability_toString_fromString\0"
77 "test_SequenceMessage_toString_fromString\0"
78 "test_RoleType_toString_fromString\0"
79 "test_ParameterDirection_toString_fromString\0"
80 "test_ProgrammingLanguage_toString_fromString\0"
81 "test_Region_toString_fromString\0"
82 "test_Corner_toString_fromString"
83};
84#undef QT_MOC_LITERAL
85
86static const uint qt_meta_data_TestBasicTypes[] = {
87
88 // content:
89 8, // revision
90 0, // classname
91 0, 0, // classinfo
92 23, 14, // methods
93 0, 0, // properties
94 0, 0, // enums/sets
95 0, 0, // constructors
96 0, // flags
97 0, // signalCount
98
99 // slots: name, argc, parameters, tag, flags
100 1, 0, 129, 2, 0x08 /* Private */,
101 3, 0, 130, 2, 0x08 /* Private */,
102 4, 0, 131, 2, 0x08 /* Private */,
103 5, 0, 132, 2, 0x08 /* Private */,
104 6, 0, 133, 2, 0x08 /* Private */,
105 7, 0, 134, 2, 0x08 /* Private */,
106 8, 0, 135, 2, 0x08 /* Private */,
107 9, 0, 136, 2, 0x08 /* Private */,
108 10, 0, 137, 2, 0x08 /* Private */,
109 11, 0, 138, 2, 0x08 /* Private */,
110 12, 0, 139, 2, 0x08 /* Private */,
111 13, 0, 140, 2, 0x08 /* Private */,
112 14, 0, 141, 2, 0x08 /* Private */,
113 15, 0, 142, 2, 0x08 /* Private */,
114 16, 0, 143, 2, 0x08 /* Private */,
115 17, 0, 144, 2, 0x08 /* Private */,
116 18, 0, 145, 2, 0x08 /* Private */,
117 19, 0, 146, 2, 0x08 /* Private */,
118 20, 0, 147, 2, 0x08 /* Private */,
119 21, 0, 148, 2, 0x08 /* Private */,
120 22, 0, 149, 2, 0x08 /* Private */,
121 23, 0, 150, 2, 0x08 /* Private */,
122 24, 0, 151, 2, 0x08 /* Private */,
123
124 // slots: parameters
125 QMetaType::Void,
126 QMetaType::Void,
127 QMetaType::Void,
128 QMetaType::Void,
129 QMetaType::Void,
130 QMetaType::Void,
131 QMetaType::Void,
132 QMetaType::Void,
133 QMetaType::Void,
134 QMetaType::Void,
135 QMetaType::Void,
136 QMetaType::Void,
137 QMetaType::Void,
138 QMetaType::Void,
139 QMetaType::Void,
140 QMetaType::Void,
141 QMetaType::Void,
142 QMetaType::Void,
143 QMetaType::Void,
144 QMetaType::Void,
145 QMetaType::Void,
146 QMetaType::Void,
147 QMetaType::Void,
148
149 0 // eod
150};
151
152void TestBasicTypes::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
153{
154 if (_c == QMetaObject::InvokeMetaMethod) {
155 auto *_t = static_cast<TestBasicTypes *>(_o);
156 (void)_t;
157 switch (_id) {
158 case 0: _t->test_dynamic_cast(); break;
159 case 1: _t->test_QString_english(); break;
160 case 2: _t->test_QString_non_english(); break;
161 case 3: _t->test_DomDocument_english(); break;
162 case 4: _t->test_DomDocument_non_english(); break;
163 case 5: _t->test_ModelType_toString(); break;
164 case 6: _t->test_ModelType_fromString(); break;
165 case 7: _t->test_ModelType_forLoop(); break;
166 case 8: _t->test_Visibility_toString(); break;
167 case 9: _t->test_Visibility_fromString(); break;
168 case 10: _t->test_DiagramType_toString(); break;
169 case 11: _t->test_DiagramType_fromString(); break;
170 case 12: _t->test_DiagramType_forLoop(); break;
171 case 13: _t->test_AssociationType_toString_fromString(); break;
172 case 14: _t->test_SignatureType_toString_fromString(); break;
173 case 15: _t->test_TextRole_toString_fromString(); break;
174 case 16: _t->test_Changeability_toString_fromString(); break;
175 case 17: _t->test_SequenceMessage_toString_fromString(); break;
176 case 18: _t->test_RoleType_toString_fromString(); break;
177 case 19: _t->test_ParameterDirection_toString_fromString(); break;
178 case 20: _t->test_ProgrammingLanguage_toString_fromString(); break;
179 case 21: _t->test_Region_toString_fromString(); break;
180 case 22: _t->test_Corner_toString_fromString(); break;
181 default: ;
182 }
183 }
184 (void)_a;
185}
186
187QT_INIT_METAOBJECT const QMetaObject TestBasicTypes::staticMetaObject = { {
188 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
191 qt_static_metacall,
192 nullptr,
193 nullptr
194} };
195
196
197const QMetaObject *TestBasicTypes::metaObject() const
198{
199 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
200}
201
202void *TestBasicTypes::qt_metacast(const char *_clname)
203{
204 if (!_clname) return nullptr;
206 return static_cast<void*>(this);
207 return QObject::qt_metacast(_clname);
208}
209
210int TestBasicTypes::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
211{
212 _id = QObject::qt_metacall(_c, _id, _a);
213 if (_id < 0)
214 return _id;
215 if (_c == QMetaObject::InvokeMetaMethod) {
216 if (_id < 23)
217 qt_static_metacall(this, _c, _id, _a);
218 _id -= 23;
219 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
220 if (_id < 23)
221 *reinterpret_cast<int*>(_a[0]) = -1;
222 _id -= 23;
223 }
224 return _id;
225}
226QT_WARNING_POP
227QT_END_MOC_NAMESPACE
Definition testbasictypes.h:13
void test_dynamic_cast()
Definition testbasictypes.cpp:38
static const qt_meta_stringdata_TestBasicTypes_t qt_meta_stringdata_TestBasicTypes
Definition moc_testbasictypes.cpp:33
#define QT_MOC_LITERAL(idx, ofs, len)
Definition moc_testbasictypes.cpp:28
static const uint qt_meta_data_TestBasicTypes[]
Definition moc_testbasictypes.cpp:86
Definition moc_testbasictypes.cpp:24
QByteArrayData data[25]
Definition moc_testbasictypes.cpp:25
char stringdata0[719]
Definition moc_testbasictypes.cpp:26