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