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