1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qplatformdialoghelper.h' |
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 "kernel/qplatformdialoghelper.h" |
11 | #include <QFont> |
12 | #include <QColor> |
13 | #include <QtCore/qbytearray.h> |
14 | #include <QtCore/qmetatype.h> |
15 | #include <QtCore/QList> |
16 | #if !defined(Q_MOC_OUTPUT_REVISION) |
17 | #error "The header file 'qplatformdialoghelper.h' doesn't include <QObject>." |
18 | #elif Q_MOC_OUTPUT_REVISION != 68 |
19 | #error "This file was generated using the moc from 6.0.0. It" |
20 | #error "cannot be used with the include files from this version of Qt." |
21 | #error "(The moc has changed too much.)" |
22 | #endif |
23 | |
24 | QT_BEGIN_MOC_NAMESPACE |
25 | QT_WARNING_PUSH |
26 | QT_WARNING_DISABLE_DEPRECATED |
27 | struct qt_meta_stringdata_QPlatformDialogHelper_t { |
28 | const uint offsetsAndSize[106]; |
29 | char stringdata0[488]; |
30 | }; |
31 | #define QT_MOC_LITERAL(ofs, len) \ |
32 | uint(offsetof(qt_meta_stringdata_QPlatformDialogHelper_t, stringdata0) + ofs), len |
33 | static const qt_meta_stringdata_QPlatformDialogHelper_t qt_meta_stringdata_QPlatformDialogHelper = { |
34 | { |
35 | QT_MOC_LITERAL(0, 21), // "QPlatformDialogHelper" |
36 | QT_MOC_LITERAL(22, 6), // "accept" |
37 | QT_MOC_LITERAL(29, 0), // "" |
38 | QT_MOC_LITERAL(30, 6), // "reject" |
39 | QT_MOC_LITERAL(37, 15), // "StandardButtons" |
40 | QT_MOC_LITERAL(53, 14), // "StandardButton" |
41 | QT_MOC_LITERAL(68, 8), // "NoButton" |
42 | QT_MOC_LITERAL(77, 2), // "Ok" |
43 | QT_MOC_LITERAL(80, 4), // "Save" |
44 | QT_MOC_LITERAL(85, 7), // "SaveAll" |
45 | QT_MOC_LITERAL(93, 4), // "Open" |
46 | QT_MOC_LITERAL(98, 3), // "Yes" |
47 | QT_MOC_LITERAL(102, 8), // "YesToAll" |
48 | QT_MOC_LITERAL(111, 2), // "No" |
49 | QT_MOC_LITERAL(114, 7), // "NoToAll" |
50 | QT_MOC_LITERAL(122, 5), // "Abort" |
51 | QT_MOC_LITERAL(128, 5), // "Retry" |
52 | QT_MOC_LITERAL(134, 6), // "Ignore" |
53 | QT_MOC_LITERAL(141, 5), // "Close" |
54 | QT_MOC_LITERAL(147, 6), // "Cancel" |
55 | QT_MOC_LITERAL(154, 7), // "Discard" |
56 | QT_MOC_LITERAL(162, 4), // "Help" |
57 | QT_MOC_LITERAL(167, 5), // "Apply" |
58 | QT_MOC_LITERAL(173, 5), // "Reset" |
59 | QT_MOC_LITERAL(179, 15), // "RestoreDefaults" |
60 | QT_MOC_LITERAL(195, 11), // "FirstButton" |
61 | QT_MOC_LITERAL(207, 10), // "LastButton" |
62 | QT_MOC_LITERAL(218, 9), // "LowestBit" |
63 | QT_MOC_LITERAL(228, 10), // "HighestBit" |
64 | QT_MOC_LITERAL(239, 10), // "ButtonRole" |
65 | QT_MOC_LITERAL(250, 11), // "InvalidRole" |
66 | QT_MOC_LITERAL(262, 10), // "AcceptRole" |
67 | QT_MOC_LITERAL(273, 10), // "RejectRole" |
68 | QT_MOC_LITERAL(284, 15), // "DestructiveRole" |
69 | QT_MOC_LITERAL(300, 10), // "ActionRole" |
70 | QT_MOC_LITERAL(311, 8), // "HelpRole" |
71 | QT_MOC_LITERAL(320, 7), // "YesRole" |
72 | QT_MOC_LITERAL(328, 6), // "NoRole" |
73 | QT_MOC_LITERAL(335, 9), // "ResetRole" |
74 | QT_MOC_LITERAL(345, 9), // "ApplyRole" |
75 | QT_MOC_LITERAL(355, 6), // "NRoles" |
76 | QT_MOC_LITERAL(362, 8), // "RoleMask" |
77 | QT_MOC_LITERAL(371, 13), // "AlternateRole" |
78 | QT_MOC_LITERAL(385, 7), // "Stretch" |
79 | QT_MOC_LITERAL(393, 7), // "Reverse" |
80 | QT_MOC_LITERAL(401, 3), // "EOL" |
81 | QT_MOC_LITERAL(405, 12), // "ButtonLayout" |
82 | QT_MOC_LITERAL(418, 13), // "UnknownLayout" |
83 | QT_MOC_LITERAL(432, 9), // "WinLayout" |
84 | QT_MOC_LITERAL(442, 9), // "MacLayout" |
85 | QT_MOC_LITERAL(452, 9), // "KdeLayout" |
86 | QT_MOC_LITERAL(462, 11), // "GnomeLayout" |
87 | QT_MOC_LITERAL(474, 13) // "AndroidLayout" |
88 | |
89 | }, |
90 | "QPlatformDialogHelper\0accept\0\0reject\0" |
91 | "StandardButtons\0StandardButton\0NoButton\0" |
92 | "Ok\0Save\0SaveAll\0Open\0Yes\0YesToAll\0No\0" |
93 | "NoToAll\0Abort\0Retry\0Ignore\0Close\0" |
94 | "Cancel\0Discard\0Help\0Apply\0Reset\0" |
95 | "RestoreDefaults\0FirstButton\0LastButton\0" |
96 | "LowestBit\0HighestBit\0ButtonRole\0" |
97 | "InvalidRole\0AcceptRole\0RejectRole\0" |
98 | "DestructiveRole\0ActionRole\0HelpRole\0" |
99 | "YesRole\0NoRole\0ResetRole\0ApplyRole\0" |
100 | "NRoles\0RoleMask\0AlternateRole\0Stretch\0" |
101 | "Reverse\0EOL\0ButtonLayout\0UnknownLayout\0" |
102 | "WinLayout\0MacLayout\0KdeLayout\0GnomeLayout\0" |
103 | "AndroidLayout" |
104 | }; |
105 | #undef QT_MOC_LITERAL |
106 | |
107 | static const uint qt_meta_data_QPlatformDialogHelper[] = { |
108 | |
109 | // content: |
110 | 9, // revision |
111 | 0, // classname |
112 | 0, 0, // classinfo |
113 | 2, 14, // methods |
114 | 0, 0, // properties |
115 | 3, 28, // enums/sets |
116 | 0, 0, // constructors |
117 | 0, // flags |
118 | 2, // signalCount |
119 | |
120 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
121 | 1, 0, 26, 2, 0x06, 0 /* Public */, |
122 | 3, 0, 27, 2, 0x06, 1 /* Public */, |
123 | |
124 | // signals: parameters |
125 | QMetaType::Void, |
126 | QMetaType::Void, |
127 | |
128 | // enums: name, alias, flags, count, data |
129 | 4, 5, 0x1, 23, 43, |
130 | 29, 29, 0x0, 16, 89, |
131 | 46, 46, 0x0, 6, 121, |
132 | |
133 | // enum data: key, value |
134 | 6, uint(QPlatformDialogHelper::NoButton), |
135 | 7, uint(QPlatformDialogHelper::Ok), |
136 | 8, uint(QPlatformDialogHelper::Save), |
137 | 9, uint(QPlatformDialogHelper::SaveAll), |
138 | 10, uint(QPlatformDialogHelper::Open), |
139 | 11, uint(QPlatformDialogHelper::Yes), |
140 | 12, uint(QPlatformDialogHelper::YesToAll), |
141 | 13, uint(QPlatformDialogHelper::No), |
142 | 14, uint(QPlatformDialogHelper::NoToAll), |
143 | 15, uint(QPlatformDialogHelper::Abort), |
144 | 16, uint(QPlatformDialogHelper::Retry), |
145 | 17, uint(QPlatformDialogHelper::Ignore), |
146 | 18, uint(QPlatformDialogHelper::Close), |
147 | 19, uint(QPlatformDialogHelper::Cancel), |
148 | 20, uint(QPlatformDialogHelper::Discard), |
149 | 21, uint(QPlatformDialogHelper::Help), |
150 | 22, uint(QPlatformDialogHelper::Apply), |
151 | 23, uint(QPlatformDialogHelper::Reset), |
152 | 24, uint(QPlatformDialogHelper::RestoreDefaults), |
153 | 25, uint(QPlatformDialogHelper::FirstButton), |
154 | 26, uint(QPlatformDialogHelper::LastButton), |
155 | 27, uint(QPlatformDialogHelper::LowestBit), |
156 | 28, uint(QPlatformDialogHelper::HighestBit), |
157 | 30, uint(QPlatformDialogHelper::InvalidRole), |
158 | 31, uint(QPlatformDialogHelper::AcceptRole), |
159 | 32, uint(QPlatformDialogHelper::RejectRole), |
160 | 33, uint(QPlatformDialogHelper::DestructiveRole), |
161 | 34, uint(QPlatformDialogHelper::ActionRole), |
162 | 35, uint(QPlatformDialogHelper::HelpRole), |
163 | 36, uint(QPlatformDialogHelper::YesRole), |
164 | 37, uint(QPlatformDialogHelper::NoRole), |
165 | 38, uint(QPlatformDialogHelper::ResetRole), |
166 | 39, uint(QPlatformDialogHelper::ApplyRole), |
167 | 40, uint(QPlatformDialogHelper::NRoles), |
168 | 41, uint(QPlatformDialogHelper::RoleMask), |
169 | 42, uint(QPlatformDialogHelper::AlternateRole), |
170 | 43, uint(QPlatformDialogHelper::Stretch), |
171 | 44, uint(QPlatformDialogHelper::Reverse), |
172 | 45, uint(QPlatformDialogHelper::EOL), |
173 | 47, uint(QPlatformDialogHelper::UnknownLayout), |
174 | 48, uint(QPlatformDialogHelper::WinLayout), |
175 | 49, uint(QPlatformDialogHelper::MacLayout), |
176 | 50, uint(QPlatformDialogHelper::KdeLayout), |
177 | 51, uint(QPlatformDialogHelper::GnomeLayout), |
178 | 52, uint(QPlatformDialogHelper::AndroidLayout), |
179 | |
180 | 0 // eod |
181 | }; |
182 | |
183 | void QPlatformDialogHelper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
184 | { |
185 | if (_c == QMetaObject::InvokeMetaMethod) { |
186 | Q_ASSERT(staticMetaObject.cast(_o)); |
187 | auto *_t = static_cast<QPlatformDialogHelper *>(_o); |
188 | Q_UNUSED(_t) |
189 | switch (_id) { |
190 | case 0: _t->accept(); break; |
191 | case 1: _t->reject(); break; |
192 | default: ; |
193 | } |
194 | } else if (_c == QMetaObject::IndexOfMethod) { |
195 | int *result = reinterpret_cast<int *>(_a[0]); |
196 | { |
197 | using _t = void (QPlatformDialogHelper::*)(); |
198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlatformDialogHelper::accept)) { |
199 | *result = 0; |
200 | return; |
201 | } |
202 | } |
203 | { |
204 | using _t = void (QPlatformDialogHelper::*)(); |
205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlatformDialogHelper::reject)) { |
206 | *result = 1; |
207 | return; |
208 | } |
209 | } |
210 | } |
211 | Q_UNUSED(_a); |
212 | } |
213 | |
214 | const QMetaObject QPlatformDialogHelper::staticMetaObject = { { |
215 | QMetaObject::SuperData::link<QObject::staticMetaObject>(), |
216 | qt_meta_stringdata_QPlatformDialogHelper.offsetsAndSize, |
217 | qt_meta_data_QPlatformDialogHelper, |
218 | qt_static_metacall, |
219 | nullptr, |
220 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QPlatformDialogHelper_t |
221 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
222 | |
223 | |
224 | |
225 | >, |
226 | nullptr |
227 | } }; |
228 | |
229 | |
230 | const QMetaObject *QPlatformDialogHelper::metaObject() const |
231 | { |
232 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
233 | } |
234 | |
235 | void *QPlatformDialogHelper::qt_metacast(const char *_clname) |
236 | { |
237 | if (!_clname) return nullptr; |
238 | if (!strcmp(_clname, qt_meta_stringdata_QPlatformDialogHelper.stringdata0)) |
239 | return static_cast<void*>(this); |
240 | return QObject::qt_metacast(_clname); |
241 | } |
242 | |
243 | int QPlatformDialogHelper::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
244 | { |
245 | _id = QObject::qt_metacall(_c, _id, _a); |
246 | if (_id < 0) |
247 | return _id; |
248 | if (_c == QMetaObject::InvokeMetaMethod) { |
249 | if (_id < 2) |
250 | qt_static_metacall(this, _c, _id, _a); |
251 | _id -= 2; |
252 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
253 | if (_id < 2) |
254 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
255 | _id -= 2; |
256 | } |
257 | return _id; |
258 | } |
259 | |
260 | // SIGNAL 0 |
261 | void QPlatformDialogHelper::accept() |
262 | { |
263 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); |
264 | } |
265 | |
266 | // SIGNAL 1 |
267 | void QPlatformDialogHelper::reject() |
268 | { |
269 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); |
270 | } |
271 | struct qt_meta_stringdata_QColorDialogOptions_t { |
272 | const uint offsetsAndSize[12]; |
273 | char stringdata0[104]; |
274 | }; |
275 | #define QT_MOC_LITERAL(ofs, len) \ |
276 | uint(offsetof(qt_meta_stringdata_QColorDialogOptions_t, stringdata0) + ofs), len |
277 | static const qt_meta_stringdata_QColorDialogOptions_t qt_meta_stringdata_QColorDialogOptions = { |
278 | { |
279 | QT_MOC_LITERAL(0, 19), // "QColorDialogOptions" |
280 | QT_MOC_LITERAL(20, 18), // "ColorDialogOptions" |
281 | QT_MOC_LITERAL(39, 17), // "ColorDialogOption" |
282 | QT_MOC_LITERAL(57, 16), // "ShowAlphaChannel" |
283 | QT_MOC_LITERAL(74, 9), // "NoButtons" |
284 | QT_MOC_LITERAL(84, 19) // "DontUseNativeDialog" |
285 | |
286 | }, |
287 | "QColorDialogOptions\0ColorDialogOptions\0" |
288 | "ColorDialogOption\0ShowAlphaChannel\0" |
289 | "NoButtons\0DontUseNativeDialog" |
290 | }; |
291 | #undef QT_MOC_LITERAL |
292 | |
293 | static const uint qt_meta_data_QColorDialogOptions[] = { |
294 | |
295 | // content: |
296 | 9, // revision |
297 | 0, // classname |
298 | 0, 0, // classinfo |
299 | 0, 0, // methods |
300 | 0, 0, // properties |
301 | 1, 14, // enums/sets |
302 | 0, 0, // constructors |
303 | 4, // flags |
304 | 0, // signalCount |
305 | |
306 | // enums: name, alias, flags, count, data |
307 | 1, 2, 0x1, 3, 19, |
308 | |
309 | // enum data: key, value |
310 | 3, uint(QColorDialogOptions::ShowAlphaChannel), |
311 | 4, uint(QColorDialogOptions::NoButtons), |
312 | 5, uint(QColorDialogOptions::DontUseNativeDialog), |
313 | |
314 | 0 // eod |
315 | }; |
316 | |
317 | const QMetaObject QColorDialogOptions::staticMetaObject = { { |
318 | nullptr, |
319 | qt_meta_stringdata_QColorDialogOptions.offsetsAndSize, |
320 | qt_meta_data_QColorDialogOptions, |
321 | nullptr, |
322 | nullptr, |
323 | nullptr, |
324 | nullptr |
325 | } }; |
326 | |
327 | struct qt_meta_stringdata_QPlatformColorDialogHelper_t { |
328 | const uint offsetsAndSize[10]; |
329 | char stringdata0[68]; |
330 | }; |
331 | #define QT_MOC_LITERAL(ofs, len) \ |
332 | uint(offsetof(qt_meta_stringdata_QPlatformColorDialogHelper_t, stringdata0) + ofs), len |
333 | static const qt_meta_stringdata_QPlatformColorDialogHelper_t qt_meta_stringdata_QPlatformColorDialogHelper = { |
334 | { |
335 | QT_MOC_LITERAL(0, 26), // "QPlatformColorDialogHelper" |
336 | QT_MOC_LITERAL(27, 19), // "currentColorChanged" |
337 | QT_MOC_LITERAL(47, 0), // "" |
338 | QT_MOC_LITERAL(48, 5), // "color" |
339 | QT_MOC_LITERAL(54, 13) // "colorSelected" |
340 | |
341 | }, |
342 | "QPlatformColorDialogHelper\0" |
343 | "currentColorChanged\0\0color\0colorSelected" |
344 | }; |
345 | #undef QT_MOC_LITERAL |
346 | |
347 | static const uint qt_meta_data_QPlatformColorDialogHelper[] = { |
348 | |
349 | // content: |
350 | 9, // revision |
351 | 0, // classname |
352 | 0, 0, // classinfo |
353 | 2, 14, // methods |
354 | 0, 0, // properties |
355 | 0, 0, // enums/sets |
356 | 0, 0, // constructors |
357 | 0, // flags |
358 | 2, // signalCount |
359 | |
360 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
361 | 1, 1, 26, 2, 0x06, 0 /* Public */, |
362 | 4, 1, 29, 2, 0x06, 2 /* Public */, |
363 | |
364 | // signals: parameters |
365 | QMetaType::Void, QMetaType::QColor, 3, |
366 | QMetaType::Void, QMetaType::QColor, 3, |
367 | |
368 | 0 // eod |
369 | }; |
370 | |
371 | void QPlatformColorDialogHelper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
372 | { |
373 | if (_c == QMetaObject::InvokeMetaMethod) { |
374 | Q_ASSERT(staticMetaObject.cast(_o)); |
375 | auto *_t = static_cast<QPlatformColorDialogHelper *>(_o); |
376 | Q_UNUSED(_t) |
377 | switch (_id) { |
378 | case 0: _t->currentColorChanged((*reinterpret_cast< const QColor(*)>(_a[1]))); break; |
379 | case 1: _t->colorSelected((*reinterpret_cast< const QColor(*)>(_a[1]))); break; |
380 | default: ; |
381 | } |
382 | } else if (_c == QMetaObject::IndexOfMethod) { |
383 | int *result = reinterpret_cast<int *>(_a[0]); |
384 | { |
385 | using _t = void (QPlatformColorDialogHelper::*)(const QColor & ); |
386 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlatformColorDialogHelper::currentColorChanged)) { |
387 | *result = 0; |
388 | return; |
389 | } |
390 | } |
391 | { |
392 | using _t = void (QPlatformColorDialogHelper::*)(const QColor & ); |
393 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlatformColorDialogHelper::colorSelected)) { |
394 | *result = 1; |
395 | return; |
396 | } |
397 | } |
398 | } |
399 | } |
400 | |
401 | const QMetaObject QPlatformColorDialogHelper::staticMetaObject = { { |
402 | QMetaObject::SuperData::link<QPlatformDialogHelper::staticMetaObject>(), |
403 | qt_meta_stringdata_QPlatformColorDialogHelper.offsetsAndSize, |
404 | qt_meta_data_QPlatformColorDialogHelper, |
405 | qt_static_metacall, |
406 | nullptr, |
407 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QPlatformColorDialogHelper_t |
408 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QColor &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QColor &, std::false_type> |
409 | |
410 | |
411 | |
412 | >, |
413 | nullptr |
414 | } }; |
415 | |
416 | |
417 | const QMetaObject *QPlatformColorDialogHelper::metaObject() const |
418 | { |
419 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
420 | } |
421 | |
422 | void *QPlatformColorDialogHelper::qt_metacast(const char *_clname) |
423 | { |
424 | if (!_clname) return nullptr; |
425 | if (!strcmp(_clname, qt_meta_stringdata_QPlatformColorDialogHelper.stringdata0)) |
426 | return static_cast<void*>(this); |
427 | return QPlatformDialogHelper::qt_metacast(_clname); |
428 | } |
429 | |
430 | int QPlatformColorDialogHelper::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
431 | { |
432 | _id = QPlatformDialogHelper::qt_metacall(_c, _id, _a); |
433 | if (_id < 0) |
434 | return _id; |
435 | if (_c == QMetaObject::InvokeMetaMethod) { |
436 | if (_id < 2) |
437 | qt_static_metacall(this, _c, _id, _a); |
438 | _id -= 2; |
439 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
440 | if (_id < 2) |
441 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
442 | _id -= 2; |
443 | } |
444 | return _id; |
445 | } |
446 | |
447 | // SIGNAL 0 |
448 | void QPlatformColorDialogHelper::currentColorChanged(const QColor & _t1) |
449 | { |
450 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
451 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
452 | } |
453 | |
454 | // SIGNAL 1 |
455 | void QPlatformColorDialogHelper::colorSelected(const QColor & _t1) |
456 | { |
457 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
458 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
459 | } |
460 | struct qt_meta_stringdata_QFontDialogOptions_t { |
461 | const uint offsetsAndSize[18]; |
462 | char stringdata0[149]; |
463 | }; |
464 | #define QT_MOC_LITERAL(ofs, len) \ |
465 | uint(offsetof(qt_meta_stringdata_QFontDialogOptions_t, stringdata0) + ofs), len |
466 | static const qt_meta_stringdata_QFontDialogOptions_t qt_meta_stringdata_QFontDialogOptions = { |
467 | { |
468 | QT_MOC_LITERAL(0, 18), // "QFontDialogOptions" |
469 | QT_MOC_LITERAL(19, 17), // "FontDialogOptions" |
470 | QT_MOC_LITERAL(37, 16), // "FontDialogOption" |
471 | QT_MOC_LITERAL(54, 9), // "NoButtons" |
472 | QT_MOC_LITERAL(64, 19), // "DontUseNativeDialog" |
473 | QT_MOC_LITERAL(84, 13), // "ScalableFonts" |
474 | QT_MOC_LITERAL(98, 16), // "NonScalableFonts" |
475 | QT_MOC_LITERAL(115, 15), // "MonospacedFonts" |
476 | QT_MOC_LITERAL(131, 17) // "ProportionalFonts" |
477 | |
478 | }, |
479 | "QFontDialogOptions\0FontDialogOptions\0" |
480 | "FontDialogOption\0NoButtons\0" |
481 | "DontUseNativeDialog\0ScalableFonts\0" |
482 | "NonScalableFonts\0MonospacedFonts\0" |
483 | "ProportionalFonts" |
484 | }; |
485 | #undef QT_MOC_LITERAL |
486 | |
487 | static const uint qt_meta_data_QFontDialogOptions[] = { |
488 | |
489 | // content: |
490 | 9, // revision |
491 | 0, // classname |
492 | 0, 0, // classinfo |
493 | 0, 0, // methods |
494 | 0, 0, // properties |
495 | 1, 14, // enums/sets |
496 | 0, 0, // constructors |
497 | 4, // flags |
498 | 0, // signalCount |
499 | |
500 | // enums: name, alias, flags, count, data |
501 | 1, 2, 0x1, 6, 19, |
502 | |
503 | // enum data: key, value |
504 | 3, uint(QFontDialogOptions::NoButtons), |
505 | 4, uint(QFontDialogOptions::DontUseNativeDialog), |
506 | 5, uint(QFontDialogOptions::ScalableFonts), |
507 | 6, uint(QFontDialogOptions::NonScalableFonts), |
508 | 7, uint(QFontDialogOptions::MonospacedFonts), |
509 | 8, uint(QFontDialogOptions::ProportionalFonts), |
510 | |
511 | 0 // eod |
512 | }; |
513 | |
514 | const QMetaObject QFontDialogOptions::staticMetaObject = { { |
515 | nullptr, |
516 | qt_meta_stringdata_QFontDialogOptions.offsetsAndSize, |
517 | qt_meta_data_QFontDialogOptions, |
518 | nullptr, |
519 | nullptr, |
520 | nullptr, |
521 | nullptr |
522 | } }; |
523 | |
524 | struct qt_meta_stringdata_QPlatformFontDialogHelper_t { |
525 | const uint offsetsAndSize[10]; |
526 | char stringdata0[64]; |
527 | }; |
528 | #define QT_MOC_LITERAL(ofs, len) \ |
529 | uint(offsetof(qt_meta_stringdata_QPlatformFontDialogHelper_t, stringdata0) + ofs), len |
530 | static const qt_meta_stringdata_QPlatformFontDialogHelper_t qt_meta_stringdata_QPlatformFontDialogHelper = { |
531 | { |
532 | QT_MOC_LITERAL(0, 25), // "QPlatformFontDialogHelper" |
533 | QT_MOC_LITERAL(26, 18), // "currentFontChanged" |
534 | QT_MOC_LITERAL(45, 0), // "" |
535 | QT_MOC_LITERAL(46, 4), // "font" |
536 | QT_MOC_LITERAL(51, 12) // "fontSelected" |
537 | |
538 | }, |
539 | "QPlatformFontDialogHelper\0currentFontChanged\0" |
540 | "\0font\0fontSelected" |
541 | }; |
542 | #undef QT_MOC_LITERAL |
543 | |
544 | static const uint qt_meta_data_QPlatformFontDialogHelper[] = { |
545 | |
546 | // content: |
547 | 9, // revision |
548 | 0, // classname |
549 | 0, 0, // classinfo |
550 | 2, 14, // methods |
551 | 0, 0, // properties |
552 | 0, 0, // enums/sets |
553 | 0, 0, // constructors |
554 | 0, // flags |
555 | 2, // signalCount |
556 | |
557 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
558 | 1, 1, 26, 2, 0x06, 0 /* Public */, |
559 | 4, 1, 29, 2, 0x06, 2 /* Public */, |
560 | |
561 | // signals: parameters |
562 | QMetaType::Void, QMetaType::QFont, 3, |
563 | QMetaType::Void, QMetaType::QFont, 3, |
564 | |
565 | 0 // eod |
566 | }; |
567 | |
568 | void QPlatformFontDialogHelper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
569 | { |
570 | if (_c == QMetaObject::InvokeMetaMethod) { |
571 | Q_ASSERT(staticMetaObject.cast(_o)); |
572 | auto *_t = static_cast<QPlatformFontDialogHelper *>(_o); |
573 | Q_UNUSED(_t) |
574 | switch (_id) { |
575 | case 0: _t->currentFontChanged((*reinterpret_cast< const QFont(*)>(_a[1]))); break; |
576 | case 1: _t->fontSelected((*reinterpret_cast< const QFont(*)>(_a[1]))); break; |
577 | default: ; |
578 | } |
579 | } else if (_c == QMetaObject::IndexOfMethod) { |
580 | int *result = reinterpret_cast<int *>(_a[0]); |
581 | { |
582 | using _t = void (QPlatformFontDialogHelper::*)(const QFont & ); |
583 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlatformFontDialogHelper::currentFontChanged)) { |
584 | *result = 0; |
585 | return; |
586 | } |
587 | } |
588 | { |
589 | using _t = void (QPlatformFontDialogHelper::*)(const QFont & ); |
590 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlatformFontDialogHelper::fontSelected)) { |
591 | *result = 1; |
592 | return; |
593 | } |
594 | } |
595 | } |
596 | } |
597 | |
598 | const QMetaObject QPlatformFontDialogHelper::staticMetaObject = { { |
599 | QMetaObject::SuperData::link<QPlatformDialogHelper::staticMetaObject>(), |
600 | qt_meta_stringdata_QPlatformFontDialogHelper.offsetsAndSize, |
601 | qt_meta_data_QPlatformFontDialogHelper, |
602 | qt_static_metacall, |
603 | nullptr, |
604 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QPlatformFontDialogHelper_t |
605 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QFont &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QFont &, std::false_type> |
606 | |
607 | |
608 | |
609 | >, |
610 | nullptr |
611 | } }; |
612 | |
613 | |
614 | const QMetaObject *QPlatformFontDialogHelper::metaObject() const |
615 | { |
616 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
617 | } |
618 | |
619 | void *QPlatformFontDialogHelper::qt_metacast(const char *_clname) |
620 | { |
621 | if (!_clname) return nullptr; |
622 | if (!strcmp(_clname, qt_meta_stringdata_QPlatformFontDialogHelper.stringdata0)) |
623 | return static_cast<void*>(this); |
624 | return QPlatformDialogHelper::qt_metacast(_clname); |
625 | } |
626 | |
627 | int QPlatformFontDialogHelper::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
628 | { |
629 | _id = QPlatformDialogHelper::qt_metacall(_c, _id, _a); |
630 | if (_id < 0) |
631 | return _id; |
632 | if (_c == QMetaObject::InvokeMetaMethod) { |
633 | if (_id < 2) |
634 | qt_static_metacall(this, _c, _id, _a); |
635 | _id -= 2; |
636 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
637 | if (_id < 2) |
638 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
639 | _id -= 2; |
640 | } |
641 | return _id; |
642 | } |
643 | |
644 | // SIGNAL 0 |
645 | void QPlatformFontDialogHelper::currentFontChanged(const QFont & _t1) |
646 | { |
647 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
648 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
649 | } |
650 | |
651 | // SIGNAL 1 |
652 | void QPlatformFontDialogHelper::fontSelected(const QFont & _t1) |
653 | { |
654 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
655 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
656 | } |
657 | struct qt_meta_stringdata_QFileDialogOptions_t { |
658 | const uint offsetsAndSize[58]; |
659 | char stringdata0[377]; |
660 | }; |
661 | #define QT_MOC_LITERAL(ofs, len) \ |
662 | uint(offsetof(qt_meta_stringdata_QFileDialogOptions_t, stringdata0) + ofs), len |
663 | static const qt_meta_stringdata_QFileDialogOptions_t qt_meta_stringdata_QFileDialogOptions = { |
664 | { |
665 | QT_MOC_LITERAL(0, 18), // "QFileDialogOptions" |
666 | QT_MOC_LITERAL(19, 8), // "ViewMode" |
667 | QT_MOC_LITERAL(28, 6), // "Detail" |
668 | QT_MOC_LITERAL(35, 4), // "List" |
669 | QT_MOC_LITERAL(40, 8), // "FileMode" |
670 | QT_MOC_LITERAL(49, 7), // "AnyFile" |
671 | QT_MOC_LITERAL(57, 12), // "ExistingFile" |
672 | QT_MOC_LITERAL(70, 9), // "Directory" |
673 | QT_MOC_LITERAL(80, 13), // "ExistingFiles" |
674 | QT_MOC_LITERAL(94, 13), // "DirectoryOnly" |
675 | QT_MOC_LITERAL(108, 10), // "AcceptMode" |
676 | QT_MOC_LITERAL(119, 10), // "AcceptOpen" |
677 | QT_MOC_LITERAL(130, 10), // "AcceptSave" |
678 | QT_MOC_LITERAL(141, 11), // "DialogLabel" |
679 | QT_MOC_LITERAL(153, 6), // "LookIn" |
680 | QT_MOC_LITERAL(160, 8), // "FileName" |
681 | QT_MOC_LITERAL(169, 8), // "FileType" |
682 | QT_MOC_LITERAL(178, 6), // "Accept" |
683 | QT_MOC_LITERAL(185, 6), // "Reject" |
684 | QT_MOC_LITERAL(192, 16), // "DialogLabelCount" |
685 | QT_MOC_LITERAL(209, 17), // "FileDialogOptions" |
686 | QT_MOC_LITERAL(227, 16), // "FileDialogOption" |
687 | QT_MOC_LITERAL(244, 12), // "ShowDirsOnly" |
688 | QT_MOC_LITERAL(257, 19), // "DontResolveSymlinks" |
689 | QT_MOC_LITERAL(277, 20), // "DontConfirmOverwrite" |
690 | QT_MOC_LITERAL(298, 19), // "DontUseNativeDialog" |
691 | QT_MOC_LITERAL(318, 8), // "ReadOnly" |
692 | QT_MOC_LITERAL(327, 21), // "HideNameFilterDetails" |
693 | QT_MOC_LITERAL(349, 27) // "DontUseCustomDirectoryIcons" |
694 | |
695 | }, |
696 | "QFileDialogOptions\0ViewMode\0Detail\0" |
697 | "List\0FileMode\0AnyFile\0ExistingFile\0" |
698 | "Directory\0ExistingFiles\0DirectoryOnly\0" |
699 | "AcceptMode\0AcceptOpen\0AcceptSave\0" |
700 | "DialogLabel\0LookIn\0FileName\0FileType\0" |
701 | "Accept\0Reject\0DialogLabelCount\0" |
702 | "FileDialogOptions\0FileDialogOption\0" |
703 | "ShowDirsOnly\0DontResolveSymlinks\0" |
704 | "DontConfirmOverwrite\0DontUseNativeDialog\0" |
705 | "ReadOnly\0HideNameFilterDetails\0" |
706 | "DontUseCustomDirectoryIcons" |
707 | }; |
708 | #undef QT_MOC_LITERAL |
709 | |
710 | static const uint qt_meta_data_QFileDialogOptions[] = { |
711 | |
712 | // content: |
713 | 9, // revision |
714 | 0, // classname |
715 | 0, 0, // classinfo |
716 | 0, 0, // methods |
717 | 0, 0, // properties |
718 | 5, 14, // enums/sets |
719 | 0, 0, // constructors |
720 | 4, // flags |
721 | 0, // signalCount |
722 | |
723 | // enums: name, alias, flags, count, data |
724 | 1, 1, 0x0, 2, 39, |
725 | 4, 4, 0x0, 5, 43, |
726 | 10, 10, 0x0, 2, 53, |
727 | 13, 13, 0x0, 6, 57, |
728 | 20, 21, 0x1, 7, 69, |
729 | |
730 | // enum data: key, value |
731 | 2, uint(QFileDialogOptions::Detail), |
732 | 3, uint(QFileDialogOptions::List), |
733 | 5, uint(QFileDialogOptions::AnyFile), |
734 | 6, uint(QFileDialogOptions::ExistingFile), |
735 | 7, uint(QFileDialogOptions::Directory), |
736 | 8, uint(QFileDialogOptions::ExistingFiles), |
737 | 9, uint(QFileDialogOptions::DirectoryOnly), |
738 | 11, uint(QFileDialogOptions::AcceptOpen), |
739 | 12, uint(QFileDialogOptions::AcceptSave), |
740 | 14, uint(QFileDialogOptions::LookIn), |
741 | 15, uint(QFileDialogOptions::FileName), |
742 | 16, uint(QFileDialogOptions::FileType), |
743 | 17, uint(QFileDialogOptions::Accept), |
744 | 18, uint(QFileDialogOptions::Reject), |
745 | 19, uint(QFileDialogOptions::DialogLabelCount), |
746 | 22, uint(QFileDialogOptions::ShowDirsOnly), |
747 | 23, uint(QFileDialogOptions::DontResolveSymlinks), |
748 | 24, uint(QFileDialogOptions::DontConfirmOverwrite), |
749 | 25, uint(QFileDialogOptions::DontUseNativeDialog), |
750 | 26, uint(QFileDialogOptions::ReadOnly), |
751 | 27, uint(QFileDialogOptions::HideNameFilterDetails), |
752 | 28, uint(QFileDialogOptions::DontUseCustomDirectoryIcons), |
753 | |
754 | 0 // eod |
755 | }; |
756 | |
757 | const QMetaObject QFileDialogOptions::staticMetaObject = { { |
758 | nullptr, |
759 | qt_meta_stringdata_QFileDialogOptions.offsetsAndSize, |
760 | qt_meta_data_QFileDialogOptions, |
761 | nullptr, |
762 | nullptr, |
763 | nullptr, |
764 | nullptr |
765 | } }; |
766 | |
767 | struct qt_meta_stringdata_QPlatformFileDialogHelper_t { |
768 | const uint offsetsAndSize[26]; |
769 | char stringdata0[146]; |
770 | }; |
771 | #define QT_MOC_LITERAL(ofs, len) \ |
772 | uint(offsetof(qt_meta_stringdata_QPlatformFileDialogHelper_t, stringdata0) + ofs), len |
773 | static const qt_meta_stringdata_QPlatformFileDialogHelper_t qt_meta_stringdata_QPlatformFileDialogHelper = { |
774 | { |
775 | QT_MOC_LITERAL(0, 25), // "QPlatformFileDialogHelper" |
776 | QT_MOC_LITERAL(26, 12), // "fileSelected" |
777 | QT_MOC_LITERAL(39, 0), // "" |
778 | QT_MOC_LITERAL(40, 4), // "file" |
779 | QT_MOC_LITERAL(45, 13), // "filesSelected" |
780 | QT_MOC_LITERAL(59, 11), // "QList<QUrl>" |
781 | QT_MOC_LITERAL(71, 5), // "files" |
782 | QT_MOC_LITERAL(77, 14), // "currentChanged" |
783 | QT_MOC_LITERAL(92, 4), // "path" |
784 | QT_MOC_LITERAL(97, 16), // "directoryEntered" |
785 | QT_MOC_LITERAL(114, 9), // "directory" |
786 | QT_MOC_LITERAL(124, 14), // "filterSelected" |
787 | QT_MOC_LITERAL(139, 6) // "filter" |
788 | |
789 | }, |
790 | "QPlatformFileDialogHelper\0fileSelected\0" |
791 | "\0file\0filesSelected\0QList<QUrl>\0files\0" |
792 | "currentChanged\0path\0directoryEntered\0" |
793 | "directory\0filterSelected\0filter" |
794 | }; |
795 | #undef QT_MOC_LITERAL |
796 | |
797 | static const uint qt_meta_data_QPlatformFileDialogHelper[] = { |
798 | |
799 | // content: |
800 | 9, // revision |
801 | 0, // classname |
802 | 0, 0, // classinfo |
803 | 5, 14, // methods |
804 | 0, 0, // properties |
805 | 0, 0, // enums/sets |
806 | 0, 0, // constructors |
807 | 0, // flags |
808 | 5, // signalCount |
809 | |
810 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
811 | 1, 1, 44, 2, 0x06, 0 /* Public */, |
812 | 4, 1, 47, 2, 0x06, 2 /* Public */, |
813 | 7, 1, 50, 2, 0x06, 4 /* Public */, |
814 | 9, 1, 53, 2, 0x06, 6 /* Public */, |
815 | 11, 1, 56, 2, 0x06, 8 /* Public */, |
816 | |
817 | // signals: parameters |
818 | QMetaType::Void, QMetaType::QUrl, 3, |
819 | QMetaType::Void, 0x80000000 | 5, 6, |
820 | QMetaType::Void, QMetaType::QUrl, 8, |
821 | QMetaType::Void, QMetaType::QUrl, 10, |
822 | QMetaType::Void, QMetaType::QString, 12, |
823 | |
824 | 0 // eod |
825 | }; |
826 | |
827 | void QPlatformFileDialogHelper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
828 | { |
829 | if (_c == QMetaObject::InvokeMetaMethod) { |
830 | Q_ASSERT(staticMetaObject.cast(_o)); |
831 | auto *_t = static_cast<QPlatformFileDialogHelper *>(_o); |
832 | Q_UNUSED(_t) |
833 | switch (_id) { |
834 | case 0: _t->fileSelected((*reinterpret_cast< const QUrl(*)>(_a[1]))); break; |
835 | case 1: _t->filesSelected((*reinterpret_cast< const QList<QUrl>(*)>(_a[1]))); break; |
836 | case 2: _t->currentChanged((*reinterpret_cast< const QUrl(*)>(_a[1]))); break; |
837 | case 3: _t->directoryEntered((*reinterpret_cast< const QUrl(*)>(_a[1]))); break; |
838 | case 4: _t->filterSelected((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
839 | default: ; |
840 | } |
841 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
842 | switch (_id) { |
843 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
844 | case 1: |
845 | switch (*reinterpret_cast<int*>(_a[1])) { |
846 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
847 | case 0: |
848 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<QUrl> >(); break; |
849 | } |
850 | break; |
851 | } |
852 | } else if (_c == QMetaObject::IndexOfMethod) { |
853 | int *result = reinterpret_cast<int *>(_a[0]); |
854 | { |
855 | using _t = void (QPlatformFileDialogHelper::*)(const QUrl & ); |
856 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlatformFileDialogHelper::fileSelected)) { |
857 | *result = 0; |
858 | return; |
859 | } |
860 | } |
861 | { |
862 | using _t = void (QPlatformFileDialogHelper::*)(const QList<QUrl> & ); |
863 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlatformFileDialogHelper::filesSelected)) { |
864 | *result = 1; |
865 | return; |
866 | } |
867 | } |
868 | { |
869 | using _t = void (QPlatformFileDialogHelper::*)(const QUrl & ); |
870 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlatformFileDialogHelper::currentChanged)) { |
871 | *result = 2; |
872 | return; |
873 | } |
874 | } |
875 | { |
876 | using _t = void (QPlatformFileDialogHelper::*)(const QUrl & ); |
877 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlatformFileDialogHelper::directoryEntered)) { |
878 | *result = 3; |
879 | return; |
880 | } |
881 | } |
882 | { |
883 | using _t = void (QPlatformFileDialogHelper::*)(const QString & ); |
884 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlatformFileDialogHelper::filterSelected)) { |
885 | *result = 4; |
886 | return; |
887 | } |
888 | } |
889 | } |
890 | } |
891 | |
892 | const QMetaObject QPlatformFileDialogHelper::staticMetaObject = { { |
893 | QMetaObject::SuperData::link<QPlatformDialogHelper::staticMetaObject>(), |
894 | qt_meta_stringdata_QPlatformFileDialogHelper.offsetsAndSize, |
895 | qt_meta_data_QPlatformFileDialogHelper, |
896 | qt_static_metacall, |
897 | nullptr, |
898 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QPlatformFileDialogHelper_t |
899 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QUrl &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QList<QUrl> &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QUrl &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QUrl &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type> |
900 | |
901 | |
902 | |
903 | >, |
904 | nullptr |
905 | } }; |
906 | |
907 | |
908 | const QMetaObject *QPlatformFileDialogHelper::metaObject() const |
909 | { |
910 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
911 | } |
912 | |
913 | void *QPlatformFileDialogHelper::qt_metacast(const char *_clname) |
914 | { |
915 | if (!_clname) return nullptr; |
916 | if (!strcmp(_clname, qt_meta_stringdata_QPlatformFileDialogHelper.stringdata0)) |
917 | return static_cast<void*>(this); |
918 | return QPlatformDialogHelper::qt_metacast(_clname); |
919 | } |
920 | |
921 | int QPlatformFileDialogHelper::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
922 | { |
923 | _id = QPlatformDialogHelper::qt_metacall(_c, _id, _a); |
924 | if (_id < 0) |
925 | return _id; |
926 | if (_c == QMetaObject::InvokeMetaMethod) { |
927 | if (_id < 5) |
928 | qt_static_metacall(this, _c, _id, _a); |
929 | _id -= 5; |
930 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
931 | if (_id < 5) |
932 | qt_static_metacall(this, _c, _id, _a); |
933 | _id -= 5; |
934 | } |
935 | return _id; |
936 | } |
937 | |
938 | // SIGNAL 0 |
939 | void QPlatformFileDialogHelper::fileSelected(const QUrl & _t1) |
940 | { |
941 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
942 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
943 | } |
944 | |
945 | // SIGNAL 1 |
946 | void QPlatformFileDialogHelper::filesSelected(const QList<QUrl> & _t1) |
947 | { |
948 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
949 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
950 | } |
951 | |
952 | // SIGNAL 2 |
953 | void QPlatformFileDialogHelper::currentChanged(const QUrl & _t1) |
954 | { |
955 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
956 | QMetaObject::activate(this, &staticMetaObject, 2, _a); |
957 | } |
958 | |
959 | // SIGNAL 3 |
960 | void QPlatformFileDialogHelper::directoryEntered(const QUrl & _t1) |
961 | { |
962 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
963 | QMetaObject::activate(this, &staticMetaObject, 3, _a); |
964 | } |
965 | |
966 | // SIGNAL 4 |
967 | void QPlatformFileDialogHelper::filterSelected(const QString & _t1) |
968 | { |
969 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
970 | QMetaObject::activate(this, &staticMetaObject, 4, _a); |
971 | } |
972 | struct qt_meta_stringdata_QMessageDialogOptions_t { |
973 | const uint offsetsAndSize[14]; |
974 | char stringdata0[72]; |
975 | }; |
976 | #define QT_MOC_LITERAL(ofs, len) \ |
977 | uint(offsetof(qt_meta_stringdata_QMessageDialogOptions_t, stringdata0) + ofs), len |
978 | static const qt_meta_stringdata_QMessageDialogOptions_t qt_meta_stringdata_QMessageDialogOptions = { |
979 | { |
980 | QT_MOC_LITERAL(0, 21), // "QMessageDialogOptions" |
981 | QT_MOC_LITERAL(22, 4), // "Icon" |
982 | QT_MOC_LITERAL(27, 6), // "NoIcon" |
983 | QT_MOC_LITERAL(34, 11), // "Information" |
984 | QT_MOC_LITERAL(46, 7), // "Warning" |
985 | QT_MOC_LITERAL(54, 8), // "Critical" |
986 | QT_MOC_LITERAL(63, 8) // "Question" |
987 | |
988 | }, |
989 | "QMessageDialogOptions\0Icon\0NoIcon\0" |
990 | "Information\0Warning\0Critical\0Question" |
991 | }; |
992 | #undef QT_MOC_LITERAL |
993 | |
994 | static const uint qt_meta_data_QMessageDialogOptions[] = { |
995 | |
996 | // content: |
997 | 9, // revision |
998 | 0, // classname |
999 | 0, 0, // classinfo |
1000 | 0, 0, // methods |
1001 | 0, 0, // properties |
1002 | 1, 14, // enums/sets |
1003 | 0, 0, // constructors |
1004 | 4, // flags |
1005 | 0, // signalCount |
1006 | |
1007 | // enums: name, alias, flags, count, data |
1008 | 1, 1, 0x0, 5, 19, |
1009 | |
1010 | // enum data: key, value |
1011 | 2, uint(QMessageDialogOptions::NoIcon), |
1012 | 3, uint(QMessageDialogOptions::Information), |
1013 | 4, uint(QMessageDialogOptions::Warning), |
1014 | 5, uint(QMessageDialogOptions::Critical), |
1015 | 6, uint(QMessageDialogOptions::Question), |
1016 | |
1017 | 0 // eod |
1018 | }; |
1019 | |
1020 | const QMetaObject QMessageDialogOptions::staticMetaObject = { { |
1021 | nullptr, |
1022 | qt_meta_stringdata_QMessageDialogOptions.offsetsAndSize, |
1023 | qt_meta_data_QMessageDialogOptions, |
1024 | nullptr, |
1025 | nullptr, |
1026 | nullptr, |
1027 | nullptr |
1028 | } }; |
1029 | |
1030 | struct qt_meta_stringdata_QPlatformMessageDialogHelper_t { |
1031 | const uint offsetsAndSize[14]; |
1032 | char stringdata0[122]; |
1033 | }; |
1034 | #define QT_MOC_LITERAL(ofs, len) \ |
1035 | uint(offsetof(qt_meta_stringdata_QPlatformMessageDialogHelper_t, stringdata0) + ofs), len |
1036 | static const qt_meta_stringdata_QPlatformMessageDialogHelper_t qt_meta_stringdata_QPlatformMessageDialogHelper = { |
1037 | { |
1038 | QT_MOC_LITERAL(0, 28), // "QPlatformMessageDialogHelper" |
1039 | QT_MOC_LITERAL(29, 7), // "clicked" |
1040 | QT_MOC_LITERAL(37, 0), // "" |
1041 | QT_MOC_LITERAL(38, 37), // "QPlatformDialogHelper::Standa..." |
1042 | QT_MOC_LITERAL(76, 6), // "button" |
1043 | QT_MOC_LITERAL(83, 33), // "QPlatformDialogHelper::Button..." |
1044 | QT_MOC_LITERAL(117, 4) // "role" |
1045 | |
1046 | }, |
1047 | "QPlatformMessageDialogHelper\0clicked\0" |
1048 | "\0QPlatformDialogHelper::StandardButton\0" |
1049 | "button\0QPlatformDialogHelper::ButtonRole\0" |
1050 | "role" |
1051 | }; |
1052 | #undef QT_MOC_LITERAL |
1053 | |
1054 | static const uint qt_meta_data_QPlatformMessageDialogHelper[] = { |
1055 | |
1056 | // content: |
1057 | 9, // revision |
1058 | 0, // classname |
1059 | 0, 0, // classinfo |
1060 | 1, 14, // methods |
1061 | 0, 0, // properties |
1062 | 0, 0, // enums/sets |
1063 | 0, 0, // constructors |
1064 | 0, // flags |
1065 | 1, // signalCount |
1066 | |
1067 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
1068 | 1, 2, 20, 2, 0x06, 0 /* Public */, |
1069 | |
1070 | // signals: parameters |
1071 | QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, 4, 6, |
1072 | |
1073 | 0 // eod |
1074 | }; |
1075 | |
1076 | void QPlatformMessageDialogHelper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
1077 | { |
1078 | if (_c == QMetaObject::InvokeMetaMethod) { |
1079 | Q_ASSERT(staticMetaObject.cast(_o)); |
1080 | auto *_t = static_cast<QPlatformMessageDialogHelper *>(_o); |
1081 | Q_UNUSED(_t) |
1082 | switch (_id) { |
1083 | case 0: _t->clicked((*reinterpret_cast< QPlatformDialogHelper::StandardButton(*)>(_a[1])),(*reinterpret_cast< QPlatformDialogHelper::ButtonRole(*)>(_a[2]))); break; |
1084 | default: ; |
1085 | } |
1086 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
1087 | switch (_id) { |
1088 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
1089 | case 0: |
1090 | switch (*reinterpret_cast<int*>(_a[1])) { |
1091 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
1092 | case 1: |
1093 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QPlatformDialogHelper::ButtonRole >(); break; |
1094 | case 0: |
1095 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QPlatformDialogHelper::StandardButton >(); break; |
1096 | } |
1097 | break; |
1098 | } |
1099 | } else if (_c == QMetaObject::IndexOfMethod) { |
1100 | int *result = reinterpret_cast<int *>(_a[0]); |
1101 | { |
1102 | using _t = void (QPlatformMessageDialogHelper::*)(QPlatformDialogHelper::StandardButton , QPlatformDialogHelper::ButtonRole ); |
1103 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlatformMessageDialogHelper::clicked)) { |
1104 | *result = 0; |
1105 | return; |
1106 | } |
1107 | } |
1108 | } |
1109 | } |
1110 | |
1111 | const QMetaObject QPlatformMessageDialogHelper::staticMetaObject = { { |
1112 | QMetaObject::SuperData::link<QPlatformDialogHelper::staticMetaObject>(), |
1113 | qt_meta_stringdata_QPlatformMessageDialogHelper.offsetsAndSize, |
1114 | qt_meta_data_QPlatformMessageDialogHelper, |
1115 | qt_static_metacall, |
1116 | nullptr, |
1117 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QPlatformMessageDialogHelper_t |
1118 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QPlatformDialogHelper::StandardButton, std::false_type>, QtPrivate::TypeAndForceComplete<QPlatformDialogHelper::ButtonRole, std::false_type> |
1119 | |
1120 | |
1121 | |
1122 | >, |
1123 | nullptr |
1124 | } }; |
1125 | |
1126 | |
1127 | const QMetaObject *QPlatformMessageDialogHelper::metaObject() const |
1128 | { |
1129 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
1130 | } |
1131 | |
1132 | void *QPlatformMessageDialogHelper::qt_metacast(const char *_clname) |
1133 | { |
1134 | if (!_clname) return nullptr; |
1135 | if (!strcmp(_clname, qt_meta_stringdata_QPlatformMessageDialogHelper.stringdata0)) |
1136 | return static_cast<void*>(this); |
1137 | return QPlatformDialogHelper::qt_metacast(_clname); |
1138 | } |
1139 | |
1140 | int QPlatformMessageDialogHelper::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
1141 | { |
1142 | _id = QPlatformDialogHelper::qt_metacall(_c, _id, _a); |
1143 | if (_id < 0) |
1144 | return _id; |
1145 | if (_c == QMetaObject::InvokeMetaMethod) { |
1146 | if (_id < 1) |
1147 | qt_static_metacall(this, _c, _id, _a); |
1148 | _id -= 1; |
1149 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
1150 | if (_id < 1) |
1151 | qt_static_metacall(this, _c, _id, _a); |
1152 | _id -= 1; |
1153 | } |
1154 | return _id; |
1155 | } |
1156 | |
1157 | // SIGNAL 0 |
1158 | void QPlatformMessageDialogHelper::clicked(QPlatformDialogHelper::StandardButton _t1, QPlatformDialogHelper::ButtonRole _t2) |
1159 | { |
1160 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
1161 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
1162 | } |
1163 | QT_WARNING_POP |
1164 | QT_END_MOC_NAMESPACE |
1165 | |