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