CuteLogger
Fast and simple logging solution for Qt based applications
moc_encodejob.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'encodejob.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/jobs/encodejob.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 'encodejob.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_ZN9EncodeJobE_t {};
35} // unnamed namespace
36
37
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN9EncodeJobE = QtMocHelpers::stringData(
40 "EncodeJob",
41 "onVideoQualityTriggered",
42 "",
43 "onSpatialMediaTriggered",
44 "onEmbedChapters",
45 "onFinished",
46 "exitCode",
47 "QProcess::ExitStatus",
48 "exitStatus"
49);
50#else // !QT_MOC_HAS_STRINGDATA
51#error "qtmochelpers.h not found or too old."
52#endif // !QT_MOC_HAS_STRINGDATA
53
54Q_CONSTINIT static const uint qt_meta_data_ZN9EncodeJobE[] = {
55
56 // content:
57 12, // revision
58 0, // classname
59 0, 0, // classinfo
60 4, 14, // methods
61 0, 0, // properties
62 0, 0, // enums/sets
63 0, 0, // constructors
64 0, // flags
65 0, // signalCount
66
67 // slots: name, argc, parameters, tag, flags, initial metatype offsets
68 1, 0, 38, 2, 0x08, 1 /* Private */,
69 3, 0, 39, 2, 0x08, 2 /* Private */,
70 4, 0, 40, 2, 0x08, 3 /* Private */,
71 5, 2, 41, 2, 0x09, 4 /* Protected */,
72
73 // slots: parameters
74 QMetaType::Void,
75 QMetaType::Void,
76 QMetaType::Void,
77 QMetaType::Void, QMetaType::Int, 0x80000000 | 7, 6, 8,
78
79 0 // eod
80};
81
82Q_CONSTINIT const QMetaObject EncodeJob::staticMetaObject = { {
83 QMetaObject::SuperData::link<MeltJob::staticMetaObject>(),
84 qt_meta_stringdata_ZN9EncodeJobE.offsetsAndSizes,
85 qt_meta_data_ZN9EncodeJobE,
86 qt_static_metacall,
87 nullptr,
88 qt_incomplete_metaTypeArray<qt_meta_tag_ZN9EncodeJobE_t,
89 // Q_OBJECT / Q_GADGET
90 QtPrivate::TypeAndForceComplete<EncodeJob, std::true_type>,
91 // method 'onVideoQualityTriggered'
92 QtPrivate::TypeAndForceComplete<void, std::false_type>,
93 // method 'onSpatialMediaTriggered'
94 QtPrivate::TypeAndForceComplete<void, std::false_type>,
95 // method 'onEmbedChapters'
96 QtPrivate::TypeAndForceComplete<void, std::false_type>,
97 // method 'onFinished'
98 QtPrivate::TypeAndForceComplete<void, std::false_type>,
99 QtPrivate::TypeAndForceComplete<int, std::false_type>,
100 QtPrivate::TypeAndForceComplete<QProcess::ExitStatus, std::false_type>
101 >,
102 nullptr
103} };
104
105void EncodeJob::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
106{
107 auto *_t = static_cast<EncodeJob *>(_o);
108 if (_c == QMetaObject::InvokeMetaMethod) {
109 switch (_id) {
110 case 0: _t->onVideoQualityTriggered(); break;
111 case 1: _t->onSpatialMediaTriggered(); break;
112 case 2: _t->onEmbedChapters(); break;
113 case 3: _t->onFinished((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QProcess::ExitStatus>>(_a[2]))); break;
114 default: ;
115 }
116 }
117}
118
119const QMetaObject *EncodeJob::metaObject() const
120{
121 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
122}
123
124void *EncodeJob::qt_metacast(const char *_clname)
125{
126 if (!_clname) return nullptr;
127 if (!strcmp(_clname, qt_meta_stringdata_ZN9EncodeJobE.stringdata0))
128 return static_cast<void*>(this);
129 return MeltJob::qt_metacast(_clname);
130}
131
132int EncodeJob::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
133{
134 _id = MeltJob::qt_metacall(_c, _id, _a);
135 if (_id < 0)
136 return _id;
137 if (_c == QMetaObject::InvokeMetaMethod) {
138 if (_id < 4)
139 qt_static_metacall(this, _c, _id, _a);
140 _id -= 4;
141 }
142 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
143 if (_id < 4)
144 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
145 _id -= 4;
146 }
147 return _id;
148}
149QT_WARNING_POP