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.7.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.7.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 {
35
36#ifdef QT_MOC_HAS_STRINGDATA
37struct qt_meta_stringdata_CLASSOpenGLVideoWidgetENDCLASS_t {};
38constexpr auto qt_meta_stringdata_CLASSOpenGLVideoWidgetENDCLASS = QtMocHelpers::stringData(
39 "OpenGLVideoWidget",
40 "initialize",
41 "",
42 "renderVideo",
43 "onFrameDisplayed",
44 "SharedFrame",
45 "frame"
46);
47#else // !QT_MOC_HAS_STRINGDATA
48#error "qtmochelpers.h not found or too old."
49#endif // !QT_MOC_HAS_STRINGDATA
50} // unnamed namespace
51
52Q_CONSTINIT static const uint qt_meta_data_CLASSOpenGLVideoWidgetENDCLASS[] = {
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 0, // signalCount
64
65 // slots: name, argc, parameters, tag, flags, initial metatype offsets
66 1, 0, 32, 2, 0x0a, 1 /* Public */,
67 3, 0, 33, 2, 0x0a, 2 /* Public */,
68 4, 1, 34, 2, 0x0a, 3 /* Public */,
69
70 // slots: parameters
71 QMetaType::Void,
72 QMetaType::Void,
73 QMetaType::Void, 0x80000000 | 5, 6,
74
75 0 // eod
76};
77
78Q_CONSTINIT const QMetaObject OpenGLVideoWidget::staticMetaObject = { {
79 QMetaObject::SuperData::link<Mlt::VideoWidget::staticMetaObject>(),
80 qt_meta_stringdata_CLASSOpenGLVideoWidgetENDCLASS.offsetsAndSizes,
81 qt_meta_data_CLASSOpenGLVideoWidgetENDCLASS,
82 qt_static_metacall,
83 nullptr,
84 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSOpenGLVideoWidgetENDCLASS_t,
85 // Q_OBJECT / Q_GADGET
86 QtPrivate::TypeAndForceComplete<OpenGLVideoWidget, std::true_type>,
87 // method 'initialize'
88 QtPrivate::TypeAndForceComplete<void, std::false_type>,
89 // method 'renderVideo'
90 QtPrivate::TypeAndForceComplete<void, std::false_type>,
91 // method 'onFrameDisplayed'
92 QtPrivate::TypeAndForceComplete<void, std::false_type>,
93 QtPrivate::TypeAndForceComplete<const SharedFrame &, std::false_type>
94 >,
95 nullptr
96} };
97
98void OpenGLVideoWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
99{
100 if (_c == QMetaObject::InvokeMetaMethod) {
101 auto *_t = static_cast<OpenGLVideoWidget *>(_o);
102 (void)_t;
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_CLASSOpenGLVideoWidgetENDCLASS.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 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
137 if (_id < 3)
138 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
139 _id -= 3;
140 }
141 return _id;
142}
143QT_WARNING_POP