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.7.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#include <QtCore/qtmochelpers.h>
13
14#include <memory>
15
16
17#include <QtCore/qxptype_traits.h>
18#if !defined(Q_MOC_OUTPUT_REVISION)
19#error "The header file 'qmlapplication.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 68
21#error "This file was generated using the moc from 6.7.2. It"
22#error "cannot be used with the include files from this version of Qt."
23#error "(The moc has changed too much.)"
24#endif
25
26#ifndef Q_CONSTINIT
27#define Q_CONSTINIT
28#endif
29
30QT_WARNING_PUSH
31QT_WARNING_DISABLE_DEPRECATED
32QT_WARNING_DISABLE_GCC("-Wuseless-cast")
33namespace {
34
35#ifdef QT_MOC_HAS_STRINGDATA
36struct qt_meta_stringdata_CLASSQmlApplicationENDCLASS_t {};
37constexpr auto qt_meta_stringdata_CLASSQmlApplicationENDCLASS = QtMocHelpers::stringData(
38 "QmlApplication",
39 "paletteChanged",
40 "",
41 "filtersCopied",
42 "filtersPasted",
43 "Mlt::Producer*",
44 "copyFilters",
45 "pasteFilters",
46 "clockFromFrames",
47 "frames",
48 "timeFromFrames",
49 "audioChannels",
50 "getNextProjectFile",
51 "filename",
52 "isProjectFolder",
53 "showStatusMessage",
54 "message",
55 "timeoutSeconds",
56 "confirmOutputFilter",
57 "contrastingColor",
58 "color",
59 "addWipe",
60 "filePath",
61 "intersects",
62 "a",
63 "b",
64 "dialogModality",
65 "Qt::WindowModality",
66 "mousePos",
67 "toolTipBaseColor",
68 "toolTipTextColor",
69 "OS",
70 "mainWinRect",
71 "hasFiltersOnClipboard",
72 "devicePixelRatio",
73 "maxTextureSize",
74 "wipes"
75);
76#else // !QT_MOC_HAS_STRINGDATA
77#error "qtmochelpers.h not found or too old."
78#endif // !QT_MOC_HAS_STRINGDATA
79} // unnamed namespace
80
81Q_CONSTINIT static const uint qt_meta_data_CLASSQmlApplicationENDCLASS[] = {
82
83 // content:
84 12, // revision
85 0, // classname
86 0, 0, // classinfo
87 16, 14, // methods
88 10, 148, // properties
89 0, 0, // enums/sets
90 0, 0, // constructors
91 0, // flags
92 3, // signalCount
93
94 // signals: name, argc, parameters, tag, flags, initial metatype offsets
95 1, 0, 110, 2, 0x06, 11 /* Public */,
96 3, 0, 111, 2, 0x06, 12 /* Public */,
97 4, 1, 112, 2, 0x06, 13 /* Public */,
98
99 // methods: name, argc, parameters, tag, flags, initial metatype offsets
100 6, 0, 115, 2, 0x02, 15 /* Public */,
101 7, 0, 116, 2, 0x02, 16 /* Public */,
102 8, 1, 117, 2, 0x02, 17 /* Public */,
103 10, 1, 120, 2, 0x02, 19 /* Public */,
104 11, 0, 123, 2, 0x02, 21 /* Public */,
105 12, 1, 124, 2, 0x02, 22 /* Public */,
106 14, 0, 127, 2, 0x02, 24 /* Public */,
107 15, 2, 128, 2, 0x02, 25 /* Public */,
108 15, 1, 133, 2, 0x22, 28 /* Public | MethodCloned */,
109 18, 0, 136, 2, 0x02, 30 /* Public */,
110 19, 1, 137, 2, 0x02, 31 /* Public */,
111 21, 1, 140, 2, 0x02, 33 /* Public */,
112 23, 2, 143, 2, 0x02, 35 /* Public */,
113
114 // signals: parameters
115 QMetaType::Void,
116 QMetaType::Void,
117 QMetaType::Void, 0x80000000 | 5, 2,
118
119 // methods: parameters
120 QMetaType::Void,
121 QMetaType::Void,
122 QMetaType::QString, QMetaType::Int, 9,
123 QMetaType::QString, QMetaType::Int, 9,
124 QMetaType::Int,
125 QMetaType::QString, QMetaType::QString, 13,
126 QMetaType::Bool,
127 QMetaType::Void, QMetaType::QString, QMetaType::Int, 16, 17,
128 QMetaType::Void, QMetaType::QString, 16,
129 QMetaType::Bool,
130 QMetaType::QColor, QMetaType::QString, 20,
131 QMetaType::Bool, QMetaType::QString, 22,
132 QMetaType::Bool, QMetaType::QRectF, QMetaType::QRectF, 24, 25,
133
134 // properties: name, type, flags
135 26, 0x80000000 | 27, 0x00015409, uint(-1), 0,
136 28, QMetaType::QPoint, 0x00015001, uint(-1), 0,
137 29, QMetaType::QColor, 0x00015001, uint(0), 0,
138 30, QMetaType::QColor, 0x00015001, uint(0), 0,
139 31, QMetaType::QString, 0x00015401, uint(-1), 0,
140 32, QMetaType::QRect, 0x00015001, uint(-1), 0,
141 33, QMetaType::Bool, 0x00015001, uint(1), 0,
142 34, QMetaType::QReal, 0x00015401, uint(-1), 0,
143 35, QMetaType::Int, 0x00015401, uint(-1), 0,
144 36, QMetaType::QStringList, 0x00015401, uint(-1), 0,
145
146 0 // eod
147};
148
149Q_CONSTINIT const QMetaObject QmlApplication::staticMetaObject = { {
150 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
151 qt_meta_stringdata_CLASSQmlApplicationENDCLASS.offsetsAndSizes,
152 qt_meta_data_CLASSQmlApplicationENDCLASS,
153 qt_static_metacall,
154 nullptr,
155 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSQmlApplicationENDCLASS_t,
156 // property 'dialogModality'
157 QtPrivate::TypeAndForceComplete<Qt::WindowModality, std::true_type>,
158 // property 'mousePos'
159 QtPrivate::TypeAndForceComplete<QPoint, std::true_type>,
160 // property 'toolTipBaseColor'
161 QtPrivate::TypeAndForceComplete<QColor, std::true_type>,
162 // property 'toolTipTextColor'
163 QtPrivate::TypeAndForceComplete<QColor, std::true_type>,
164 // property 'OS'
165 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
166 // property 'mainWinRect'
167 QtPrivate::TypeAndForceComplete<QRect, std::true_type>,
168 // property 'hasFiltersOnClipboard'
169 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
170 // property 'devicePixelRatio'
171 QtPrivate::TypeAndForceComplete<qreal, std::true_type>,
172 // property 'maxTextureSize'
173 QtPrivate::TypeAndForceComplete<int, std::true_type>,
174 // property 'wipes'
175 QtPrivate::TypeAndForceComplete<QStringList, std::true_type>,
176 // Q_OBJECT / Q_GADGET
177 QtPrivate::TypeAndForceComplete<QmlApplication, std::true_type>,
178 // method 'paletteChanged'
179 QtPrivate::TypeAndForceComplete<void, std::false_type>,
180 // method 'filtersCopied'
181 QtPrivate::TypeAndForceComplete<void, std::false_type>,
182 // method 'filtersPasted'
183 QtPrivate::TypeAndForceComplete<void, std::false_type>,
184 QtPrivate::TypeAndForceComplete<Mlt::Producer *, std::false_type>,
185 // method 'copyFilters'
186 QtPrivate::TypeAndForceComplete<void, std::false_type>,
187 // method 'pasteFilters'
188 QtPrivate::TypeAndForceComplete<void, std::false_type>,
189 // method 'clockFromFrames'
190 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
191 QtPrivate::TypeAndForceComplete<int, std::false_type>,
192 // method 'timeFromFrames'
193 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
194 QtPrivate::TypeAndForceComplete<int, std::false_type>,
195 // method 'audioChannels'
196 QtPrivate::TypeAndForceComplete<int, std::false_type>,
197 // method 'getNextProjectFile'
198 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
199 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
200 // method 'isProjectFolder'
201 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
202 // method 'showStatusMessage'
203 QtPrivate::TypeAndForceComplete<void, std::false_type>,
204 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
205 QtPrivate::TypeAndForceComplete<int, std::false_type>,
206 // method 'showStatusMessage'
207 QtPrivate::TypeAndForceComplete<void, std::false_type>,
208 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
209 // method 'confirmOutputFilter'
210 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
211 // method 'contrastingColor'
212 QtPrivate::TypeAndForceComplete<QColor, std::false_type>,
213 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
214 // method 'addWipe'
215 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
216 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
217 // method 'intersects'
218 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
219 QtPrivate::TypeAndForceComplete<const QRectF &, std::false_type>,
220 QtPrivate::TypeAndForceComplete<const QRectF &, std::false_type>
221 >,
222 nullptr
223} };
224
225void QmlApplication::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
226{
227 if (_c == QMetaObject::InvokeMetaMethod) {
228 auto *_t = static_cast<QmlApplication *>(_o);
229 (void)_t;
230 switch (_id) {
231 case 0: _t->paletteChanged(); break;
232 case 1: _t->filtersCopied(); break;
233 case 2: _t->filtersPasted((*reinterpret_cast< std::add_pointer_t<Mlt::Producer*>>(_a[1]))); break;
234 case 3: _t->copyFilters(); break;
235 case 4: _t->pasteFilters(); break;
236 case 5: { QString _r = _t->clockFromFrames((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])));
237 if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); } break;
238 case 6: { QString _r = _t->timeFromFrames((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])));
239 if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); } break;
240 case 7: { int _r = _t->audioChannels();
241 if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); } break;
242 case 8: { QString _r = _t->getNextProjectFile((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])));
243 if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); } break;
244 case 9: { bool _r = _t->isProjectFolder();
245 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
246 case 10: _t->showStatusMessage((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
247 case 11: _t->showStatusMessage((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
248 case 12: { bool _r = _t->confirmOutputFilter();
249 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
250 case 13: { QColor _r = _t->contrastingColor((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])));
251 if (_a[0]) *reinterpret_cast< QColor*>(_a[0]) = std::move(_r); } break;
252 case 14: { bool _r = _t->addWipe((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])));
253 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
254 case 15: { bool _r = _t->intersects((*reinterpret_cast< std::add_pointer_t<QRectF>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QRectF>>(_a[2])));
255 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
256 default: ;
257 }
258 } else if (_c == QMetaObject::IndexOfMethod) {
259 int *result = reinterpret_cast<int *>(_a[0]);
260 {
261 using _t = void (QmlApplication::*)();
262 if (_t _q_method = &QmlApplication::paletteChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
263 *result = 0;
264 return;
265 }
266 }
267 {
268 using _t = void (QmlApplication::*)();
269 if (_t _q_method = &QmlApplication::filtersCopied; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
270 *result = 1;
271 return;
272 }
273 }
274 {
275 using _t = void (QmlApplication::*)(Mlt::Producer * );
276 if (_t _q_method = &QmlApplication::filtersPasted; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
277 *result = 2;
278 return;
279 }
280 }
281 } else if (_c == QMetaObject::ReadProperty) {
282 auto *_t = static_cast<QmlApplication *>(_o);
283 (void)_t;
284 void *_v = _a[0];
285 switch (_id) {
286 case 0: *reinterpret_cast< Qt::WindowModality*>(_v) = _t->dialogModality(); break;
287 case 1: *reinterpret_cast< QPoint*>(_v) = _t->mousePos(); break;
288 case 2: *reinterpret_cast< QColor*>(_v) = _t->toolTipBaseColor(); break;
289 case 3: *reinterpret_cast< QColor*>(_v) = _t->toolTipTextColor(); break;
290 case 4: *reinterpret_cast< QString*>(_v) = _t->OS(); break;
291 case 5: *reinterpret_cast< QRect*>(_v) = _t->mainWinRect(); break;
292 case 6: *reinterpret_cast< bool*>(_v) = _t->hasFiltersOnClipboard(); break;
293 case 7: *reinterpret_cast< qreal*>(_v) = _t->devicePixelRatio(); break;
294 case 8: *reinterpret_cast< int*>(_v) = _t->maxTextureSize(); break;
295 case 9: *reinterpret_cast< QStringList*>(_v) = _t->wipes(); break;
296 default: break;
297 }
298 } else if (_c == QMetaObject::WriteProperty) {
299 } else if (_c == QMetaObject::ResetProperty) {
300 } else if (_c == QMetaObject::BindableProperty) {
301 }
302}
303
304const QMetaObject *QmlApplication::metaObject() const
305{
306 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
307}
308
309void *QmlApplication::qt_metacast(const char *_clname)
310{
311 if (!_clname) return nullptr;
312 if (!strcmp(_clname, qt_meta_stringdata_CLASSQmlApplicationENDCLASS.stringdata0))
313 return static_cast<void*>(this);
314 return QObject::qt_metacast(_clname);
315}
316
317int QmlApplication::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
318{
319 _id = QObject::qt_metacall(_c, _id, _a);
320 if (_id < 0)
321 return _id;
322 if (_c == QMetaObject::InvokeMetaMethod) {
323 if (_id < 16)
324 qt_static_metacall(this, _c, _id, _a);
325 _id -= 16;
326 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
327 if (_id < 16)
328 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
329 _id -= 16;
330 }else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
331 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
332 || _c == QMetaObject::RegisterPropertyMetaType) {
333 qt_static_metacall(this, _c, _id, _a);
334 _id -= 10;
335 }
336 return _id;
337}
338
339// SIGNAL 0
340void QmlApplication::paletteChanged()
341{
342 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
343}
344
345// SIGNAL 1
346void QmlApplication::filtersCopied()
347{
348 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
349}
350
351// SIGNAL 2
352void QmlApplication::filtersPasted(Mlt::Producer * _t1)
353{
354 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
355 QMetaObject::activate(this, &staticMetaObject, 2, _a);
356}
357QT_WARNING_POP