CuteLogger
Fast and simple logging solution for Qt based applications
moc_colorbarswidget.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'colorbarswidget.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.8.3)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include "../../../../src/widgets/colorbarswidget.h"
10#include <QtCore/qmetatype.h>
11
12#include <QtCore/qtmochelpers.h>
13
14#include <memory>
15
16
17#include <QtCore/qxptype_traits.h>
18#if !defined(Q_MOC_OUTPUT_REVISION)
19#error "The header file 'colorbarswidget.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 68
21#error "This file was generated using the moc from 6.8.3. It"
22#error "cannot be used with the include files from this version of Qt."
23#error "(The moc has changed too much.)"
24#endif
25
26#ifndef Q_CONSTINIT
27#define Q_CONSTINIT
28#endif
29
30QT_WARNING_PUSH
31QT_WARNING_DISABLE_DEPRECATED
32QT_WARNING_DISABLE_GCC("-Wuseless-cast")
33namespace {
34struct qt_meta_tag_ZN15ColorBarsWidgetE_t {};
35} // unnamed namespace
36
37
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN15ColorBarsWidgetE = QtMocHelpers::stringData(
40 "ColorBarsWidget",
41 "producerChanged",
42 "",
43 "Mlt::Producer*",
44 "on_comboBox_activated",
45 "index"
46);
47#else // !QT_MOC_HAS_STRINGDATA
48#error "qtmochelpers.h not found or too old."
49#endif // !QT_MOC_HAS_STRINGDATA
50
51Q_CONSTINIT static const uint qt_meta_data_ZN15ColorBarsWidgetE[] = {
52
53 // content:
54 12, // revision
55 0, // classname
56 0, 0, // classinfo
57 2, 14, // methods
58 0, 0, // properties
59 0, 0, // enums/sets
60 0, 0, // constructors
61 0, // flags
62 1, // signalCount
63
64 // signals: name, argc, parameters, tag, flags, initial metatype offsets
65 1, 1, 26, 2, 0x06, 1 /* Public */,
66
67 // slots: name, argc, parameters, tag, flags, initial metatype offsets
68 4, 1, 29, 2, 0x08, 3 /* Private */,
69
70 // signals: parameters
71 QMetaType::Void, 0x80000000 | 3, 2,
72
73 // slots: parameters
74 QMetaType::Void, QMetaType::Int, 5,
75
76 0 // eod
77};
78
79Q_CONSTINIT const QMetaObject ColorBarsWidget::staticMetaObject = { {
80 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
81 qt_meta_stringdata_ZN15ColorBarsWidgetE.offsetsAndSizes,
82 qt_meta_data_ZN15ColorBarsWidgetE,
83 qt_static_metacall,
84 nullptr,
85 qt_incomplete_metaTypeArray<qt_meta_tag_ZN15ColorBarsWidgetE_t,
86 // Q_OBJECT / Q_GADGET
87 QtPrivate::TypeAndForceComplete<ColorBarsWidget, std::true_type>,
88 // method 'producerChanged'
89 QtPrivate::TypeAndForceComplete<void, std::false_type>,
90 QtPrivate::TypeAndForceComplete<Mlt::Producer *, std::false_type>,
91 // method 'on_comboBox_activated'
92 QtPrivate::TypeAndForceComplete<void, std::false_type>,
93 QtPrivate::TypeAndForceComplete<int, std::false_type>
94 >,
95 nullptr
96} };
97
98void ColorBarsWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
99{
100 auto *_t = static_cast<ColorBarsWidget *>(_o);
101 if (_c == QMetaObject::InvokeMetaMethod) {
102 switch (_id) {
103 case 0: _t->producerChanged((*reinterpret_cast< std::add_pointer_t<Mlt::Producer*>>(_a[1]))); break;
104 case 1: _t->on_comboBox_activated((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
105 default: ;
106 }
107 }
108 if (_c == QMetaObject::IndexOfMethod) {
109 int *result = reinterpret_cast<int *>(_a[0]);
110 {
111 using _q_method_type = void (ColorBarsWidget::*)(Mlt::Producer * );
112 if (_q_method_type _q_method = &ColorBarsWidget::producerChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
113 *result = 0;
114 return;
115 }
116 }
117 }
118}
119
120const QMetaObject *ColorBarsWidget::metaObject() const
121{
122 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
123}
124
125void *ColorBarsWidget::qt_metacast(const char *_clname)
126{
127 if (!_clname) return nullptr;
128 if (!strcmp(_clname, qt_meta_stringdata_ZN15ColorBarsWidgetE.stringdata0))
129 return static_cast<void*>(this);
130 if (!strcmp(_clname, "AbstractProducerWidget"))
131 return static_cast< AbstractProducerWidget*>(this);
132 return QWidget::qt_metacast(_clname);
133}
134
135int ColorBarsWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
136{
137 _id = QWidget::qt_metacall(_c, _id, _a);
138 if (_id < 0)
139 return _id;
140 if (_c == QMetaObject::InvokeMetaMethod) {
141 if (_id < 2)
142 qt_static_metacall(this, _c, _id, _a);
143 _id -= 2;
144 }
145 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
146 if (_id < 2)
147 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
148 _id -= 2;
149 }
150 return _id;
151}
152
153// SIGNAL 0
154void ColorBarsWidget::producerChanged(Mlt::Producer * _t1)
155{
156 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
157 QMetaObject::activate(this, &staticMetaObject, 0, _a);
158}
159QT_WARNING_POP