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