1/****************************************************************************
2** Meta object code from reading C++ file 'qslider.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/qslider.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qslider.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
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
24struct qt_meta_stringdata_QSlider_t {
25 const uint offsetsAndSize[20];
26 char stringdata0[113];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QSlider_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QSlider_t qt_meta_stringdata_QSlider = {
31 {
32QT_MOC_LITERAL(0, 7), // "QSlider"
33QT_MOC_LITERAL(8, 12), // "tickPosition"
34QT_MOC_LITERAL(21, 12), // "TickPosition"
35QT_MOC_LITERAL(34, 12), // "tickInterval"
36QT_MOC_LITERAL(47, 7), // "NoTicks"
37QT_MOC_LITERAL(55, 10), // "TicksAbove"
38QT_MOC_LITERAL(66, 9), // "TicksLeft"
39QT_MOC_LITERAL(76, 10), // "TicksBelow"
40QT_MOC_LITERAL(87, 10), // "TicksRight"
41QT_MOC_LITERAL(98, 14) // "TicksBothSides"
42
43 },
44 "QSlider\0tickPosition\0TickPosition\0"
45 "tickInterval\0NoTicks\0TicksAbove\0"
46 "TicksLeft\0TicksBelow\0TicksRight\0"
47 "TicksBothSides"
48};
49#undef QT_MOC_LITERAL
50
51static const uint qt_meta_data_QSlider[] = {
52
53 // content:
54 9, // revision
55 0, // classname
56 0, 0, // classinfo
57 0, 0, // methods
58 2, 14, // properties
59 1, 24, // enums/sets
60 0, 0, // constructors
61 0, // flags
62 0, // signalCount
63
64 // properties: name, type, flags
65 1, 0x80000000 | 2, 0x0001510b, uint(-1), 0,
66 3, QMetaType::Int, 0x00015103, uint(-1), 0,
67
68 // enums: name, alias, flags, count, data
69 2, 2, 0x0, 6, 29,
70
71 // enum data: key, value
72 4, uint(QSlider::NoTicks),
73 5, uint(QSlider::TicksAbove),
74 6, uint(QSlider::TicksLeft),
75 7, uint(QSlider::TicksBelow),
76 8, uint(QSlider::TicksRight),
77 9, uint(QSlider::TicksBothSides),
78
79 0 // eod
80};
81
82void QSlider::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
83{
84
85#ifndef QT_NO_PROPERTIES
86 if (_c == QMetaObject::ReadProperty) {
87 Q_ASSERT(staticMetaObject.cast(_o));
88 auto *_t = static_cast<QSlider *>(_o);
89 Q_UNUSED(_t)
90 void *_v = _a[0];
91 switch (_id) {
92 case 0: *reinterpret_cast< TickPosition*>(_v) = _t->tickPosition(); break;
93 case 1: *reinterpret_cast< int*>(_v) = _t->tickInterval(); break;
94 default: break;
95 }
96 } else if (_c == QMetaObject::WriteProperty) {
97 Q_ASSERT(staticMetaObject.cast(_o));
98 auto *_t = static_cast<QSlider *>(_o);
99 Q_UNUSED(_t)
100 void *_v = _a[0];
101 switch (_id) {
102 case 0: _t->setTickPosition(*reinterpret_cast< TickPosition*>(_v)); break;
103 case 1: _t->setTickInterval(*reinterpret_cast< int*>(_v)); break;
104 default: break;
105 }
106 } else if (_c == QMetaObject::ResetProperty) {
107 } else if (_c == QMetaObject::BindableProperty) {
108 }
109#endif // QT_NO_PROPERTIES
110 Q_UNUSED(_o);
111 Q_UNUSED(_id);
112 Q_UNUSED(_c);
113 Q_UNUSED(_a);
114}
115
116const QMetaObject QSlider::staticMetaObject = { {
117 QMetaObject::SuperData::link<QAbstractSlider::staticMetaObject>(),
118 qt_meta_stringdata_QSlider.offsetsAndSize,
119 qt_meta_data_QSlider,
120 qt_static_metacall,
121 nullptr,
122qt_incomplete_metaTypeArray<qt_meta_stringdata_QSlider_t
123, QtPrivate::TypeAndForceComplete<TickPosition, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>
124
125
126
127>,
128 nullptr
129} };
130
131
132const QMetaObject *QSlider::metaObject() const
133{
134 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
135}
136
137void *QSlider::qt_metacast(const char *_clname)
138{
139 if (!_clname) return nullptr;
140 if (!strcmp(_clname, qt_meta_stringdata_QSlider.stringdata0))
141 return static_cast<void*>(this);
142 return QAbstractSlider::qt_metacast(_clname);
143}
144
145int QSlider::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
146{
147 _id = QAbstractSlider::qt_metacall(_c, _id, _a);
148 if (_id < 0)
149 return _id;
150
151#ifndef QT_NO_PROPERTIES
152 if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
153 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
154 || _c == QMetaObject::RegisterPropertyMetaType) {
155 qt_static_metacall(this, _c, _id, _a);
156 _id -= 2;
157 }
158#endif // QT_NO_PROPERTIES
159 return _id;
160}
161QT_WARNING_POP
162QT_END_MOC_NAMESPACE
163