1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qdatetimeedit_p.h' |
3 | ** |
4 | ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.0) |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost! |
7 | *****************************************************************************/ |
8 | |
9 | #include <memory> |
10 | #include "widgets/qdatetimeedit_p.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'qdatetimeedit_p.h' doesn't include <QObject>." |
15 | #elif Q_MOC_OUTPUT_REVISION != 68 |
16 | #error "This file was generated using the moc from 6.0.0. It" |
17 | #error "cannot be used with the include files from this version of Qt." |
18 | #error "(The moc has changed too much.)" |
19 | #endif |
20 | |
21 | QT_BEGIN_MOC_NAMESPACE |
22 | QT_WARNING_PUSH |
23 | QT_WARNING_DISABLE_DEPRECATED |
24 | struct { |
25 | const uint offsetsAndSize[22]; |
26 | char [124]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_QCalendarPopup_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_QCalendarPopup_t = { |
31 | { |
32 | QT_MOC_LITERAL(0, 14), // "QCalendarPopup" |
33 | QT_MOC_LITERAL(15, 9), // "activated" |
34 | QT_MOC_LITERAL(25, 0), // "" |
35 | QT_MOC_LITERAL(26, 4), // "date" |
36 | QT_MOC_LITERAL(31, 15), // "newDateSelected" |
37 | QT_MOC_LITERAL(47, 7), // "newDate" |
38 | QT_MOC_LITERAL(55, 14), // "hidingCalendar" |
39 | QT_MOC_LITERAL(70, 7), // "oldDate" |
40 | QT_MOC_LITERAL(78, 11), // "resetButton" |
41 | QT_MOC_LITERAL(90, 12), // "dateSelected" |
42 | QT_MOC_LITERAL(103, 20) // "dateSelectionChanged" |
43 | |
44 | }, |
45 | "QCalendarPopup\0activated\0\0date\0" |
46 | "newDateSelected\0newDate\0hidingCalendar\0" |
47 | "oldDate\0resetButton\0dateSelected\0" |
48 | "dateSelectionChanged" |
49 | }; |
50 | #undef QT_MOC_LITERAL |
51 | |
52 | static const uint [] = { |
53 | |
54 | // content: |
55 | 9, // revision |
56 | 0, // classname |
57 | 0, 0, // classinfo |
58 | 6, 14, // methods |
59 | 0, 0, // properties |
60 | 0, 0, // enums/sets |
61 | 0, 0, // constructors |
62 | 0, // flags |
63 | 4, // signalCount |
64 | |
65 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
66 | 1, 1, 50, 2, 0x06, 0 /* Public */, |
67 | 4, 1, 53, 2, 0x06, 2 /* Public */, |
68 | 6, 1, 56, 2, 0x06, 4 /* Public */, |
69 | 8, 0, 59, 2, 0x06, 6 /* Public */, |
70 | |
71 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
72 | 9, 1, 60, 2, 0x08, 7 /* Private */, |
73 | 10, 0, 63, 2, 0x08, 9 /* Private */, |
74 | |
75 | // signals: parameters |
76 | QMetaType::Void, QMetaType::QDate, 3, |
77 | QMetaType::Void, QMetaType::QDate, 5, |
78 | QMetaType::Void, QMetaType::QDate, 7, |
79 | QMetaType::Void, |
80 | |
81 | // slots: parameters |
82 | QMetaType::Void, QMetaType::QDate, 3, |
83 | QMetaType::Void, |
84 | |
85 | 0 // eod |
86 | }; |
87 | |
88 | void QCalendarPopup::(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
89 | { |
90 | if (_c == QMetaObject::InvokeMetaMethod) { |
91 | Q_ASSERT(staticMetaObject.cast(_o)); |
92 | auto *_t = static_cast<QCalendarPopup *>(_o); |
93 | Q_UNUSED(_t) |
94 | switch (_id) { |
95 | case 0: _t->activated((*reinterpret_cast< QDate(*)>(_a[1]))); break; |
96 | case 1: _t->newDateSelected((*reinterpret_cast< QDate(*)>(_a[1]))); break; |
97 | case 2: _t->hidingCalendar((*reinterpret_cast< QDate(*)>(_a[1]))); break; |
98 | case 3: _t->resetButton(); break; |
99 | case 4: _t->dateSelected((*reinterpret_cast< QDate(*)>(_a[1]))); break; |
100 | case 5: _t->dateSelectionChanged(); break; |
101 | default: ; |
102 | } |
103 | } else if (_c == QMetaObject::IndexOfMethod) { |
104 | int *result = reinterpret_cast<int *>(_a[0]); |
105 | { |
106 | using _t = void (QCalendarPopup::*)(QDate ); |
107 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCalendarPopup::activated)) { |
108 | *result = 0; |
109 | return; |
110 | } |
111 | } |
112 | { |
113 | using _t = void (QCalendarPopup::*)(QDate ); |
114 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCalendarPopup::newDateSelected)) { |
115 | *result = 1; |
116 | return; |
117 | } |
118 | } |
119 | { |
120 | using _t = void (QCalendarPopup::*)(QDate ); |
121 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCalendarPopup::hidingCalendar)) { |
122 | *result = 2; |
123 | return; |
124 | } |
125 | } |
126 | { |
127 | using _t = void (QCalendarPopup::*)(); |
128 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCalendarPopup::resetButton)) { |
129 | *result = 3; |
130 | return; |
131 | } |
132 | } |
133 | } |
134 | } |
135 | |
136 | const QMetaObject QCalendarPopup:: = { { |
137 | QMetaObject::SuperData::link<QWidget::staticMetaObject>(), |
138 | qt_meta_stringdata_QCalendarPopup.offsetsAndSize, |
139 | qt_meta_data_QCalendarPopup, |
140 | qt_static_metacall, |
141 | nullptr, |
142 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QCalendarPopup_t |
143 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QDate, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QDate, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QDate, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
144 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QDate, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
145 | |
146 | |
147 | >, |
148 | nullptr |
149 | } }; |
150 | |
151 | |
152 | const QMetaObject *QCalendarPopup::() const |
153 | { |
154 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
155 | } |
156 | |
157 | void *QCalendarPopup::(const char *_clname) |
158 | { |
159 | if (!_clname) return nullptr; |
160 | if (!strcmp(_clname, qt_meta_stringdata_QCalendarPopup.stringdata0)) |
161 | return static_cast<void*>(this); |
162 | return QWidget::qt_metacast(_clname); |
163 | } |
164 | |
165 | int QCalendarPopup::(QMetaObject::Call _c, int _id, void **_a) |
166 | { |
167 | _id = QWidget::qt_metacall(_c, _id, _a); |
168 | if (_id < 0) |
169 | return _id; |
170 | if (_c == QMetaObject::InvokeMetaMethod) { |
171 | if (_id < 6) |
172 | qt_static_metacall(this, _c, _id, _a); |
173 | _id -= 6; |
174 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
175 | if (_id < 6) |
176 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
177 | _id -= 6; |
178 | } |
179 | return _id; |
180 | } |
181 | |
182 | // SIGNAL 0 |
183 | void QCalendarPopup::(QDate _t1) |
184 | { |
185 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
186 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
187 | } |
188 | |
189 | // SIGNAL 1 |
190 | void QCalendarPopup::(QDate _t1) |
191 | { |
192 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
193 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
194 | } |
195 | |
196 | // SIGNAL 2 |
197 | void QCalendarPopup::(QDate _t1) |
198 | { |
199 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
200 | QMetaObject::activate(this, &staticMetaObject, 2, _a); |
201 | } |
202 | |
203 | // SIGNAL 3 |
204 | void QCalendarPopup::() |
205 | { |
206 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); |
207 | } |
208 | QT_WARNING_POP |
209 | QT_END_MOC_NAMESPACE |
210 | |