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.7.2)
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.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.)"
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 {
34
35#ifdef QT_MOC_HAS_STRINGDATA
36struct qt_meta_stringdata_CLASSColorBarsWidgetENDCLASS_t {};
37constexpr auto qt_meta_stringdata_CLASSColorBarsWidgetENDCLASS = QtMocHelpers::stringData(
38 "ColorBarsWidget",
39 "producerChanged",
40 "",
41 "Mlt::Producer*",
42 "on_comboBox_activated",
43 "index"
44);
45#else // !QT_MOC_HAS_STRINGDATA
46#error "qtmochelpers.h not found or too old."
47#endif // !QT_MOC_HAS_STRINGDATA
48} // unnamed namespace
49
50Q_CONSTINIT static const uint qt_meta_data_CLASSColorBarsWidgetENDCLASS[] = {
51
52 // content:
53 12, // revision
54 0, // classname
55 0, 0, // classinfo
56 2, 14, // methods
57 0, 0, // properties
58 0, 0, // enums/sets
59 0, 0, // constructors
60 0, // flags
61 1, // signalCount
62
63 // signals: name, argc, parameters, tag, flags, initial metatype offsets
64 1, 1, 26, 2, 0x06, 1 /* Public */,
65
66 // slots: name, argc, parameters, tag, flags, initial metatype offsets
67 4, 1, 29, 2, 0x08, 3 /* Private */,
68
69 // signals: parameters
70 QMetaType::Void, 0x80000000 | 3, 2,
71
72 // slots: parameters
73 QMetaType::Void, QMetaType::Int, 5,
74
75 0 // eod
76};
77
78Q_CONSTINIT const QMetaObject ColorBarsWidget::staticMetaObject = { {
79 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
80 qt_meta_stringdata_CLASSColorBarsWidgetENDCLASS.offsetsAndSizes,
81 qt_meta_data_CLASSColorBarsWidgetENDCLASS,
82 qt_static_metacall,
83 nullptr,
84 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSColorBarsWidgetENDCLASS_t,
85 // Q_OBJECT / Q_GADGET
86 QtPrivate::TypeAndForceComplete<ColorBarsWidget, std::true_type>,
87 // method 'producerChanged'
88 QtPrivate::TypeAndForceComplete<void, std::false_type>,
89 QtPrivate::TypeAndForceComplete<Mlt::Producer *, std::false_type>,
90 // method 'on_comboBox_activated'
91 QtPrivate::TypeAndForceComplete<void, std::false_type>,
92 QtPrivate::TypeAndForceComplete<int, std::false_type>
93 >,
94 nullptr
95} };
96
97void ColorBarsWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
98{
99 if (_c == QMetaObject::InvokeMetaMethod) {
100 auto *_t = static_cast<ColorBarsWidget *>(_o);
101 (void)_t;
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 } else if (_c == QMetaObject::IndexOfMethod) {
108 int *result = reinterpret_cast<int *>(_a[0]);
109 {
110 using _t = void (ColorBarsWidget::*)(Mlt::Producer * );
111 if (_t _q_method = &ColorBarsWidget::producerChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
112 *result = 0;
113 return;
114 }
115 }
116 }
117}
118
119const QMetaObject *ColorBarsWidget::metaObject() const
120{
121 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
122}
123
124void *ColorBarsWidget::qt_metacast(const char *_clname)
125{
126 if (!_clname) return nullptr;
127 if (!strcmp(_clname, qt_meta_stringdata_CLASSColorBarsWidgetENDCLASS.stringdata0))
128 return static_cast<void*>(this);
129 if (!strcmp(_clname, "AbstractProducerWidget"))
130 return static_cast< AbstractProducerWidget*>(this);
131 return QWidget::qt_metacast(_clname);
132}
133
134int ColorBarsWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
135{
136 _id = QWidget::qt_metacall(_c, _id, _a);
137 if (_id < 0)
138 return _id;
139 if (_c == QMetaObject::InvokeMetaMethod) {
140 if (_id < 2)
141 qt_static_metacall(this, _c, _id, _a);
142 _id -= 2;
143 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
144 if (_id < 2)
145 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
146 _id -= 2;
147 }
148 return _id;
149}
150
151// SIGNAL 0
152void ColorBarsWidget::producerChanged(Mlt::Producer * _t1)
153{
154 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
155 QMetaObject::activate(this, &staticMetaObject, 0, _a);
156}
157QT_WARNING_POP