CuteLogger
Fast and simple logging solution for Qt based applications
moc_timespinbox.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'timespinbox.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.6.2)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include "../../../../src/widgets/timespinbox.h"
10#include <QtGui/qtextcursor.h>
11#include <QtCore/qmetatype.h>
12
13#if __has_include(<QtCore/qtmochelpers.h>)
14#include <QtCore/qtmochelpers.h>
15#else
16QT_BEGIN_MOC_NAMESPACE
17#endif
18
19
20#include <memory>
21
22#if !defined(Q_MOC_OUTPUT_REVISION)
23#error "The header file 'timespinbox.h' doesn't include <QObject>."
24#elif Q_MOC_OUTPUT_REVISION != 68
25#error "This file was generated using the moc from 6.6.2. It"
26#error "cannot be used with the include files from this version of Qt."
27#error "(The moc has changed too much.)"
28#endif
29
30#ifndef Q_CONSTINIT
31#define Q_CONSTINIT
32#endif
33
34QT_WARNING_PUSH
35QT_WARNING_DISABLE_DEPRECATED
36QT_WARNING_DISABLE_GCC("-Wuseless-cast")
37namespace {
38
39#ifdef QT_MOC_HAS_STRINGDATA
40struct qt_meta_stringdata_CLASSTimeSpinBoxENDCLASS_t {};
41constexpr auto qt_meta_stringdata_CLASSTimeSpinBoxENDCLASS = QtMocHelpers::stringData(
42 "TimeSpinBox",
43 "accepted",
44 ""
45);
46#else // !QT_MOC_HAS_STRING_DATA
47struct qt_meta_stringdata_CLASSTimeSpinBoxENDCLASS_t {
48 uint offsetsAndSizes[6];
49 char stringdata0[12];
50 char stringdata1[9];
51 char stringdata2[1];
52};
53#define QT_MOC_LITERAL(ofs, len) \
54 uint(sizeof(qt_meta_stringdata_CLASSTimeSpinBoxENDCLASS_t::offsetsAndSizes) + ofs), len
55Q_CONSTINIT static const qt_meta_stringdata_CLASSTimeSpinBoxENDCLASS_t qt_meta_stringdata_CLASSTimeSpinBoxENDCLASS = {
56 {
57 QT_MOC_LITERAL(0, 11), // "TimeSpinBox"
58 QT_MOC_LITERAL(12, 8), // "accepted"
59 QT_MOC_LITERAL(21, 0) // ""
60 },
61 "TimeSpinBox",
62 "accepted",
63 ""
64};
65#undef QT_MOC_LITERAL
66#endif // !QT_MOC_HAS_STRING_DATA
67} // unnamed namespace
68
69Q_CONSTINIT static const uint qt_meta_data_CLASSTimeSpinBoxENDCLASS[] = {
70
71 // content:
72 12, // revision
73 0, // classname
74 0, 0, // classinfo
75 1, 14, // methods
76 0, 0, // properties
77 0, 0, // enums/sets
78 0, 0, // constructors
79 0, // flags
80 1, // signalCount
81
82 // signals: name, argc, parameters, tag, flags, initial metatype offsets
83 1, 0, 20, 2, 0x06, 1 /* Public */,
84
85 // signals: parameters
86 QMetaType::Void,
87
88 0 // eod
89};
90
91Q_CONSTINIT const QMetaObject TimeSpinBox::staticMetaObject = { {
92 QMetaObject::SuperData::link<QSpinBox::staticMetaObject>(),
93 qt_meta_stringdata_CLASSTimeSpinBoxENDCLASS.offsetsAndSizes,
94 qt_meta_data_CLASSTimeSpinBoxENDCLASS,
95 qt_static_metacall,
96 nullptr,
97 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSTimeSpinBoxENDCLASS_t,
98 // Q_OBJECT / Q_GADGET
99 QtPrivate::TypeAndForceComplete<TimeSpinBox, std::true_type>,
100 // method 'accepted'
101 QtPrivate::TypeAndForceComplete<void, std::false_type>
102 >,
103 nullptr
104} };
105
106void TimeSpinBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
107{
108 if (_c == QMetaObject::InvokeMetaMethod) {
109 auto *_t = static_cast<TimeSpinBox *>(_o);
110 (void)_t;
111 switch (_id) {
112 case 0: _t->accepted(); break;
113 default: ;
114 }
115 } else if (_c == QMetaObject::IndexOfMethod) {
116 int *result = reinterpret_cast<int *>(_a[0]);
117 {
118 using _t = void (TimeSpinBox::*)();
119 if (_t _q_method = &TimeSpinBox::accepted; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
120 *result = 0;
121 return;
122 }
123 }
124 }
125 (void)_a;
126}
127
128const QMetaObject *TimeSpinBox::metaObject() const
129{
130 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
131}
132
133void *TimeSpinBox::qt_metacast(const char *_clname)
134{
135 if (!_clname) return nullptr;
136 if (!strcmp(_clname, qt_meta_stringdata_CLASSTimeSpinBoxENDCLASS.stringdata0))
137 return static_cast<void*>(this);
138 return QSpinBox::qt_metacast(_clname);
139}
140
141int TimeSpinBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
142{
143 _id = QSpinBox::qt_metacall(_c, _id, _a);
144 if (_id < 0)
145 return _id;
146 if (_c == QMetaObject::InvokeMetaMethod) {
147 if (_id < 1)
148 qt_static_metacall(this, _c, _id, _a);
149 _id -= 1;
150 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
151 if (_id < 1)
152 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
153 _id -= 1;
154 }
155 return _id;
156}
157
158// SIGNAL 0
159void TimeSpinBox::accepted()
160{
161 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
162}
163namespace {
164
165#ifdef QT_MOC_HAS_STRINGDATA
166struct qt_meta_stringdata_CLASSTimeSpinBoxLineEditENDCLASS_t {};
167constexpr auto qt_meta_stringdata_CLASSTimeSpinBoxLineEditENDCLASS = QtMocHelpers::stringData(
168 "TimeSpinBoxLineEdit"
169);
170#else // !QT_MOC_HAS_STRING_DATA
171struct qt_meta_stringdata_CLASSTimeSpinBoxLineEditENDCLASS_t {
172 uint offsetsAndSizes[2];
173 char stringdata0[20];
174};
175#define QT_MOC_LITERAL(ofs, len) \
176 uint(sizeof(qt_meta_stringdata_CLASSTimeSpinBoxLineEditENDCLASS_t::offsetsAndSizes) + ofs), len
177Q_CONSTINIT static const qt_meta_stringdata_CLASSTimeSpinBoxLineEditENDCLASS_t qt_meta_stringdata_CLASSTimeSpinBoxLineEditENDCLASS = {
178 {
179 QT_MOC_LITERAL(0, 19) // "TimeSpinBoxLineEdit"
180 },
181 "TimeSpinBoxLineEdit"
182};
183#undef QT_MOC_LITERAL
184#endif // !QT_MOC_HAS_STRING_DATA
185} // unnamed namespace
186
187Q_CONSTINIT static const uint qt_meta_data_CLASSTimeSpinBoxLineEditENDCLASS[] = {
188
189 // content:
190 12, // revision
191 0, // classname
192 0, 0, // classinfo
193 0, 0, // methods
194 0, 0, // properties
195 0, 0, // enums/sets
196 0, 0, // constructors
197 0, // flags
198 0, // signalCount
199
200 0 // eod
201};
202
203Q_CONSTINIT const QMetaObject TimeSpinBoxLineEdit::staticMetaObject = { {
204 QMetaObject::SuperData::link<QLineEdit::staticMetaObject>(),
205 qt_meta_stringdata_CLASSTimeSpinBoxLineEditENDCLASS.offsetsAndSizes,
206 qt_meta_data_CLASSTimeSpinBoxLineEditENDCLASS,
207 qt_static_metacall,
208 nullptr,
209 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSTimeSpinBoxLineEditENDCLASS_t,
210 // Q_OBJECT / Q_GADGET
211 QtPrivate::TypeAndForceComplete<TimeSpinBoxLineEdit, std::true_type>
212 >,
213 nullptr
214} };
215
216void TimeSpinBoxLineEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
217{
218 (void)_o;
219 (void)_id;
220 (void)_c;
221 (void)_a;
222}
223
224const QMetaObject *TimeSpinBoxLineEdit::metaObject() const
225{
226 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
227}
228
229void *TimeSpinBoxLineEdit::qt_metacast(const char *_clname)
230{
231 if (!_clname) return nullptr;
232 if (!strcmp(_clname, qt_meta_stringdata_CLASSTimeSpinBoxLineEditENDCLASS.stringdata0))
233 return static_cast<void*>(this);
234 return QLineEdit::qt_metacast(_clname);
235}
236
237int TimeSpinBoxLineEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
238{
239 _id = QLineEdit::qt_metacall(_c, _id, _a);
240 return _id;
241}
242QT_WARNING_POP