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.7.2)
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.7.2. 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 {
34
35#ifdef QT_MOC_HAS_STRINGDATA
36struct qt_meta_stringdata_CLASSEncodeJobENDCLASS_t {};
37constexpr auto qt_meta_stringdata_CLASSEncodeJobENDCLASS = QtMocHelpers::stringData(
38 "EncodeJob",
39 "onVideoQualityTriggered",
40 "",
41 "onSpatialMediaTriggered",
42 "onFinished",
43 "exitCode",
44 "QProcess::ExitStatus",
45 "exitStatus"
46);
47#else // !QT_MOC_HAS_STRINGDATA
48#error "qtmochelpers.h not found or too old."
49#endif // !QT_MOC_HAS_STRINGDATA
50} // unnamed namespace
51
52Q_CONSTINIT static const uint qt_meta_data_CLASSEncodeJobENDCLASS[] = {
53
54 // content:
55 12, // revision
56 0, // classname
57 0, 0, // classinfo
58 3, 14, // methods
59 0, 0, // properties
60 0, 0, // enums/sets
61 0, 0, // constructors
62 0, // flags
63 0, // signalCount
64
65 // slots: name, argc, parameters, tag, flags, initial metatype offsets
66 1, 0, 32, 2, 0x08, 1 /* Private */,
67 3, 0, 33, 2, 0x08, 2 /* Private */,
68 4, 2, 34, 2, 0x09, 3 /* Protected */,
69
70 // slots: parameters
71 QMetaType::Void,
72 QMetaType::Void,
73 QMetaType::Void, QMetaType::Int, 0x80000000 | 6, 5, 7,
74
75 0 // eod
76};
77
78Q_CONSTINIT const QMetaObject EncodeJob::staticMetaObject = { {
79 QMetaObject::SuperData::link<MeltJob::staticMetaObject>(),
80 qt_meta_stringdata_CLASSEncodeJobENDCLASS.offsetsAndSizes,
81 qt_meta_data_CLASSEncodeJobENDCLASS,
82 qt_static_metacall,
83 nullptr,
84 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSEncodeJobENDCLASS_t,
85 // Q_OBJECT / Q_GADGET
86 QtPrivate::TypeAndForceComplete<EncodeJob, std::true_type>,
87 // method 'onVideoQualityTriggered'
88 QtPrivate::TypeAndForceComplete<void, std::false_type>,
89 // method 'onSpatialMediaTriggered'
90 QtPrivate::TypeAndForceComplete<void, std::false_type>,
91 // method 'onFinished'
92 QtPrivate::TypeAndForceComplete<void, std::false_type>,
93 QtPrivate::TypeAndForceComplete<int, std::false_type>,
94 QtPrivate::TypeAndForceComplete<QProcess::ExitStatus, std::false_type>
95 >,
96 nullptr
97} };
98
99void EncodeJob::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
100{
101 if (_c == QMetaObject::InvokeMetaMethod) {
102 auto *_t = static_cast<EncodeJob *>(_o);
103 (void)_t;
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_CLASSEncodeJobENDCLASS.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 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
136 if (_id < 3)
137 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
138 _id -= 3;
139 }
140 return _id;
141}
142QT_WARNING_POP