1/****************************************************************************
2** Meta object code from reading C++ file 'mainwindow.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 "mainwindow.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'mainwindow.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
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
24struct qt_meta_stringdata_MainWindow_t {
25 const uint offsetsAndSize[16];
26 char stringdata0[57];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
31 {
32QT_MOC_LITERAL(0, 10), // "MainWindow"
33QT_MOC_LITERAL(11, 11), // "setFontSize"
34QT_MOC_LITERAL(23, 0), // ""
35QT_MOC_LITERAL(24, 4), // "size"
36QT_MOC_LITERAL(29, 8), // "setMonth"
37QT_MOC_LITERAL(38, 5), // "month"
38QT_MOC_LITERAL(44, 7), // "setYear"
39QT_MOC_LITERAL(52, 4) // "date"
40
41 },
42 "MainWindow\0setFontSize\0\0size\0setMonth\0"
43 "month\0setYear\0date"
44};
45#undef QT_MOC_LITERAL
46
47static const uint qt_meta_data_MainWindow[] = {
48
49 // content:
50 9, // revision
51 0, // classname
52 0, 0, // classinfo
53 3, 14, // methods
54 0, 0, // properties
55 0, 0, // enums/sets
56 0, 0, // constructors
57 0, // flags
58 0, // signalCount
59
60 // slots: name, argc, parameters, tag, flags, initial metatype offsets
61 1, 1, 32, 2, 0x0a, 0 /* Public */,
62 4, 1, 35, 2, 0x0a, 2 /* Public */,
63 6, 1, 38, 2, 0x0a, 4 /* Public */,
64
65 // slots: parameters
66 QMetaType::Void, QMetaType::Int, 3,
67 QMetaType::Void, QMetaType::Int, 5,
68 QMetaType::Void, QMetaType::QDate, 7,
69
70 0 // eod
71};
72
73void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
74{
75 if (_c == QMetaObject::InvokeMetaMethod) {
76 Q_ASSERT(staticMetaObject.cast(_o));
77 auto *_t = static_cast<MainWindow *>(_o);
78 Q_UNUSED(_t)
79 switch (_id) {
80 case 0: _t->setFontSize((*reinterpret_cast< int(*)>(_a[1]))); break;
81 case 1: _t->setMonth((*reinterpret_cast< int(*)>(_a[1]))); break;
82 case 2: _t->setYear((*reinterpret_cast< QDate(*)>(_a[1]))); break;
83 default: ;
84 }
85 }
86}
87
88const QMetaObject MainWindow::staticMetaObject = { {
89 QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
90 qt_meta_stringdata_MainWindow.offsetsAndSize,
91 qt_meta_data_MainWindow,
92 qt_static_metacall,
93 nullptr,
94qt_incomplete_metaTypeArray<qt_meta_stringdata_MainWindow_t
95
96, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QDate, std::false_type>
97
98
99>,
100 nullptr
101} };
102
103
104const QMetaObject *MainWindow::metaObject() const
105{
106 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
107}
108
109void *MainWindow::qt_metacast(const char *_clname)
110{
111 if (!_clname) return nullptr;
112 if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
113 return static_cast<void*>(this);
114 return QMainWindow::qt_metacast(_clname);
115}
116
117int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
118{
119 _id = QMainWindow::qt_metacall(_c, _id, _a);
120 if (_id < 0)
121 return _id;
122 if (_c == QMetaObject::InvokeMetaMethod) {
123 if (_id < 3)
124 qt_static_metacall(this, _c, _id, _a);
125 _id -= 3;
126 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
127 if (_id < 3)
128 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
129 _id -= 3;
130 }
131 return _id;
132}
133QT_WARNING_POP
134QT_END_MOC_NAMESPACE
135