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