CuteLogger
Fast and simple logging solution for Qt based applications
moc_avfoundationproducerwidget.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'avfoundationproducerwidget.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/widgets/avfoundationproducerwidget.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 'avfoundationproducerwidget.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_ZN26AvfoundationProducerWidgetE_t {};
35} // unnamed namespace
36
37
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN26AvfoundationProducerWidgetE = QtMocHelpers::stringData(
40 "AvfoundationProducerWidget",
41 "producerChanged",
42 "",
43 "Mlt::Producer*",
44 "on_videoCombo_activated",
45 "index",
46 "on_audioCombo_activated"
47);
48#else // !QT_MOC_HAS_STRINGDATA
49#error "qtmochelpers.h not found or too old."
50#endif // !QT_MOC_HAS_STRINGDATA
51
52Q_CONSTINIT static const uint qt_meta_data_ZN26AvfoundationProducerWidgetE[] = {
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 1, // signalCount
64
65 // signals: name, argc, parameters, tag, flags, initial metatype offsets
66 1, 1, 32, 2, 0x06, 1 /* Public */,
67
68 // slots: name, argc, parameters, tag, flags, initial metatype offsets
69 4, 1, 35, 2, 0x08, 3 /* Private */,
70 6, 1, 38, 2, 0x08, 5 /* Private */,
71
72 // signals: parameters
73 QMetaType::Void, 0x80000000 | 3, 2,
74
75 // slots: parameters
76 QMetaType::Void, QMetaType::Int, 5,
77 QMetaType::Void, QMetaType::Int, 5,
78
79 0 // eod
80};
81
82Q_CONSTINIT const QMetaObject AvfoundationProducerWidget::staticMetaObject = { {
83 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
84 qt_meta_stringdata_ZN26AvfoundationProducerWidgetE.offsetsAndSizes,
85 qt_meta_data_ZN26AvfoundationProducerWidgetE,
86 qt_static_metacall,
87 nullptr,
88 qt_incomplete_metaTypeArray<qt_meta_tag_ZN26AvfoundationProducerWidgetE_t,
89 // Q_OBJECT / Q_GADGET
90 QtPrivate::TypeAndForceComplete<AvfoundationProducerWidget, std::true_type>,
91 // method 'producerChanged'
92 QtPrivate::TypeAndForceComplete<void, std::false_type>,
93 QtPrivate::TypeAndForceComplete<Mlt::Producer *, std::false_type>,
94 // method 'on_videoCombo_activated'
95 QtPrivate::TypeAndForceComplete<void, std::false_type>,
96 QtPrivate::TypeAndForceComplete<int, std::false_type>,
97 // method 'on_audioCombo_activated'
98 QtPrivate::TypeAndForceComplete<void, std::false_type>,
99 QtPrivate::TypeAndForceComplete<int, std::false_type>
100 >,
101 nullptr
102} };
103
104void AvfoundationProducerWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
105{
106 auto *_t = static_cast<AvfoundationProducerWidget *>(_o);
107 if (_c == QMetaObject::InvokeMetaMethod) {
108 switch (_id) {
109 case 0: _t->producerChanged((*reinterpret_cast< std::add_pointer_t<Mlt::Producer*>>(_a[1]))); break;
110 case 1: _t->on_videoCombo_activated((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
111 case 2: _t->on_audioCombo_activated((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
112 default: ;
113 }
114 }
115 if (_c == QMetaObject::IndexOfMethod) {
116 int *result = reinterpret_cast<int *>(_a[0]);
117 {
118 using _q_method_type = void (AvfoundationProducerWidget::*)(Mlt::Producer * );
119 if (_q_method_type _q_method = &AvfoundationProducerWidget::producerChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
120 *result = 0;
121 return;
122 }
123 }
124 }
125}
126
127const QMetaObject *AvfoundationProducerWidget::metaObject() const
128{
129 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
130}
131
132void *AvfoundationProducerWidget::qt_metacast(const char *_clname)
133{
134 if (!_clname) return nullptr;
135 if (!strcmp(_clname, qt_meta_stringdata_ZN26AvfoundationProducerWidgetE.stringdata0))
136 return static_cast<void*>(this);
137 if (!strcmp(_clname, "AbstractProducerWidget"))
138 return static_cast< AbstractProducerWidget*>(this);
139 return QWidget::qt_metacast(_clname);
140}
141
142int AvfoundationProducerWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
143{
144 _id = QWidget::qt_metacall(_c, _id, _a);
145 if (_id < 0)
146 return _id;
147 if (_c == QMetaObject::InvokeMetaMethod) {
148 if (_id < 3)
149 qt_static_metacall(this, _c, _id, _a);
150 _id -= 3;
151 }
152 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
153 if (_id < 3)
154 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
155 _id -= 3;
156 }
157 return _id;
158}
159
160// SIGNAL 0
161void AvfoundationProducerWidget::producerChanged(Mlt::Producer * _t1)
162{
163 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
164 QMetaObject::activate(this, &staticMetaObject, 0, _a);
165}
166QT_WARNING_POP