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