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