1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qwhatsthis.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 'qwhatsthis.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_QWhatsThat_t { |
24 | const uint offsetsAndSize[2]; |
25 | char stringdata0[11]; |
26 | }; |
27 | #define QT_MOC_LITERAL(ofs, len) \ |
28 | uint(offsetof(qt_meta_stringdata_QWhatsThat_t, stringdata0) + ofs), len |
29 | static const qt_meta_stringdata_QWhatsThat_t qt_meta_stringdata_QWhatsThat = { |
30 | { |
31 | QT_MOC_LITERAL(0, 10) // "QWhatsThat" |
32 | |
33 | }, |
34 | "QWhatsThat" |
35 | }; |
36 | #undef QT_MOC_LITERAL |
37 | |
38 | static const uint qt_meta_data_QWhatsThat[] = { |
39 | |
40 | // content: |
41 | 9, // revision |
42 | 0, // classname |
43 | 0, 0, // classinfo |
44 | 0, 0, // methods |
45 | 0, 0, // properties |
46 | 0, 0, // enums/sets |
47 | 0, 0, // constructors |
48 | 0, // flags |
49 | 0, // signalCount |
50 | |
51 | 0 // eod |
52 | }; |
53 | |
54 | void QWhatsThat::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
55 | { |
56 | Q_UNUSED(_o); |
57 | Q_UNUSED(_id); |
58 | Q_UNUSED(_c); |
59 | Q_UNUSED(_a); |
60 | } |
61 | |
62 | const QMetaObject QWhatsThat::staticMetaObject = { { |
63 | QMetaObject::SuperData::link<QWidget::staticMetaObject>(), |
64 | qt_meta_stringdata_QWhatsThat.offsetsAndSize, |
65 | qt_meta_data_QWhatsThat, |
66 | qt_static_metacall, |
67 | nullptr, |
68 | nullptr, |
69 | nullptr |
70 | } }; |
71 | |
72 | |
73 | const QMetaObject *QWhatsThat::metaObject() const |
74 | { |
75 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
76 | } |
77 | |
78 | void *QWhatsThat::qt_metacast(const char *_clname) |
79 | { |
80 | if (!_clname) return nullptr; |
81 | if (!strcmp(_clname, qt_meta_stringdata_QWhatsThat.stringdata0)) |
82 | return static_cast<void*>(this); |
83 | return QWidget::qt_metacast(_clname); |
84 | } |
85 | |
86 | int QWhatsThat::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
87 | { |
88 | _id = QWidget::qt_metacall(_c, _id, _a); |
89 | return _id; |
90 | } |
91 | struct qt_meta_stringdata_QWhatsThisAction_t { |
92 | const uint offsetsAndSize[6]; |
93 | char stringdata0[34]; |
94 | }; |
95 | #define QT_MOC_LITERAL(ofs, len) \ |
96 | uint(offsetof(qt_meta_stringdata_QWhatsThisAction_t, stringdata0) + ofs), len |
97 | static const qt_meta_stringdata_QWhatsThisAction_t qt_meta_stringdata_QWhatsThisAction = { |
98 | { |
99 | QT_MOC_LITERAL(0, 16), // "QWhatsThisAction" |
100 | QT_MOC_LITERAL(17, 15), // "actionTriggered" |
101 | QT_MOC_LITERAL(33, 0) // "" |
102 | |
103 | }, |
104 | "QWhatsThisAction\0actionTriggered\0" |
105 | }; |
106 | #undef QT_MOC_LITERAL |
107 | |
108 | static const uint qt_meta_data_QWhatsThisAction[] = { |
109 | |
110 | // content: |
111 | 9, // revision |
112 | 0, // classname |
113 | 0, 0, // classinfo |
114 | 1, 14, // methods |
115 | 0, 0, // properties |
116 | 0, 0, // enums/sets |
117 | 0, 0, // constructors |
118 | 0, // flags |
119 | 0, // signalCount |
120 | |
121 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
122 | 1, 0, 20, 2, 0x08, 0 /* Private */, |
123 | |
124 | // slots: parameters |
125 | QMetaType::Void, |
126 | |
127 | 0 // eod |
128 | }; |
129 | |
130 | void QWhatsThisAction::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
131 | { |
132 | if (_c == QMetaObject::InvokeMetaMethod) { |
133 | Q_ASSERT(staticMetaObject.cast(_o)); |
134 | auto *_t = static_cast<QWhatsThisAction *>(_o); |
135 | Q_UNUSED(_t) |
136 | switch (_id) { |
137 | case 0: _t->actionTriggered(); break; |
138 | default: ; |
139 | } |
140 | } |
141 | Q_UNUSED(_a); |
142 | } |
143 | |
144 | const QMetaObject QWhatsThisAction::staticMetaObject = { { |
145 | QMetaObject::SuperData::link<QAction::staticMetaObject>(), |
146 | qt_meta_stringdata_QWhatsThisAction.offsetsAndSize, |
147 | qt_meta_data_QWhatsThisAction, |
148 | qt_static_metacall, |
149 | nullptr, |
150 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QWhatsThisAction_t |
151 | |
152 | , QtPrivate::TypeAndForceComplete<void, std::false_type> |
153 | |
154 | |
155 | >, |
156 | nullptr |
157 | } }; |
158 | |
159 | |
160 | const QMetaObject *QWhatsThisAction::metaObject() const |
161 | { |
162 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
163 | } |
164 | |
165 | void *QWhatsThisAction::qt_metacast(const char *_clname) |
166 | { |
167 | if (!_clname) return nullptr; |
168 | if (!strcmp(_clname, qt_meta_stringdata_QWhatsThisAction.stringdata0)) |
169 | return static_cast<void*>(this); |
170 | return QAction::qt_metacast(_clname); |
171 | } |
172 | |
173 | int QWhatsThisAction::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
174 | { |
175 | _id = QAction::qt_metacall(_c, _id, _a); |
176 | if (_id < 0) |
177 | return _id; |
178 | if (_c == QMetaObject::InvokeMetaMethod) { |
179 | if (_id < 1) |
180 | qt_static_metacall(this, _c, _id, _a); |
181 | _id -= 1; |
182 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
183 | if (_id < 1) |
184 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
185 | _id -= 1; |
186 | } |
187 | return _id; |
188 | } |
189 | QT_WARNING_POP |
190 | QT_END_MOC_NAMESPACE |
191 | |