1/****************************************************************************
2** Meta object code from reading C++ file 'qabstractspinbox.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/qabstractspinbox.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qabstractspinbox.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_QAbstractSpinBox_t {
25 const uint offsetsAndSize[64];
26 char stringdata0[437];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QAbstractSpinBox_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QAbstractSpinBox_t qt_meta_stringdata_QAbstractSpinBox = {
31 {
32QT_MOC_LITERAL(0, 16), // "QAbstractSpinBox"
33QT_MOC_LITERAL(17, 15), // "editingFinished"
34QT_MOC_LITERAL(33, 0), // ""
35QT_MOC_LITERAL(34, 6), // "stepUp"
36QT_MOC_LITERAL(41, 8), // "stepDown"
37QT_MOC_LITERAL(50, 9), // "selectAll"
38QT_MOC_LITERAL(60, 5), // "clear"
39QT_MOC_LITERAL(66, 20), // "_q_editorTextChanged"
40QT_MOC_LITERAL(87, 30), // "_q_editorCursorPositionChanged"
41QT_MOC_LITERAL(118, 8), // "wrapping"
42QT_MOC_LITERAL(127, 5), // "frame"
43QT_MOC_LITERAL(133, 9), // "alignment"
44QT_MOC_LITERAL(143, 13), // "Qt::Alignment"
45QT_MOC_LITERAL(157, 8), // "readOnly"
46QT_MOC_LITERAL(166, 13), // "buttonSymbols"
47QT_MOC_LITERAL(180, 13), // "ButtonSymbols"
48QT_MOC_LITERAL(194, 16), // "specialValueText"
49QT_MOC_LITERAL(211, 4), // "text"
50QT_MOC_LITERAL(216, 11), // "accelerated"
51QT_MOC_LITERAL(228, 14), // "correctionMode"
52QT_MOC_LITERAL(243, 14), // "CorrectionMode"
53QT_MOC_LITERAL(258, 15), // "acceptableInput"
54QT_MOC_LITERAL(274, 16), // "keyboardTracking"
55QT_MOC_LITERAL(291, 18), // "showGroupSeparator"
56QT_MOC_LITERAL(310, 12), // "UpDownArrows"
57QT_MOC_LITERAL(323, 9), // "PlusMinus"
58QT_MOC_LITERAL(333, 9), // "NoButtons"
59QT_MOC_LITERAL(343, 22), // "CorrectToPreviousValue"
60QT_MOC_LITERAL(366, 21), // "CorrectToNearestValue"
61QT_MOC_LITERAL(388, 8), // "StepType"
62QT_MOC_LITERAL(397, 15), // "DefaultStepType"
63QT_MOC_LITERAL(413, 23) // "AdaptiveDecimalStepType"
64
65 },
66 "QAbstractSpinBox\0editingFinished\0\0"
67 "stepUp\0stepDown\0selectAll\0clear\0"
68 "_q_editorTextChanged\0"
69 "_q_editorCursorPositionChanged\0wrapping\0"
70 "frame\0alignment\0Qt::Alignment\0readOnly\0"
71 "buttonSymbols\0ButtonSymbols\0"
72 "specialValueText\0text\0accelerated\0"
73 "correctionMode\0CorrectionMode\0"
74 "acceptableInput\0keyboardTracking\0"
75 "showGroupSeparator\0UpDownArrows\0"
76 "PlusMinus\0NoButtons\0CorrectToPreviousValue\0"
77 "CorrectToNearestValue\0StepType\0"
78 "DefaultStepType\0AdaptiveDecimalStepType"
79};
80#undef QT_MOC_LITERAL
81
82static const uint qt_meta_data_QAbstractSpinBox[] = {
83
84 // content:
85 9, // revision
86 0, // classname
87 0, 0, // classinfo
88 7, 14, // methods
89 12, 69, // properties
90 3, 129, // enums/sets
91 0, 0, // constructors
92 0, // flags
93 1, // signalCount
94
95 // signals: name, argc, parameters, tag, flags, initial metatype offsets
96 1, 0, 56, 2, 0x06, 12 /* Public */,
97
98 // slots: name, argc, parameters, tag, flags, initial metatype offsets
99 3, 0, 57, 2, 0x0a, 13 /* Public */,
100 4, 0, 58, 2, 0x0a, 14 /* Public */,
101 5, 0, 59, 2, 0x0a, 15 /* Public */,
102 6, 0, 60, 2, 0x0a, 16 /* Public */,
103 7, 1, 61, 2, 0x08, 17 /* Private */,
104 8, 2, 64, 2, 0x08, 19 /* Private */,
105
106 // signals: parameters
107 QMetaType::Void,
108
109 // slots: parameters
110 QMetaType::Void,
111 QMetaType::Void,
112 QMetaType::Void,
113 QMetaType::Void,
114 QMetaType::Void, QMetaType::QString, 2,
115 QMetaType::Void, QMetaType::Int, QMetaType::Int, 2, 2,
116
117 // properties: name, type, flags
118 9, QMetaType::Bool, 0x00015103, uint(-1), 0,
119 10, QMetaType::Bool, 0x00015103, uint(-1), 0,
120 11, 0x80000000 | 12, 0x0001510b, uint(-1), 0,
121 13, QMetaType::Bool, 0x00015103, uint(-1), 0,
122 14, 0x80000000 | 15, 0x0001510b, uint(-1), 0,
123 16, QMetaType::QString, 0x00015103, uint(-1), 0,
124 17, QMetaType::QString, 0x00015001, uint(-1), 0,
125 18, QMetaType::Bool, 0x00015103, uint(-1), 0,
126 19, 0x80000000 | 20, 0x0001510b, uint(-1), 0,
127 21, QMetaType::Bool, 0x00015001, uint(-1), 0,
128 22, QMetaType::Bool, 0x00015103, uint(-1), 0,
129 23, QMetaType::Bool, 0x00015003, uint(-1), 0,
130
131 // enums: name, alias, flags, count, data
132 15, 15, 0x0, 3, 144,
133 20, 20, 0x0, 2, 150,
134 29, 29, 0x0, 2, 154,
135
136 // enum data: key, value
137 24, uint(QAbstractSpinBox::UpDownArrows),
138 25, uint(QAbstractSpinBox::PlusMinus),
139 26, uint(QAbstractSpinBox::NoButtons),
140 27, uint(QAbstractSpinBox::CorrectToPreviousValue),
141 28, uint(QAbstractSpinBox::CorrectToNearestValue),
142 30, uint(QAbstractSpinBox::DefaultStepType),
143 31, uint(QAbstractSpinBox::AdaptiveDecimalStepType),
144
145 0 // eod
146};
147
148void QAbstractSpinBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
149{
150 if (_c == QMetaObject::InvokeMetaMethod) {
151 Q_ASSERT(staticMetaObject.cast(_o));
152 auto *_t = static_cast<QAbstractSpinBox *>(_o);
153 Q_UNUSED(_t)
154 switch (_id) {
155 case 0: _t->editingFinished(); break;
156 case 1: _t->stepUp(); break;
157 case 2: _t->stepDown(); break;
158 case 3: _t->selectAll(); break;
159 case 4: _t->clear(); break;
160 case 5: _t->d_func()->_q_editorTextChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
161 case 6: _t->d_func()->_q_editorCursorPositionChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
162 default: ;
163 }
164 } else if (_c == QMetaObject::IndexOfMethod) {
165 int *result = reinterpret_cast<int *>(_a[0]);
166 {
167 using _t = void (QAbstractSpinBox::*)();
168 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAbstractSpinBox::editingFinished)) {
169 *result = 0;
170 return;
171 }
172 }
173 }
174#ifndef QT_NO_PROPERTIES
175 else if (_c == QMetaObject::ReadProperty) {
176 Q_ASSERT(staticMetaObject.cast(_o));
177 auto *_t = static_cast<QAbstractSpinBox *>(_o);
178 Q_UNUSED(_t)
179 void *_v = _a[0];
180 switch (_id) {
181 case 0: *reinterpret_cast< bool*>(_v) = _t->wrapping(); break;
182 case 1: *reinterpret_cast< bool*>(_v) = _t->hasFrame(); break;
183 case 2: *reinterpret_cast< Qt::Alignment*>(_v) = _t->alignment(); break;
184 case 3: *reinterpret_cast< bool*>(_v) = _t->isReadOnly(); break;
185 case 4: *reinterpret_cast< ButtonSymbols*>(_v) = _t->buttonSymbols(); break;
186 case 5: *reinterpret_cast< QString*>(_v) = _t->specialValueText(); break;
187 case 6: *reinterpret_cast< QString*>(_v) = _t->text(); break;
188 case 7: *reinterpret_cast< bool*>(_v) = _t->isAccelerated(); break;
189 case 8: *reinterpret_cast< CorrectionMode*>(_v) = _t->correctionMode(); break;
190 case 9: *reinterpret_cast< bool*>(_v) = _t->hasAcceptableInput(); break;
191 case 10: *reinterpret_cast< bool*>(_v) = _t->keyboardTracking(); break;
192 case 11: *reinterpret_cast< bool*>(_v) = _t->isGroupSeparatorShown(); break;
193 default: break;
194 }
195 } else if (_c == QMetaObject::WriteProperty) {
196 Q_ASSERT(staticMetaObject.cast(_o));
197 auto *_t = static_cast<QAbstractSpinBox *>(_o);
198 Q_UNUSED(_t)
199 void *_v = _a[0];
200 switch (_id) {
201 case 0: _t->setWrapping(*reinterpret_cast< bool*>(_v)); break;
202 case 1: _t->setFrame(*reinterpret_cast< bool*>(_v)); break;
203 case 2: _t->setAlignment(*reinterpret_cast< Qt::Alignment*>(_v)); break;
204 case 3: _t->setReadOnly(*reinterpret_cast< bool*>(_v)); break;
205 case 4: _t->setButtonSymbols(*reinterpret_cast< ButtonSymbols*>(_v)); break;
206 case 5: _t->setSpecialValueText(*reinterpret_cast< QString*>(_v)); break;
207 case 7: _t->setAccelerated(*reinterpret_cast< bool*>(_v)); break;
208 case 8: _t->setCorrectionMode(*reinterpret_cast< CorrectionMode*>(_v)); break;
209 case 10: _t->setKeyboardTracking(*reinterpret_cast< bool*>(_v)); break;
210 case 11: _t->setGroupSeparatorShown(*reinterpret_cast< bool*>(_v)); break;
211 default: break;
212 }
213 } else if (_c == QMetaObject::ResetProperty) {
214 } else if (_c == QMetaObject::BindableProperty) {
215 }
216#endif // QT_NO_PROPERTIES
217}
218
219const QMetaObject QAbstractSpinBox::staticMetaObject = { {
220 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
221 qt_meta_stringdata_QAbstractSpinBox.offsetsAndSize,
222 qt_meta_data_QAbstractSpinBox,
223 qt_static_metacall,
224 nullptr,
225qt_incomplete_metaTypeArray<qt_meta_stringdata_QAbstractSpinBox_t
226, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<Qt::Alignment, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<ButtonSymbols, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<CorrectionMode, 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>
227, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>
228
229
230>,
231 nullptr
232} };
233
234
235const QMetaObject *QAbstractSpinBox::metaObject() const
236{
237 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
238}
239
240void *QAbstractSpinBox::qt_metacast(const char *_clname)
241{
242 if (!_clname) return nullptr;
243 if (!strcmp(_clname, qt_meta_stringdata_QAbstractSpinBox.stringdata0))
244 return static_cast<void*>(this);
245 return QWidget::qt_metacast(_clname);
246}
247
248int QAbstractSpinBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
249{
250 _id = QWidget::qt_metacall(_c, _id, _a);
251 if (_id < 0)
252 return _id;
253 if (_c == QMetaObject::InvokeMetaMethod) {
254 if (_id < 7)
255 qt_static_metacall(this, _c, _id, _a);
256 _id -= 7;
257 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
258 if (_id < 7)
259 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
260 _id -= 7;
261 }
262#ifndef QT_NO_PROPERTIES
263 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
264 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
265 || _c == QMetaObject::RegisterPropertyMetaType) {
266 qt_static_metacall(this, _c, _id, _a);
267 _id -= 12;
268 }
269#endif // QT_NO_PROPERTIES
270 return _id;
271}
272
273// SIGNAL 0
274void QAbstractSpinBox::editingFinished()
275{
276 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
277}
278QT_WARNING_POP
279QT_END_MOC_NAMESPACE
280