CuteLogger
Fast and simple logging solution for Qt based applications
moc_countproducerwidget.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'countproducerwidget.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.6.2)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include "../../../../src/widgets/countproducerwidget.h"
10#include <QtCore/qmetatype.h>
11
12#if __has_include(<QtCore/qtmochelpers.h>)
13#include <QtCore/qtmochelpers.h>
14#else
15QT_BEGIN_MOC_NAMESPACE
16#endif
17
18
19#include <memory>
20
21#if !defined(Q_MOC_OUTPUT_REVISION)
22#error "The header file 'countproducerwidget.h' doesn't include <QObject>."
23#elif Q_MOC_OUTPUT_REVISION != 68
24#error "This file was generated using the moc from 6.6.2. It"
25#error "cannot be used with the include files from this version of Qt."
26#error "(The moc has changed too much.)"
27#endif
28
29#ifndef Q_CONSTINIT
30#define Q_CONSTINIT
31#endif
32
33QT_WARNING_PUSH
34QT_WARNING_DISABLE_DEPRECATED
35QT_WARNING_DISABLE_GCC("-Wuseless-cast")
36namespace {
37
38#ifdef QT_MOC_HAS_STRINGDATA
39struct qt_meta_stringdata_CLASSCountProducerWidgetENDCLASS_t {};
40constexpr auto qt_meta_stringdata_CLASSCountProducerWidgetENDCLASS = QtMocHelpers::stringData(
41 "CountProducerWidget",
42 "producerChanged",
43 "",
44 "Mlt::Producer*",
45 "producerReopened",
46 "play",
47 "on_directionCombo_activated",
48 "index",
49 "on_styleCombo_activated",
50 "on_soundCombo_activated",
51 "on_backgroundCombo_activated",
52 "on_dropCheckBox_clicked",
53 "checked",
54 "on_durationSpinBox_editingFinished",
55 "on_preset_selected",
56 "p",
57 "on_preset_saveClicked"
58);
59#else // !QT_MOC_HAS_STRING_DATA
60struct qt_meta_stringdata_CLASSCountProducerWidgetENDCLASS_t {
61 uint offsetsAndSizes[34];
62 char stringdata0[20];
63 char stringdata1[16];
64 char stringdata2[1];
65 char stringdata3[15];
66 char stringdata4[17];
67 char stringdata5[5];
68 char stringdata6[28];
69 char stringdata7[6];
70 char stringdata8[24];
71 char stringdata9[24];
72 char stringdata10[29];
73 char stringdata11[24];
74 char stringdata12[8];
75 char stringdata13[35];
76 char stringdata14[19];
77 char stringdata15[2];
78 char stringdata16[22];
79};
80#define QT_MOC_LITERAL(ofs, len) \
81 uint(sizeof(qt_meta_stringdata_CLASSCountProducerWidgetENDCLASS_t::offsetsAndSizes) + ofs), len
82Q_CONSTINIT static const qt_meta_stringdata_CLASSCountProducerWidgetENDCLASS_t qt_meta_stringdata_CLASSCountProducerWidgetENDCLASS = {
83 {
84 QT_MOC_LITERAL(0, 19), // "CountProducerWidget"
85 QT_MOC_LITERAL(20, 15), // "producerChanged"
86 QT_MOC_LITERAL(36, 0), // ""
87 QT_MOC_LITERAL(37, 14), // "Mlt::Producer*"
88 QT_MOC_LITERAL(52, 16), // "producerReopened"
89 QT_MOC_LITERAL(69, 4), // "play"
90 QT_MOC_LITERAL(74, 27), // "on_directionCombo_activated"
91 QT_MOC_LITERAL(102, 5), // "index"
92 QT_MOC_LITERAL(108, 23), // "on_styleCombo_activated"
93 QT_MOC_LITERAL(132, 23), // "on_soundCombo_activated"
94 QT_MOC_LITERAL(156, 28), // "on_backgroundCombo_activated"
95 QT_MOC_LITERAL(185, 23), // "on_dropCheckBox_clicked"
96 QT_MOC_LITERAL(209, 7), // "checked"
97 QT_MOC_LITERAL(217, 34), // "on_durationSpinBox_editingFin..."
98 QT_MOC_LITERAL(252, 18), // "on_preset_selected"
99 QT_MOC_LITERAL(271, 1), // "p"
100 QT_MOC_LITERAL(273, 21) // "on_preset_saveClicked"
101 },
102 "CountProducerWidget",
103 "producerChanged",
104 "",
105 "Mlt::Producer*",
106 "producerReopened",
107 "play",
108 "on_directionCombo_activated",
109 "index",
110 "on_styleCombo_activated",
111 "on_soundCombo_activated",
112 "on_backgroundCombo_activated",
113 "on_dropCheckBox_clicked",
114 "checked",
115 "on_durationSpinBox_editingFinished",
116 "on_preset_selected",
117 "p",
118 "on_preset_saveClicked"
119};
120#undef QT_MOC_LITERAL
121#endif // !QT_MOC_HAS_STRING_DATA
122} // unnamed namespace
123
124Q_CONSTINIT static const uint qt_meta_data_CLASSCountProducerWidgetENDCLASS[] = {
125
126 // content:
127 12, // revision
128 0, // classname
129 0, 0, // classinfo
130 10, 14, // methods
131 0, 0, // properties
132 0, 0, // enums/sets
133 0, 0, // constructors
134 0, // flags
135 2, // signalCount
136
137 // signals: name, argc, parameters, tag, flags, initial metatype offsets
138 1, 1, 74, 2, 0x06, 1 /* Public */,
139 4, 1, 77, 2, 0x06, 3 /* Public */,
140
141 // slots: name, argc, parameters, tag, flags, initial metatype offsets
142 6, 1, 80, 2, 0x08, 5 /* Private */,
143 8, 1, 83, 2, 0x08, 7 /* Private */,
144 9, 1, 86, 2, 0x08, 9 /* Private */,
145 10, 1, 89, 2, 0x08, 11 /* Private */,
146 11, 1, 92, 2, 0x08, 13 /* Private */,
147 13, 0, 95, 2, 0x08, 15 /* Private */,
148 14, 1, 96, 2, 0x08, 16 /* Private */,
149 16, 0, 99, 2, 0x08, 18 /* Private */,
150
151 // signals: parameters
152 QMetaType::Void, 0x80000000 | 3, 2,
153 QMetaType::Void, QMetaType::Bool, 5,
154
155 // slots: parameters
156 QMetaType::Void, QMetaType::Int, 7,
157 QMetaType::Void, QMetaType::Int, 7,
158 QMetaType::Void, QMetaType::Int, 7,
159 QMetaType::Void, QMetaType::Int, 7,
160 QMetaType::Void, QMetaType::Bool, 12,
161 QMetaType::Void,
162 QMetaType::Void, QMetaType::VoidStar, 15,
163 QMetaType::Void,
164
165 0 // eod
166};
167
168Q_CONSTINIT const QMetaObject CountProducerWidget::staticMetaObject = { {
169 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
170 qt_meta_stringdata_CLASSCountProducerWidgetENDCLASS.offsetsAndSizes,
171 qt_meta_data_CLASSCountProducerWidgetENDCLASS,
172 qt_static_metacall,
173 nullptr,
174 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSCountProducerWidgetENDCLASS_t,
175 // Q_OBJECT / Q_GADGET
176 QtPrivate::TypeAndForceComplete<CountProducerWidget, std::true_type>,
177 // method 'producerChanged'
178 QtPrivate::TypeAndForceComplete<void, std::false_type>,
179 QtPrivate::TypeAndForceComplete<Mlt::Producer *, std::false_type>,
180 // method 'producerReopened'
181 QtPrivate::TypeAndForceComplete<void, std::false_type>,
182 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
183 // method 'on_directionCombo_activated'
184 QtPrivate::TypeAndForceComplete<void, std::false_type>,
185 QtPrivate::TypeAndForceComplete<int, std::false_type>,
186 // method 'on_styleCombo_activated'
187 QtPrivate::TypeAndForceComplete<void, std::false_type>,
188 QtPrivate::TypeAndForceComplete<int, std::false_type>,
189 // method 'on_soundCombo_activated'
190 QtPrivate::TypeAndForceComplete<void, std::false_type>,
191 QtPrivate::TypeAndForceComplete<int, std::false_type>,
192 // method 'on_backgroundCombo_activated'
193 QtPrivate::TypeAndForceComplete<void, std::false_type>,
194 QtPrivate::TypeAndForceComplete<int, std::false_type>,
195 // method 'on_dropCheckBox_clicked'
196 QtPrivate::TypeAndForceComplete<void, std::false_type>,
197 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
198 // method 'on_durationSpinBox_editingFinished'
199 QtPrivate::TypeAndForceComplete<void, std::false_type>,
200 // method 'on_preset_selected'
201 QtPrivate::TypeAndForceComplete<void, std::false_type>,
202 QtPrivate::TypeAndForceComplete<void *, std::false_type>,
203 // method 'on_preset_saveClicked'
204 QtPrivate::TypeAndForceComplete<void, std::false_type>
205 >,
206 nullptr
207} };
208
209void CountProducerWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
210{
211 if (_c == QMetaObject::InvokeMetaMethod) {
212 auto *_t = static_cast<CountProducerWidget *>(_o);
213 (void)_t;
214 switch (_id) {
215 case 0: _t->producerChanged((*reinterpret_cast< std::add_pointer_t<Mlt::Producer*>>(_a[1]))); break;
216 case 1: _t->producerReopened((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
217 case 2: _t->on_directionCombo_activated((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
218 case 3: _t->on_styleCombo_activated((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
219 case 4: _t->on_soundCombo_activated((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
220 case 5: _t->on_backgroundCombo_activated((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
221 case 6: _t->on_dropCheckBox_clicked((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
222 case 7: _t->on_durationSpinBox_editingFinished(); break;
223 case 8: _t->on_preset_selected((*reinterpret_cast< std::add_pointer_t<void*>>(_a[1]))); break;
224 case 9: _t->on_preset_saveClicked(); break;
225 default: ;
226 }
227 } else if (_c == QMetaObject::IndexOfMethod) {
228 int *result = reinterpret_cast<int *>(_a[0]);
229 {
230 using _t = void (CountProducerWidget::*)(Mlt::Producer * );
231 if (_t _q_method = &CountProducerWidget::producerChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
232 *result = 0;
233 return;
234 }
235 }
236 {
237 using _t = void (CountProducerWidget::*)(bool );
238 if (_t _q_method = &CountProducerWidget::producerReopened; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
239 *result = 1;
240 return;
241 }
242 }
243 }
244}
245
246const QMetaObject *CountProducerWidget::metaObject() const
247{
248 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
249}
250
251void *CountProducerWidget::qt_metacast(const char *_clname)
252{
253 if (!_clname) return nullptr;
254 if (!strcmp(_clname, qt_meta_stringdata_CLASSCountProducerWidgetENDCLASS.stringdata0))
255 return static_cast<void*>(this);
256 if (!strcmp(_clname, "AbstractProducerWidget"))
257 return static_cast< AbstractProducerWidget*>(this);
258 return QWidget::qt_metacast(_clname);
259}
260
261int CountProducerWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
262{
263 _id = QWidget::qt_metacall(_c, _id, _a);
264 if (_id < 0)
265 return _id;
266 if (_c == QMetaObject::InvokeMetaMethod) {
267 if (_id < 10)
268 qt_static_metacall(this, _c, _id, _a);
269 _id -= 10;
270 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
271 if (_id < 10)
272 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
273 _id -= 10;
274 }
275 return _id;
276}
277
278// SIGNAL 0
279void CountProducerWidget::producerChanged(Mlt::Producer * _t1)
280{
281 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
282 QMetaObject::activate(this, &staticMetaObject, 0, _a);
283}
284
285// SIGNAL 1
286void CountProducerWidget::producerReopened(bool _t1)
287{
288 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
289 QMetaObject::activate(this, &staticMetaObject, 1, _a);
290}
291QT_WARNING_POP