1/****************************************************************************
2** Meta object code from reading C++ file 'qlcdnumber.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/qlcdnumber.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qlcdnumber.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_QLCDNumber_t {
25 const uint offsetsAndSize[52];
26 char stringdata0[218];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QLCDNumber_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QLCDNumber_t qt_meta_stringdata_QLCDNumber = {
31 {
32QT_MOC_LITERAL(0, 10), // "QLCDNumber"
33QT_MOC_LITERAL(11, 8), // "overflow"
34QT_MOC_LITERAL(20, 0), // ""
35QT_MOC_LITERAL(21, 7), // "display"
36QT_MOC_LITERAL(29, 3), // "str"
37QT_MOC_LITERAL(33, 3), // "num"
38QT_MOC_LITERAL(37, 10), // "setHexMode"
39QT_MOC_LITERAL(48, 10), // "setDecMode"
40QT_MOC_LITERAL(59, 10), // "setOctMode"
41QT_MOC_LITERAL(70, 10), // "setBinMode"
42QT_MOC_LITERAL(81, 20), // "setSmallDecimalPoint"
43QT_MOC_LITERAL(102, 17), // "smallDecimalPoint"
44QT_MOC_LITERAL(120, 10), // "digitCount"
45QT_MOC_LITERAL(131, 4), // "mode"
46QT_MOC_LITERAL(136, 4), // "Mode"
47QT_MOC_LITERAL(141, 12), // "segmentStyle"
48QT_MOC_LITERAL(154, 12), // "SegmentStyle"
49QT_MOC_LITERAL(167, 5), // "value"
50QT_MOC_LITERAL(173, 8), // "intValue"
51QT_MOC_LITERAL(182, 3), // "Hex"
52QT_MOC_LITERAL(186, 3), // "Dec"
53QT_MOC_LITERAL(190, 3), // "Oct"
54QT_MOC_LITERAL(194, 3), // "Bin"
55QT_MOC_LITERAL(198, 7), // "Outline"
56QT_MOC_LITERAL(206, 6), // "Filled"
57QT_MOC_LITERAL(213, 4) // "Flat"
58
59 },
60 "QLCDNumber\0overflow\0\0display\0str\0num\0"
61 "setHexMode\0setDecMode\0setOctMode\0"
62 "setBinMode\0setSmallDecimalPoint\0"
63 "smallDecimalPoint\0digitCount\0mode\0"
64 "Mode\0segmentStyle\0SegmentStyle\0value\0"
65 "intValue\0Hex\0Dec\0Oct\0Bin\0Outline\0"
66 "Filled\0Flat"
67};
68#undef QT_MOC_LITERAL
69
70static const uint qt_meta_data_QLCDNumber[] = {
71
72 // content:
73 9, // revision
74 0, // classname
75 0, 0, // classinfo
76 9, 14, // methods
77 6, 85, // properties
78 2, 115, // enums/sets
79 0, 0, // constructors
80 0, // flags
81 1, // signalCount
82
83 // signals: name, argc, parameters, tag, flags, initial metatype offsets
84 1, 0, 68, 2, 0x06, 6 /* Public */,
85
86 // slots: name, argc, parameters, tag, flags, initial metatype offsets
87 3, 1, 69, 2, 0x0a, 7 /* Public */,
88 3, 1, 72, 2, 0x0a, 9 /* Public */,
89 3, 1, 75, 2, 0x0a, 11 /* Public */,
90 6, 0, 78, 2, 0x0a, 13 /* Public */,
91 7, 0, 79, 2, 0x0a, 14 /* Public */,
92 8, 0, 80, 2, 0x0a, 15 /* Public */,
93 9, 0, 81, 2, 0x0a, 16 /* Public */,
94 10, 1, 82, 2, 0x0a, 17 /* Public */,
95
96 // signals: parameters
97 QMetaType::Void,
98
99 // slots: parameters
100 QMetaType::Void, QMetaType::QString, 4,
101 QMetaType::Void, QMetaType::Int, 5,
102 QMetaType::Void, QMetaType::Double, 5,
103 QMetaType::Void,
104 QMetaType::Void,
105 QMetaType::Void,
106 QMetaType::Void,
107 QMetaType::Void, QMetaType::Bool, 2,
108
109 // properties: name, type, flags
110 11, QMetaType::Bool, 0x00015103, uint(-1), 0,
111 12, QMetaType::Int, 0x00015103, uint(-1), 0,
112 13, 0x80000000 | 14, 0x0001510b, uint(-1), 0,
113 15, 0x80000000 | 16, 0x0001510b, uint(-1), 0,
114 17, QMetaType::Double, 0x00015003, uint(-1), 0,
115 18, QMetaType::Int, 0x00015003, uint(-1), 0,
116
117 // enums: name, alias, flags, count, data
118 14, 14, 0x0, 4, 125,
119 16, 16, 0x0, 3, 133,
120
121 // enum data: key, value
122 19, uint(QLCDNumber::Hex),
123 20, uint(QLCDNumber::Dec),
124 21, uint(QLCDNumber::Oct),
125 22, uint(QLCDNumber::Bin),
126 23, uint(QLCDNumber::Outline),
127 24, uint(QLCDNumber::Filled),
128 25, uint(QLCDNumber::Flat),
129
130 0 // eod
131};
132
133void QLCDNumber::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
134{
135 if (_c == QMetaObject::InvokeMetaMethod) {
136 Q_ASSERT(staticMetaObject.cast(_o));
137 auto *_t = static_cast<QLCDNumber *>(_o);
138 Q_UNUSED(_t)
139 switch (_id) {
140 case 0: _t->overflow(); break;
141 case 1: _t->display((*reinterpret_cast< const QString(*)>(_a[1]))); break;
142 case 2: _t->display((*reinterpret_cast< int(*)>(_a[1]))); break;
143 case 3: _t->display((*reinterpret_cast< double(*)>(_a[1]))); break;
144 case 4: _t->setHexMode(); break;
145 case 5: _t->setDecMode(); break;
146 case 6: _t->setOctMode(); break;
147 case 7: _t->setBinMode(); break;
148 case 8: _t->setSmallDecimalPoint((*reinterpret_cast< bool(*)>(_a[1]))); break;
149 default: ;
150 }
151 } else if (_c == QMetaObject::IndexOfMethod) {
152 int *result = reinterpret_cast<int *>(_a[0]);
153 {
154 using _t = void (QLCDNumber::*)();
155 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QLCDNumber::overflow)) {
156 *result = 0;
157 return;
158 }
159 }
160 }
161#ifndef QT_NO_PROPERTIES
162 else if (_c == QMetaObject::ReadProperty) {
163 Q_ASSERT(staticMetaObject.cast(_o));
164 auto *_t = static_cast<QLCDNumber *>(_o);
165 Q_UNUSED(_t)
166 void *_v = _a[0];
167 switch (_id) {
168 case 0: *reinterpret_cast< bool*>(_v) = _t->smallDecimalPoint(); break;
169 case 1: *reinterpret_cast< int*>(_v) = _t->digitCount(); break;
170 case 2: *reinterpret_cast< Mode*>(_v) = _t->mode(); break;
171 case 3: *reinterpret_cast< SegmentStyle*>(_v) = _t->segmentStyle(); break;
172 case 4: *reinterpret_cast< double*>(_v) = _t->value(); break;
173 case 5: *reinterpret_cast< int*>(_v) = _t->intValue(); break;
174 default: break;
175 }
176 } else if (_c == QMetaObject::WriteProperty) {
177 Q_ASSERT(staticMetaObject.cast(_o));
178 auto *_t = static_cast<QLCDNumber *>(_o);
179 Q_UNUSED(_t)
180 void *_v = _a[0];
181 switch (_id) {
182 case 0: _t->setSmallDecimalPoint(*reinterpret_cast< bool*>(_v)); break;
183 case 1: _t->setDigitCount(*reinterpret_cast< int*>(_v)); break;
184 case 2: _t->setMode(*reinterpret_cast< Mode*>(_v)); break;
185 case 3: _t->setSegmentStyle(*reinterpret_cast< SegmentStyle*>(_v)); break;
186 case 4: _t->display(*reinterpret_cast< double*>(_v)); break;
187 case 5: _t->display(*reinterpret_cast< int*>(_v)); break;
188 default: break;
189 }
190 } else if (_c == QMetaObject::ResetProperty) {
191 } else if (_c == QMetaObject::BindableProperty) {
192 }
193#endif // QT_NO_PROPERTIES
194}
195
196const QMetaObject QLCDNumber::staticMetaObject = { {
197 QMetaObject::SuperData::link<QFrame::staticMetaObject>(),
198 qt_meta_stringdata_QLCDNumber.offsetsAndSize,
199 qt_meta_data_QLCDNumber,
200 qt_static_metacall,
201 nullptr,
202qt_incomplete_metaTypeArray<qt_meta_stringdata_QLCDNumber_t
203, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<Mode, std::true_type>, QtPrivate::TypeAndForceComplete<SegmentStyle, std::true_type>, QtPrivate::TypeAndForceComplete<double, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
204, 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<void, std::false_type>, QtPrivate::TypeAndForceComplete<double, 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<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>
205
206
207>,
208 nullptr
209} };
210
211
212const QMetaObject *QLCDNumber::metaObject() const
213{
214 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
215}
216
217void *QLCDNumber::qt_metacast(const char *_clname)
218{
219 if (!_clname) return nullptr;
220 if (!strcmp(_clname, qt_meta_stringdata_QLCDNumber.stringdata0))
221 return static_cast<void*>(this);
222 return QFrame::qt_metacast(_clname);
223}
224
225int QLCDNumber::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
226{
227 _id = QFrame::qt_metacall(_c, _id, _a);
228 if (_id < 0)
229 return _id;
230 if (_c == QMetaObject::InvokeMetaMethod) {
231 if (_id < 9)
232 qt_static_metacall(this, _c, _id, _a);
233 _id -= 9;
234 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
235 if (_id < 9)
236 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
237 _id -= 9;
238 }
239#ifndef QT_NO_PROPERTIES
240 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
241 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
242 || _c == QMetaObject::RegisterPropertyMetaType) {
243 qt_static_metacall(this, _c, _id, _a);
244 _id -= 6;
245 }
246#endif // QT_NO_PROPERTIES
247 return _id;
248}
249
250// SIGNAL 0
251void QLCDNumber::overflow()
252{
253 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
254}
255QT_WARNING_POP
256QT_END_MOC_NAMESPACE
257