1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qabstractslider.h' |
3 | ** |
4 | ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.0) |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost! |
7 | *****************************************************************************/ |
8 | |
9 | #include <memory> |
10 | #include "widgets/qabstractslider.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'qabstractslider.h' doesn't include <QObject>." |
15 | #elif Q_MOC_OUTPUT_REVISION != 68 |
16 | #error "This file was generated using the moc from 6.0.0. It" |
17 | #error "cannot be used with the include files from this version of Qt." |
18 | #error "(The moc has changed too much.)" |
19 | #endif |
20 | |
21 | QT_BEGIN_MOC_NAMESPACE |
22 | QT_WARNING_PUSH |
23 | QT_WARNING_DISABLE_DEPRECATED |
24 | struct qt_meta_stringdata_QAbstractSlider_t { |
25 | const uint offsetsAndSize[54]; |
26 | char stringdata0[298]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_QAbstractSlider_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_QAbstractSlider_t qt_meta_stringdata_QAbstractSlider = { |
31 | { |
32 | QT_MOC_LITERAL(0, 15), // "QAbstractSlider" |
33 | QT_MOC_LITERAL(16, 12), // "valueChanged" |
34 | QT_MOC_LITERAL(29, 0), // "" |
35 | QT_MOC_LITERAL(30, 5), // "value" |
36 | QT_MOC_LITERAL(36, 13), // "sliderPressed" |
37 | QT_MOC_LITERAL(50, 11), // "sliderMoved" |
38 | QT_MOC_LITERAL(62, 8), // "position" |
39 | QT_MOC_LITERAL(71, 14), // "sliderReleased" |
40 | QT_MOC_LITERAL(86, 12), // "rangeChanged" |
41 | QT_MOC_LITERAL(99, 3), // "min" |
42 | QT_MOC_LITERAL(103, 3), // "max" |
43 | QT_MOC_LITERAL(107, 15), // "actionTriggered" |
44 | QT_MOC_LITERAL(123, 6), // "action" |
45 | QT_MOC_LITERAL(130, 8), // "setValue" |
46 | QT_MOC_LITERAL(139, 14), // "setOrientation" |
47 | QT_MOC_LITERAL(154, 15), // "Qt::Orientation" |
48 | QT_MOC_LITERAL(170, 8), // "setRange" |
49 | QT_MOC_LITERAL(179, 7), // "minimum" |
50 | QT_MOC_LITERAL(187, 7), // "maximum" |
51 | QT_MOC_LITERAL(195, 10), // "singleStep" |
52 | QT_MOC_LITERAL(206, 8), // "pageStep" |
53 | QT_MOC_LITERAL(215, 14), // "sliderPosition" |
54 | QT_MOC_LITERAL(230, 8), // "tracking" |
55 | QT_MOC_LITERAL(239, 11), // "orientation" |
56 | QT_MOC_LITERAL(251, 18), // "invertedAppearance" |
57 | QT_MOC_LITERAL(270, 16), // "invertedControls" |
58 | QT_MOC_LITERAL(287, 10) // "sliderDown" |
59 | |
60 | }, |
61 | "QAbstractSlider\0valueChanged\0\0value\0" |
62 | "sliderPressed\0sliderMoved\0position\0" |
63 | "sliderReleased\0rangeChanged\0min\0max\0" |
64 | "actionTriggered\0action\0setValue\0" |
65 | "setOrientation\0Qt::Orientation\0setRange\0" |
66 | "minimum\0maximum\0singleStep\0pageStep\0" |
67 | "sliderPosition\0tracking\0orientation\0" |
68 | "invertedAppearance\0invertedControls\0" |
69 | "sliderDown" |
70 | }; |
71 | #undef QT_MOC_LITERAL |
72 | |
73 | static const uint qt_meta_data_QAbstractSlider[] = { |
74 | |
75 | // content: |
76 | 9, // revision |
77 | 0, // classname |
78 | 0, 0, // classinfo |
79 | 9, 14, // methods |
80 | 11, 95, // properties |
81 | 0, 0, // enums/sets |
82 | 0, 0, // constructors |
83 | 0, // flags |
84 | 6, // signalCount |
85 | |
86 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
87 | 1, 1, 68, 2, 0x06, 11 /* Public */, |
88 | 4, 0, 71, 2, 0x06, 13 /* Public */, |
89 | 5, 1, 72, 2, 0x06, 14 /* Public */, |
90 | 7, 0, 75, 2, 0x06, 16 /* Public */, |
91 | 8, 2, 76, 2, 0x06, 17 /* Public */, |
92 | 11, 1, 81, 2, 0x06, 20 /* Public */, |
93 | |
94 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
95 | 13, 1, 84, 2, 0x0a, 22 /* Public */, |
96 | 14, 1, 87, 2, 0x0a, 24 /* Public */, |
97 | 16, 2, 90, 2, 0x0a, 26 /* Public */, |
98 | |
99 | // signals: parameters |
100 | QMetaType::Void, QMetaType::Int, 3, |
101 | QMetaType::Void, |
102 | QMetaType::Void, QMetaType::Int, 6, |
103 | QMetaType::Void, |
104 | QMetaType::Void, QMetaType::Int, QMetaType::Int, 9, 10, |
105 | QMetaType::Void, QMetaType::Int, 12, |
106 | |
107 | // slots: parameters |
108 | QMetaType::Void, QMetaType::Int, 2, |
109 | QMetaType::Void, 0x80000000 | 15, 2, |
110 | QMetaType::Void, QMetaType::Int, QMetaType::Int, 9, 10, |
111 | |
112 | // properties: name, type, flags |
113 | 17, QMetaType::Int, 0x00015103, uint(-1), 0, |
114 | 18, QMetaType::Int, 0x00015103, uint(-1), 0, |
115 | 19, QMetaType::Int, 0x00015103, uint(-1), 0, |
116 | 20, QMetaType::Int, 0x00015103, uint(-1), 0, |
117 | 3, QMetaType::Int, 0x00115103, uint(0), 0, |
118 | 21, QMetaType::Int, 0x00015103, uint(2), 0, |
119 | 22, QMetaType::Bool, 0x00015103, uint(-1), 0, |
120 | 23, 0x80000000 | 15, 0x0001510b, uint(-1), 0, |
121 | 24, QMetaType::Bool, 0x00015103, uint(-1), 0, |
122 | 25, QMetaType::Bool, 0x00015103, uint(-1), 0, |
123 | 26, QMetaType::Bool, 0x00014103, uint(-1), 0, |
124 | |
125 | 0 // eod |
126 | }; |
127 | |
128 | void QAbstractSlider::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
129 | { |
130 | if (_c == QMetaObject::InvokeMetaMethod) { |
131 | Q_ASSERT(staticMetaObject.cast(_o)); |
132 | auto *_t = static_cast<QAbstractSlider *>(_o); |
133 | Q_UNUSED(_t) |
134 | switch (_id) { |
135 | case 0: _t->valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break; |
136 | case 1: _t->sliderPressed(); break; |
137 | case 2: _t->sliderMoved((*reinterpret_cast< int(*)>(_a[1]))); break; |
138 | case 3: _t->sliderReleased(); break; |
139 | case 4: _t->rangeChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; |
140 | case 5: _t->actionTriggered((*reinterpret_cast< int(*)>(_a[1]))); break; |
141 | case 6: _t->setValue((*reinterpret_cast< int(*)>(_a[1]))); break; |
142 | case 7: _t->setOrientation((*reinterpret_cast< Qt::Orientation(*)>(_a[1]))); break; |
143 | case 8: _t->setRange((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; |
144 | default: ; |
145 | } |
146 | } else if (_c == QMetaObject::IndexOfMethod) { |
147 | int *result = reinterpret_cast<int *>(_a[0]); |
148 | { |
149 | using _t = void (QAbstractSlider::*)(int ); |
150 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAbstractSlider::valueChanged)) { |
151 | *result = 0; |
152 | return; |
153 | } |
154 | } |
155 | { |
156 | using _t = void (QAbstractSlider::*)(); |
157 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAbstractSlider::sliderPressed)) { |
158 | *result = 1; |
159 | return; |
160 | } |
161 | } |
162 | { |
163 | using _t = void (QAbstractSlider::*)(int ); |
164 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAbstractSlider::sliderMoved)) { |
165 | *result = 2; |
166 | return; |
167 | } |
168 | } |
169 | { |
170 | using _t = void (QAbstractSlider::*)(); |
171 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAbstractSlider::sliderReleased)) { |
172 | *result = 3; |
173 | return; |
174 | } |
175 | } |
176 | { |
177 | using _t = void (QAbstractSlider::*)(int , int ); |
178 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAbstractSlider::rangeChanged)) { |
179 | *result = 4; |
180 | return; |
181 | } |
182 | } |
183 | { |
184 | using _t = void (QAbstractSlider::*)(int ); |
185 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAbstractSlider::actionTriggered)) { |
186 | *result = 5; |
187 | return; |
188 | } |
189 | } |
190 | } |
191 | #ifndef QT_NO_PROPERTIES |
192 | else if (_c == QMetaObject::ReadProperty) { |
193 | Q_ASSERT(staticMetaObject.cast(_o)); |
194 | auto *_t = static_cast<QAbstractSlider *>(_o); |
195 | Q_UNUSED(_t) |
196 | void *_v = _a[0]; |
197 | switch (_id) { |
198 | case 0: *reinterpret_cast< int*>(_v) = _t->minimum(); break; |
199 | case 1: *reinterpret_cast< int*>(_v) = _t->maximum(); break; |
200 | case 2: *reinterpret_cast< int*>(_v) = _t->singleStep(); break; |
201 | case 3: *reinterpret_cast< int*>(_v) = _t->pageStep(); break; |
202 | case 4: *reinterpret_cast< int*>(_v) = _t->value(); break; |
203 | case 5: *reinterpret_cast< int*>(_v) = _t->sliderPosition(); break; |
204 | case 6: *reinterpret_cast< bool*>(_v) = _t->hasTracking(); break; |
205 | case 7: *reinterpret_cast< Qt::Orientation*>(_v) = _t->orientation(); break; |
206 | case 8: *reinterpret_cast< bool*>(_v) = _t->invertedAppearance(); break; |
207 | case 9: *reinterpret_cast< bool*>(_v) = _t->invertedControls(); break; |
208 | case 10: *reinterpret_cast< bool*>(_v) = _t->isSliderDown(); break; |
209 | default: break; |
210 | } |
211 | } else if (_c == QMetaObject::WriteProperty) { |
212 | Q_ASSERT(staticMetaObject.cast(_o)); |
213 | auto *_t = static_cast<QAbstractSlider *>(_o); |
214 | Q_UNUSED(_t) |
215 | void *_v = _a[0]; |
216 | switch (_id) { |
217 | case 0: _t->setMinimum(*reinterpret_cast< int*>(_v)); break; |
218 | case 1: _t->setMaximum(*reinterpret_cast< int*>(_v)); break; |
219 | case 2: _t->setSingleStep(*reinterpret_cast< int*>(_v)); break; |
220 | case 3: _t->setPageStep(*reinterpret_cast< int*>(_v)); break; |
221 | case 4: _t->setValue(*reinterpret_cast< int*>(_v)); break; |
222 | case 5: _t->setSliderPosition(*reinterpret_cast< int*>(_v)); break; |
223 | case 6: _t->setTracking(*reinterpret_cast< bool*>(_v)); break; |
224 | case 7: _t->setOrientation(*reinterpret_cast< Qt::Orientation*>(_v)); break; |
225 | case 8: _t->setInvertedAppearance(*reinterpret_cast< bool*>(_v)); break; |
226 | case 9: _t->setInvertedControls(*reinterpret_cast< bool*>(_v)); break; |
227 | case 10: _t->setSliderDown(*reinterpret_cast< bool*>(_v)); break; |
228 | default: break; |
229 | } |
230 | } else if (_c == QMetaObject::ResetProperty) { |
231 | } else if (_c == QMetaObject::BindableProperty) { |
232 | } |
233 | #endif // QT_NO_PROPERTIES |
234 | } |
235 | |
236 | const QMetaObject QAbstractSlider::staticMetaObject = { { |
237 | QMetaObject::SuperData::link<QWidget::staticMetaObject>(), |
238 | qt_meta_stringdata_QAbstractSlider.offsetsAndSize, |
239 | qt_meta_data_QAbstractSlider, |
240 | qt_static_metacall, |
241 | nullptr, |
242 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QAbstractSlider_t |
243 | , QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<Qt::Orientation, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type> |
244 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<Qt::Orientation, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type> |
245 | |
246 | |
247 | >, |
248 | nullptr |
249 | } }; |
250 | |
251 | |
252 | const QMetaObject *QAbstractSlider::metaObject() const |
253 | { |
254 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
255 | } |
256 | |
257 | void *QAbstractSlider::qt_metacast(const char *_clname) |
258 | { |
259 | if (!_clname) return nullptr; |
260 | if (!strcmp(_clname, qt_meta_stringdata_QAbstractSlider.stringdata0)) |
261 | return static_cast<void*>(this); |
262 | return QWidget::qt_metacast(_clname); |
263 | } |
264 | |
265 | int QAbstractSlider::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
266 | { |
267 | _id = QWidget::qt_metacall(_c, _id, _a); |
268 | if (_id < 0) |
269 | return _id; |
270 | if (_c == QMetaObject::InvokeMetaMethod) { |
271 | if (_id < 9) |
272 | qt_static_metacall(this, _c, _id, _a); |
273 | _id -= 9; |
274 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
275 | if (_id < 9) |
276 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
277 | _id -= 9; |
278 | } |
279 | #ifndef QT_NO_PROPERTIES |
280 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty |
281 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty |
282 | || _c == QMetaObject::RegisterPropertyMetaType) { |
283 | qt_static_metacall(this, _c, _id, _a); |
284 | _id -= 11; |
285 | } |
286 | #endif // QT_NO_PROPERTIES |
287 | return _id; |
288 | } |
289 | |
290 | // SIGNAL 0 |
291 | void QAbstractSlider::valueChanged(int _t1) |
292 | { |
293 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
294 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
295 | } |
296 | |
297 | // SIGNAL 1 |
298 | void QAbstractSlider::sliderPressed() |
299 | { |
300 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); |
301 | } |
302 | |
303 | // SIGNAL 2 |
304 | void QAbstractSlider::sliderMoved(int _t1) |
305 | { |
306 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
307 | QMetaObject::activate(this, &staticMetaObject, 2, _a); |
308 | } |
309 | |
310 | // SIGNAL 3 |
311 | void QAbstractSlider::sliderReleased() |
312 | { |
313 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); |
314 | } |
315 | |
316 | // SIGNAL 4 |
317 | void QAbstractSlider::rangeChanged(int _t1, int _t2) |
318 | { |
319 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
320 | QMetaObject::activate(this, &staticMetaObject, 4, _a); |
321 | } |
322 | |
323 | // SIGNAL 5 |
324 | void QAbstractSlider::actionTriggered(int _t1) |
325 | { |
326 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
327 | QMetaObject::activate(this, &staticMetaObject, 5, _a); |
328 | } |
329 | QT_WARNING_POP |
330 | QT_END_MOC_NAMESPACE |
331 | |