CuteLogger
Fast and simple logging solution for Qt based applications
moc_mltcontroller.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'mltcontroller.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.8.2)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include "../../../../src/mltcontroller.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 'mltcontroller.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 68
21#error "This file was generated using the moc from 6.8.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 {
34struct qt_meta_tag_ZN3Mlt16TransportControlE_t {};
35} // unnamed namespace
36
37
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN3Mlt16TransportControlE = QtMocHelpers::stringData(
40 "Mlt::TransportControl",
41 "play",
42 "",
43 "speed",
44 "pause",
45 "position",
46 "stop",
47 "seek",
48 "rewind",
49 "forceChangeDirection",
50 "fastForward",
51 "previous",
52 "currentPosition",
53 "next",
54 "setIn",
55 "setOut"
56);
57#else // !QT_MOC_HAS_STRINGDATA
58#error "qtmochelpers.h not found or too old."
59#endif // !QT_MOC_HAS_STRINGDATA
60
61Q_CONSTINIT static const uint qt_meta_data_ZN3Mlt16TransportControlE[] = {
62
63 // content:
64 12, // revision
65 0, // classname
66 0, 0, // classinfo
67 12, 14, // methods
68 0, 0, // properties
69 0, 0, // enums/sets
70 0, 0, // constructors
71 0, // flags
72 0, // signalCount
73
74 // slots: name, argc, parameters, tag, flags, initial metatype offsets
75 1, 1, 86, 2, 0x0a, 1 /* Public */,
76 1, 0, 89, 2, 0x2a, 3 /* Public | MethodCloned */,
77 4, 1, 90, 2, 0x0a, 4 /* Public */,
78 4, 0, 93, 2, 0x2a, 6 /* Public | MethodCloned */,
79 6, 0, 94, 2, 0x0a, 7 /* Public */,
80 7, 1, 95, 2, 0x0a, 8 /* Public */,
81 8, 1, 98, 2, 0x0a, 10 /* Public */,
82 10, 1, 101, 2, 0x0a, 12 /* Public */,
83 11, 1, 104, 2, 0x0a, 14 /* Public */,
84 13, 1, 107, 2, 0x0a, 16 /* Public */,
85 14, 1, 110, 2, 0x0a, 18 /* Public */,
86 15, 1, 113, 2, 0x0a, 20 /* Public */,
87
88 // slots: parameters
89 QMetaType::Void, QMetaType::Double, 3,
90 QMetaType::Void,
91 QMetaType::Void, QMetaType::Int, 5,
92 QMetaType::Void,
93 QMetaType::Void,
94 QMetaType::Void, QMetaType::Int, 5,
95 QMetaType::Void, QMetaType::Bool, 9,
96 QMetaType::Void, QMetaType::Bool, 9,
97 QMetaType::Void, QMetaType::Int, 12,
98 QMetaType::Void, QMetaType::Int, 12,
99 QMetaType::Void, QMetaType::Int, 2,
100 QMetaType::Void, QMetaType::Int, 2,
101
102 0 // eod
103};
104
105Q_CONSTINIT const QMetaObject Mlt::TransportControl::staticMetaObject = { {
106 QMetaObject::SuperData::link<TransportControllable::staticMetaObject>(),
107 qt_meta_stringdata_ZN3Mlt16TransportControlE.offsetsAndSizes,
108 qt_meta_data_ZN3Mlt16TransportControlE,
109 qt_static_metacall,
110 nullptr,
111 qt_incomplete_metaTypeArray<qt_meta_tag_ZN3Mlt16TransportControlE_t,
112 // Q_OBJECT / Q_GADGET
113 QtPrivate::TypeAndForceComplete<TransportControl, std::true_type>,
114 // method 'play'
115 QtPrivate::TypeAndForceComplete<void, std::false_type>,
116 QtPrivate::TypeAndForceComplete<double, std::false_type>,
117 // method 'play'
118 QtPrivate::TypeAndForceComplete<void, std::false_type>,
119 // method 'pause'
120 QtPrivate::TypeAndForceComplete<void, std::false_type>,
121 QtPrivate::TypeAndForceComplete<int, std::false_type>,
122 // method 'pause'
123 QtPrivate::TypeAndForceComplete<void, std::false_type>,
124 // method 'stop'
125 QtPrivate::TypeAndForceComplete<void, std::false_type>,
126 // method 'seek'
127 QtPrivate::TypeAndForceComplete<void, std::false_type>,
128 QtPrivate::TypeAndForceComplete<int, std::false_type>,
129 // method 'rewind'
130 QtPrivate::TypeAndForceComplete<void, std::false_type>,
131 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
132 // method 'fastForward'
133 QtPrivate::TypeAndForceComplete<void, std::false_type>,
134 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
135 // method 'previous'
136 QtPrivate::TypeAndForceComplete<void, std::false_type>,
137 QtPrivate::TypeAndForceComplete<int, std::false_type>,
138 // method 'next'
139 QtPrivate::TypeAndForceComplete<void, std::false_type>,
140 QtPrivate::TypeAndForceComplete<int, std::false_type>,
141 // method 'setIn'
142 QtPrivate::TypeAndForceComplete<void, std::false_type>,
143 QtPrivate::TypeAndForceComplete<int, std::false_type>,
144 // method 'setOut'
145 QtPrivate::TypeAndForceComplete<void, std::false_type>,
146 QtPrivate::TypeAndForceComplete<int, std::false_type>
147 >,
148 nullptr
149} };
150
151void Mlt::TransportControl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
152{
153 auto *_t = static_cast<TransportControl *>(_o);
154 if (_c == QMetaObject::InvokeMetaMethod) {
155 switch (_id) {
156 case 0: _t->play((*reinterpret_cast< std::add_pointer_t<double>>(_a[1]))); break;
157 case 1: _t->play(); break;
158 case 2: _t->pause((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
159 case 3: _t->pause(); break;
160 case 4: _t->stop(); break;
161 case 5: _t->seek((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
162 case 6: _t->rewind((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
163 case 7: _t->fastForward((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
164 case 8: _t->previous((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
165 case 9: _t->next((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
166 case 10: _t->setIn((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
167 case 11: _t->setOut((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
168 default: ;
169 }
170 }
171}
172
173const QMetaObject *Mlt::TransportControl::metaObject() const
174{
175 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
176}
177
178void *Mlt::TransportControl::qt_metacast(const char *_clname)
179{
180 if (!_clname) return nullptr;
181 if (!strcmp(_clname, qt_meta_stringdata_ZN3Mlt16TransportControlE.stringdata0))
182 return static_cast<void*>(this);
183 return TransportControllable::qt_metacast(_clname);
184}
185
186int Mlt::TransportControl::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
187{
188 _id = TransportControllable::qt_metacall(_c, _id, _a);
189 if (_id < 0)
190 return _id;
191 if (_c == QMetaObject::InvokeMetaMethod) {
192 if (_id < 12)
193 qt_static_metacall(this, _c, _id, _a);
194 _id -= 12;
195 }
196 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
197 if (_id < 12)
198 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
199 _id -= 12;
200 }
201 return _id;
202}
203QT_WARNING_POP