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