1/****************************************************************************
2** Meta object code from reading C++ file 'qcalendarwidget.cpp'
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 <QtCore/qbytearray.h>
11#include <QtCore/qmetatype.h>
12#if !defined(Q_MOC_OUTPUT_REVISION)
13#error "The header file 'qcalendarwidget.cpp' doesn't include <QObject>."
14#elif Q_MOC_OUTPUT_REVISION != 68
15#error "This file was generated using the moc from 6.0.0. It"
16#error "cannot be used with the include files from this version of Qt."
17#error "(The moc has changed too much.)"
18#endif
19
20QT_BEGIN_MOC_NAMESPACE
21QT_WARNING_PUSH
22QT_WARNING_DISABLE_DEPRECATED
23struct qt_meta_stringdata_QCalendarTextNavigator_t {
24 const uint offsetsAndSize[10];
25 char stringdata0[57];
26};
27#define QT_MOC_LITERAL(ofs, len) \
28 uint(offsetof(qt_meta_stringdata_QCalendarTextNavigator_t, stringdata0) + ofs), len
29static const qt_meta_stringdata_QCalendarTextNavigator_t qt_meta_stringdata_QCalendarTextNavigator = {
30 {
31QT_MOC_LITERAL(0, 22), // "QCalendarTextNavigator"
32QT_MOC_LITERAL(23, 11), // "dateChanged"
33QT_MOC_LITERAL(35, 0), // ""
34QT_MOC_LITERAL(36, 4), // "date"
35QT_MOC_LITERAL(41, 15) // "editingFinished"
36
37 },
38 "QCalendarTextNavigator\0dateChanged\0\0"
39 "date\0editingFinished"
40};
41#undef QT_MOC_LITERAL
42
43static const uint qt_meta_data_QCalendarTextNavigator[] = {
44
45 // content:
46 9, // revision
47 0, // classname
48 0, 0, // classinfo
49 2, 14, // methods
50 0, 0, // properties
51 0, 0, // enums/sets
52 0, 0, // constructors
53 0, // flags
54 2, // signalCount
55
56 // signals: name, argc, parameters, tag, flags, initial metatype offsets
57 1, 1, 26, 2, 0x06, 0 /* Public */,
58 4, 0, 29, 2, 0x06, 2 /* Public */,
59
60 // signals: parameters
61 QMetaType::Void, QMetaType::QDate, 3,
62 QMetaType::Void,
63
64 0 // eod
65};
66
67void QCalendarTextNavigator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
68{
69 if (_c == QMetaObject::InvokeMetaMethod) {
70 Q_ASSERT(staticMetaObject.cast(_o));
71 auto *_t = static_cast<QCalendarTextNavigator *>(_o);
72 Q_UNUSED(_t)
73 switch (_id) {
74 case 0: _t->dateChanged((*reinterpret_cast< QDate(*)>(_a[1]))); break;
75 case 1: _t->editingFinished(); break;
76 default: ;
77 }
78 } else if (_c == QMetaObject::IndexOfMethod) {
79 int *result = reinterpret_cast<int *>(_a[0]);
80 {
81 using _t = void (QCalendarTextNavigator::*)(QDate );
82 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCalendarTextNavigator::dateChanged)) {
83 *result = 0;
84 return;
85 }
86 }
87 {
88 using _t = void (QCalendarTextNavigator::*)();
89 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCalendarTextNavigator::editingFinished)) {
90 *result = 1;
91 return;
92 }
93 }
94 }
95}
96
97const QMetaObject QCalendarTextNavigator::staticMetaObject = { {
98 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
99 qt_meta_stringdata_QCalendarTextNavigator.offsetsAndSize,
100 qt_meta_data_QCalendarTextNavigator,
101 qt_static_metacall,
102 nullptr,
103qt_incomplete_metaTypeArray<qt_meta_stringdata_QCalendarTextNavigator_t
104, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QDate, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
105
106
107
108>,
109 nullptr
110} };
111
112
113const QMetaObject *QCalendarTextNavigator::metaObject() const
114{
115 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
116}
117
118void *QCalendarTextNavigator::qt_metacast(const char *_clname)
119{
120 if (!_clname) return nullptr;
121 if (!strcmp(_clname, qt_meta_stringdata_QCalendarTextNavigator.stringdata0))
122 return static_cast<void*>(this);
123 return QObject::qt_metacast(_clname);
124}
125
126int QCalendarTextNavigator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
127{
128 _id = QObject::qt_metacall(_c, _id, _a);
129 if (_id < 0)
130 return _id;
131 if (_c == QMetaObject::InvokeMetaMethod) {
132 if (_id < 2)
133 qt_static_metacall(this, _c, _id, _a);
134 _id -= 2;
135 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
136 if (_id < 2)
137 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
138 _id -= 2;
139 }
140 return _id;
141}
142
143// SIGNAL 0
144void QCalendarTextNavigator::dateChanged(QDate _t1)
145{
146 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
147 QMetaObject::activate(this, &staticMetaObject, 0, _a);
148}
149
150// SIGNAL 1
151void QCalendarTextNavigator::editingFinished()
152{
153 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
154}
155struct qt_meta_stringdata_QCalendarModel_t {
156 const uint offsetsAndSize[2];
157 char stringdata0[15];
158};
159#define QT_MOC_LITERAL(ofs, len) \
160 uint(offsetof(qt_meta_stringdata_QCalendarModel_t, stringdata0) + ofs), len
161static const qt_meta_stringdata_QCalendarModel_t qt_meta_stringdata_QCalendarModel = {
162 {
163QT_MOC_LITERAL(0, 14) // "QCalendarModel"
164
165 },
166 "QCalendarModel"
167};
168#undef QT_MOC_LITERAL
169
170static const uint qt_meta_data_QCalendarModel[] = {
171
172 // content:
173 9, // revision
174 0, // classname
175 0, 0, // classinfo
176 0, 0, // methods
177 0, 0, // properties
178 0, 0, // enums/sets
179 0, 0, // constructors
180 0, // flags
181 0, // signalCount
182
183 0 // eod
184};
185
186void QCalendarModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
187{
188 Q_UNUSED(_o);
189 Q_UNUSED(_id);
190 Q_UNUSED(_c);
191 Q_UNUSED(_a);
192}
193
194const QMetaObject QCalendarModel::staticMetaObject = { {
195 QMetaObject::SuperData::link<QAbstractTableModel::staticMetaObject>(),
196 qt_meta_stringdata_QCalendarModel.offsetsAndSize,
197 qt_meta_data_QCalendarModel,
198 qt_static_metacall,
199 nullptr,
200 nullptr,
201 nullptr
202} };
203
204
205const QMetaObject *QCalendarModel::metaObject() const
206{
207 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
208}
209
210void *QCalendarModel::qt_metacast(const char *_clname)
211{
212 if (!_clname) return nullptr;
213 if (!strcmp(_clname, qt_meta_stringdata_QCalendarModel.stringdata0))
214 return static_cast<void*>(this);
215 return QAbstractTableModel::qt_metacast(_clname);
216}
217
218int QCalendarModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
219{
220 _id = QAbstractTableModel::qt_metacall(_c, _id, _a);
221 return _id;
222}
223struct qt_meta_stringdata_QCalendarView_t {
224 const uint offsetsAndSize[16];
225 char stringdata0[76];
226};
227#define QT_MOC_LITERAL(ofs, len) \
228 uint(offsetof(qt_meta_stringdata_QCalendarView_t, stringdata0) + ofs), len
229static const qt_meta_stringdata_QCalendarView_t qt_meta_stringdata_QCalendarView = {
230 {
231QT_MOC_LITERAL(0, 13), // "QCalendarView"
232QT_MOC_LITERAL(14, 8), // "showDate"
233QT_MOC_LITERAL(23, 0), // ""
234QT_MOC_LITERAL(24, 4), // "date"
235QT_MOC_LITERAL(29, 10), // "changeDate"
236QT_MOC_LITERAL(40, 11), // "changeMonth"
237QT_MOC_LITERAL(52, 7), // "clicked"
238QT_MOC_LITERAL(60, 15) // "editingFinished"
239
240 },
241 "QCalendarView\0showDate\0\0date\0changeDate\0"
242 "changeMonth\0clicked\0editingFinished"
243};
244#undef QT_MOC_LITERAL
245
246static const uint qt_meta_data_QCalendarView[] = {
247
248 // content:
249 9, // revision
250 0, // classname
251 0, 0, // classinfo
252 4, 14, // methods
253 0, 0, // properties
254 0, 0, // enums/sets
255 0, 0, // constructors
256 0, // flags
257 4, // signalCount
258
259 // signals: name, argc, parameters, tag, flags, initial metatype offsets
260 1, 1, 38, 2, 0x06, 0 /* Public */,
261 4, 2, 41, 2, 0x06, 2 /* Public */,
262 6, 1, 46, 2, 0x06, 5 /* Public */,
263 7, 0, 49, 2, 0x06, 7 /* Public */,
264
265 // signals: parameters
266 QMetaType::Void, QMetaType::QDate, 3,
267 QMetaType::Void, QMetaType::QDate, QMetaType::Bool, 3, 5,
268 QMetaType::Void, QMetaType::QDate, 3,
269 QMetaType::Void,
270
271 0 // eod
272};
273
274void QCalendarView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
275{
276 if (_c == QMetaObject::InvokeMetaMethod) {
277 Q_ASSERT(staticMetaObject.cast(_o));
278 auto *_t = static_cast<QCalendarView *>(_o);
279 Q_UNUSED(_t)
280 switch (_id) {
281 case 0: _t->showDate((*reinterpret_cast< QDate(*)>(_a[1]))); break;
282 case 1: _t->changeDate((*reinterpret_cast< QDate(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
283 case 2: _t->clicked((*reinterpret_cast< QDate(*)>(_a[1]))); break;
284 case 3: _t->editingFinished(); break;
285 default: ;
286 }
287 } else if (_c == QMetaObject::IndexOfMethod) {
288 int *result = reinterpret_cast<int *>(_a[0]);
289 {
290 using _t = void (QCalendarView::*)(QDate );
291 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCalendarView::showDate)) {
292 *result = 0;
293 return;
294 }
295 }
296 {
297 using _t = void (QCalendarView::*)(QDate , bool );
298 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCalendarView::changeDate)) {
299 *result = 1;
300 return;
301 }
302 }
303 {
304 using _t = void (QCalendarView::*)(QDate );
305 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCalendarView::clicked)) {
306 *result = 2;
307 return;
308 }
309 }
310 {
311 using _t = void (QCalendarView::*)();
312 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCalendarView::editingFinished)) {
313 *result = 3;
314 return;
315 }
316 }
317 }
318}
319
320const QMetaObject QCalendarView::staticMetaObject = { {
321 QMetaObject::SuperData::link<QTableView::staticMetaObject>(),
322 qt_meta_stringdata_QCalendarView.offsetsAndSize,
323 qt_meta_data_QCalendarView,
324 qt_static_metacall,
325 nullptr,
326qt_incomplete_metaTypeArray<qt_meta_stringdata_QCalendarView_t
327, 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<QDate, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
328
329
330
331>,
332 nullptr
333} };
334
335
336const QMetaObject *QCalendarView::metaObject() const
337{
338 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
339}
340
341void *QCalendarView::qt_metacast(const char *_clname)
342{
343 if (!_clname) return nullptr;
344 if (!strcmp(_clname, qt_meta_stringdata_QCalendarView.stringdata0))
345 return static_cast<void*>(this);
346 return QTableView::qt_metacast(_clname);
347}
348
349int QCalendarView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
350{
351 _id = QTableView::qt_metacall(_c, _id, _a);
352 if (_id < 0)
353 return _id;
354 if (_c == QMetaObject::InvokeMetaMethod) {
355 if (_id < 4)
356 qt_static_metacall(this, _c, _id, _a);
357 _id -= 4;
358 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
359 if (_id < 4)
360 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
361 _id -= 4;
362 }
363 return _id;
364}
365
366// SIGNAL 0
367void QCalendarView::showDate(QDate _t1)
368{
369 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
370 QMetaObject::activate(this, &staticMetaObject, 0, _a);
371}
372
373// SIGNAL 1
374void QCalendarView::changeDate(QDate _t1, bool _t2)
375{
376 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
377 QMetaObject::activate(this, &staticMetaObject, 1, _a);
378}
379
380// SIGNAL 2
381void QCalendarView::clicked(QDate _t1)
382{
383 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
384 QMetaObject::activate(this, &staticMetaObject, 2, _a);
385}
386
387// SIGNAL 3
388void QCalendarView::editingFinished()
389{
390 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
391}
392struct qt_meta_stringdata_QCalendarDelegate_t {
393 const uint offsetsAndSize[2];
394 char stringdata0[18];
395};
396#define QT_MOC_LITERAL(ofs, len) \
397 uint(offsetof(qt_meta_stringdata_QCalendarDelegate_t, stringdata0) + ofs), len
398static const qt_meta_stringdata_QCalendarDelegate_t qt_meta_stringdata_QCalendarDelegate = {
399 {
400QT_MOC_LITERAL(0, 17) // "QCalendarDelegate"
401
402 },
403 "QCalendarDelegate"
404};
405#undef QT_MOC_LITERAL
406
407static const uint qt_meta_data_QCalendarDelegate[] = {
408
409 // content:
410 9, // revision
411 0, // classname
412 0, 0, // classinfo
413 0, 0, // methods
414 0, 0, // properties
415 0, 0, // enums/sets
416 0, 0, // constructors
417 0, // flags
418 0, // signalCount
419
420 0 // eod
421};
422
423void QCalendarDelegate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
424{
425 Q_UNUSED(_o);
426 Q_UNUSED(_id);
427 Q_UNUSED(_c);
428 Q_UNUSED(_a);
429}
430
431const QMetaObject QCalendarDelegate::staticMetaObject = { {
432 QMetaObject::SuperData::link<QStyledItemDelegate::staticMetaObject>(),
433 qt_meta_stringdata_QCalendarDelegate.offsetsAndSize,
434 qt_meta_data_QCalendarDelegate,
435 qt_static_metacall,
436 nullptr,
437 nullptr,
438 nullptr
439} };
440
441
442const QMetaObject *QCalendarDelegate::metaObject() const
443{
444 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
445}
446
447void *QCalendarDelegate::qt_metacast(const char *_clname)
448{
449 if (!_clname) return nullptr;
450 if (!strcmp(_clname, qt_meta_stringdata_QCalendarDelegate.stringdata0))
451 return static_cast<void*>(this);
452 return QStyledItemDelegate::qt_metacast(_clname);
453}
454
455int QCalendarDelegate::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
456{
457 _id = QStyledItemDelegate::qt_metacall(_c, _id, _a);
458 return _id;
459}
460struct qt_meta_stringdata_QPrevNextCalButton_t {
461 const uint offsetsAndSize[2];
462 char stringdata0[19];
463};
464#define QT_MOC_LITERAL(ofs, len) \
465 uint(offsetof(qt_meta_stringdata_QPrevNextCalButton_t, stringdata0) + ofs), len
466static const qt_meta_stringdata_QPrevNextCalButton_t qt_meta_stringdata_QPrevNextCalButton = {
467 {
468QT_MOC_LITERAL(0, 18) // "QPrevNextCalButton"
469
470 },
471 "QPrevNextCalButton"
472};
473#undef QT_MOC_LITERAL
474
475static const uint qt_meta_data_QPrevNextCalButton[] = {
476
477 // content:
478 9, // revision
479 0, // classname
480 0, 0, // classinfo
481 0, 0, // methods
482 0, 0, // properties
483 0, 0, // enums/sets
484 0, 0, // constructors
485 0, // flags
486 0, // signalCount
487
488 0 // eod
489};
490
491void QPrevNextCalButton::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
492{
493 Q_UNUSED(_o);
494 Q_UNUSED(_id);
495 Q_UNUSED(_c);
496 Q_UNUSED(_a);
497}
498
499const QMetaObject QPrevNextCalButton::staticMetaObject = { {
500 QMetaObject::SuperData::link<QToolButton::staticMetaObject>(),
501 qt_meta_stringdata_QPrevNextCalButton.offsetsAndSize,
502 qt_meta_data_QPrevNextCalButton,
503 qt_static_metacall,
504 nullptr,
505 nullptr,
506 nullptr
507} };
508
509
510const QMetaObject *QPrevNextCalButton::metaObject() const
511{
512 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
513}
514
515void *QPrevNextCalButton::qt_metacast(const char *_clname)
516{
517 if (!_clname) return nullptr;
518 if (!strcmp(_clname, qt_meta_stringdata_QPrevNextCalButton.stringdata0))
519 return static_cast<void*>(this);
520 return QToolButton::qt_metacast(_clname);
521}
522
523int QPrevNextCalButton::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
524{
525 _id = QToolButton::qt_metacall(_c, _id, _a);
526 return _id;
527}
528QT_WARNING_POP
529QT_END_MOC_NAMESPACE
530