CuteLogger
Fast and simple logging solution for Qt based applications
moc_qmlapplication.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'qmlapplication.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.6.2)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include "../../../../src/qmltypes/qmlapplication.h"
10#include <QtCore/qmetatype.h>
11
12#if __has_include(<QtCore/qtmochelpers.h>)
13#include <QtCore/qtmochelpers.h>
14#else
15QT_BEGIN_MOC_NAMESPACE
16#endif
17
18
19#include <memory>
20
21#if !defined(Q_MOC_OUTPUT_REVISION)
22#error "The header file 'qmlapplication.h' doesn't include <QObject>."
23#elif Q_MOC_OUTPUT_REVISION != 68
24#error "This file was generated using the moc from 6.6.2. It"
25#error "cannot be used with the include files from this version of Qt."
26#error "(The moc has changed too much.)"
27#endif
28
29#ifndef Q_CONSTINIT
30#define Q_CONSTINIT
31#endif
32
33QT_WARNING_PUSH
34QT_WARNING_DISABLE_DEPRECATED
35QT_WARNING_DISABLE_GCC("-Wuseless-cast")
36namespace {
37
38#ifdef QT_MOC_HAS_STRINGDATA
39struct qt_meta_stringdata_CLASSQmlApplicationENDCLASS_t {};
40constexpr auto qt_meta_stringdata_CLASSQmlApplicationENDCLASS = QtMocHelpers::stringData(
41 "QmlApplication",
42 "paletteChanged",
43 "",
44 "filtersCopied",
45 "filtersPasted",
46 "Mlt::Producer*",
47 "copyFilters",
48 "pasteFilters",
49 "clockFromFrames",
50 "frames",
51 "timeFromFrames",
52 "audioChannels",
53 "getNextProjectFile",
54 "filename",
55 "isProjectFolder",
56 "showStatusMessage",
57 "message",
58 "timeoutSeconds",
59 "confirmOutputFilter",
60 "contrastingColor",
61 "color",
62 "addWipe",
63 "filePath",
64 "intersects",
65 "a",
66 "b",
67 "dialogModality",
68 "Qt::WindowModality",
69 "mousePos",
70 "toolTipBaseColor",
71 "toolTipTextColor",
72 "OS",
73 "mainWinRect",
74 "hasFiltersOnClipboard",
75 "devicePixelRatio",
76 "maxTextureSize",
77 "wipes"
78);
79#else // !QT_MOC_HAS_STRING_DATA
80struct qt_meta_stringdata_CLASSQmlApplicationENDCLASS_t {
81 uint offsetsAndSizes[74];
82 char stringdata0[15];
83 char stringdata1[15];
84 char stringdata2[1];
85 char stringdata3[14];
86 char stringdata4[14];
87 char stringdata5[15];
88 char stringdata6[12];
89 char stringdata7[13];
90 char stringdata8[16];
91 char stringdata9[7];
92 char stringdata10[15];
93 char stringdata11[14];
94 char stringdata12[19];
95 char stringdata13[9];
96 char stringdata14[16];
97 char stringdata15[18];
98 char stringdata16[8];
99 char stringdata17[15];
100 char stringdata18[20];
101 char stringdata19[17];
102 char stringdata20[6];
103 char stringdata21[8];
104 char stringdata22[9];
105 char stringdata23[11];
106 char stringdata24[2];
107 char stringdata25[2];
108 char stringdata26[15];
109 char stringdata27[19];
110 char stringdata28[9];
111 char stringdata29[17];
112 char stringdata30[17];
113 char stringdata31[3];
114 char stringdata32[12];
115 char stringdata33[22];
116 char stringdata34[17];
117 char stringdata35[15];
118 char stringdata36[6];
119};
120#define QT_MOC_LITERAL(ofs, len) \
121 uint(sizeof(qt_meta_stringdata_CLASSQmlApplicationENDCLASS_t::offsetsAndSizes) + ofs), len
122Q_CONSTINIT static const qt_meta_stringdata_CLASSQmlApplicationENDCLASS_t qt_meta_stringdata_CLASSQmlApplicationENDCLASS = {
123 {
124 QT_MOC_LITERAL(0, 14), // "QmlApplication"
125 QT_MOC_LITERAL(15, 14), // "paletteChanged"
126 QT_MOC_LITERAL(30, 0), // ""
127 QT_MOC_LITERAL(31, 13), // "filtersCopied"
128 QT_MOC_LITERAL(45, 13), // "filtersPasted"
129 QT_MOC_LITERAL(59, 14), // "Mlt::Producer*"
130 QT_MOC_LITERAL(74, 11), // "copyFilters"
131 QT_MOC_LITERAL(86, 12), // "pasteFilters"
132 QT_MOC_LITERAL(99, 15), // "clockFromFrames"
133 QT_MOC_LITERAL(115, 6), // "frames"
134 QT_MOC_LITERAL(122, 14), // "timeFromFrames"
135 QT_MOC_LITERAL(137, 13), // "audioChannels"
136 QT_MOC_LITERAL(151, 18), // "getNextProjectFile"
137 QT_MOC_LITERAL(170, 8), // "filename"
138 QT_MOC_LITERAL(179, 15), // "isProjectFolder"
139 QT_MOC_LITERAL(195, 17), // "showStatusMessage"
140 QT_MOC_LITERAL(213, 7), // "message"
141 QT_MOC_LITERAL(221, 14), // "timeoutSeconds"
142 QT_MOC_LITERAL(236, 19), // "confirmOutputFilter"
143 QT_MOC_LITERAL(256, 16), // "contrastingColor"
144 QT_MOC_LITERAL(273, 5), // "color"
145 QT_MOC_LITERAL(279, 7), // "addWipe"
146 QT_MOC_LITERAL(287, 8), // "filePath"
147 QT_MOC_LITERAL(296, 10), // "intersects"
148 QT_MOC_LITERAL(307, 1), // "a"
149 QT_MOC_LITERAL(309, 1), // "b"
150 QT_MOC_LITERAL(311, 14), // "dialogModality"
151 QT_MOC_LITERAL(326, 18), // "Qt::WindowModality"
152 QT_MOC_LITERAL(345, 8), // "mousePos"
153 QT_MOC_LITERAL(354, 16), // "toolTipBaseColor"
154 QT_MOC_LITERAL(371, 16), // "toolTipTextColor"
155 QT_MOC_LITERAL(388, 2), // "OS"
156 QT_MOC_LITERAL(391, 11), // "mainWinRect"
157 QT_MOC_LITERAL(403, 21), // "hasFiltersOnClipboard"
158 QT_MOC_LITERAL(425, 16), // "devicePixelRatio"
159 QT_MOC_LITERAL(442, 14), // "maxTextureSize"
160 QT_MOC_LITERAL(457, 5) // "wipes"
161 },
162 "QmlApplication",
163 "paletteChanged",
164 "",
165 "filtersCopied",
166 "filtersPasted",
167 "Mlt::Producer*",
168 "copyFilters",
169 "pasteFilters",
170 "clockFromFrames",
171 "frames",
172 "timeFromFrames",
173 "audioChannels",
174 "getNextProjectFile",
175 "filename",
176 "isProjectFolder",
177 "showStatusMessage",
178 "message",
179 "timeoutSeconds",
180 "confirmOutputFilter",
181 "contrastingColor",
182 "color",
183 "addWipe",
184 "filePath",
185 "intersects",
186 "a",
187 "b",
188 "dialogModality",
189 "Qt::WindowModality",
190 "mousePos",
191 "toolTipBaseColor",
192 "toolTipTextColor",
193 "OS",
194 "mainWinRect",
195 "hasFiltersOnClipboard",
196 "devicePixelRatio",
197 "maxTextureSize",
198 "wipes"
199};
200#undef QT_MOC_LITERAL
201#endif // !QT_MOC_HAS_STRING_DATA
202} // unnamed namespace
203
204Q_CONSTINIT static const uint qt_meta_data_CLASSQmlApplicationENDCLASS[] = {
205
206 // content:
207 12, // revision
208 0, // classname
209 0, 0, // classinfo
210 16, 14, // methods
211 10, 148, // properties
212 0, 0, // enums/sets
213 0, 0, // constructors
214 0, // flags
215 3, // signalCount
216
217 // signals: name, argc, parameters, tag, flags, initial metatype offsets
218 1, 0, 110, 2, 0x06, 11 /* Public */,
219 3, 0, 111, 2, 0x06, 12 /* Public */,
220 4, 1, 112, 2, 0x06, 13 /* Public */,
221
222 // methods: name, argc, parameters, tag, flags, initial metatype offsets
223 6, 0, 115, 2, 0x02, 15 /* Public */,
224 7, 0, 116, 2, 0x02, 16 /* Public */,
225 8, 1, 117, 2, 0x02, 17 /* Public */,
226 10, 1, 120, 2, 0x02, 19 /* Public */,
227 11, 0, 123, 2, 0x02, 21 /* Public */,
228 12, 1, 124, 2, 0x02, 22 /* Public */,
229 14, 0, 127, 2, 0x02, 24 /* Public */,
230 15, 2, 128, 2, 0x02, 25 /* Public */,
231 15, 1, 133, 2, 0x22, 28 /* Public | MethodCloned */,
232 18, 0, 136, 2, 0x02, 30 /* Public */,
233 19, 1, 137, 2, 0x02, 31 /* Public */,
234 21, 1, 140, 2, 0x02, 33 /* Public */,
235 23, 2, 143, 2, 0x02, 35 /* Public */,
236
237 // signals: parameters
238 QMetaType::Void,
239 QMetaType::Void,
240 QMetaType::Void, 0x80000000 | 5, 2,
241
242 // methods: parameters
243 QMetaType::Void,
244 QMetaType::Void,
245 QMetaType::QString, QMetaType::Int, 9,
246 QMetaType::QString, QMetaType::Int, 9,
247 QMetaType::Int,
248 QMetaType::QString, QMetaType::QString, 13,
249 QMetaType::Bool,
250 QMetaType::Void, QMetaType::QString, QMetaType::Int, 16, 17,
251 QMetaType::Void, QMetaType::QString, 16,
252 QMetaType::Bool,
253 QMetaType::QColor, QMetaType::QString, 20,
254 QMetaType::Bool, QMetaType::QString, 22,
255 QMetaType::Bool, QMetaType::QRectF, QMetaType::QRectF, 24, 25,
256
257 // properties: name, type, flags
258 26, 0x80000000 | 27, 0x00015409, uint(-1), 0,
259 28, QMetaType::QPoint, 0x00015001, uint(-1), 0,
260 29, QMetaType::QColor, 0x00015001, uint(0), 0,
261 30, QMetaType::QColor, 0x00015001, uint(0), 0,
262 31, QMetaType::QString, 0x00015401, uint(-1), 0,
263 32, QMetaType::QRect, 0x00015001, uint(-1), 0,
264 33, QMetaType::Bool, 0x00015001, uint(1), 0,
265 34, QMetaType::QReal, 0x00015401, uint(-1), 0,
266 35, QMetaType::Int, 0x00015401, uint(-1), 0,
267 36, QMetaType::QStringList, 0x00015401, uint(-1), 0,
268
269 0 // eod
270};
271
272Q_CONSTINIT const QMetaObject QmlApplication::staticMetaObject = { {
273 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
274 qt_meta_stringdata_CLASSQmlApplicationENDCLASS.offsetsAndSizes,
275 qt_meta_data_CLASSQmlApplicationENDCLASS,
276 qt_static_metacall,
277 nullptr,
278 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSQmlApplicationENDCLASS_t,
279 // property 'dialogModality'
280 QtPrivate::TypeAndForceComplete<Qt::WindowModality, std::true_type>,
281 // property 'mousePos'
282 QtPrivate::TypeAndForceComplete<QPoint, std::true_type>,
283 // property 'toolTipBaseColor'
284 QtPrivate::TypeAndForceComplete<QColor, std::true_type>,
285 // property 'toolTipTextColor'
286 QtPrivate::TypeAndForceComplete<QColor, std::true_type>,
287 // property 'OS'
288 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
289 // property 'mainWinRect'
290 QtPrivate::TypeAndForceComplete<QRect, std::true_type>,
291 // property 'hasFiltersOnClipboard'
292 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
293 // property 'devicePixelRatio'
294 QtPrivate::TypeAndForceComplete<qreal, std::true_type>,
295 // property 'maxTextureSize'
296 QtPrivate::TypeAndForceComplete<int, std::true_type>,
297 // property 'wipes'
298 QtPrivate::TypeAndForceComplete<QStringList, std::true_type>,
299 // Q_OBJECT / Q_GADGET
300 QtPrivate::TypeAndForceComplete<QmlApplication, std::true_type>,
301 // method 'paletteChanged'
302 QtPrivate::TypeAndForceComplete<void, std::false_type>,
303 // method 'filtersCopied'
304 QtPrivate::TypeAndForceComplete<void, std::false_type>,
305 // method 'filtersPasted'
306 QtPrivate::TypeAndForceComplete<void, std::false_type>,
307 QtPrivate::TypeAndForceComplete<Mlt::Producer *, std::false_type>,
308 // method 'copyFilters'
309 QtPrivate::TypeAndForceComplete<void, std::false_type>,
310 // method 'pasteFilters'
311 QtPrivate::TypeAndForceComplete<void, std::false_type>,
312 // method 'clockFromFrames'
313 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
314 QtPrivate::TypeAndForceComplete<int, std::false_type>,
315 // method 'timeFromFrames'
316 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
317 QtPrivate::TypeAndForceComplete<int, std::false_type>,
318 // method 'audioChannels'
319 QtPrivate::TypeAndForceComplete<int, std::false_type>,
320 // method 'getNextProjectFile'
321 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
322 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
323 // method 'isProjectFolder'
324 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
325 // method 'showStatusMessage'
326 QtPrivate::TypeAndForceComplete<void, std::false_type>,
327 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
328 QtPrivate::TypeAndForceComplete<int, std::false_type>,
329 // method 'showStatusMessage'
330 QtPrivate::TypeAndForceComplete<void, std::false_type>,
331 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
332 // method 'confirmOutputFilter'
333 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
334 // method 'contrastingColor'
335 QtPrivate::TypeAndForceComplete<QColor, std::false_type>,
336 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
337 // method 'addWipe'
338 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
339 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
340 // method 'intersects'
341 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
342 QtPrivate::TypeAndForceComplete<const QRectF &, std::false_type>,
343 QtPrivate::TypeAndForceComplete<const QRectF &, std::false_type>
344 >,
345 nullptr
346} };
347
348void QmlApplication::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
349{
350 if (_c == QMetaObject::InvokeMetaMethod) {
351 auto *_t = static_cast<QmlApplication *>(_o);
352 (void)_t;
353 switch (_id) {
354 case 0: _t->paletteChanged(); break;
355 case 1: _t->filtersCopied(); break;
356 case 2: _t->filtersPasted((*reinterpret_cast< std::add_pointer_t<Mlt::Producer*>>(_a[1]))); break;
357 case 3: _t->copyFilters(); break;
358 case 4: _t->pasteFilters(); break;
359 case 5: { QString _r = _t->clockFromFrames((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])));
360 if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); } break;
361 case 6: { QString _r = _t->timeFromFrames((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])));
362 if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); } break;
363 case 7: { int _r = _t->audioChannels();
364 if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); } break;
365 case 8: { QString _r = _t->getNextProjectFile((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])));
366 if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); } break;
367 case 9: { bool _r = _t->isProjectFolder();
368 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
369 case 10: _t->showStatusMessage((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
370 case 11: _t->showStatusMessage((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
371 case 12: { bool _r = _t->confirmOutputFilter();
372 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
373 case 13: { QColor _r = _t->contrastingColor((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])));
374 if (_a[0]) *reinterpret_cast< QColor*>(_a[0]) = std::move(_r); } break;
375 case 14: { bool _r = _t->addWipe((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])));
376 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
377 case 15: { bool _r = _t->intersects((*reinterpret_cast< std::add_pointer_t<QRectF>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QRectF>>(_a[2])));
378 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
379 default: ;
380 }
381 } else if (_c == QMetaObject::IndexOfMethod) {
382 int *result = reinterpret_cast<int *>(_a[0]);
383 {
384 using _t = void (QmlApplication::*)();
385 if (_t _q_method = &QmlApplication::paletteChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
386 *result = 0;
387 return;
388 }
389 }
390 {
391 using _t = void (QmlApplication::*)();
392 if (_t _q_method = &QmlApplication::filtersCopied; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
393 *result = 1;
394 return;
395 }
396 }
397 {
398 using _t = void (QmlApplication::*)(Mlt::Producer * );
399 if (_t _q_method = &QmlApplication::filtersPasted; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
400 *result = 2;
401 return;
402 }
403 }
404 } else if (_c == QMetaObject::ReadProperty) {
405 auto *_t = static_cast<QmlApplication *>(_o);
406 (void)_t;
407 void *_v = _a[0];
408 switch (_id) {
409 case 0: *reinterpret_cast< Qt::WindowModality*>(_v) = _t->dialogModality(); break;
410 case 1: *reinterpret_cast< QPoint*>(_v) = _t->mousePos(); break;
411 case 2: *reinterpret_cast< QColor*>(_v) = _t->toolTipBaseColor(); break;
412 case 3: *reinterpret_cast< QColor*>(_v) = _t->toolTipTextColor(); break;
413 case 4: *reinterpret_cast< QString*>(_v) = _t->OS(); break;
414 case 5: *reinterpret_cast< QRect*>(_v) = _t->mainWinRect(); break;
415 case 6: *reinterpret_cast< bool*>(_v) = _t->hasFiltersOnClipboard(); break;
416 case 7: *reinterpret_cast< qreal*>(_v) = _t->devicePixelRatio(); break;
417 case 8: *reinterpret_cast< int*>(_v) = _t->maxTextureSize(); break;
418 case 9: *reinterpret_cast< QStringList*>(_v) = _t->wipes(); break;
419 default: break;
420 }
421 } else if (_c == QMetaObject::WriteProperty) {
422 } else if (_c == QMetaObject::ResetProperty) {
423 } else if (_c == QMetaObject::BindableProperty) {
424 }
425}
426
427const QMetaObject *QmlApplication::metaObject() const
428{
429 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
430}
431
432void *QmlApplication::qt_metacast(const char *_clname)
433{
434 if (!_clname) return nullptr;
435 if (!strcmp(_clname, qt_meta_stringdata_CLASSQmlApplicationENDCLASS.stringdata0))
436 return static_cast<void*>(this);
437 return QObject::qt_metacast(_clname);
438}
439
440int QmlApplication::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
441{
442 _id = QObject::qt_metacall(_c, _id, _a);
443 if (_id < 0)
444 return _id;
445 if (_c == QMetaObject::InvokeMetaMethod) {
446 if (_id < 16)
447 qt_static_metacall(this, _c, _id, _a);
448 _id -= 16;
449 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
450 if (_id < 16)
451 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
452 _id -= 16;
453 }else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
454 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
455 || _c == QMetaObject::RegisterPropertyMetaType) {
456 qt_static_metacall(this, _c, _id, _a);
457 _id -= 10;
458 }
459 return _id;
460}
461
462// SIGNAL 0
463void QmlApplication::paletteChanged()
464{
465 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
466}
467
468// SIGNAL 1
469void QmlApplication::filtersCopied()
470{
471 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
472}
473
474// SIGNAL 2
475void QmlApplication::filtersPasted(Mlt::Producer * _t1)
476{
477 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
478 QMetaObject::activate(this, &staticMetaObject, 2, _a);
479}
480QT_WARNING_POP