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