1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qtermwidget.h' |
3 | ** |
4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.7) |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost! |
7 | *****************************************************************************/ |
8 | |
9 | #include <memory> |
10 | #include "../../../../3rdparty/unioncode-qtermwidget-0.14.1/lib/qtermwidget.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'qtermwidget.h' doesn't include <QObject>." |
15 | #elif Q_MOC_OUTPUT_REVISION != 67 |
16 | #error "This file was generated using the moc from 5.15.7. 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_QTermWidget_t { |
25 | QByteArrayData data[47]; |
26 | char stringdata0[559]; |
27 | }; |
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_QTermWidget_t, stringdata0) + ofs \ |
31 | - idx * sizeof(QByteArrayData)) \ |
32 | ) |
33 | static const qt_meta_stringdata_QTermWidget_t qt_meta_stringdata_QTermWidget = { |
34 | { |
35 | QT_MOC_LITERAL(0, 0, 11), // "QTermWidget" |
36 | QT_MOC_LITERAL(1, 12, 8), // "finished" |
37 | QT_MOC_LITERAL(2, 21, 0), // "" |
38 | QT_MOC_LITERAL(3, 22, 13), // "copyAvailable" |
39 | QT_MOC_LITERAL(4, 36, 12), // "termGetFocus" |
40 | QT_MOC_LITERAL(5, 49, 13), // "termLostFocus" |
41 | QT_MOC_LITERAL(6, 63, 14), // "termKeyPressed" |
42 | QT_MOC_LITERAL(7, 78, 10), // "QKeyEvent*" |
43 | QT_MOC_LITERAL(8, 89, 12), // "urlActivated" |
44 | QT_MOC_LITERAL(9, 102, 15), // "fromContextMenu" |
45 | QT_MOC_LITERAL(10, 118, 4), // "bell" |
46 | QT_MOC_LITERAL(11, 123, 7), // "message" |
47 | QT_MOC_LITERAL(12, 131, 8), // "activity" |
48 | QT_MOC_LITERAL(13, 140, 7), // "silence" |
49 | QT_MOC_LITERAL(14, 148, 8), // "sendData" |
50 | QT_MOC_LITERAL(15, 157, 11), // "const char*" |
51 | QT_MOC_LITERAL(16, 169, 14), // "profileChanged" |
52 | QT_MOC_LITERAL(17, 184, 7), // "profile" |
53 | QT_MOC_LITERAL(18, 192, 12), // "titleChanged" |
54 | QT_MOC_LITERAL(19, 205, 12), // "receivedData" |
55 | QT_MOC_LITERAL(20, 218, 4), // "text" |
56 | QT_MOC_LITERAL(21, 223, 13), // "copyClipboard" |
57 | QT_MOC_LITERAL(22, 237, 14), // "pasteClipboard" |
58 | QT_MOC_LITERAL(23, 252, 14), // "pasteSelection" |
59 | QT_MOC_LITERAL(24, 267, 6), // "zoomIn" |
60 | QT_MOC_LITERAL(25, 274, 7), // "zoomOut" |
61 | QT_MOC_LITERAL(26, 282, 7), // "setSize" |
62 | QT_MOC_LITERAL(27, 290, 14), // "setKeyBindings" |
63 | QT_MOC_LITERAL(28, 305, 2), // "kb" |
64 | QT_MOC_LITERAL(29, 308, 5), // "clear" |
65 | QT_MOC_LITERAL(30, 314, 19), // "toggleShowSearchBar" |
66 | QT_MOC_LITERAL(31, 334, 15), // "sessionFinished" |
67 | QT_MOC_LITERAL(32, 350, 16), // "selectionChanged" |
68 | QT_MOC_LITERAL(33, 367, 12), // "textSelected" |
69 | QT_MOC_LITERAL(34, 380, 4), // "find" |
70 | QT_MOC_LITERAL(35, 385, 8), // "findNext" |
71 | QT_MOC_LITERAL(36, 394, 12), // "findPrevious" |
72 | QT_MOC_LITERAL(37, 407, 10), // "matchFound" |
73 | QT_MOC_LITERAL(38, 418, 11), // "startColumn" |
74 | QT_MOC_LITERAL(39, 430, 9), // "startLine" |
75 | QT_MOC_LITERAL(40, 440, 9), // "endColumn" |
76 | QT_MOC_LITERAL(41, 450, 7), // "endLine" |
77 | QT_MOC_LITERAL(42, 458, 12), // "noMatchFound" |
78 | QT_MOC_LITERAL(43, 471, 13), // "cursorChanged" |
79 | QT_MOC_LITERAL(44, 485, 39), // "Konsole::Emulation::KeyboardC..." |
80 | QT_MOC_LITERAL(45, 525, 11), // "cursorShape" |
81 | QT_MOC_LITERAL(46, 537, 21) // "blinkingCursorEnabled" |
82 | |
83 | }, |
84 | "QTermWidget\0finished\0\0copyAvailable\0" |
85 | "termGetFocus\0termLostFocus\0termKeyPressed\0" |
86 | "QKeyEvent*\0urlActivated\0fromContextMenu\0" |
87 | "bell\0message\0activity\0silence\0sendData\0" |
88 | "const char*\0profileChanged\0profile\0" |
89 | "titleChanged\0receivedData\0text\0" |
90 | "copyClipboard\0pasteClipboard\0" |
91 | "pasteSelection\0zoomIn\0zoomOut\0setSize\0" |
92 | "setKeyBindings\0kb\0clear\0toggleShowSearchBar\0" |
93 | "sessionFinished\0selectionChanged\0" |
94 | "textSelected\0find\0findNext\0findPrevious\0" |
95 | "matchFound\0startColumn\0startLine\0" |
96 | "endColumn\0endLine\0noMatchFound\0" |
97 | "cursorChanged\0Konsole::Emulation::KeyboardCursorShape\0" |
98 | "cursorShape\0blinkingCursorEnabled" |
99 | }; |
100 | #undef QT_MOC_LITERAL |
101 | |
102 | static const uint qt_meta_data_QTermWidget[] = { |
103 | |
104 | // content: |
105 | 8, // revision |
106 | 0, // classname |
107 | 0, 0, // classinfo |
108 | 30, 14, // methods |
109 | 0, 0, // properties |
110 | 0, 0, // enums/sets |
111 | 0, 0, // constructors |
112 | 0, // flags |
113 | 13, // signalCount |
114 | |
115 | // signals: name, argc, parameters, tag, flags |
116 | 1, 0, 164, 2, 0x06 /* Public */, |
117 | 3, 1, 165, 2, 0x06 /* Public */, |
118 | 4, 0, 168, 2, 0x06 /* Public */, |
119 | 5, 0, 169, 2, 0x06 /* Public */, |
120 | 6, 1, 170, 2, 0x06 /* Public */, |
121 | 8, 2, 173, 2, 0x06 /* Public */, |
122 | 10, 1, 178, 2, 0x06 /* Public */, |
123 | 12, 0, 181, 2, 0x06 /* Public */, |
124 | 13, 0, 182, 2, 0x06 /* Public */, |
125 | 14, 2, 183, 2, 0x06 /* Public */, |
126 | 16, 1, 188, 2, 0x06 /* Public */, |
127 | 18, 0, 191, 2, 0x06 /* Public */, |
128 | 19, 1, 192, 2, 0x06 /* Public */, |
129 | |
130 | // slots: name, argc, parameters, tag, flags |
131 | 21, 0, 195, 2, 0x0a /* Public */, |
132 | 22, 0, 196, 2, 0x0a /* Public */, |
133 | 23, 0, 197, 2, 0x0a /* Public */, |
134 | 24, 0, 198, 2, 0x0a /* Public */, |
135 | 25, 0, 199, 2, 0x0a /* Public */, |
136 | 26, 1, 200, 2, 0x0a /* Public */, |
137 | 27, 1, 203, 2, 0x0a /* Public */, |
138 | 29, 0, 206, 2, 0x0a /* Public */, |
139 | 30, 0, 207, 2, 0x0a /* Public */, |
140 | 31, 0, 208, 2, 0x09 /* Protected */, |
141 | 32, 1, 209, 2, 0x09 /* Protected */, |
142 | 34, 0, 212, 2, 0x08 /* Private */, |
143 | 35, 0, 213, 2, 0x08 /* Private */, |
144 | 36, 0, 214, 2, 0x08 /* Private */, |
145 | 37, 4, 215, 2, 0x08 /* Private */, |
146 | 42, 0, 224, 2, 0x08 /* Private */, |
147 | 43, 2, 225, 2, 0x08 /* Private */, |
148 | |
149 | // signals: parameters |
150 | QMetaType::Void, |
151 | QMetaType::Void, QMetaType::Bool, 2, |
152 | QMetaType::Void, |
153 | QMetaType::Void, |
154 | QMetaType::Void, 0x80000000 | 7, 2, |
155 | QMetaType::Void, QMetaType::QUrl, QMetaType::Bool, 2, 9, |
156 | QMetaType::Void, QMetaType::QString, 11, |
157 | QMetaType::Void, |
158 | QMetaType::Void, |
159 | QMetaType::Void, 0x80000000 | 15, QMetaType::Int, 2, 2, |
160 | QMetaType::Void, QMetaType::QString, 17, |
161 | QMetaType::Void, |
162 | QMetaType::Void, QMetaType::QString, 20, |
163 | |
164 | // slots: parameters |
165 | QMetaType::Void, |
166 | QMetaType::Void, |
167 | QMetaType::Void, |
168 | QMetaType::Void, |
169 | QMetaType::Void, |
170 | QMetaType::Void, QMetaType::QSize, 2, |
171 | QMetaType::Void, QMetaType::QString, 28, |
172 | QMetaType::Void, |
173 | QMetaType::Void, |
174 | QMetaType::Void, |
175 | QMetaType::Void, QMetaType::Bool, 33, |
176 | QMetaType::Void, |
177 | QMetaType::Void, |
178 | QMetaType::Void, |
179 | QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int, 38, 39, 40, 41, |
180 | QMetaType::Void, |
181 | QMetaType::Void, 0x80000000 | 44, QMetaType::Bool, 45, 46, |
182 | |
183 | 0 // eod |
184 | }; |
185 | |
186 | void QTermWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
187 | { |
188 | if (_c == QMetaObject::InvokeMetaMethod) { |
189 | auto *_t = static_cast<QTermWidget *>(_o); |
190 | (void)_t; |
191 | switch (_id) { |
192 | case 0: _t->finished(); break; |
193 | case 1: _t->copyAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break; |
194 | case 2: _t->termGetFocus(); break; |
195 | case 3: _t->termLostFocus(); break; |
196 | case 4: _t->termKeyPressed((*reinterpret_cast< QKeyEvent*(*)>(_a[1]))); break; |
197 | case 5: _t->urlActivated((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; |
198 | case 6: _t->bell((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
199 | case 7: _t->activity(); break; |
200 | case 8: _t->silence(); break; |
201 | case 9: _t->sendData((*reinterpret_cast< const char*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; |
202 | case 10: _t->profileChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
203 | case 11: _t->titleChanged(); break; |
204 | case 12: _t->receivedData((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
205 | case 13: _t->copyClipboard(); break; |
206 | case 14: _t->pasteClipboard(); break; |
207 | case 15: _t->pasteSelection(); break; |
208 | case 16: _t->zoomIn(); break; |
209 | case 17: _t->zoomOut(); break; |
210 | case 18: _t->setSize((*reinterpret_cast< const QSize(*)>(_a[1]))); break; |
211 | case 19: _t->setKeyBindings((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
212 | case 20: _t->clear(); break; |
213 | case 21: _t->toggleShowSearchBar(); break; |
214 | case 22: _t->sessionFinished(); break; |
215 | case 23: _t->selectionChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; |
216 | case 24: _t->find(); break; |
217 | case 25: _t->findNext(); break; |
218 | case 26: _t->findPrevious(); break; |
219 | case 27: _t->matchFound((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break; |
220 | case 28: _t->noMatchFound(); break; |
221 | case 29: _t->cursorChanged((*reinterpret_cast< Konsole::Emulation::KeyboardCursorShape(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; |
222 | default: ; |
223 | } |
224 | } else if (_c == QMetaObject::IndexOfMethod) { |
225 | int *result = reinterpret_cast<int *>(_a[0]); |
226 | { |
227 | using _t = void (QTermWidget::*)(); |
228 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::finished)) { |
229 | *result = 0; |
230 | return; |
231 | } |
232 | } |
233 | { |
234 | using _t = void (QTermWidget::*)(bool ); |
235 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::copyAvailable)) { |
236 | *result = 1; |
237 | return; |
238 | } |
239 | } |
240 | { |
241 | using _t = void (QTermWidget::*)(); |
242 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::termGetFocus)) { |
243 | *result = 2; |
244 | return; |
245 | } |
246 | } |
247 | { |
248 | using _t = void (QTermWidget::*)(); |
249 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::termLostFocus)) { |
250 | *result = 3; |
251 | return; |
252 | } |
253 | } |
254 | { |
255 | using _t = void (QTermWidget::*)(QKeyEvent * ); |
256 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::termKeyPressed)) { |
257 | *result = 4; |
258 | return; |
259 | } |
260 | } |
261 | { |
262 | using _t = void (QTermWidget::*)(const QUrl & , bool ); |
263 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::urlActivated)) { |
264 | *result = 5; |
265 | return; |
266 | } |
267 | } |
268 | { |
269 | using _t = void (QTermWidget::*)(const QString & ); |
270 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::bell)) { |
271 | *result = 6; |
272 | return; |
273 | } |
274 | } |
275 | { |
276 | using _t = void (QTermWidget::*)(); |
277 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::activity)) { |
278 | *result = 7; |
279 | return; |
280 | } |
281 | } |
282 | { |
283 | using _t = void (QTermWidget::*)(); |
284 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::silence)) { |
285 | *result = 8; |
286 | return; |
287 | } |
288 | } |
289 | { |
290 | using _t = void (QTermWidget::*)(const char * , int ); |
291 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::sendData)) { |
292 | *result = 9; |
293 | return; |
294 | } |
295 | } |
296 | { |
297 | using _t = void (QTermWidget::*)(const QString & ); |
298 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::profileChanged)) { |
299 | *result = 10; |
300 | return; |
301 | } |
302 | } |
303 | { |
304 | using _t = void (QTermWidget::*)(); |
305 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::titleChanged)) { |
306 | *result = 11; |
307 | return; |
308 | } |
309 | } |
310 | { |
311 | using _t = void (QTermWidget::*)(const QString & ); |
312 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::receivedData)) { |
313 | *result = 12; |
314 | return; |
315 | } |
316 | } |
317 | } |
318 | } |
319 | |
320 | QT_INIT_METAOBJECT const QMetaObject QTermWidget::staticMetaObject = { { |
321 | QMetaObject::SuperData::link<QWidget::staticMetaObject>(), |
322 | qt_meta_stringdata_QTermWidget.data, |
323 | qt_meta_data_QTermWidget, |
324 | qt_static_metacall, |
325 | nullptr, |
326 | nullptr |
327 | } }; |
328 | |
329 | |
330 | const QMetaObject *QTermWidget::metaObject() const |
331 | { |
332 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
333 | } |
334 | |
335 | void *QTermWidget::qt_metacast(const char *_clname) |
336 | { |
337 | if (!_clname) return nullptr; |
338 | if (!strcmp(_clname, qt_meta_stringdata_QTermWidget.stringdata0)) |
339 | return static_cast<void*>(this); |
340 | return QWidget::qt_metacast(_clname); |
341 | } |
342 | |
343 | int QTermWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
344 | { |
345 | _id = QWidget::qt_metacall(_c, _id, _a); |
346 | if (_id < 0) |
347 | return _id; |
348 | if (_c == QMetaObject::InvokeMetaMethod) { |
349 | if (_id < 30) |
350 | qt_static_metacall(this, _c, _id, _a); |
351 | _id -= 30; |
352 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
353 | if (_id < 30) |
354 | *reinterpret_cast<int*>(_a[0]) = -1; |
355 | _id -= 30; |
356 | } |
357 | return _id; |
358 | } |
359 | |
360 | // SIGNAL 0 |
361 | void QTermWidget::finished() |
362 | { |
363 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); |
364 | } |
365 | |
366 | // SIGNAL 1 |
367 | void QTermWidget::copyAvailable(bool _t1) |
368 | { |
369 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
370 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
371 | } |
372 | |
373 | // SIGNAL 2 |
374 | void QTermWidget::termGetFocus() |
375 | { |
376 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); |
377 | } |
378 | |
379 | // SIGNAL 3 |
380 | void QTermWidget::termLostFocus() |
381 | { |
382 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); |
383 | } |
384 | |
385 | // SIGNAL 4 |
386 | void QTermWidget::termKeyPressed(QKeyEvent * _t1) |
387 | { |
388 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
389 | QMetaObject::activate(this, &staticMetaObject, 4, _a); |
390 | } |
391 | |
392 | // SIGNAL 5 |
393 | void QTermWidget::urlActivated(const QUrl & _t1, bool _t2) |
394 | { |
395 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
396 | QMetaObject::activate(this, &staticMetaObject, 5, _a); |
397 | } |
398 | |
399 | // SIGNAL 6 |
400 | void QTermWidget::bell(const QString & _t1) |
401 | { |
402 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
403 | QMetaObject::activate(this, &staticMetaObject, 6, _a); |
404 | } |
405 | |
406 | // SIGNAL 7 |
407 | void QTermWidget::activity() |
408 | { |
409 | QMetaObject::activate(this, &staticMetaObject, 7, nullptr); |
410 | } |
411 | |
412 | // SIGNAL 8 |
413 | void QTermWidget::silence() |
414 | { |
415 | QMetaObject::activate(this, &staticMetaObject, 8, nullptr); |
416 | } |
417 | |
418 | // SIGNAL 9 |
419 | void QTermWidget::sendData(const char * _t1, int _t2) |
420 | { |
421 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
422 | QMetaObject::activate(this, &staticMetaObject, 9, _a); |
423 | } |
424 | |
425 | // SIGNAL 10 |
426 | void QTermWidget::profileChanged(const QString & _t1) |
427 | { |
428 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
429 | QMetaObject::activate(this, &staticMetaObject, 10, _a); |
430 | } |
431 | |
432 | // SIGNAL 11 |
433 | void QTermWidget::titleChanged() |
434 | { |
435 | QMetaObject::activate(this, &staticMetaObject, 11, nullptr); |
436 | } |
437 | |
438 | // SIGNAL 12 |
439 | void QTermWidget::receivedData(const QString & _t1) |
440 | { |
441 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
442 | QMetaObject::activate(this, &staticMetaObject, 12, _a); |
443 | } |
444 | QT_WARNING_POP |
445 | QT_END_MOC_NAMESPACE |
446 | |