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