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.8.3)
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.8.3. 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 {
35struct qt_meta_tag_ZN11TimeSpinBoxE_t {};
36} // unnamed namespace
37
38
39#ifdef QT_MOC_HAS_STRINGDATA
40static constexpr auto qt_meta_stringdata_ZN11TimeSpinBoxE = QtMocHelpers::stringData(
41 "TimeSpinBox",
42 "accepted",
43 ""
44);
45#else // !QT_MOC_HAS_STRINGDATA
46#error "qtmochelpers.h not found or too old."
47#endif // !QT_MOC_HAS_STRINGDATA
48
49Q_CONSTINIT static const uint qt_meta_data_ZN11TimeSpinBoxE[] = {
50
51 // content:
52 12, // revision
53 0, // classname
54 0, 0, // classinfo
55 1, 14, // methods
56 0, 0, // properties
57 0, 0, // enums/sets
58 0, 0, // constructors
59 0, // flags
60 1, // signalCount
61
62 // signals: name, argc, parameters, tag, flags, initial metatype offsets
63 1, 0, 20, 2, 0x06, 1 /* Public */,
64
65 // signals: parameters
66 QMetaType::Void,
67
68 0 // eod
69};
70
71Q_CONSTINIT const QMetaObject TimeSpinBox::staticMetaObject = { {
72 QMetaObject::SuperData::link<QSpinBox::staticMetaObject>(),
73 qt_meta_stringdata_ZN11TimeSpinBoxE.offsetsAndSizes,
74 qt_meta_data_ZN11TimeSpinBoxE,
75 qt_static_metacall,
76 nullptr,
77 qt_incomplete_metaTypeArray<qt_meta_tag_ZN11TimeSpinBoxE_t,
78 // Q_OBJECT / Q_GADGET
79 QtPrivate::TypeAndForceComplete<TimeSpinBox, std::true_type>,
80 // method 'accepted'
81 QtPrivate::TypeAndForceComplete<void, std::false_type>
82 >,
83 nullptr
84} };
85
86void TimeSpinBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
87{
88 auto *_t = static_cast<TimeSpinBox *>(_o);
89 if (_c == QMetaObject::InvokeMetaMethod) {
90 switch (_id) {
91 case 0: _t->accepted(); break;
92 default: ;
93 }
94 }
95 if (_c == QMetaObject::IndexOfMethod) {
96 int *result = reinterpret_cast<int *>(_a[0]);
97 {
98 using _q_method_type = void (TimeSpinBox::*)();
99 if (_q_method_type _q_method = &TimeSpinBox::accepted; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
100 *result = 0;
101 return;
102 }
103 }
104 }
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_ZN11TimeSpinBoxE.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 }
130 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
131 if (_id < 1)
132 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
133 _id -= 1;
134 }
135 return _id;
136}
137
138// SIGNAL 0
139void TimeSpinBox::accepted()
140{
141 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
142}
143namespace {
144struct qt_meta_tag_ZN19TimeSpinBoxLineEditE_t {};
145} // unnamed namespace
146
147
148#ifdef QT_MOC_HAS_STRINGDATA
149static constexpr auto qt_meta_stringdata_ZN19TimeSpinBoxLineEditE = QtMocHelpers::stringData(
150 "TimeSpinBoxLineEdit"
151);
152#else // !QT_MOC_HAS_STRINGDATA
153#error "qtmochelpers.h not found or too old."
154#endif // !QT_MOC_HAS_STRINGDATA
155
156Q_CONSTINIT static const uint qt_meta_data_ZN19TimeSpinBoxLineEditE[] = {
157
158 // content:
159 12, // revision
160 0, // classname
161 0, 0, // classinfo
162 0, 0, // methods
163 0, 0, // properties
164 0, 0, // enums/sets
165 0, 0, // constructors
166 0, // flags
167 0, // signalCount
168
169 0 // eod
170};
171
172Q_CONSTINIT const QMetaObject TimeSpinBoxLineEdit::staticMetaObject = { {
173 QMetaObject::SuperData::link<QLineEdit::staticMetaObject>(),
174 qt_meta_stringdata_ZN19TimeSpinBoxLineEditE.offsetsAndSizes,
175 qt_meta_data_ZN19TimeSpinBoxLineEditE,
176 qt_static_metacall,
177 nullptr,
178 qt_incomplete_metaTypeArray<qt_meta_tag_ZN19TimeSpinBoxLineEditE_t,
179 // Q_OBJECT / Q_GADGET
180 QtPrivate::TypeAndForceComplete<TimeSpinBoxLineEdit, std::true_type>
181 >,
182 nullptr
183} };
184
185void TimeSpinBoxLineEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
186{
187 auto *_t = static_cast<TimeSpinBoxLineEdit *>(_o);
188 (void)_t;
189 (void)_c;
190 (void)_id;
191 (void)_a;
192}
193
194const QMetaObject *TimeSpinBoxLineEdit::metaObject() const
195{
196 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
197}
198
199void *TimeSpinBoxLineEdit::qt_metacast(const char *_clname)
200{
201 if (!_clname) return nullptr;
202 if (!strcmp(_clname, qt_meta_stringdata_ZN19TimeSpinBoxLineEditE.stringdata0))
203 return static_cast<void*>(this);
204 return QLineEdit::qt_metacast(_clname);
205}
206
207int TimeSpinBoxLineEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
208{
209 _id = QLineEdit::qt_metacall(_c, _id, _a);
210 return _id;
211}
212QT_WARNING_POP