1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qcalendarwidget.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/qcalendarwidget.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'qcalendarwidget.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 qt_meta_stringdata_QCalendarWidget_t { |
25 | const uint offsetsAndSize[116]; |
26 | char stringdata0[830]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_QCalendarWidget_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_QCalendarWidget_t qt_meta_stringdata_QCalendarWidget = { |
31 | { |
32 | QT_MOC_LITERAL(0, 15), // "QCalendarWidget" |
33 | QT_MOC_LITERAL(16, 16), // "selectionChanged" |
34 | QT_MOC_LITERAL(33, 0), // "" |
35 | QT_MOC_LITERAL(34, 7), // "clicked" |
36 | QT_MOC_LITERAL(42, 4), // "date" |
37 | QT_MOC_LITERAL(47, 9), // "activated" |
38 | QT_MOC_LITERAL(57, 18), // "currentPageChanged" |
39 | QT_MOC_LITERAL(76, 4), // "year" |
40 | QT_MOC_LITERAL(81, 5), // "month" |
41 | QT_MOC_LITERAL(87, 15), // "setSelectedDate" |
42 | QT_MOC_LITERAL(103, 12), // "setDateRange" |
43 | QT_MOC_LITERAL(116, 3), // "min" |
44 | QT_MOC_LITERAL(120, 3), // "max" |
45 | QT_MOC_LITERAL(124, 14), // "setCurrentPage" |
46 | QT_MOC_LITERAL(139, 14), // "setGridVisible" |
47 | QT_MOC_LITERAL(154, 4), // "show" |
48 | QT_MOC_LITERAL(159, 23), // "setNavigationBarVisible" |
49 | QT_MOC_LITERAL(183, 7), // "visible" |
50 | QT_MOC_LITERAL(191, 13), // "showNextMonth" |
51 | QT_MOC_LITERAL(205, 17), // "showPreviousMonth" |
52 | QT_MOC_LITERAL(223, 12), // "showNextYear" |
53 | QT_MOC_LITERAL(236, 16), // "showPreviousYear" |
54 | QT_MOC_LITERAL(253, 16), // "showSelectedDate" |
55 | QT_MOC_LITERAL(270, 9), // "showToday" |
56 | QT_MOC_LITERAL(280, 15), // "_q_slotShowDate" |
57 | QT_MOC_LITERAL(296, 17), // "_q_slotChangeDate" |
58 | QT_MOC_LITERAL(314, 11), // "changeMonth" |
59 | QT_MOC_LITERAL(326, 18), // "_q_editingFinished" |
60 | QT_MOC_LITERAL(345, 19), // "_q_prevMonthClicked" |
61 | QT_MOC_LITERAL(365, 19), // "_q_nextMonthClicked" |
62 | QT_MOC_LITERAL(385, 22), // "_q_yearEditingFinished" |
63 | QT_MOC_LITERAL(408, 14), // "_q_yearClicked" |
64 | QT_MOC_LITERAL(423, 15), // "_q_monthChanged" |
65 | QT_MOC_LITERAL(439, 8), // "QAction*" |
66 | QT_MOC_LITERAL(448, 3), // "act" |
67 | QT_MOC_LITERAL(452, 12), // "selectedDate" |
68 | QT_MOC_LITERAL(465, 11), // "minimumDate" |
69 | QT_MOC_LITERAL(477, 11), // "maximumDate" |
70 | QT_MOC_LITERAL(489, 14), // "firstDayOfWeek" |
71 | QT_MOC_LITERAL(504, 13), // "Qt::DayOfWeek" |
72 | QT_MOC_LITERAL(518, 11), // "gridVisible" |
73 | QT_MOC_LITERAL(530, 13), // "selectionMode" |
74 | QT_MOC_LITERAL(544, 13), // "SelectionMode" |
75 | QT_MOC_LITERAL(558, 22), // "horizontalHeaderFormat" |
76 | QT_MOC_LITERAL(581, 22), // "HorizontalHeaderFormat" |
77 | QT_MOC_LITERAL(604, 20), // "verticalHeaderFormat" |
78 | QT_MOC_LITERAL(625, 20), // "VerticalHeaderFormat" |
79 | QT_MOC_LITERAL(646, 20), // "navigationBarVisible" |
80 | QT_MOC_LITERAL(667, 15), // "dateEditEnabled" |
81 | QT_MOC_LITERAL(683, 19), // "dateEditAcceptDelay" |
82 | QT_MOC_LITERAL(703, 18), // "NoHorizontalHeader" |
83 | QT_MOC_LITERAL(722, 20), // "SingleLetterDayNames" |
84 | QT_MOC_LITERAL(743, 13), // "ShortDayNames" |
85 | QT_MOC_LITERAL(757, 12), // "LongDayNames" |
86 | QT_MOC_LITERAL(770, 16), // "NoVerticalHeader" |
87 | QT_MOC_LITERAL(787, 14), // "ISOWeekNumbers" |
88 | QT_MOC_LITERAL(802, 11), // "NoSelection" |
89 | QT_MOC_LITERAL(814, 15) // "SingleSelection" |
90 | |
91 | }, |
92 | "QCalendarWidget\0selectionChanged\0\0" |
93 | "clicked\0date\0activated\0currentPageChanged\0" |
94 | "year\0month\0setSelectedDate\0setDateRange\0" |
95 | "min\0max\0setCurrentPage\0setGridVisible\0" |
96 | "show\0setNavigationBarVisible\0visible\0" |
97 | "showNextMonth\0showPreviousMonth\0" |
98 | "showNextYear\0showPreviousYear\0" |
99 | "showSelectedDate\0showToday\0_q_slotShowDate\0" |
100 | "_q_slotChangeDate\0changeMonth\0" |
101 | "_q_editingFinished\0_q_prevMonthClicked\0" |
102 | "_q_nextMonthClicked\0_q_yearEditingFinished\0" |
103 | "_q_yearClicked\0_q_monthChanged\0QAction*\0" |
104 | "act\0selectedDate\0minimumDate\0maximumDate\0" |
105 | "firstDayOfWeek\0Qt::DayOfWeek\0gridVisible\0" |
106 | "selectionMode\0SelectionMode\0" |
107 | "horizontalHeaderFormat\0HorizontalHeaderFormat\0" |
108 | "verticalHeaderFormat\0VerticalHeaderFormat\0" |
109 | "navigationBarVisible\0dateEditEnabled\0" |
110 | "dateEditAcceptDelay\0NoHorizontalHeader\0" |
111 | "SingleLetterDayNames\0ShortDayNames\0" |
112 | "LongDayNames\0NoVerticalHeader\0" |
113 | "ISOWeekNumbers\0NoSelection\0SingleSelection" |
114 | }; |
115 | #undef QT_MOC_LITERAL |
116 | |
117 | static const uint qt_meta_data_QCalendarWidget[] = { |
118 | |
119 | // content: |
120 | 9, // revision |
121 | 0, // classname |
122 | 0, 0, // classinfo |
123 | 24, 14, // methods |
124 | 11, 214, // properties |
125 | 3, 269, // enums/sets |
126 | 0, 0, // constructors |
127 | 0, // flags |
128 | 4, // signalCount |
129 | |
130 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
131 | 1, 0, 158, 2, 0x06, 11 /* Public */, |
132 | 3, 1, 159, 2, 0x06, 12 /* Public */, |
133 | 5, 1, 162, 2, 0x06, 14 /* Public */, |
134 | 6, 2, 165, 2, 0x06, 16 /* Public */, |
135 | |
136 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
137 | 9, 1, 170, 2, 0x0a, 19 /* Public */, |
138 | 10, 2, 173, 2, 0x0a, 21 /* Public */, |
139 | 13, 2, 178, 2, 0x0a, 24 /* Public */, |
140 | 14, 1, 183, 2, 0x0a, 27 /* Public */, |
141 | 16, 1, 186, 2, 0x0a, 29 /* Public */, |
142 | 18, 0, 189, 2, 0x0a, 31 /* Public */, |
143 | 19, 0, 190, 2, 0x0a, 32 /* Public */, |
144 | 20, 0, 191, 2, 0x0a, 33 /* Public */, |
145 | 21, 0, 192, 2, 0x0a, 34 /* Public */, |
146 | 22, 0, 193, 2, 0x0a, 35 /* Public */, |
147 | 23, 0, 194, 2, 0x0a, 36 /* Public */, |
148 | 24, 1, 195, 2, 0x08, 37 /* Private */, |
149 | 25, 1, 198, 2, 0x08, 39 /* Private */, |
150 | 25, 2, 201, 2, 0x08, 41 /* Private */, |
151 | 27, 0, 206, 2, 0x08, 44 /* Private */, |
152 | 28, 0, 207, 2, 0x08, 45 /* Private */, |
153 | 29, 0, 208, 2, 0x08, 46 /* Private */, |
154 | 30, 0, 209, 2, 0x08, 47 /* Private */, |
155 | 31, 0, 210, 2, 0x08, 48 /* Private */, |
156 | 32, 1, 211, 2, 0x08, 49 /* Private */, |
157 | |
158 | // signals: parameters |
159 | QMetaType::Void, |
160 | QMetaType::Void, QMetaType::QDate, 4, |
161 | QMetaType::Void, QMetaType::QDate, 4, |
162 | QMetaType::Void, QMetaType::Int, QMetaType::Int, 7, 8, |
163 | |
164 | // slots: parameters |
165 | QMetaType::Void, QMetaType::QDate, 4, |
166 | QMetaType::Void, QMetaType::QDate, QMetaType::QDate, 11, 12, |
167 | QMetaType::Void, QMetaType::Int, QMetaType::Int, 7, 8, |
168 | QMetaType::Void, QMetaType::Bool, 15, |
169 | QMetaType::Void, QMetaType::Bool, 17, |
170 | QMetaType::Void, |
171 | QMetaType::Void, |
172 | QMetaType::Void, |
173 | QMetaType::Void, |
174 | QMetaType::Void, |
175 | QMetaType::Void, |
176 | QMetaType::Void, QMetaType::QDate, 4, |
177 | QMetaType::Void, QMetaType::QDate, 4, |
178 | QMetaType::Void, QMetaType::QDate, QMetaType::Bool, 4, 26, |
179 | QMetaType::Void, |
180 | QMetaType::Void, |
181 | QMetaType::Void, |
182 | QMetaType::Void, |
183 | QMetaType::Void, |
184 | QMetaType::Void, 0x80000000 | 33, 34, |
185 | |
186 | // properties: name, type, flags |
187 | 35, QMetaType::QDate, 0x00015103, uint(-1), 0, |
188 | 36, QMetaType::QDate, 0x00015103, uint(-1), 0, |
189 | 37, QMetaType::QDate, 0x00015103, uint(-1), 0, |
190 | 38, 0x80000000 | 39, 0x0001510b, uint(-1), 0, |
191 | 40, QMetaType::Bool, 0x00015103, uint(-1), 0, |
192 | 41, 0x80000000 | 42, 0x0001510b, uint(-1), 0, |
193 | 43, 0x80000000 | 44, 0x0001510b, uint(-1), 0, |
194 | 45, 0x80000000 | 46, 0x0001510b, uint(-1), 0, |
195 | 47, QMetaType::Bool, 0x00015103, uint(-1), 0, |
196 | 48, QMetaType::Bool, 0x00015103, uint(-1), 0, |
197 | 49, QMetaType::Int, 0x00015103, uint(-1), 0, |
198 | |
199 | // enums: name, alias, flags, count, data |
200 | 44, 44, 0x0, 4, 284, |
201 | 46, 46, 0x0, 2, 292, |
202 | 42, 42, 0x0, 2, 296, |
203 | |
204 | // enum data: key, value |
205 | 50, uint(QCalendarWidget::NoHorizontalHeader), |
206 | 51, uint(QCalendarWidget::SingleLetterDayNames), |
207 | 52, uint(QCalendarWidget::ShortDayNames), |
208 | 53, uint(QCalendarWidget::LongDayNames), |
209 | 54, uint(QCalendarWidget::NoVerticalHeader), |
210 | 55, uint(QCalendarWidget::ISOWeekNumbers), |
211 | 56, uint(QCalendarWidget::NoSelection), |
212 | 57, uint(QCalendarWidget::SingleSelection), |
213 | |
214 | 0 // eod |
215 | }; |
216 | |
217 | void QCalendarWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
218 | { |
219 | if (_c == QMetaObject::InvokeMetaMethod) { |
220 | Q_ASSERT(staticMetaObject.cast(_o)); |
221 | auto *_t = static_cast<QCalendarWidget *>(_o); |
222 | Q_UNUSED(_t) |
223 | switch (_id) { |
224 | case 0: _t->selectionChanged(); break; |
225 | case 1: _t->clicked((*reinterpret_cast< QDate(*)>(_a[1]))); break; |
226 | case 2: _t->activated((*reinterpret_cast< QDate(*)>(_a[1]))); break; |
227 | case 3: _t->currentPageChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; |
228 | case 4: _t->setSelectedDate((*reinterpret_cast< QDate(*)>(_a[1]))); break; |
229 | case 5: _t->setDateRange((*reinterpret_cast< QDate(*)>(_a[1])),(*reinterpret_cast< QDate(*)>(_a[2]))); break; |
230 | case 6: _t->setCurrentPage((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; |
231 | case 7: _t->setGridVisible((*reinterpret_cast< bool(*)>(_a[1]))); break; |
232 | case 8: _t->setNavigationBarVisible((*reinterpret_cast< bool(*)>(_a[1]))); break; |
233 | case 9: _t->showNextMonth(); break; |
234 | case 10: _t->showPreviousMonth(); break; |
235 | case 11: _t->showNextYear(); break; |
236 | case 12: _t->showPreviousYear(); break; |
237 | case 13: _t->showSelectedDate(); break; |
238 | case 14: _t->showToday(); break; |
239 | case 15: _t->d_func()->_q_slotShowDate((*reinterpret_cast< QDate(*)>(_a[1]))); break; |
240 | case 16: _t->d_func()->_q_slotChangeDate((*reinterpret_cast< QDate(*)>(_a[1]))); break; |
241 | case 17: _t->d_func()->_q_slotChangeDate((*reinterpret_cast< QDate(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; |
242 | case 18: _t->d_func()->_q_editingFinished(); break; |
243 | case 19: _t->d_func()->_q_prevMonthClicked(); break; |
244 | case 20: _t->d_func()->_q_nextMonthClicked(); break; |
245 | case 21: _t->d_func()->_q_yearEditingFinished(); break; |
246 | case 22: _t->d_func()->_q_yearClicked(); break; |
247 | case 23: _t->d_func()->_q_monthChanged((*reinterpret_cast< QAction*(*)>(_a[1]))); break; |
248 | default: ; |
249 | } |
250 | } else if (_c == QMetaObject::IndexOfMethod) { |
251 | int *result = reinterpret_cast<int *>(_a[0]); |
252 | { |
253 | using _t = void (QCalendarWidget::*)(); |
254 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCalendarWidget::selectionChanged)) { |
255 | *result = 0; |
256 | return; |
257 | } |
258 | } |
259 | { |
260 | using _t = void (QCalendarWidget::*)(QDate ); |
261 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCalendarWidget::clicked)) { |
262 | *result = 1; |
263 | return; |
264 | } |
265 | } |
266 | { |
267 | using _t = void (QCalendarWidget::*)(QDate ); |
268 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCalendarWidget::activated)) { |
269 | *result = 2; |
270 | return; |
271 | } |
272 | } |
273 | { |
274 | using _t = void (QCalendarWidget::*)(int , int ); |
275 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCalendarWidget::currentPageChanged)) { |
276 | *result = 3; |
277 | return; |
278 | } |
279 | } |
280 | } |
281 | #ifndef QT_NO_PROPERTIES |
282 | else if (_c == QMetaObject::ReadProperty) { |
283 | Q_ASSERT(staticMetaObject.cast(_o)); |
284 | auto *_t = static_cast<QCalendarWidget *>(_o); |
285 | Q_UNUSED(_t) |
286 | void *_v = _a[0]; |
287 | switch (_id) { |
288 | case 0: *reinterpret_cast< QDate*>(_v) = _t->selectedDate(); break; |
289 | case 1: *reinterpret_cast< QDate*>(_v) = _t->minimumDate(); break; |
290 | case 2: *reinterpret_cast< QDate*>(_v) = _t->maximumDate(); break; |
291 | case 3: *reinterpret_cast< Qt::DayOfWeek*>(_v) = _t->firstDayOfWeek(); break; |
292 | case 4: *reinterpret_cast< bool*>(_v) = _t->isGridVisible(); break; |
293 | case 5: *reinterpret_cast< SelectionMode*>(_v) = _t->selectionMode(); break; |
294 | case 6: *reinterpret_cast< HorizontalHeaderFormat*>(_v) = _t->horizontalHeaderFormat(); break; |
295 | case 7: *reinterpret_cast< VerticalHeaderFormat*>(_v) = _t->verticalHeaderFormat(); break; |
296 | case 8: *reinterpret_cast< bool*>(_v) = _t->isNavigationBarVisible(); break; |
297 | case 9: *reinterpret_cast< bool*>(_v) = _t->isDateEditEnabled(); break; |
298 | case 10: *reinterpret_cast< int*>(_v) = _t->dateEditAcceptDelay(); break; |
299 | default: break; |
300 | } |
301 | } else if (_c == QMetaObject::WriteProperty) { |
302 | Q_ASSERT(staticMetaObject.cast(_o)); |
303 | auto *_t = static_cast<QCalendarWidget *>(_o); |
304 | Q_UNUSED(_t) |
305 | void *_v = _a[0]; |
306 | switch (_id) { |
307 | case 0: _t->setSelectedDate(*reinterpret_cast< QDate*>(_v)); break; |
308 | case 1: _t->setMinimumDate(*reinterpret_cast< QDate*>(_v)); break; |
309 | case 2: _t->setMaximumDate(*reinterpret_cast< QDate*>(_v)); break; |
310 | case 3: _t->setFirstDayOfWeek(*reinterpret_cast< Qt::DayOfWeek*>(_v)); break; |
311 | case 4: _t->setGridVisible(*reinterpret_cast< bool*>(_v)); break; |
312 | case 5: _t->setSelectionMode(*reinterpret_cast< SelectionMode*>(_v)); break; |
313 | case 6: _t->setHorizontalHeaderFormat(*reinterpret_cast< HorizontalHeaderFormat*>(_v)); break; |
314 | case 7: _t->setVerticalHeaderFormat(*reinterpret_cast< VerticalHeaderFormat*>(_v)); break; |
315 | case 8: _t->setNavigationBarVisible(*reinterpret_cast< bool*>(_v)); break; |
316 | case 9: _t->setDateEditEnabled(*reinterpret_cast< bool*>(_v)); break; |
317 | case 10: _t->setDateEditAcceptDelay(*reinterpret_cast< int*>(_v)); break; |
318 | default: break; |
319 | } |
320 | } else if (_c == QMetaObject::ResetProperty) { |
321 | } else if (_c == QMetaObject::BindableProperty) { |
322 | } |
323 | #endif // QT_NO_PROPERTIES |
324 | } |
325 | |
326 | const QMetaObject QCalendarWidget::staticMetaObject = { { |
327 | QMetaObject::SuperData::link<QWidget::staticMetaObject>(), |
328 | qt_meta_stringdata_QCalendarWidget.offsetsAndSize, |
329 | qt_meta_data_QCalendarWidget, |
330 | qt_static_metacall, |
331 | nullptr, |
332 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QCalendarWidget_t |
333 | , QtPrivate::TypeAndForceComplete<QDate, std::true_type>, QtPrivate::TypeAndForceComplete<QDate, std::true_type>, QtPrivate::TypeAndForceComplete<QDate, std::true_type>, QtPrivate::TypeAndForceComplete<Qt::DayOfWeek, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<SelectionMode, std::true_type>, QtPrivate::TypeAndForceComplete<HorizontalHeaderFormat, std::true_type>, QtPrivate::TypeAndForceComplete<VerticalHeaderFormat, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<void, 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>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type> |
334 | , 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<QDate, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, 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>, QtPrivate::TypeAndForceComplete<QDate, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QAction *, std::false_type> |
335 | |
336 | |
337 | >, |
338 | nullptr |
339 | } }; |
340 | |
341 | |
342 | const QMetaObject *QCalendarWidget::metaObject() const |
343 | { |
344 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
345 | } |
346 | |
347 | void *QCalendarWidget::qt_metacast(const char *_clname) |
348 | { |
349 | if (!_clname) return nullptr; |
350 | if (!strcmp(_clname, qt_meta_stringdata_QCalendarWidget.stringdata0)) |
351 | return static_cast<void*>(this); |
352 | return QWidget::qt_metacast(_clname); |
353 | } |
354 | |
355 | int QCalendarWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
356 | { |
357 | _id = QWidget::qt_metacall(_c, _id, _a); |
358 | if (_id < 0) |
359 | return _id; |
360 | if (_c == QMetaObject::InvokeMetaMethod) { |
361 | if (_id < 24) |
362 | qt_static_metacall(this, _c, _id, _a); |
363 | _id -= 24; |
364 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
365 | if (_id < 24) |
366 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
367 | _id -= 24; |
368 | } |
369 | #ifndef QT_NO_PROPERTIES |
370 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty |
371 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty |
372 | || _c == QMetaObject::RegisterPropertyMetaType) { |
373 | qt_static_metacall(this, _c, _id, _a); |
374 | _id -= 11; |
375 | } |
376 | #endif // QT_NO_PROPERTIES |
377 | return _id; |
378 | } |
379 | |
380 | // SIGNAL 0 |
381 | void QCalendarWidget::selectionChanged() |
382 | { |
383 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); |
384 | } |
385 | |
386 | // SIGNAL 1 |
387 | void QCalendarWidget::clicked(QDate _t1) |
388 | { |
389 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
390 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
391 | } |
392 | |
393 | // SIGNAL 2 |
394 | void QCalendarWidget::activated(QDate _t1) |
395 | { |
396 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
397 | QMetaObject::activate(this, &staticMetaObject, 2, _a); |
398 | } |
399 | |
400 | // SIGNAL 3 |
401 | void QCalendarWidget::currentPageChanged(int _t1, int _t2) |
402 | { |
403 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
404 | QMetaObject::activate(this, &staticMetaObject, 3, _a); |
405 | } |
406 | QT_WARNING_POP |
407 | QT_END_MOC_NAMESPACE |
408 | |