1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'testgui.cpp' |
3 | ** |
4 | ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.0) |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost! |
7 | *****************************************************************************/ |
8 | |
9 | #include <memory> |
10 | #include <QtCore/qbytearray.h> |
11 | #include <QtCore/qmetatype.h> |
12 | #if !defined(Q_MOC_OUTPUT_REVISION) |
13 | #error "The header file 'testgui.cpp' doesn't include <QObject>." |
14 | #elif Q_MOC_OUTPUT_REVISION != 68 |
15 | #error "This file was generated using the moc from 6.0.0. It" |
16 | #error "cannot be used with the include files from this version of Qt." |
17 | #error "(The moc has changed too much.)" |
18 | #endif |
19 | |
20 | QT_BEGIN_MOC_NAMESPACE |
21 | QT_WARNING_PUSH |
22 | QT_WARNING_DISABLE_DEPRECATED |
23 | struct qt_meta_stringdata_TestGui_t { |
24 | const uint offsetsAndSize[8]; |
25 | char stringdata0[30]; |
26 | }; |
27 | #define QT_MOC_LITERAL(ofs, len) \ |
28 | uint(offsetof(qt_meta_stringdata_TestGui_t, stringdata0) + ofs), len |
29 | static const qt_meta_stringdata_TestGui_t qt_meta_stringdata_TestGui = { |
30 | { |
31 | QT_MOC_LITERAL(0, 7), // "TestGui" |
32 | QT_MOC_LITERAL(8, 12), // "testGui_data" |
33 | QT_MOC_LITERAL(21, 0), // "" |
34 | QT_MOC_LITERAL(22, 7) // "testGui" |
35 | |
36 | }, |
37 | "TestGui\0testGui_data\0\0testGui" |
38 | }; |
39 | #undef QT_MOC_LITERAL |
40 | |
41 | static const uint qt_meta_data_TestGui[] = { |
42 | |
43 | // content: |
44 | 9, // revision |
45 | 0, // classname |
46 | 0, 0, // classinfo |
47 | 2, 14, // methods |
48 | 0, 0, // properties |
49 | 0, 0, // enums/sets |
50 | 0, 0, // constructors |
51 | 0, // flags |
52 | 0, // signalCount |
53 | |
54 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
55 | 1, 0, 26, 2, 0x08, 0 /* Private */, |
56 | 3, 0, 27, 2, 0x08, 1 /* Private */, |
57 | |
58 | // slots: parameters |
59 | QMetaType::Void, |
60 | QMetaType::Void, |
61 | |
62 | 0 // eod |
63 | }; |
64 | |
65 | void TestGui::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
66 | { |
67 | if (_c == QMetaObject::InvokeMetaMethod) { |
68 | Q_ASSERT(staticMetaObject.cast(_o)); |
69 | auto *_t = static_cast<TestGui *>(_o); |
70 | Q_UNUSED(_t) |
71 | switch (_id) { |
72 | case 0: _t->testGui_data(); break; |
73 | case 1: _t->testGui(); break; |
74 | default: ; |
75 | } |
76 | } |
77 | Q_UNUSED(_a); |
78 | } |
79 | |
80 | const QMetaObject TestGui::staticMetaObject = { { |
81 | QMetaObject::SuperData::link<QObject::staticMetaObject>(), |
82 | qt_meta_stringdata_TestGui.offsetsAndSize, |
83 | qt_meta_data_TestGui, |
84 | qt_static_metacall, |
85 | nullptr, |
86 | qt_incomplete_metaTypeArray<qt_meta_stringdata_TestGui_t |
87 | |
88 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
89 | |
90 | |
91 | >, |
92 | nullptr |
93 | } }; |
94 | |
95 | |
96 | const QMetaObject *TestGui::metaObject() const |
97 | { |
98 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
99 | } |
100 | |
101 | void *TestGui::qt_metacast(const char *_clname) |
102 | { |
103 | if (!_clname) return nullptr; |
104 | if (!strcmp(_clname, qt_meta_stringdata_TestGui.stringdata0)) |
105 | return static_cast<void*>(this); |
106 | return QObject::qt_metacast(_clname); |
107 | } |
108 | |
109 | int TestGui::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
110 | { |
111 | _id = QObject::qt_metacall(_c, _id, _a); |
112 | if (_id < 0) |
113 | return _id; |
114 | if (_c == QMetaObject::InvokeMetaMethod) { |
115 | if (_id < 2) |
116 | qt_static_metacall(this, _c, _id, _a); |
117 | _id -= 2; |
118 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
119 | if (_id < 2) |
120 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
121 | _id -= 2; |
122 | } |
123 | return _id; |
124 | } |
125 | QT_WARNING_POP |
126 | QT_END_MOC_NAMESPACE |
127 | |