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