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 69 (Qt 6.9.0)
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 != 69
22#error "This file was generated using the moc from 6.9.0. 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
38template <> constexpr inline auto TimeSpinBox::qt_create_metaobjectdata<qt_meta_tag_ZN11TimeSpinBoxE_t>()
39{
40 namespace QMC = QtMocConstants;
41 QtMocHelpers::StringRefStorage qt_stringData {
42 "TimeSpinBox",
43 "accepted",
44 ""
45 };
46
47 QtMocHelpers::UintData qt_methods {
48 // Signal 'accepted'
49 QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
50 };
51 QtMocHelpers::UintData qt_properties {
52 };
53 QtMocHelpers::UintData qt_enums {
54 };
55 return QtMocHelpers::metaObjectData<TimeSpinBox, qt_meta_tag_ZN11TimeSpinBoxE_t>(QMC::MetaObjectFlag{}, qt_stringData,
56 qt_methods, qt_properties, qt_enums);
57}
58Q_CONSTINIT const QMetaObject TimeSpinBox::staticMetaObject = { {
59 QMetaObject::SuperData::link<QSpinBox::staticMetaObject>(),
60 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11TimeSpinBoxE_t>.stringdata,
61 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11TimeSpinBoxE_t>.data,
62 qt_static_metacall,
63 nullptr,
64 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11TimeSpinBoxE_t>.metaTypes,
65 nullptr
66} };
67
68void TimeSpinBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
69{
70 auto *_t = static_cast<TimeSpinBox *>(_o);
71 if (_c == QMetaObject::InvokeMetaMethod) {
72 switch (_id) {
73 case 0: _t->accepted(); break;
74 default: ;
75 }
76 }
77 if (_c == QMetaObject::IndexOfMethod) {
78 if (QtMocHelpers::indexOfMethod<void (TimeSpinBox::*)()>(_a, &TimeSpinBox::accepted, 0))
79 return;
80 }
81}
82
83const QMetaObject *TimeSpinBox::metaObject() const
84{
85 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
86}
87
88void *TimeSpinBox::qt_metacast(const char *_clname)
89{
90 if (!_clname) return nullptr;
91 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11TimeSpinBoxE_t>.strings))
92 return static_cast<void*>(this);
93 return QSpinBox::qt_metacast(_clname);
94}
95
96int TimeSpinBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
97{
98 _id = QSpinBox::qt_metacall(_c, _id, _a);
99 if (_id < 0)
100 return _id;
101 if (_c == QMetaObject::InvokeMetaMethod) {
102 if (_id < 1)
103 qt_static_metacall(this, _c, _id, _a);
104 _id -= 1;
105 }
106 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
107 if (_id < 1)
108 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
109 _id -= 1;
110 }
111 return _id;
112}
113
114// SIGNAL 0
115void TimeSpinBox::accepted()
116{
117 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
118}
119namespace {
120struct qt_meta_tag_ZN19TimeSpinBoxLineEditE_t {};
121} // unnamed namespace
122
123template <> constexpr inline auto TimeSpinBoxLineEdit::qt_create_metaobjectdata<qt_meta_tag_ZN19TimeSpinBoxLineEditE_t>()
124{
125 namespace QMC = QtMocConstants;
126 QtMocHelpers::StringRefStorage qt_stringData {
127 "TimeSpinBoxLineEdit"
128 };
129
130 QtMocHelpers::UintData qt_methods {
131 };
132 QtMocHelpers::UintData qt_properties {
133 };
134 QtMocHelpers::UintData qt_enums {
135 };
136 return QtMocHelpers::metaObjectData<TimeSpinBoxLineEdit, qt_meta_tag_ZN19TimeSpinBoxLineEditE_t>(QMC::MetaObjectFlag{}, qt_stringData,
137 qt_methods, qt_properties, qt_enums);
138}
139Q_CONSTINIT const QMetaObject TimeSpinBoxLineEdit::staticMetaObject = { {
140 QMetaObject::SuperData::link<QLineEdit::staticMetaObject>(),
141 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19TimeSpinBoxLineEditE_t>.stringdata,
142 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19TimeSpinBoxLineEditE_t>.data,
143 qt_static_metacall,
144 nullptr,
145 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN19TimeSpinBoxLineEditE_t>.metaTypes,
146 nullptr
147} };
148
149void TimeSpinBoxLineEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
150{
151 auto *_t = static_cast<TimeSpinBoxLineEdit *>(_o);
152 (void)_t;
153 (void)_c;
154 (void)_id;
155 (void)_a;
156}
157
158const QMetaObject *TimeSpinBoxLineEdit::metaObject() const
159{
160 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
161}
162
163void *TimeSpinBoxLineEdit::qt_metacast(const char *_clname)
164{
165 if (!_clname) return nullptr;
166 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19TimeSpinBoxLineEditE_t>.strings))
167 return static_cast<void*>(this);
168 return QLineEdit::qt_metacast(_clname);
169}
170
171int TimeSpinBoxLineEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
172{
173 _id = QLineEdit::qt_metacall(_c, _id, _a);
174 return _id;
175}
176QT_WARNING_POP