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 69 (Qt 6.9.1)
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 != 69
21#error "This file was generated using the moc from 6.9.1. 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
37template <> constexpr inline auto ColorBarsWidget::qt_create_metaobjectdata<qt_meta_tag_ZN15ColorBarsWidgetE_t>()
38{
39 namespace QMC = QtMocConstants;
40 QtMocHelpers::StringRefStorage qt_stringData {
41 "ColorBarsWidget",
42 "producerChanged",
43 "",
44 "Mlt::Producer*",
45 "on_comboBox_activated",
46 "index"
47 };
48
49 QtMocHelpers::UintData qt_methods {
50 // Signal 'producerChanged'
51 QtMocHelpers::SignalData<void(Mlt::Producer *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
52 { 0x80000000 | 3, 2 },
53 }}),
54 // Slot 'on_comboBox_activated'
55 QtMocHelpers::SlotData<void(int)>(4, 2, QMC::AccessPrivate, QMetaType::Void, {{
56 { QMetaType::Int, 5 },
57 }}),
58 };
59 QtMocHelpers::UintData qt_properties {
60 };
61 QtMocHelpers::UintData qt_enums {
62 };
63 return QtMocHelpers::metaObjectData<ColorBarsWidget, qt_meta_tag_ZN15ColorBarsWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
64 qt_methods, qt_properties, qt_enums);
65}
66Q_CONSTINIT const QMetaObject ColorBarsWidget::staticMetaObject = { {
67 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
68 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ColorBarsWidgetE_t>.stringdata,
69 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ColorBarsWidgetE_t>.data,
70 qt_static_metacall,
71 nullptr,
72 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15ColorBarsWidgetE_t>.metaTypes,
73 nullptr
74} };
75
76void ColorBarsWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
77{
78 auto *_t = static_cast<ColorBarsWidget *>(_o);
79 if (_c == QMetaObject::InvokeMetaMethod) {
80 switch (_id) {
81 case 0: _t->producerChanged((*reinterpret_cast< std::add_pointer_t<Mlt::Producer*>>(_a[1]))); break;
82 case 1: _t->on_comboBox_activated((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
83 default: ;
84 }
85 }
86 if (_c == QMetaObject::IndexOfMethod) {
87 if (QtMocHelpers::indexOfMethod<void (ColorBarsWidget::*)(Mlt::Producer * )>(_a, &ColorBarsWidget::producerChanged, 0))
88 return;
89 }
90}
91
92const QMetaObject *ColorBarsWidget::metaObject() const
93{
94 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
95}
96
97void *ColorBarsWidget::qt_metacast(const char *_clname)
98{
99 if (!_clname) return nullptr;
100 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ColorBarsWidgetE_t>.strings))
101 return static_cast<void*>(this);
102 if (!strcmp(_clname, "AbstractProducerWidget"))
103 return static_cast< AbstractProducerWidget*>(this);
104 return QWidget::qt_metacast(_clname);
105}
106
107int ColorBarsWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
108{
109 _id = QWidget::qt_metacall(_c, _id, _a);
110 if (_id < 0)
111 return _id;
112 if (_c == QMetaObject::InvokeMetaMethod) {
113 if (_id < 2)
114 qt_static_metacall(this, _c, _id, _a);
115 _id -= 2;
116 }
117 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
118 if (_id < 2)
119 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
120 _id -= 2;
121 }
122 return _id;
123}
124
125// SIGNAL 0
126void ColorBarsWidget::producerChanged(Mlt::Producer * _t1)
127{
128 QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
129}
130QT_WARNING_POP