]> glassweightruler.freedombox.rocks Git - Ventoy.git/blob - LinuxGUI/Ventoy2Disk/QT/build/moc_ventoy2diskwindow.cpp
Hotkey change:
[Ventoy.git] / LinuxGUI / Ventoy2Disk / QT / build / moc_ventoy2diskwindow.cpp
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'ventoy2diskwindow.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.0)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8
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.)"
18 #endif
19
20 QT_BEGIN_MOC_NAMESPACE
21 QT_WARNING_PUSH
22 QT_WARNING_DISABLE_DEPRECATED
23 struct qt_meta_stringdata_MyQThread_t {
24 QByteArrayData data[5];
25 char stringdata0[33];
26 };
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)) \
31 )
32 static const qt_meta_stringdata_MyQThread_t qt_meta_stringdata_MyQThread = {
33 {
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"
39
40 },
41 "MyQThread\0thread_event\0\0msg\0data"
42 };
43 #undef QT_MOC_LITERAL
44
45 static const uint qt_meta_data_MyQThread[] = {
46
47 // content:
48 7, // revision
49 0, // classname
50 0, 0, // classinfo
51 1, 14, // methods
52 0, 0, // properties
53 0, 0, // enums/sets
54 0, 0, // constructors
55 0, // flags
56 1, // signalCount
57
58 // signals: name, argc, parameters, tag, flags
59 1, 2, 19, 2, 0x06 /* Public */,
60
61 // signals: parameters
62 QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 4,
63
64 0 // eod
65 };
66
67 void MyQThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
68 {
69 if (_c == QMetaObject::InvokeMetaMethod) {
70 MyQThread *_t = static_cast<MyQThread *>(_o);
71 Q_UNUSED(_t)
72 switch (_id) {
73 case 0: _t->thread_event((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
74 default: ;
75 }
76 } else if (_c == QMetaObject::IndexOfMethod) {
77 int *result = reinterpret_cast<int *>(_a[0]);
78 void **func = reinterpret_cast<void **>(_a[1]);
79 {
80 typedef void (MyQThread::*_t)(int , int );
81 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MyQThread::thread_event)) {
82 *result = 0;
83 return;
84 }
85 }
86 }
87 }
88
89 const QMetaObject MyQThread::staticMetaObject = {
90 { &QThread::staticMetaObject, qt_meta_stringdata_MyQThread.data,
91 qt_meta_data_MyQThread, qt_static_metacall, nullptr, nullptr}
92 };
93
94
95 const QMetaObject *MyQThread::metaObject() const
96 {
97 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
98 }
99
100 void *MyQThread::qt_metacast(const char *_clname)
101 {
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);
106 }
107
108 int MyQThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
109 {
110 _id = QThread::qt_metacall(_c, _id, _a);
111 if (_id < 0)
112 return _id;
113 if (_c == QMetaObject::InvokeMetaMethod) {
114 if (_id < 1)
115 qt_static_metacall(this, _c, _id, _a);
116 _id -= 1;
117 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
118 if (_id < 1)
119 *reinterpret_cast<int*>(_a[0]) = -1;
120 _id -= 1;
121 }
122 return _id;
123 }
124
125 // SIGNAL 0
126 void MyQThread::thread_event(int _t1, int _t2)
127 {
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);
130 }
131 struct qt_meta_stringdata_Ventoy2DiskWindow_t {
132 QByteArrayData data[19];
133 char stringdata0[367];
134 };
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)) \
139 )
140 static const qt_meta_stringdata_Ventoy2DiskWindow_t qt_meta_stringdata_Ventoy2DiskWindow = {
141 {
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_..."
161
162 },
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"
173 };
174 #undef QT_MOC_LITERAL
175
176 static const uint qt_meta_data_Ventoy2DiskWindow[] = {
177
178 // content:
179 7, // revision
180 0, // classname
181 0, 0, // classinfo
182 11, 14, // methods
183 0, 0, // properties
184 0, 0, // enums/sets
185 0, 0, // constructors
186 0, // flags
187 0, // signalCount
188
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 */,
201
202 // slots: parameters
203 QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 4,
204 QMetaType::Void, 0x80000000 | 6, 7,
205 QMetaType::Void, 0x80000000 | 6, 7,
206 QMetaType::Void,
207 QMetaType::Void,
208 QMetaType::Void,
209 QMetaType::Void, QMetaType::Int, 13,
210 QMetaType::Void,
211 QMetaType::Void,
212 QMetaType::Void, QMetaType::Bool, 17,
213 QMetaType::Void,
214
215 0 // eod
216 };
217
218 void Ventoy2DiskWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
219 {
220 if (_c == QMetaObject::InvokeMetaMethod) {
221 Ventoy2DiskWindow *_t = static_cast<Ventoy2DiskWindow *>(_o);
222 Q_UNUSED(_t)
223 switch (_id) {
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;
235 default: ;
236 }
237 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
238 switch (_id) {
239 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
240 case 1:
241 switch (*reinterpret_cast<int*>(_a[1])) {
242 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
243 case 0:
244 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break;
245 }
246 break;
247 case 2:
248 switch (*reinterpret_cast<int*>(_a[1])) {
249 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
250 case 0:
251 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break;
252 }
253 break;
254 }
255 }
256 }
257
258 const QMetaObject Ventoy2DiskWindow::staticMetaObject = {
259 { &QMainWindow::staticMetaObject, qt_meta_stringdata_Ventoy2DiskWindow.data,
260 qt_meta_data_Ventoy2DiskWindow, qt_static_metacall, nullptr, nullptr}
261 };
262
263
264 const QMetaObject *Ventoy2DiskWindow::metaObject() const
265 {
266 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
267 }
268
269 void *Ventoy2DiskWindow::qt_metacast(const char *_clname)
270 {
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);
275 }
276
277 int Ventoy2DiskWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
278 {
279 _id = QMainWindow::qt_metacall(_c, _id, _a);
280 if (_id < 0)
281 return _id;
282 if (_c == QMetaObject::InvokeMetaMethod) {
283 if (_id < 11)
284 qt_static_metacall(this, _c, _id, _a);
285 _id -= 11;
286 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
287 if (_id < 11)
288 qt_static_metacall(this, _c, _id, _a);
289 _id -= 11;
290 }
291 return _id;
292 }
293 QT_WARNING_POP
294 QT_END_MOC_NAMESPACE