1 /****************************************************************************
2 ** Meta object code from reading C++ file 'ventoy2diskwindow.h'
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.0)
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
9 #include "../ventoy2diskwindow.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'ventoy2diskwindow.h' doesn't include <QObject>."
14 #elif Q_MOC_OUTPUT_REVISION != 67
15 #error "This file was generated using the moc from 5.9.0. It"
16 #error "cannot be used with the include files from this version of Qt."
17 #error "(The moc has changed too much.)"
20 QT_BEGIN_MOC_NAMESPACE
22 QT_WARNING_DISABLE_DEPRECATED
23 struct qt_meta_stringdata_MyQThread_t
{
24 QByteArrayData data
[5];
27 #define QT_MOC_LITERAL(idx, ofs, len) \
28 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
29 qptrdiff(offsetof(qt_meta_stringdata_MyQThread_t, stringdata0) + ofs \
30 - idx * sizeof(QByteArrayData)) \
32 static const qt_meta_stringdata_MyQThread_t qt_meta_stringdata_MyQThread
= {
34 QT_MOC_LITERAL(0, 0, 9), // "MyQThread"
35 QT_MOC_LITERAL(1, 10, 12), // "thread_event"
36 QT_MOC_LITERAL(2, 23, 0), // ""
37 QT_MOC_LITERAL(3, 24, 3), // "msg"
38 QT_MOC_LITERAL(4, 28, 4) // "data"
41 "MyQThread\0thread_event\0\0msg\0data"
45 static const uint qt_meta_data_MyQThread
[] = {
58 // signals: name, argc, parameters, tag, flags
59 1, 2, 19, 2, 0x06 /* Public */,
61 // signals: parameters
62 QMetaType::Void
, QMetaType::Int
, QMetaType::Int
, 3, 4,
67 void MyQThread::qt_static_metacall(QObject
*_o
, QMetaObject::Call _c
, int _id
, void **_a
)
69 if (_c
== QMetaObject::InvokeMetaMethod
) {
70 MyQThread
*_t
= static_cast<MyQThread
*>(_o
);
73 case 0: _t
->thread_event((*reinterpret_cast< int(*)>(_a
[1])),(*reinterpret_cast< int(*)>(_a
[2]))); break;
76 } else if (_c
== QMetaObject::IndexOfMethod
) {
77 int *result
= reinterpret_cast<int *>(_a
[0]);
78 void **func
= reinterpret_cast<void **>(_a
[1]);
80 typedef void (MyQThread::*_t
)(int , int );
81 if (*reinterpret_cast<_t
*>(func
) == static_cast<_t
>(&MyQThread::thread_event
)) {
89 const QMetaObject
MyQThread::staticMetaObject
= {
90 { &QThread::staticMetaObject
, qt_meta_stringdata_MyQThread
.data
,
91 qt_meta_data_MyQThread
, qt_static_metacall
, nullptr, nullptr}
95 const QMetaObject
*MyQThread::metaObject() const
97 return QObject::d_ptr
->metaObject
? QObject::d_ptr
->dynamicMetaObject() : &staticMetaObject
;
100 void *MyQThread::qt_metacast(const char *_clname
)
102 if (!_clname
) return nullptr;
103 if (!strcmp(_clname
, qt_meta_stringdata_MyQThread
.stringdata0
))
104 return static_cast<void*>(const_cast< MyQThread
*>(this));
105 return QThread::qt_metacast(_clname
);
108 int MyQThread::qt_metacall(QMetaObject::Call _c
, int _id
, void **_a
)
110 _id
= QThread::qt_metacall(_c
, _id
, _a
);
113 if (_c
== QMetaObject::InvokeMetaMethod
) {
115 qt_static_metacall(this, _c
, _id
, _a
);
117 } else if (_c
== QMetaObject::RegisterMethodArgumentMetaType
) {
119 *reinterpret_cast<int*>(_a
[0]) = -1;
126 void MyQThread::thread_event(int _t1
, int _t2
)
128 void *_a
[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1
)), const_cast<void*>(reinterpret_cast<const void*>(&_t2
)) };
129 QMetaObject::activate(this, &staticMetaObject
, 0, _a
);
131 struct qt_meta_stringdata_Ventoy2DiskWindow_t
{
132 QByteArrayData data
[19];
133 char stringdata0
[367];
135 #define QT_MOC_LITERAL(idx, ofs, len) \
136 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
137 qptrdiff(offsetof(qt_meta_stringdata_Ventoy2DiskWindow_t, stringdata0) + ofs \
138 - idx * sizeof(QByteArrayData)) \
140 static const qt_meta_stringdata_Ventoy2DiskWindow_t qt_meta_stringdata_Ventoy2DiskWindow
= {
142 QT_MOC_LITERAL(0, 0, 17), // "Ventoy2DiskWindow"
143 QT_MOC_LITERAL(1, 18, 12), // "thread_event"
144 QT_MOC_LITERAL(2, 31, 0), // ""
145 QT_MOC_LITERAL(3, 32, 3), // "msg"
146 QT_MOC_LITERAL(4, 36, 4), // "data"
147 QT_MOC_LITERAL(5, 41, 23), // "part_style_check_action"
148 QT_MOC_LITERAL(6, 65, 8), // "QAction*"
149 QT_MOC_LITERAL(7, 74, 3), // "act"
150 QT_MOC_LITERAL(8, 78, 17), // "lang_check_action"
151 QT_MOC_LITERAL(9, 96, 24), // "on_ButtonInstall_clicked"
152 QT_MOC_LITERAL(10, 121, 23), // "on_ButtonUpdate_clicked"
153 QT_MOC_LITERAL(11, 145, 24), // "on_ButtonRefresh_clicked"
154 QT_MOC_LITERAL(12, 170, 37), // "on_comboBoxDevice_currentInde..."
155 QT_MOC_LITERAL(13, 208, 5), // "index"
156 QT_MOC_LITERAL(14, 214, 42), // "on_actionPartition_Configurat..."
157 QT_MOC_LITERAL(15, 257, 31), // "on_actionClear_Ventoy_triggered"
158 QT_MOC_LITERAL(16, 289, 33), // "on_actionShow_All_Devices_tog..."
159 QT_MOC_LITERAL(17, 323, 4), // "arg1"
160 QT_MOC_LITERAL(18, 328, 38) // "on_actionSecure_Boot_Support_..."
163 "Ventoy2DiskWindow\0thread_event\0\0msg\0"
164 "data\0part_style_check_action\0QAction*\0"
165 "act\0lang_check_action\0on_ButtonInstall_clicked\0"
166 "on_ButtonUpdate_clicked\0"
167 "on_ButtonRefresh_clicked\0"
168 "on_comboBoxDevice_currentIndexChanged\0"
169 "index\0on_actionPartition_Configuration_triggered\0"
170 "on_actionClear_Ventoy_triggered\0"
171 "on_actionShow_All_Devices_toggled\0"
172 "arg1\0on_actionSecure_Boot_Support_triggered"
174 #undef QT_MOC_LITERAL
176 static const uint qt_meta_data_Ventoy2DiskWindow
[] = {
185 0, 0, // constructors
189 // slots: name, argc, parameters, tag, flags
190 1, 2, 69, 2, 0x08 /* Private */,
191 5, 1, 74, 2, 0x08 /* Private */,
192 8, 1, 77, 2, 0x08 /* Private */,
193 9, 0, 80, 2, 0x08 /* Private */,
194 10, 0, 81, 2, 0x08 /* Private */,
195 11, 0, 82, 2, 0x08 /* Private */,
196 12, 1, 83, 2, 0x08 /* Private */,
197 14, 0, 86, 2, 0x08 /* Private */,
198 15, 0, 87, 2, 0x08 /* Private */,
199 16, 1, 88, 2, 0x08 /* Private */,
200 18, 0, 91, 2, 0x08 /* Private */,
203 QMetaType::Void
, QMetaType::Int
, QMetaType::Int
, 3, 4,
204 QMetaType::Void
, 0x80000000 | 6, 7,
205 QMetaType::Void
, 0x80000000 | 6, 7,
209 QMetaType::Void
, QMetaType::Int
, 13,
212 QMetaType::Void
, QMetaType::Bool
, 17,
218 void Ventoy2DiskWindow::qt_static_metacall(QObject
*_o
, QMetaObject::Call _c
, int _id
, void **_a
)
220 if (_c
== QMetaObject::InvokeMetaMethod
) {
221 Ventoy2DiskWindow
*_t
= static_cast<Ventoy2DiskWindow
*>(_o
);
224 case 0: _t
->thread_event((*reinterpret_cast< int(*)>(_a
[1])),(*reinterpret_cast< int(*)>(_a
[2]))); break;
225 case 1: _t
->part_style_check_action((*reinterpret_cast< QAction
*(*)>(_a
[1]))); break;
226 case 2: _t
->lang_check_action((*reinterpret_cast< QAction
*(*)>(_a
[1]))); break;
227 case 3: _t
->on_ButtonInstall_clicked(); break;
228 case 4: _t
->on_ButtonUpdate_clicked(); break;
229 case 5: _t
->on_ButtonRefresh_clicked(); break;
230 case 6: _t
->on_comboBoxDevice_currentIndexChanged((*reinterpret_cast< int(*)>(_a
[1]))); break;
231 case 7: _t
->on_actionPartition_Configuration_triggered(); break;
232 case 8: _t
->on_actionClear_Ventoy_triggered(); break;
233 case 9: _t
->on_actionShow_All_Devices_toggled((*reinterpret_cast< bool(*)>(_a
[1]))); break;
234 case 10: _t
->on_actionSecure_Boot_Support_triggered(); break;
237 } else if (_c
== QMetaObject::RegisterMethodArgumentMetaType
) {
239 default: *reinterpret_cast<int*>(_a
[0]) = -1; break;
241 switch (*reinterpret_cast<int*>(_a
[1])) {
242 default: *reinterpret_cast<int*>(_a
[0]) = -1; break;
244 *reinterpret_cast<int*>(_a
[0]) = qRegisterMetaType
< QAction
* >(); break;
248 switch (*reinterpret_cast<int*>(_a
[1])) {
249 default: *reinterpret_cast<int*>(_a
[0]) = -1; break;
251 *reinterpret_cast<int*>(_a
[0]) = qRegisterMetaType
< QAction
* >(); break;
258 const QMetaObject
Ventoy2DiskWindow::staticMetaObject
= {
259 { &QMainWindow::staticMetaObject
, qt_meta_stringdata_Ventoy2DiskWindow
.data
,
260 qt_meta_data_Ventoy2DiskWindow
, qt_static_metacall
, nullptr, nullptr}
264 const QMetaObject
*Ventoy2DiskWindow::metaObject() const
266 return QObject::d_ptr
->metaObject
? QObject::d_ptr
->dynamicMetaObject() : &staticMetaObject
;
269 void *Ventoy2DiskWindow::qt_metacast(const char *_clname
)
271 if (!_clname
) return nullptr;
272 if (!strcmp(_clname
, qt_meta_stringdata_Ventoy2DiskWindow
.stringdata0
))
273 return static_cast<void*>(const_cast< Ventoy2DiskWindow
*>(this));
274 return QMainWindow::qt_metacast(_clname
);
277 int Ventoy2DiskWindow::qt_metacall(QMetaObject::Call _c
, int _id
, void **_a
)
279 _id
= QMainWindow::qt_metacall(_c
, _id
, _a
);
282 if (_c
== QMetaObject::InvokeMetaMethod
) {
284 qt_static_metacall(this, _c
, _id
, _a
);
286 } else if (_c
== QMetaObject::RegisterMethodArgumentMetaType
) {
288 qt_static_metacall(this, _c
, _id
, _a
);