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