CuteLogger
Fast and simple logging solution for Qt based applications
moc_colorproducerwidget.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'colorproducerwidget.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/colorproducerwidget.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 'colorproducerwidget.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 68
21#error "This file was generated using the moc from 6.8.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 {
34struct qt_meta_tag_ZN19ColorProducerWidgetE_t {};
35} // unnamed namespace
36
37
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN19ColorProducerWidgetE = QtMocHelpers::stringData(
40 "ColorProducerWidget",
41 "producerChanged",
42 "",
43 "Mlt::Producer*",
44 "modified",
45 "rename",
46 "on_colorButton_clicked",
47 "on_preset_selected",
48 "p",
49 "on_preset_saveClicked",
50 "on_lineEdit_editingFinished",
51 "on_notesTextEdit_textChanged"
52);
53#else // !QT_MOC_HAS_STRINGDATA
54#error "qtmochelpers.h not found or too old."
55#endif // !QT_MOC_HAS_STRINGDATA
56
57Q_CONSTINIT static const uint qt_meta_data_ZN19ColorProducerWidgetE[] = {
58
59 // content:
60 12, // revision
61 0, // classname
62 0, 0, // classinfo
63 8, 14, // methods
64 0, 0, // properties
65 0, 0, // enums/sets
66 0, 0, // constructors
67 0, // flags
68 2, // signalCount
69
70 // signals: name, argc, parameters, tag, flags, initial metatype offsets
71 1, 1, 62, 2, 0x06, 1 /* Public */,
72 4, 0, 65, 2, 0x06, 3 /* Public */,
73
74 // slots: name, argc, parameters, tag, flags, initial metatype offsets
75 5, 0, 66, 2, 0x0a, 4 /* Public */,
76 6, 0, 67, 2, 0x08, 5 /* Private */,
77 7, 1, 68, 2, 0x08, 6 /* Private */,
78 9, 0, 71, 2, 0x08, 8 /* Private */,
79 10, 0, 72, 2, 0x08, 9 /* Private */,
80 11, 0, 73, 2, 0x08, 10 /* Private */,
81
82 // signals: parameters
83 QMetaType::Void, 0x80000000 | 3, 2,
84 QMetaType::Void,
85
86 // slots: parameters
87 QMetaType::Void,
88 QMetaType::Void,
89 QMetaType::Void, QMetaType::VoidStar, 8,
90 QMetaType::Void,
91 QMetaType::Void,
92 QMetaType::Void,
93
94 0 // eod
95};
96
97Q_CONSTINIT const QMetaObject ColorProducerWidget::staticMetaObject = { {
98 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
99 qt_meta_stringdata_ZN19ColorProducerWidgetE.offsetsAndSizes,
100 qt_meta_data_ZN19ColorProducerWidgetE,
101 qt_static_metacall,
102 nullptr,
103 qt_incomplete_metaTypeArray<qt_meta_tag_ZN19ColorProducerWidgetE_t,
104 // Q_OBJECT / Q_GADGET
105 QtPrivate::TypeAndForceComplete<ColorProducerWidget, std::true_type>,
106 // method 'producerChanged'
107 QtPrivate::TypeAndForceComplete<void, std::false_type>,
108 QtPrivate::TypeAndForceComplete<Mlt::Producer *, std::false_type>,
109 // method 'modified'
110 QtPrivate::TypeAndForceComplete<void, std::false_type>,
111 // method 'rename'
112 QtPrivate::TypeAndForceComplete<void, std::false_type>,
113 // method 'on_colorButton_clicked'
114 QtPrivate::TypeAndForceComplete<void, std::false_type>,
115 // method 'on_preset_selected'
116 QtPrivate::TypeAndForceComplete<void, std::false_type>,
117 QtPrivate::TypeAndForceComplete<void *, std::false_type>,
118 // method 'on_preset_saveClicked'
119 QtPrivate::TypeAndForceComplete<void, std::false_type>,
120 // method 'on_lineEdit_editingFinished'
121 QtPrivate::TypeAndForceComplete<void, std::false_type>,
122 // method 'on_notesTextEdit_textChanged'
123 QtPrivate::TypeAndForceComplete<void, std::false_type>
124 >,
125 nullptr
126} };
127
128void ColorProducerWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
129{
130 auto *_t = static_cast<ColorProducerWidget *>(_o);
131 if (_c == QMetaObject::InvokeMetaMethod) {
132 switch (_id) {
133 case 0: _t->producerChanged((*reinterpret_cast< std::add_pointer_t<Mlt::Producer*>>(_a[1]))); break;
134 case 1: _t->modified(); break;
135 case 2: _t->rename(); break;
136 case 3: _t->on_colorButton_clicked(); break;
137 case 4: _t->on_preset_selected((*reinterpret_cast< std::add_pointer_t<void*>>(_a[1]))); break;
138 case 5: _t->on_preset_saveClicked(); break;
139 case 6: _t->on_lineEdit_editingFinished(); break;
140 case 7: _t->on_notesTextEdit_textChanged(); break;
141 default: ;
142 }
143 }
144 if (_c == QMetaObject::IndexOfMethod) {
145 int *result = reinterpret_cast<int *>(_a[0]);
146 {
147 using _q_method_type = void (ColorProducerWidget::*)(Mlt::Producer * );
148 if (_q_method_type _q_method = &ColorProducerWidget::producerChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
149 *result = 0;
150 return;
151 }
152 }
153 {
154 using _q_method_type = void (ColorProducerWidget::*)();
155 if (_q_method_type _q_method = &ColorProducerWidget::modified; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
156 *result = 1;
157 return;
158 }
159 }
160 }
161}
162
163const QMetaObject *ColorProducerWidget::metaObject() const
164{
165 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
166}
167
168void *ColorProducerWidget::qt_metacast(const char *_clname)
169{
170 if (!_clname) return nullptr;
171 if (!strcmp(_clname, qt_meta_stringdata_ZN19ColorProducerWidgetE.stringdata0))
172 return static_cast<void*>(this);
173 if (!strcmp(_clname, "AbstractProducerWidget"))
174 return static_cast< AbstractProducerWidget*>(this);
175 return QWidget::qt_metacast(_clname);
176}
177
178int ColorProducerWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
179{
180 _id = QWidget::qt_metacall(_c, _id, _a);
181 if (_id < 0)
182 return _id;
183 if (_c == QMetaObject::InvokeMetaMethod) {
184 if (_id < 8)
185 qt_static_metacall(this, _c, _id, _a);
186 _id -= 8;
187 }
188 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
189 if (_id < 8)
190 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
191 _id -= 8;
192 }
193 return _id;
194}
195
196// SIGNAL 0
197void ColorProducerWidget::producerChanged(Mlt::Producer * _t1)
198{
199 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
200 QMetaObject::activate(this, &staticMetaObject, 0, _a);
201}
202
203// SIGNAL 1
204void ColorProducerWidget::modified()
205{
206 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
207}
208QT_WARNING_POP