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.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.)"
31QT_WARNING_DISABLE_DEPRECATED
32QT_WARNING_DISABLE_GCC(
"-Wuseless-cast")
35#ifdef QT_MOC_HAS_STRINGDATA
36struct qt_meta_stringdata_CLASSDirectShowVideoWidgetENDCLASS_t {};
37constexpr auto qt_meta_stringdata_CLASSDirectShowVideoWidgetENDCLASS = QtMocHelpers::stringData(
38 "DirectShowVideoWidget",
42 "on_videoCombo_activated",
44 "on_audioCombo_activated"
47#error "qtmochelpers.h not found or too old."
51Q_CONSTINIT
static const uint qt_meta_data_CLASSDirectShowVideoWidgetENDCLASS[] = {
65 1, 1, 32, 2, 0x06, 1 ,
68 4, 1, 35, 2, 0x08, 3 ,
69 6, 1, 38, 2, 0x08, 5 ,
72 QMetaType::Void, 0x80000000 | 3, 2,
75 QMetaType::Void, QMetaType::Int, 5,
76 QMetaType::Void, QMetaType::Int, 5,
81Q_CONSTINIT
const QMetaObject DirectShowVideoWidget::staticMetaObject = { {
82 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
83 qt_meta_stringdata_CLASSDirectShowVideoWidgetENDCLASS.offsetsAndSizes,
84 qt_meta_data_CLASSDirectShowVideoWidgetENDCLASS,
87 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSDirectShowVideoWidgetENDCLASS_t,
89 QtPrivate::TypeAndForceComplete<DirectShowVideoWidget, std::true_type>,
91 QtPrivate::TypeAndForceComplete<void, std::false_type>,
92 QtPrivate::TypeAndForceComplete<Mlt::Producer *, std::false_type>,
94 QtPrivate::TypeAndForceComplete<void, std::false_type>,
95 QtPrivate::TypeAndForceComplete<int, std::false_type>,
97 QtPrivate::TypeAndForceComplete<void, std::false_type>,
98 QtPrivate::TypeAndForceComplete<int, std::false_type>
103void DirectShowVideoWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
105 if (_c == QMetaObject::InvokeMetaMethod) {
106 auto *_t =
static_cast<DirectShowVideoWidget *
>(_o);
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;
114 }
else if (_c == QMetaObject::IndexOfMethod) {
115 int *result =
reinterpret_cast<int *
>(_a[0]);
117 using _t = void (DirectShowVideoWidget::*)(Mlt::Producer * );
118 if (_t _q_method = &DirectShowVideoWidget::producerChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
126const QMetaObject *DirectShowVideoWidget::metaObject()
const
128 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
131void *DirectShowVideoWidget::qt_metacast(
const char *_clname)
133 if (!_clname)
return nullptr;
134 if (!strcmp(_clname, qt_meta_stringdata_CLASSDirectShowVideoWidgetENDCLASS.stringdata0))
135 return static_cast<void*
>(
this);
136 if (!strcmp(_clname,
"AbstractProducerWidget"))
137 return static_cast< AbstractProducerWidget*
>(
this);
138 return QWidget::qt_metacast(_clname);
141int DirectShowVideoWidget::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
143 _id = QWidget::qt_metacall(_c, _id, _a);
146 if (_c == QMetaObject::InvokeMetaMethod) {
148 qt_static_metacall(
this, _c, _id, _a);
150 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
152 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
159void DirectShowVideoWidget::producerChanged(Mlt::Producer * _t1)
161 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
162 QMetaObject::activate(
this, &staticMetaObject, 0, _a);