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 69 (Qt 6.11.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 != 69
21#error "This file was generated using the moc from 6.11.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
37template <> constexpr inline auto QmlApplication::qt_create_metaobjectdata<qt_meta_tag_ZN14QmlApplicationE_t>()
38{
39 namespace QMC = QtMocConstants;
40 QtMocHelpers::StringRefStorage qt_stringData {
41 "QmlApplication",
42 "paletteChanged",
43 "",
44 "filtersCopied",
45 "filtersPasted",
46 "Mlt::Producer*",
47 "copyAllFilters",
48 "copyEnabledFilters",
49 "copyCurrentFilter",
50 "clockFromFrames",
51 "frames",
52 "timeFromFrames",
53 "audioChannels",
54 "getNextProjectFile",
55 "filename",
56 "isProjectFolder",
57 "showStatusMessage",
58 "message",
59 "timeoutSeconds",
60 "showAddOnFiltersDialog",
61 "confirmOutputFilter",
62 "contrastingColor",
63 "QColor",
64 "color",
65 "addWipe",
66 "filePath",
67 "intersects",
68 "QRectF",
69 "a",
70 "b",
71 "actionFirstShortcut",
72 "actionName",
73 "dialogModality",
74 "Qt::WindowModality",
75 "mousePos",
76 "QPoint",
77 "toolTipBaseColor",
78 "toolTipTextColor",
79 "OS",
80 "mainWinRect",
81 "QRect",
82 "hasFiltersOnClipboard",
83 "devicePixelRatio",
84 "maxTextureSize",
85 "wipes"
86 };
87
88 QtMocHelpers::UintData qt_methods {
89 // Signal 'paletteChanged'
90 QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
91 // Signal 'filtersCopied'
92 QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
93 // Signal 'filtersPasted'
94 QtMocHelpers::SignalData<void(Mlt::Producer *)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
95 { 0x80000000 | 5, 2 },
96 }}),
97 // Method 'copyAllFilters'
98 QtMocHelpers::MethodData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
99 // Method 'copyEnabledFilters'
100 QtMocHelpers::MethodData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
101 // Method 'copyCurrentFilter'
102 QtMocHelpers::MethodData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
103 // Method 'clockFromFrames'
104 QtMocHelpers::MethodData<QString(int)>(9, 2, QMC::AccessPublic, QMetaType::QString, {{
105 { QMetaType::Int, 10 },
106 }}),
107 // Method 'timeFromFrames'
108 QtMocHelpers::MethodData<QString(int)>(11, 2, QMC::AccessPublic, QMetaType::QString, {{
109 { QMetaType::Int, 10 },
110 }}),
111 // Method 'audioChannels'
112 QtMocHelpers::MethodData<int()>(12, 2, QMC::AccessPublic, QMetaType::Int),
113 // Method 'getNextProjectFile'
114 QtMocHelpers::MethodData<QString(const QString &)>(13, 2, QMC::AccessPublic, QMetaType::QString, {{
115 { QMetaType::QString, 14 },
116 }}),
117 // Method 'isProjectFolder'
118 QtMocHelpers::MethodData<bool()>(15, 2, QMC::AccessPublic, QMetaType::Bool),
119 // Method 'showStatusMessage'
120 QtMocHelpers::MethodData<void(const QString &, int)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
121 { QMetaType::QString, 17 }, { QMetaType::Int, 18 },
122 }}),
123 // Method 'showStatusMessage'
124 QtMocHelpers::MethodData<void(const QString &)>(16, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
125 { QMetaType::QString, 17 },
126 }}),
127 // Method 'showAddOnFiltersDialog'
128 QtMocHelpers::MethodData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
129 // Method 'confirmOutputFilter'
130 QtMocHelpers::MethodData<bool()>(20, 2, QMC::AccessPublic, QMetaType::Bool),
131 // Method 'contrastingColor'
132 QtMocHelpers::MethodData<QColor(QString)>(21, 2, QMC::AccessPublic, 0x80000000 | 22, {{
133 { QMetaType::QString, 23 },
134 }}),
135 // Method 'addWipe'
136 QtMocHelpers::MethodData<bool(const QString &)>(24, 2, QMC::AccessPublic, QMetaType::Bool, {{
137 { QMetaType::QString, 25 },
138 }}),
139 // Method 'intersects'
140 QtMocHelpers::MethodData<bool(const QRectF &, const QRectF &)>(26, 2, QMC::AccessPublic, QMetaType::Bool, {{
141 { 0x80000000 | 27, 28 }, { 0x80000000 | 27, 29 },
142 }}),
143 // Method 'actionFirstShortcut'
144 QtMocHelpers::MethodData<QString(const QString &)>(30, 2, QMC::AccessPublic, QMetaType::QString, {{
145 { QMetaType::QString, 31 },
146 }}),
147 };
148 QtMocHelpers::UintData qt_properties {
149 // property 'dialogModality'
150 QtMocHelpers::PropertyData<Qt::WindowModality>(32, 0x80000000 | 33, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
151 // property 'mousePos'
152 QtMocHelpers::PropertyData<QPoint>(34, 0x80000000 | 35, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
153 // property 'toolTipBaseColor'
154 QtMocHelpers::PropertyData<QColor>(36, 0x80000000 | 22, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 0),
155 // property 'toolTipTextColor'
156 QtMocHelpers::PropertyData<QColor>(37, 0x80000000 | 22, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 0),
157 // property 'OS'
158 QtMocHelpers::PropertyData<QString>(38, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
159 // property 'mainWinRect'
160 QtMocHelpers::PropertyData<QRect>(39, 0x80000000 | 40, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
161 // property 'hasFiltersOnClipboard'
162 QtMocHelpers::PropertyData<bool>(41, QMetaType::Bool, QMC::DefaultPropertyFlags, 1),
163 // property 'devicePixelRatio'
164 QtMocHelpers::PropertyData<qreal>(42, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant),
165 // property 'maxTextureSize'
166 QtMocHelpers::PropertyData<int>(43, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Constant),
167 // property 'wipes'
168 QtMocHelpers::PropertyData<QStringList>(44, QMetaType::QStringList, QMC::DefaultPropertyFlags | QMC::Constant),
169 };
170 QtMocHelpers::UintData qt_enums {
171 };
172 return QtMocHelpers::metaObjectData<QmlApplication, qt_meta_tag_ZN14QmlApplicationE_t>(QMC::MetaObjectFlag{}, qt_stringData,
173 qt_methods, qt_properties, qt_enums);
174}
175Q_CONSTINIT const QMetaObject QmlApplication::staticMetaObject = { {
176 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
177 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14QmlApplicationE_t>.stringdata,
178 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14QmlApplicationE_t>.data,
179 qt_static_metacall,
180 nullptr,
181 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN14QmlApplicationE_t>.metaTypes,
182 nullptr
183} };
184
185void QmlApplication::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
186{
187 auto *_t = static_cast<QmlApplication *>(_o);
188 if (_c == QMetaObject::InvokeMetaMethod) {
189 switch (_id) {
190 case 0: _t->paletteChanged(); break;
191 case 1: _t->filtersCopied(); break;
192 case 2: _t->filtersPasted((*reinterpret_cast<std::add_pointer_t<Mlt::Producer*>>(_a[1]))); break;
193 case 3: _t->copyAllFilters(); break;
194 case 4: _t->copyEnabledFilters(); break;
195 case 5: _t->copyCurrentFilter(); break;
196 case 6: { QString _r = _t->clockFromFrames((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])));
197 if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); } break;
198 case 7: { QString _r = _t->timeFromFrames((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])));
199 if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); } break;
200 case 8: { int _r = _t->audioChannels();
201 if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); } break;
202 case 9: { QString _r = _t->getNextProjectFile((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
203 if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); } break;
204 case 10: { bool _r = _t->isProjectFolder();
205 if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); } break;
206 case 11: _t->showStatusMessage((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
207 case 12: _t->showStatusMessage((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
208 case 13: _t->showAddOnFiltersDialog(); break;
209 case 14: { bool _r = _t->confirmOutputFilter();
210 if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); } break;
211 case 15: { QColor _r = _t->contrastingColor((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
212 if (_a[0]) *reinterpret_cast<QColor*>(_a[0]) = std::move(_r); } break;
213 case 16: { bool _r = _t->addWipe((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
214 if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); } break;
215 case 17: { bool _r = _t->intersects((*reinterpret_cast<std::add_pointer_t<QRectF>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QRectF>>(_a[2])));
216 if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); } break;
217 case 18: { QString _r = _t->actionFirstShortcut((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
218 if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); } break;
219 default: ;
220 }
221 }
222 if (_c == QMetaObject::IndexOfMethod) {
223 if (QtMocHelpers::indexOfMethod<void (QmlApplication::*)()>(_a, &QmlApplication::paletteChanged, 0))
224 return;
225 if (QtMocHelpers::indexOfMethod<void (QmlApplication::*)()>(_a, &QmlApplication::filtersCopied, 1))
226 return;
227 if (QtMocHelpers::indexOfMethod<void (QmlApplication::*)(Mlt::Producer * )>(_a, &QmlApplication::filtersPasted, 2))
228 return;
229 }
230 if (_c == QMetaObject::ReadProperty) {
231 void *_v = _a[0];
232 switch (_id) {
233 case 0: *reinterpret_cast<Qt::WindowModality*>(_v) = _t->dialogModality(); break;
234 case 1: *reinterpret_cast<QPoint*>(_v) = _t->mousePos(); break;
235 case 2: *reinterpret_cast<QColor*>(_v) = _t->toolTipBaseColor(); break;
236 case 3: *reinterpret_cast<QColor*>(_v) = _t->toolTipTextColor(); break;
237 case 4: *reinterpret_cast<QString*>(_v) = _t->OS(); break;
238 case 5: *reinterpret_cast<QRect*>(_v) = _t->mainWinRect(); break;
239 case 6: *reinterpret_cast<bool*>(_v) = _t->hasFiltersOnClipboard(); break;
240 case 7: *reinterpret_cast<qreal*>(_v) = _t->devicePixelRatio(); break;
241 case 8: *reinterpret_cast<int*>(_v) = _t->maxTextureSize(); break;
242 case 9: *reinterpret_cast<QStringList*>(_v) = _t->wipes(); break;
243 default: break;
244 }
245 }
246}
247
248const QMetaObject *QmlApplication::metaObject() const
249{
250 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
251}
252
253void *QmlApplication::qt_metacast(const char *_clname)
254{
255 if (!_clname) return nullptr;
256 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14QmlApplicationE_t>.strings))
257 return static_cast<void*>(this);
258 return QObject::qt_metacast(_clname);
259}
260
261int QmlApplication::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
262{
263 _id = QObject::qt_metacall(_c, _id, _a);
264 if (_id < 0)
265 return _id;
266 if (_c == QMetaObject::InvokeMetaMethod) {
267 if (_id < 19)
268 qt_static_metacall(this, _c, _id, _a);
269 _id -= 19;
270 }
271 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
272 if (_id < 19)
273 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
274 _id -= 19;
275 }
276 if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
277 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
278 || _c == QMetaObject::RegisterPropertyMetaType) {
279 qt_static_metacall(this, _c, _id, _a);
280 _id -= 10;
281 }
282 return _id;
283}
284
285// SIGNAL 0
286void QmlApplication::paletteChanged()
287{
288 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
289}
290
291// SIGNAL 1
292void QmlApplication::filtersCopied()
293{
294 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
295}
296
297// SIGNAL 2
298void QmlApplication::filtersPasted(Mlt::Producer * _t1)
299{
300 QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
301}
302QT_WARNING_POP