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.7.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#include <QtCore/qtmochelpers.h>
14
15#include <memory>
16
17
18#include <QtCore/qxptype_traits.h>
19#if !defined(Q_MOC_OUTPUT_REVISION)
20#error "The header file 'timespinbox.h' doesn't include <QObject>."
21#elif Q_MOC_OUTPUT_REVISION != 68
22#error "This file was generated using the moc from 6.7.2. It"
23#error "cannot be used with the include files from this version of Qt."
24#error "(The moc has changed too much.)"
25#endif
26
27#ifndef Q_CONSTINIT
28#define Q_CONSTINIT
29#endif
30
31QT_WARNING_PUSH
32QT_WARNING_DISABLE_DEPRECATED
33QT_WARNING_DISABLE_GCC("-Wuseless-cast")
34namespace {
35
36#ifdef QT_MOC_HAS_STRINGDATA
37struct qt_meta_stringdata_CLASSTimeSpinBoxENDCLASS_t {};
38constexpr auto qt_meta_stringdata_CLASSTimeSpinBoxENDCLASS = QtMocHelpers::stringData(
39 "TimeSpinBox",
40 "accepted",
41 ""
42);
43#else // !QT_MOC_HAS_STRINGDATA
44#error "qtmochelpers.h not found or too old."
45#endif // !QT_MOC_HAS_STRINGDATA
46} // unnamed namespace
47
48Q_CONSTINIT static const uint qt_meta_data_CLASSTimeSpinBoxENDCLASS[] = {
49
50 // content:
51 12, // revision
52 0, // classname
53 0, 0, // classinfo
54 1, 14, // methods
55 0, 0, // properties
56 0, 0, // enums/sets
57 0, 0, // constructors
58 0, // flags
59 1, // signalCount
60
61 // signals: name, argc, parameters, tag, flags, initial metatype offsets
62 1, 0, 20, 2, 0x06, 1 /* Public */,
63
64 // signals: parameters
65 QMetaType::Void,
66
67 0 // eod
68};
69
70Q_CONSTINIT const QMetaObject TimeSpinBox::staticMetaObject = { {
71 QMetaObject::SuperData::link<QSpinBox::staticMetaObject>(),
72 qt_meta_stringdata_CLASSTimeSpinBoxENDCLASS.offsetsAndSizes,
73 qt_meta_data_CLASSTimeSpinBoxENDCLASS,
74 qt_static_metacall,
75 nullptr,
76 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSTimeSpinBoxENDCLASS_t,
77 // Q_OBJECT / Q_GADGET
78 QtPrivate::TypeAndForceComplete<TimeSpinBox, std::true_type>,
79 // method 'accepted'
80 QtPrivate::TypeAndForceComplete<void, std::false_type>
81 >,
82 nullptr
83} };
84
85void TimeSpinBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
86{
87 if (_c == QMetaObject::InvokeMetaMethod) {
88 auto *_t = static_cast<TimeSpinBox *>(_o);
89 (void)_t;
90 switch (_id) {
91 case 0: _t->accepted(); break;
92 default: ;
93 }
94 } else if (_c == QMetaObject::IndexOfMethod) {
95 int *result = reinterpret_cast<int *>(_a[0]);
96 {
97 using _t = void (TimeSpinBox::*)();
98 if (_t _q_method = &TimeSpinBox::accepted; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
99 *result = 0;
100 return;
101 }
102 }
103 }
104 (void)_a;
105}
106
107const QMetaObject *TimeSpinBox::metaObject() const
108{
109 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
110}
111
112void *TimeSpinBox::qt_metacast(const char *_clname)
113{
114 if (!_clname) return nullptr;
115 if (!strcmp(_clname, qt_meta_stringdata_CLASSTimeSpinBoxENDCLASS.stringdata0))
116 return static_cast<void*>(this);
117 return QSpinBox::qt_metacast(_clname);
118}
119
120int TimeSpinBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
121{
122 _id = QSpinBox::qt_metacall(_c, _id, _a);
123 if (_id < 0)
124 return _id;
125 if (_c == QMetaObject::InvokeMetaMethod) {
126 if (_id < 1)
127 qt_static_metacall(this, _c, _id, _a);
128 _id -= 1;
129 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
130 if (_id < 1)
131 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
132 _id -= 1;
133 }
134 return _id;
135}
136
137// SIGNAL 0
138void TimeSpinBox::accepted()
139{
140 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
141}
142namespace {
143
144#ifdef QT_MOC_HAS_STRINGDATA
145struct qt_meta_stringdata_CLASSTimeSpinBoxLineEditENDCLASS_t {};
146constexpr auto qt_meta_stringdata_CLASSTimeSpinBoxLineEditENDCLASS = QtMocHelpers::stringData(
147 "TimeSpinBoxLineEdit"
148);
149#else // !QT_MOC_HAS_STRINGDATA
150#error "qtmochelpers.h not found or too old."
151#endif // !QT_MOC_HAS_STRINGDATA
152} // unnamed namespace
153
154Q_CONSTINIT static const uint qt_meta_data_CLASSTimeSpinBoxLineEditENDCLASS[] = {
155
156 // content:
157 12, // revision
158 0, // classname
159 0, 0, // classinfo
160 0, 0, // methods
161 0, 0, // properties
162 0, 0, // enums/sets
163 0, 0, // constructors
164 0, // flags
165 0, // signalCount
166
167 0 // eod
168};
169
170Q_CONSTINIT const QMetaObject TimeSpinBoxLineEdit::staticMetaObject = { {
171 QMetaObject::SuperData::link<QLineEdit::staticMetaObject>(),
172 qt_meta_stringdata_CLASSTimeSpinBoxLineEditENDCLASS.offsetsAndSizes,
173 qt_meta_data_CLASSTimeSpinBoxLineEditENDCLASS,
174 qt_static_metacall,
175 nullptr,
176 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSTimeSpinBoxLineEditENDCLASS_t,
177 // Q_OBJECT / Q_GADGET
178 QtPrivate::TypeAndForceComplete<TimeSpinBoxLineEdit, std::true_type>
179 >,
180 nullptr
181} };
182
183void TimeSpinBoxLineEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
184{
185 (void)_o;
186 (void)_id;
187 (void)_c;
188 (void)_a;
189}
190
191const QMetaObject *TimeSpinBoxLineEdit::metaObject() const
192{
193 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
194}
195
196void *TimeSpinBoxLineEdit::qt_metacast(const char *_clname)
197{
198 if (!_clname) return nullptr;
199 if (!strcmp(_clname, qt_meta_stringdata_CLASSTimeSpinBoxLineEditENDCLASS.stringdata0))
200 return static_cast<void*>(this);
201 return QLineEdit::qt_metacast(_clname);
202}
203
204int TimeSpinBoxLineEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
205{
206 _id = QLineEdit::qt_metacall(_c, _id, _a);
207 return _id;
208}
209QT_WARNING_POP