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 != 67
16#error "This file was generated using the moc from 5.15.13. It"
17#error "cannot be used with the include files from this version of Qt."
18#error "(The moc has changed too much.)"
23QT_WARNING_DISABLE_DEPRECATED
28#define QT_MOC_LITERAL(idx, ofs, len) \
29 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
30 qptrdiff(offsetof(qt_meta_stringdata_CMainWindow_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
58 "CMainWindow\0slotSettings\0\0slotRun\0"
59 "MdiChild*\0m\0slotNew\0slotOpen\0slotSave\0"
60 "slotSaveAs\0slotCut\0slotCopy\0slotPaste\0"
61 "slotAbout\0slotRefreshMenus\0slotNewLog\0"
62 "slotSaveLog\0createMdiChild\0activateChild\0"
100 QMetaType::Void, 0x80000000 | 4, 5,
114 QMetaType::Void, 0x80000000 | 19, 20,
119void CMainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
121 if (_c == QMetaObject::InvokeMetaMethod) {
125 case 0: _t->slotSettings();
break;
126 case 1: _t->slotRun((*
reinterpret_cast< MdiChild*(*)
>(_a[1])));
break;
127 case 2: _t->slotRun();
break;
128 case 3: _t->slotNew();
break;
129 case 4: _t->slotOpen();
break;
130 case 5: _t->slotSave();
break;
131 case 6: _t->slotSaveAs();
break;
132 case 7: _t->slotCut();
break;
133 case 8: _t->slotCopy();
break;
134 case 9: _t->slotPaste();
break;
135 case 10: _t->slotAbout();
break;
136 case 11: _t->slotRefreshMenus();
break;
137 case 12: _t->slotNewLog();
break;
138 case 13: _t->slotSaveLog();
break;
139 case 14: {
MdiChild* _r = _t->createMdiChild();
140 if (_a[0]) *
reinterpret_cast< MdiChild**
>(_a[0]) = std::move(_r); }
break;
141 case 15: _t->activateChild((*
reinterpret_cast< QWidget*(*)
>(_a[1])));
break;
144 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
146 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
148 switch (*
reinterpret_cast<int*
>(_a[1])) {
149 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
151 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< QWidget* >();
break;
158QT_INIT_METAOBJECT
const QMetaObject CMainWindow::staticMetaObject = { {
159 QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
168const QMetaObject *CMainWindow::metaObject()
const
170 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
173void *CMainWindow::qt_metacast(
const char *_clname)
175 if (!_clname)
return nullptr;
177 return static_cast<void*
>(
this);
178 return QMainWindow::qt_metacast(_clname);
181int CMainWindow::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
183 _id = QMainWindow::qt_metacall(_c, _id, _a);
186 if (_c == QMetaObject::InvokeMetaMethod) {
188 qt_static_metacall(
this, _c, _id, _a);
190 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
192 qt_static_metacall(
this, _c, _id, _a);
#define QT_MOC_LITERAL(idx, ofs, len)
static const qt_meta_stringdata_CMainWindow_t qt_meta_stringdata_CMainWindow
static const uint qt_meta_data_CMainWindow[]