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