9#include "../../../../src/widgets/directshowvideowidget.h"
10#include <QtCore/qmetatype.h>
12#include <QtCore/qtmochelpers.h>
17#include <QtCore/qxptype_traits.h>
18#if !defined(Q_MOC_OUTPUT_REVISION)
19#error "The header file 'directshowvideowidget.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.)"
31QT_WARNING_DISABLE_DEPRECATED
32QT_WARNING_DISABLE_GCC(
"-Wuseless-cast")
34struct qt_meta_tag_ZN21DirectShowVideoWidgetE_t {};
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN21DirectShowVideoWidgetE = QtMocHelpers::stringData(
40 "DirectShowVideoWidget",
44 "on_videoCombo_activated",
46 "on_audioCombo_activated"
49#error "qtmochelpers.h not found or too old."
52Q_CONSTINIT
static const uint qt_meta_data_ZN21DirectShowVideoWidgetE[] = {
66 1, 1, 32, 2, 0x06, 1 ,
69 4, 1, 35, 2, 0x08, 3 ,
70 6, 1, 38, 2, 0x08, 5 ,
73 QMetaType::Void, 0x80000000 | 3, 2,
76 QMetaType::Void, QMetaType::Int, 5,
77 QMetaType::Void, QMetaType::Int, 5,
82Q_CONSTINIT
const QMetaObject DirectShowVideoWidget::staticMetaObject = { {
83 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
84 qt_meta_stringdata_ZN21DirectShowVideoWidgetE.offsetsAndSizes,
85 qt_meta_data_ZN21DirectShowVideoWidgetE,
88 qt_incomplete_metaTypeArray<qt_meta_tag_ZN21DirectShowVideoWidgetE_t,
90 QtPrivate::TypeAndForceComplete<DirectShowVideoWidget, std::true_type>,
92 QtPrivate::TypeAndForceComplete<void, std::false_type>,
93 QtPrivate::TypeAndForceComplete<Mlt::Producer *, std::false_type>,
95 QtPrivate::TypeAndForceComplete<void, std::false_type>,
96 QtPrivate::TypeAndForceComplete<int, std::false_type>,
98 QtPrivate::TypeAndForceComplete<void, std::false_type>,
99 QtPrivate::TypeAndForceComplete<int, std::false_type>
104void DirectShowVideoWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
106 auto *_t =
static_cast<DirectShowVideoWidget *
>(_o);
107 if (_c == QMetaObject::InvokeMetaMethod) {
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;
115 if (_c == QMetaObject::IndexOfMethod) {
116 int *result =
reinterpret_cast<int *
>(_a[0]);
118 using _q_method_type = void (DirectShowVideoWidget::*)(Mlt::Producer * );
119 if (_q_method_type _q_method = &DirectShowVideoWidget::producerChanged; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
127const QMetaObject *DirectShowVideoWidget::metaObject()
const
129 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
132void *DirectShowVideoWidget::qt_metacast(
const char *_clname)
134 if (!_clname)
return nullptr;
135 if (!strcmp(_clname, qt_meta_stringdata_ZN21DirectShowVideoWidgetE.stringdata0))
136 return static_cast<void*
>(
this);
137 if (!strcmp(_clname,
"AbstractProducerWidget"))
138 return static_cast< AbstractProducerWidget*
>(
this);
139 return QWidget::qt_metacast(_clname);
142int DirectShowVideoWidget::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
144 _id = QWidget::qt_metacall(_c, _id, _a);
147 if (_c == QMetaObject::InvokeMetaMethod) {
149 qt_static_metacall(
this, _c, _id, _a);
152 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
154 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
161void DirectShowVideoWidget::producerChanged(Mlt::Producer * _t1)
163 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
164 QMetaObject::activate(
this, &staticMetaObject, 0, _a);