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