9#include "../../../../src/widgets/timespinbox.h"
10#include <QtGui/qtextcursor.h>
11#include <QtCore/qmetatype.h>
13#if __has_include(<QtCore/qtmochelpers.h>)
14#include <QtCore/qtmochelpers.h>
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.)"
35QT_WARNING_DISABLE_DEPRECATED
36QT_WARNING_DISABLE_GCC(
"-Wuseless-cast")
39#ifdef QT_MOC_HAS_STRINGDATA
40struct qt_meta_stringdata_CLASSTimeSpinBoxENDCLASS_t {};
41constexpr auto qt_meta_stringdata_CLASSTimeSpinBoxENDCLASS = QtMocHelpers::stringData(
47struct qt_meta_stringdata_CLASSTimeSpinBoxENDCLASS_t {
48 uint offsetsAndSizes[6];
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 = {
57 QT_MOC_LITERAL(0, 11),
58 QT_MOC_LITERAL(12, 8),
69Q_CONSTINIT
static const uint qt_meta_data_CLASSTimeSpinBoxENDCLASS[] = {
83 1, 0, 20, 2, 0x06, 1 ,
91Q_CONSTINIT
const QMetaObject TimeSpinBox::staticMetaObject = { {
92 QMetaObject::SuperData::link<QSpinBox::staticMetaObject>(),
93 qt_meta_stringdata_CLASSTimeSpinBoxENDCLASS.offsetsAndSizes,
94 qt_meta_data_CLASSTimeSpinBoxENDCLASS,
97 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSTimeSpinBoxENDCLASS_t,
99 QtPrivate::TypeAndForceComplete<TimeSpinBox, std::true_type>,
101 QtPrivate::TypeAndForceComplete<void, std::false_type>
106void TimeSpinBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
108 if (_c == QMetaObject::InvokeMetaMethod) {
109 auto *_t =
static_cast<TimeSpinBox *
>(_o);
112 case 0: _t->accepted();
break;
115 }
else if (_c == QMetaObject::IndexOfMethod) {
116 int *result =
reinterpret_cast<int *
>(_a[0]);
118 using _t = void (TimeSpinBox::*)();
119 if (_t _q_method = &TimeSpinBox::accepted; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
128const QMetaObject *TimeSpinBox::metaObject()
const
130 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
133void *TimeSpinBox::qt_metacast(
const char *_clname)
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);
141int TimeSpinBox::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
143 _id = QSpinBox::qt_metacall(_c, _id, _a);
146 if (_c == QMetaObject::InvokeMetaMethod) {
148 qt_static_metacall(
this, _c, _id, _a);
150 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
152 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
159void TimeSpinBox::accepted()
161 QMetaObject::activate(
this, &staticMetaObject, 0,
nullptr);
165#ifdef QT_MOC_HAS_STRINGDATA
166struct qt_meta_stringdata_CLASSTimeSpinBoxLineEditENDCLASS_t {};
167constexpr auto qt_meta_stringdata_CLASSTimeSpinBoxLineEditENDCLASS = QtMocHelpers::stringData(
168 "TimeSpinBoxLineEdit"
171struct qt_meta_stringdata_CLASSTimeSpinBoxLineEditENDCLASS_t {
172 uint offsetsAndSizes[2];
173 char stringdata0[20];
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 = {
179 QT_MOC_LITERAL(0, 19)
181 "TimeSpinBoxLineEdit"
187Q_CONSTINIT
static const uint qt_meta_data_CLASSTimeSpinBoxLineEditENDCLASS[] = {
203Q_CONSTINIT
const QMetaObject TimeSpinBoxLineEdit::staticMetaObject = { {
204 QMetaObject::SuperData::link<QLineEdit::staticMetaObject>(),
205 qt_meta_stringdata_CLASSTimeSpinBoxLineEditENDCLASS.offsetsAndSizes,
206 qt_meta_data_CLASSTimeSpinBoxLineEditENDCLASS,
209 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSTimeSpinBoxLineEditENDCLASS_t,
211 QtPrivate::TypeAndForceComplete<TimeSpinBoxLineEdit, std::true_type>
216void TimeSpinBoxLineEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
224const QMetaObject *TimeSpinBoxLineEdit::metaObject()
const
226 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
229void *TimeSpinBoxLineEdit::qt_metacast(
const char *_clname)
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);
237int TimeSpinBoxLineEdit::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
239 _id = QLineEdit::qt_metacall(_c, _id, _a);