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