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 68 (Qt 6.8.2)
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 != 68
22#error "This file was generated using the moc from 6.8.2. 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
38
39#ifdef QT_MOC_HAS_STRINGDATA
40static constexpr auto qt_meta_stringdata_ZN17OpenGLVideoWidgetE = QtMocHelpers::stringData(
41 "OpenGLVideoWidget",
42 "initialize",
43 "",
44 "renderVideo",
45 "onFrameDisplayed",
46 "SharedFrame",
47 "frame"
48);
49#else // !QT_MOC_HAS_STRINGDATA
50#error "qtmochelpers.h not found or too old."
51#endif // !QT_MOC_HAS_STRINGDATA
52
53Q_CONSTINIT static const uint qt_meta_data_ZN17OpenGLVideoWidgetE[] = {
54
55 // content:
56 12, // revision
57 0, // classname
58 0, 0, // classinfo
59 3, 14, // methods
60 0, 0, // properties
61 0, 0, // enums/sets
62 0, 0, // constructors
63 0, // flags
64 0, // signalCount
65
66 // slots: name, argc, parameters, tag, flags, initial metatype offsets
67 1, 0, 32, 2, 0x0a, 1 /* Public */,
68 3, 0, 33, 2, 0x0a, 2 /* Public */,
69 4, 1, 34, 2, 0x0a, 3 /* Public */,
70
71 // slots: parameters
72 QMetaType::Void,
73 QMetaType::Void,
74 QMetaType::Void, 0x80000000 | 5, 6,
75
76 0 // eod
77};
78
79Q_CONSTINIT const QMetaObject OpenGLVideoWidget::staticMetaObject = { {
80 QMetaObject::SuperData::link<Mlt::VideoWidget::staticMetaObject>(),
81 qt_meta_stringdata_ZN17OpenGLVideoWidgetE.offsetsAndSizes,
82 qt_meta_data_ZN17OpenGLVideoWidgetE,
83 qt_static_metacall,
84 nullptr,
85 qt_incomplete_metaTypeArray<qt_meta_tag_ZN17OpenGLVideoWidgetE_t,
86 // Q_OBJECT / Q_GADGET
87 QtPrivate::TypeAndForceComplete<OpenGLVideoWidget, std::true_type>,
88 // method 'initialize'
89 QtPrivate::TypeAndForceComplete<void, std::false_type>,
90 // method 'renderVideo'
91 QtPrivate::TypeAndForceComplete<void, std::false_type>,
92 // method 'onFrameDisplayed'
93 QtPrivate::TypeAndForceComplete<void, std::false_type>,
94 QtPrivate::TypeAndForceComplete<const SharedFrame &, std::false_type>
95 >,
96 nullptr
97} };
98
99void OpenGLVideoWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
100{
101 auto *_t = static_cast<OpenGLVideoWidget *>(_o);
102 if (_c == QMetaObject::InvokeMetaMethod) {
103 switch (_id) {
104 case 0: _t->initialize(); break;
105 case 1: _t->renderVideo(); break;
106 case 2: _t->onFrameDisplayed((*reinterpret_cast< std::add_pointer_t<SharedFrame>>(_a[1]))); break;
107 default: ;
108 }
109 }
110}
111
112const QMetaObject *OpenGLVideoWidget::metaObject() const
113{
114 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
115}
116
117void *OpenGLVideoWidget::qt_metacast(const char *_clname)
118{
119 if (!_clname) return nullptr;
120 if (!strcmp(_clname, qt_meta_stringdata_ZN17OpenGLVideoWidgetE.stringdata0))
121 return static_cast<void*>(this);
122 if (!strcmp(_clname, "QOpenGLFunctions"))
123 return static_cast< QOpenGLFunctions*>(this);
124 return Mlt::VideoWidget::qt_metacast(_clname);
125}
126
127int OpenGLVideoWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
128{
129 _id = Mlt::VideoWidget::qt_metacall(_c, _id, _a);
130 if (_id < 0)
131 return _id;
132 if (_c == QMetaObject::InvokeMetaMethod) {
133 if (_id < 3)
134 qt_static_metacall(this, _c, _id, _a);
135 _id -= 3;
136 }
137 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
138 if (_id < 3)
139 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
140 _id -= 3;
141 }
142 return _id;
143}
144QT_WARNING_POP