1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qinputdialog.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 'qinputdialog.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_QInputDialogSpinBox_t { |
24 | const uint offsetsAndSize[8]; |
25 | char stringdata0[51]; |
26 | }; |
27 | #define QT_MOC_LITERAL(ofs, len) \ |
28 | uint(offsetof(qt_meta_stringdata_QInputDialogSpinBox_t, stringdata0) + ofs), len |
29 | static const qt_meta_stringdata_QInputDialogSpinBox_t qt_meta_stringdata_QInputDialogSpinBox = { |
30 | { |
31 | QT_MOC_LITERAL(0, 19), // "QInputDialogSpinBox" |
32 | QT_MOC_LITERAL(20, 11), // "textChanged" |
33 | QT_MOC_LITERAL(32, 0), // "" |
34 | QT_MOC_LITERAL(33, 17) // "notifyTextChanged" |
35 | |
36 | }, |
37 | "QInputDialogSpinBox\0textChanged\0\0" |
38 | "notifyTextChanged" |
39 | }; |
40 | #undef QT_MOC_LITERAL |
41 | |
42 | static const uint qt_meta_data_QInputDialogSpinBox[] = { |
43 | |
44 | // content: |
45 | 9, // revision |
46 | 0, // classname |
47 | 0, 0, // classinfo |
48 | 2, 14, // methods |
49 | 0, 0, // properties |
50 | 0, 0, // enums/sets |
51 | 0, 0, // constructors |
52 | 0, // flags |
53 | 1, // signalCount |
54 | |
55 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
56 | 1, 1, 26, 2, 0x06, 0 /* Public */, |
57 | |
58 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
59 | 3, 0, 29, 2, 0x08, 2 /* Private */, |
60 | |
61 | // signals: parameters |
62 | QMetaType::Void, QMetaType::Bool, 2, |
63 | |
64 | // slots: parameters |
65 | QMetaType::Void, |
66 | |
67 | 0 // eod |
68 | }; |
69 | |
70 | void QInputDialogSpinBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
71 | { |
72 | if (_c == QMetaObject::InvokeMetaMethod) { |
73 | Q_ASSERT(staticMetaObject.cast(_o)); |
74 | auto *_t = static_cast<QInputDialogSpinBox *>(_o); |
75 | Q_UNUSED(_t) |
76 | switch (_id) { |
77 | case 0: _t->textChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; |
78 | case 1: _t->notifyTextChanged(); break; |
79 | default: ; |
80 | } |
81 | } else if (_c == QMetaObject::IndexOfMethod) { |
82 | int *result = reinterpret_cast<int *>(_a[0]); |
83 | { |
84 | using _t = void (QInputDialogSpinBox::*)(bool ); |
85 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QInputDialogSpinBox::textChanged)) { |
86 | *result = 0; |
87 | return; |
88 | } |
89 | } |
90 | } |
91 | } |
92 | |
93 | const QMetaObject QInputDialogSpinBox::staticMetaObject = { { |
94 | QMetaObject::SuperData::link<QSpinBox::staticMetaObject>(), |
95 | qt_meta_stringdata_QInputDialogSpinBox.offsetsAndSize, |
96 | qt_meta_data_QInputDialogSpinBox, |
97 | qt_static_metacall, |
98 | nullptr, |
99 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QInputDialogSpinBox_t |
100 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type> |
101 | , QtPrivate::TypeAndForceComplete<void, std::false_type> |
102 | |
103 | |
104 | >, |
105 | nullptr |
106 | } }; |
107 | |
108 | |
109 | const QMetaObject *QInputDialogSpinBox::metaObject() const |
110 | { |
111 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
112 | } |
113 | |
114 | void *QInputDialogSpinBox::qt_metacast(const char *_clname) |
115 | { |
116 | if (!_clname) return nullptr; |
117 | if (!strcmp(_clname, qt_meta_stringdata_QInputDialogSpinBox.stringdata0)) |
118 | return static_cast<void*>(this); |
119 | return QSpinBox::qt_metacast(_clname); |
120 | } |
121 | |
122 | int QInputDialogSpinBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
123 | { |
124 | _id = QSpinBox::qt_metacall(_c, _id, _a); |
125 | if (_id < 0) |
126 | return _id; |
127 | if (_c == QMetaObject::InvokeMetaMethod) { |
128 | if (_id < 2) |
129 | qt_static_metacall(this, _c, _id, _a); |
130 | _id -= 2; |
131 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
132 | if (_id < 2) |
133 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
134 | _id -= 2; |
135 | } |
136 | return _id; |
137 | } |
138 | |
139 | // SIGNAL 0 |
140 | void QInputDialogSpinBox::textChanged(bool _t1) |
141 | { |
142 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
143 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
144 | } |
145 | struct qt_meta_stringdata_QInputDialogDoubleSpinBox_t { |
146 | const uint offsetsAndSize[8]; |
147 | char stringdata0[57]; |
148 | }; |
149 | #define QT_MOC_LITERAL(ofs, len) \ |
150 | uint(offsetof(qt_meta_stringdata_QInputDialogDoubleSpinBox_t, stringdata0) + ofs), len |
151 | static const qt_meta_stringdata_QInputDialogDoubleSpinBox_t qt_meta_stringdata_QInputDialogDoubleSpinBox = { |
152 | { |
153 | QT_MOC_LITERAL(0, 25), // "QInputDialogDoubleSpinBox" |
154 | QT_MOC_LITERAL(26, 11), // "textChanged" |
155 | QT_MOC_LITERAL(38, 0), // "" |
156 | QT_MOC_LITERAL(39, 17) // "notifyTextChanged" |
157 | |
158 | }, |
159 | "QInputDialogDoubleSpinBox\0textChanged\0" |
160 | "\0notifyTextChanged" |
161 | }; |
162 | #undef QT_MOC_LITERAL |
163 | |
164 | static const uint qt_meta_data_QInputDialogDoubleSpinBox[] = { |
165 | |
166 | // content: |
167 | 9, // revision |
168 | 0, // classname |
169 | 0, 0, // classinfo |
170 | 2, 14, // methods |
171 | 0, 0, // properties |
172 | 0, 0, // enums/sets |
173 | 0, 0, // constructors |
174 | 0, // flags |
175 | 1, // signalCount |
176 | |
177 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
178 | 1, 1, 26, 2, 0x06, 0 /* Public */, |
179 | |
180 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
181 | 3, 0, 29, 2, 0x08, 2 /* Private */, |
182 | |
183 | // signals: parameters |
184 | QMetaType::Void, QMetaType::Bool, 2, |
185 | |
186 | // slots: parameters |
187 | QMetaType::Void, |
188 | |
189 | 0 // eod |
190 | }; |
191 | |
192 | void QInputDialogDoubleSpinBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
193 | { |
194 | if (_c == QMetaObject::InvokeMetaMethod) { |
195 | Q_ASSERT(staticMetaObject.cast(_o)); |
196 | auto *_t = static_cast<QInputDialogDoubleSpinBox *>(_o); |
197 | Q_UNUSED(_t) |
198 | switch (_id) { |
199 | case 0: _t->textChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; |
200 | case 1: _t->notifyTextChanged(); break; |
201 | default: ; |
202 | } |
203 | } else if (_c == QMetaObject::IndexOfMethod) { |
204 | int *result = reinterpret_cast<int *>(_a[0]); |
205 | { |
206 | using _t = void (QInputDialogDoubleSpinBox::*)(bool ); |
207 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QInputDialogDoubleSpinBox::textChanged)) { |
208 | *result = 0; |
209 | return; |
210 | } |
211 | } |
212 | } |
213 | } |
214 | |
215 | const QMetaObject QInputDialogDoubleSpinBox::staticMetaObject = { { |
216 | QMetaObject::SuperData::link<QDoubleSpinBox::staticMetaObject>(), |
217 | qt_meta_stringdata_QInputDialogDoubleSpinBox.offsetsAndSize, |
218 | qt_meta_data_QInputDialogDoubleSpinBox, |
219 | qt_static_metacall, |
220 | nullptr, |
221 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QInputDialogDoubleSpinBox_t |
222 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type> |
223 | , QtPrivate::TypeAndForceComplete<void, std::false_type> |
224 | |
225 | |
226 | >, |
227 | nullptr |
228 | } }; |
229 | |
230 | |
231 | const QMetaObject *QInputDialogDoubleSpinBox::metaObject() const |
232 | { |
233 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
234 | } |
235 | |
236 | void *QInputDialogDoubleSpinBox::qt_metacast(const char *_clname) |
237 | { |
238 | if (!_clname) return nullptr; |
239 | if (!strcmp(_clname, qt_meta_stringdata_QInputDialogDoubleSpinBox.stringdata0)) |
240 | return static_cast<void*>(this); |
241 | return QDoubleSpinBox::qt_metacast(_clname); |
242 | } |
243 | |
244 | int QInputDialogDoubleSpinBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
245 | { |
246 | _id = QDoubleSpinBox::qt_metacall(_c, _id, _a); |
247 | if (_id < 0) |
248 | return _id; |
249 | if (_c == QMetaObject::InvokeMetaMethod) { |
250 | if (_id < 2) |
251 | qt_static_metacall(this, _c, _id, _a); |
252 | _id -= 2; |
253 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
254 | if (_id < 2) |
255 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
256 | _id -= 2; |
257 | } |
258 | return _id; |
259 | } |
260 | |
261 | // SIGNAL 0 |
262 | void QInputDialogDoubleSpinBox::textChanged(bool _t1) |
263 | { |
264 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
265 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
266 | } |
267 | QT_WARNING_POP |
268 | QT_END_MOC_NAMESPACE |
269 | |