CuteLogger
Fast and simple logging solution for Qt based applications
moc_openglvideowidget.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'openglvideowidget.h'
3**
4** Created by: The Qt Meta Object Compiler version 69 (Qt 6.9.1)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include "../../../../src/widgets/openglvideowidget.h"
10#include <QtGui/qscreen.h>
11#include <QtCore/qmetatype.h>
12
13#include <QtCore/qtmochelpers.h>
14
15#include <memory>
16
17
18#include <QtCore/qxptype_traits.h>
19#if !defined(Q_MOC_OUTPUT_REVISION)
20#error "The header file 'openglvideowidget.h' doesn't include <QObject>."
21#elif Q_MOC_OUTPUT_REVISION != 69
22#error "This file was generated using the moc from 6.9.1. It"
23#error "cannot be used with the include files from this version of Qt."
24#error "(The moc has changed too much.)"
25#endif
26
27#ifndef Q_CONSTINIT
28#define Q_CONSTINIT
29#endif
30
31QT_WARNING_PUSH
32QT_WARNING_DISABLE_DEPRECATED
33QT_WARNING_DISABLE_GCC("-Wuseless-cast")
34namespace {
35struct qt_meta_tag_ZN17OpenGLVideoWidgetE_t {};
36} // unnamed namespace
37
38template <> constexpr inline auto OpenGLVideoWidget::qt_create_metaobjectdata<qt_meta_tag_ZN17OpenGLVideoWidgetE_t>()
39{
40 namespace QMC = QtMocConstants;
41 QtMocHelpers::StringRefStorage qt_stringData {
42 "OpenGLVideoWidget",
43 "initialize",
44 "",
45 "renderVideo",
46 "onFrameDisplayed",
47 "SharedFrame",
48 "frame"
49 };
50
51 QtMocHelpers::UintData qt_methods {
52 // Slot 'initialize'
53 QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
54 // Slot 'renderVideo'
55 QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
56 // Slot 'onFrameDisplayed'
57 QtMocHelpers::SlotData<void(const SharedFrame &)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
58 { 0x80000000 | 5, 6 },
59 }}),
60 };
61 QtMocHelpers::UintData qt_properties {
62 };
63 QtMocHelpers::UintData qt_enums {
64 };
65 return QtMocHelpers::metaObjectData<OpenGLVideoWidget, qt_meta_tag_ZN17OpenGLVideoWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
66 qt_methods, qt_properties, qt_enums);
67}
68Q_CONSTINIT const QMetaObject OpenGLVideoWidget::staticMetaObject = { {
69 QMetaObject::SuperData::link<Mlt::VideoWidget::staticMetaObject>(),
70 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17OpenGLVideoWidgetE_t>.stringdata,
71 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17OpenGLVideoWidgetE_t>.data,
72 qt_static_metacall,
73 nullptr,
74 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN17OpenGLVideoWidgetE_t>.metaTypes,
75 nullptr
76} };
77
78void OpenGLVideoWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
79{
80 auto *_t = static_cast<OpenGLVideoWidget *>(_o);
81 if (_c == QMetaObject::InvokeMetaMethod) {
82 switch (_id) {
83 case 0: _t->initialize(); break;
84 case 1: _t->renderVideo(); break;
85 case 2: _t->onFrameDisplayed((*reinterpret_cast< std::add_pointer_t<SharedFrame>>(_a[1]))); break;
86 default: ;
87 }
88 }
89}
90
91const QMetaObject *OpenGLVideoWidget::metaObject() const
92{
93 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
94}
95
96void *OpenGLVideoWidget::qt_metacast(const char *_clname)
97{
98 if (!_clname) return nullptr;
99 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17OpenGLVideoWidgetE_t>.strings))
100 return static_cast<void*>(this);
101 if (!strcmp(_clname, "QOpenGLFunctions"))
102 return static_cast< QOpenGLFunctions*>(this);
103 return Mlt::VideoWidget::qt_metacast(_clname);
104}
105
106int OpenGLVideoWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
107{
108 _id = Mlt::VideoWidget::qt_metacall(_c, _id, _a);
109 if (_id < 0)
110 return _id;
111 if (_c == QMetaObject::InvokeMetaMethod) {
112 if (_id < 3)
113 qt_static_metacall(this, _c, _id, _a);
114 _id -= 3;
115 }
116 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
117 if (_id < 3)
118 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
119 _id -= 3;
120 }
121 return _id;
122}
123QT_WARNING_POP