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[84];
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, 13), // "updateActions"
34QT_MOC_LITERAL(25, 0), // ""
35QT_MOC_LITERAL(26, 11), // "insertChild"
36QT_MOC_LITERAL(38, 12), // "insertColumn"
37QT_MOC_LITERAL(51, 9), // "insertRow"
38QT_MOC_LITERAL(61, 12), // "removeColumn"
39QT_MOC_LITERAL(74, 9) // "removeRow"
40
41 },
42 "MainWindow\0updateActions\0\0insertChild\0"
43 "insertColumn\0insertRow\0removeColumn\0"
44 "removeRow"
45};
46#undef QT_MOC_LITERAL
47
48static const uint qt_meta_data_MainWindow[] = {
49
50 // content:
51 9, // revision
52 0, // classname
53 0, 0, // classinfo
54 6, 14, // methods
55 0, 0, // properties
56 0, 0, // enums/sets
57 0, 0, // constructors
58 0, // flags
59 0, // signalCount
60
61 // slots: name, argc, parameters, tag, flags, initial metatype offsets
62 1, 0, 50, 2, 0x0a, 0 /* Public */,
63 3, 0, 51, 2, 0x08, 1 /* Private */,
64 4, 0, 52, 2, 0x08, 2 /* Private */,
65 5, 0, 53, 2, 0x08, 3 /* Private */,
66 6, 0, 54, 2, 0x08, 4 /* Private */,
67 7, 0, 55, 2, 0x08, 5 /* Private */,
68
69 // slots: parameters
70 QMetaType::Void,
71 QMetaType::Void,
72 QMetaType::Bool,
73 QMetaType::Void,
74 QMetaType::Bool,
75 QMetaType::Void,
76
77 0 // eod
78};
79
80void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
81{
82 if (_c == QMetaObject::InvokeMetaMethod) {
83 Q_ASSERT(staticMetaObject.cast(_o));
84 auto *_t = static_cast<MainWindow *>(_o);
85 Q_UNUSED(_t)
86 switch (_id) {
87 case 0: _t->updateActions(); break;
88 case 1: _t->insertChild(); break;
89 case 2: { bool _r = _t->insertColumn();
90 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
91 case 3: _t->insertRow(); break;
92 case 4: { bool _r = _t->removeColumn();
93 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
94 case 5: _t->removeRow(); break;
95 default: ;
96 }
97 }
98}
99
100const QMetaObject MainWindow::staticMetaObject = { {
101 QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
102 qt_meta_stringdata_MainWindow.offsetsAndSize,
103 qt_meta_data_MainWindow,
104 qt_static_metacall,
105 nullptr,
106qt_incomplete_metaTypeArray<qt_meta_stringdata_MainWindow_t
107
108, QtPrivate::TypeAndForceComplete<void, 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>
109
110
111>,
112 nullptr
113} };
114
115
116const QMetaObject *MainWindow::metaObject() const
117{
118 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
119}
120
121void *MainWindow::qt_metacast(const char *_clname)
122{
123 if (!_clname) return nullptr;
124 if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
125 return static_cast<void*>(this);
126 return QMainWindow::qt_metacast(_clname);
127}
128
129int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
130{
131 _id = QMainWindow::qt_metacall(_c, _id, _a);
132 if (_id < 0)
133 return _id;
134 if (_c == QMetaObject::InvokeMetaMethod) {
135 if (_id < 6)
136 qt_static_metacall(this, _c, _id, _a);
137 _id -= 6;
138 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
139 if (_id < 6)
140 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
141 _id -= 6;
142 }
143 return _id;
144}
145QT_WARNING_POP
146QT_END_MOC_NAMESPACE
147