source: ogBrowser-Git/qtermwidget/build/lib/moc_qtermwidget.cpp @ ffbf8ac

jenkinsmain
Last change on this file since ffbf8ac was 64efc22, checked in by Vadim Troshchinskiy <vtroshchinskiy@…>, 20 months ago

Update qtermwidget to modern version

  • Property mode set to 100644
File size: 17.8 KB
Line 
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.10)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include <memory>
10#include "../../lib/qtermwidget.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#include <QtCore/qplugin.h>
14#if !defined(Q_MOC_OUTPUT_REVISION)
15#error "The header file 'qtermwidget.h' doesn't include <QObject>."
16#elif Q_MOC_OUTPUT_REVISION != 67
17#error "This file was generated using the moc from 5.15.10. It"
18#error "cannot be used with the include files from this version of Qt."
19#error "(The moc has changed too much.)"
20#endif
21
22QT_BEGIN_MOC_NAMESPACE
23QT_WARNING_PUSH
24QT_WARNING_DISABLE_DEPRECATED
25struct qt_meta_stringdata_QTermWidget_t {
26    QByteArrayData data[50];
27    char stringdata0[589];
28};
29#define QT_MOC_LITERAL(idx, ofs, len) \
30    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
31    qptrdiff(offsetof(qt_meta_stringdata_QTermWidget_t, stringdata0) + ofs \
32        - idx * sizeof(QByteArrayData)) \
33    )
34static const qt_meta_stringdata_QTermWidget_t qt_meta_stringdata_QTermWidget = {
35    {
36QT_MOC_LITERAL(0, 0, 11), // "QTermWidget"
37QT_MOC_LITERAL(1, 12, 8), // "finished"
38QT_MOC_LITERAL(2, 21, 0), // ""
39QT_MOC_LITERAL(3, 22, 13), // "copyAvailable"
40QT_MOC_LITERAL(4, 36, 12), // "termGetFocus"
41QT_MOC_LITERAL(5, 49, 13), // "termLostFocus"
42QT_MOC_LITERAL(6, 63, 14), // "termKeyPressed"
43QT_MOC_LITERAL(7, 78, 10), // "QKeyEvent*"
44QT_MOC_LITERAL(8, 89, 12), // "urlActivated"
45QT_MOC_LITERAL(9, 102, 15), // "fromContextMenu"
46QT_MOC_LITERAL(10, 118, 4), // "bell"
47QT_MOC_LITERAL(11, 123, 7), // "message"
48QT_MOC_LITERAL(12, 131, 8), // "activity"
49QT_MOC_LITERAL(13, 140, 7), // "silence"
50QT_MOC_LITERAL(14, 148, 8), // "sendData"
51QT_MOC_LITERAL(15, 157, 11), // "const char*"
52QT_MOC_LITERAL(16, 169, 14), // "profileChanged"
53QT_MOC_LITERAL(17, 184, 7), // "profile"
54QT_MOC_LITERAL(18, 192, 12), // "titleChanged"
55QT_MOC_LITERAL(19, 205, 12), // "receivedData"
56QT_MOC_LITERAL(20, 218, 4), // "text"
57QT_MOC_LITERAL(21, 223, 13), // "copyClipboard"
58QT_MOC_LITERAL(22, 237, 14), // "pasteClipboard"
59QT_MOC_LITERAL(23, 252, 14), // "pasteSelection"
60QT_MOC_LITERAL(24, 267, 6), // "zoomIn"
61QT_MOC_LITERAL(25, 274, 7), // "zoomOut"
62QT_MOC_LITERAL(26, 282, 7), // "setSize"
63QT_MOC_LITERAL(27, 290, 14), // "setKeyBindings"
64QT_MOC_LITERAL(28, 305, 2), // "kb"
65QT_MOC_LITERAL(29, 308, 5), // "clear"
66QT_MOC_LITERAL(30, 314, 19), // "toggleShowSearchBar"
67QT_MOC_LITERAL(31, 334, 11), // "saveHistory"
68QT_MOC_LITERAL(32, 346, 10), // "QIODevice*"
69QT_MOC_LITERAL(33, 357, 6), // "device"
70QT_MOC_LITERAL(34, 364, 15), // "sessionFinished"
71QT_MOC_LITERAL(35, 380, 16), // "selectionChanged"
72QT_MOC_LITERAL(36, 397, 12), // "textSelected"
73QT_MOC_LITERAL(37, 410, 4), // "find"
74QT_MOC_LITERAL(38, 415, 8), // "findNext"
75QT_MOC_LITERAL(39, 424, 12), // "findPrevious"
76QT_MOC_LITERAL(40, 437, 10), // "matchFound"
77QT_MOC_LITERAL(41, 448, 11), // "startColumn"
78QT_MOC_LITERAL(42, 460, 9), // "startLine"
79QT_MOC_LITERAL(43, 470, 9), // "endColumn"
80QT_MOC_LITERAL(44, 480, 7), // "endLine"
81QT_MOC_LITERAL(45, 488, 12), // "noMatchFound"
82QT_MOC_LITERAL(46, 501, 13), // "cursorChanged"
83QT_MOC_LITERAL(47, 515, 39), // "Konsole::Emulation::KeyboardC..."
84QT_MOC_LITERAL(48, 555, 11), // "cursorShape"
85QT_MOC_LITERAL(49, 567, 21) // "blinkingCursorEnabled"
86
87    },
88    "QTermWidget\0finished\0\0copyAvailable\0"
89    "termGetFocus\0termLostFocus\0termKeyPressed\0"
90    "QKeyEvent*\0urlActivated\0fromContextMenu\0"
91    "bell\0message\0activity\0silence\0sendData\0"
92    "const char*\0profileChanged\0profile\0"
93    "titleChanged\0receivedData\0text\0"
94    "copyClipboard\0pasteClipboard\0"
95    "pasteSelection\0zoomIn\0zoomOut\0setSize\0"
96    "setKeyBindings\0kb\0clear\0toggleShowSearchBar\0"
97    "saveHistory\0QIODevice*\0device\0"
98    "sessionFinished\0selectionChanged\0"
99    "textSelected\0find\0findNext\0findPrevious\0"
100    "matchFound\0startColumn\0startLine\0"
101    "endColumn\0endLine\0noMatchFound\0"
102    "cursorChanged\0Konsole::Emulation::KeyboardCursorShape\0"
103    "cursorShape\0blinkingCursorEnabled"
104};
105#undef QT_MOC_LITERAL
106
107static const uint qt_meta_data_QTermWidget[] = {
108
109 // content:
110       8,       // revision
111       0,       // classname
112       0,    0, // classinfo
113      31,   14, // methods
114       0,    0, // properties
115       0,    0, // enums/sets
116       0,    0, // constructors
117       0,       // flags
118      13,       // signalCount
119
120 // signals: name, argc, parameters, tag, flags
121       1,    0,  169,    2, 0x06 /* Public */,
122       3,    1,  170,    2, 0x06 /* Public */,
123       4,    0,  173,    2, 0x06 /* Public */,
124       5,    0,  174,    2, 0x06 /* Public */,
125       6,    1,  175,    2, 0x06 /* Public */,
126       8,    2,  178,    2, 0x06 /* Public */,
127      10,    1,  183,    2, 0x06 /* Public */,
128      12,    0,  186,    2, 0x06 /* Public */,
129      13,    0,  187,    2, 0x06 /* Public */,
130      14,    2,  188,    2, 0x06 /* Public */,
131      16,    1,  193,    2, 0x06 /* Public */,
132      18,    0,  196,    2, 0x06 /* Public */,
133      19,    1,  197,    2, 0x06 /* Public */,
134
135 // slots: name, argc, parameters, tag, flags
136      21,    0,  200,    2, 0x0a /* Public */,
137      22,    0,  201,    2, 0x0a /* Public */,
138      23,    0,  202,    2, 0x0a /* Public */,
139      24,    0,  203,    2, 0x0a /* Public */,
140      25,    0,  204,    2, 0x0a /* Public */,
141      26,    1,  205,    2, 0x0a /* Public */,
142      27,    1,  208,    2, 0x0a /* Public */,
143      29,    0,  211,    2, 0x0a /* Public */,
144      30,    0,  212,    2, 0x0a /* Public */,
145      31,    1,  213,    2, 0x0a /* Public */,
146      34,    0,  216,    2, 0x09 /* Protected */,
147      35,    1,  217,    2, 0x09 /* Protected */,
148      37,    0,  220,    2, 0x08 /* Private */,
149      38,    0,  221,    2, 0x08 /* Private */,
150      39,    0,  222,    2, 0x08 /* Private */,
151      40,    4,  223,    2, 0x08 /* Private */,
152      45,    0,  232,    2, 0x08 /* Private */,
153      46,    2,  233,    2, 0x08 /* Private */,
154
155 // signals: parameters
156    QMetaType::Void,
157    QMetaType::Void, QMetaType::Bool,    2,
158    QMetaType::Void,
159    QMetaType::Void,
160    QMetaType::Void, 0x80000000 | 7,    2,
161    QMetaType::Void, QMetaType::QUrl, QMetaType::Bool,    2,    9,
162    QMetaType::Void, QMetaType::QString,   11,
163    QMetaType::Void,
164    QMetaType::Void,
165    QMetaType::Void, 0x80000000 | 15, QMetaType::Int,    2,    2,
166    QMetaType::Void, QMetaType::QString,   17,
167    QMetaType::Void,
168    QMetaType::Void, QMetaType::QString,   20,
169
170 // slots: parameters
171    QMetaType::Void,
172    QMetaType::Void,
173    QMetaType::Void,
174    QMetaType::Void,
175    QMetaType::Void,
176    QMetaType::Void, QMetaType::QSize,    2,
177    QMetaType::Void, QMetaType::QString,   28,
178    QMetaType::Void,
179    QMetaType::Void,
180    QMetaType::Void, 0x80000000 | 32,   33,
181    QMetaType::Void,
182    QMetaType::Void, QMetaType::Bool,   36,
183    QMetaType::Void,
184    QMetaType::Void,
185    QMetaType::Void,
186    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int,   41,   42,   43,   44,
187    QMetaType::Void,
188    QMetaType::Void, 0x80000000 | 47, QMetaType::Bool,   48,   49,
189
190       0        // eod
191};
192
193void QTermWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
194{
195    if (_c == QMetaObject::InvokeMetaMethod) {
196        auto *_t = static_cast<QTermWidget *>(_o);
197        (void)_t;
198        switch (_id) {
199        case 0: _t->finished(); break;
200        case 1: _t->copyAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break;
201        case 2: _t->termGetFocus(); break;
202        case 3: _t->termLostFocus(); break;
203        case 4: _t->termKeyPressed((*reinterpret_cast< QKeyEvent*(*)>(_a[1]))); break;
204        case 5: _t->urlActivated((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
205        case 6: _t->bell((*reinterpret_cast< const QString(*)>(_a[1]))); break;
206        case 7: _t->activity(); break;
207        case 8: _t->silence(); break;
208        case 9: _t->sendData((*reinterpret_cast< const char*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
209        case 10: _t->profileChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
210        case 11: _t->titleChanged(); break;
211        case 12: _t->receivedData((*reinterpret_cast< const QString(*)>(_a[1]))); break;
212        case 13: _t->copyClipboard(); break;
213        case 14: _t->pasteClipboard(); break;
214        case 15: _t->pasteSelection(); break;
215        case 16: _t->zoomIn(); break;
216        case 17: _t->zoomOut(); break;
217        case 18: _t->setSize((*reinterpret_cast< const QSize(*)>(_a[1]))); break;
218        case 19: _t->setKeyBindings((*reinterpret_cast< const QString(*)>(_a[1]))); break;
219        case 20: _t->clear(); break;
220        case 21: _t->toggleShowSearchBar(); break;
221        case 22: _t->saveHistory((*reinterpret_cast< QIODevice*(*)>(_a[1]))); break;
222        case 23: _t->sessionFinished(); break;
223        case 24: _t->selectionChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
224        case 25: _t->find(); break;
225        case 26: _t->findNext(); break;
226        case 27: _t->findPrevious(); break;
227        case 28: _t->matchFound((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
228        case 29: _t->noMatchFound(); break;
229        case 30: _t->cursorChanged((*reinterpret_cast< Konsole::Emulation::KeyboardCursorShape(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
230        default: ;
231        }
232    } else if (_c == QMetaObject::IndexOfMethod) {
233        int *result = reinterpret_cast<int *>(_a[0]);
234        {
235            using _t = void (QTermWidget::*)();
236            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::finished)) {
237                *result = 0;
238                return;
239            }
240        }
241        {
242            using _t = void (QTermWidget::*)(bool );
243            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::copyAvailable)) {
244                *result = 1;
245                return;
246            }
247        }
248        {
249            using _t = void (QTermWidget::*)();
250            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::termGetFocus)) {
251                *result = 2;
252                return;
253            }
254        }
255        {
256            using _t = void (QTermWidget::*)();
257            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::termLostFocus)) {
258                *result = 3;
259                return;
260            }
261        }
262        {
263            using _t = void (QTermWidget::*)(QKeyEvent * );
264            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::termKeyPressed)) {
265                *result = 4;
266                return;
267            }
268        }
269        {
270            using _t = void (QTermWidget::*)(const QUrl & , bool );
271            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::urlActivated)) {
272                *result = 5;
273                return;
274            }
275        }
276        {
277            using _t = void (QTermWidget::*)(const QString & );
278            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::bell)) {
279                *result = 6;
280                return;
281            }
282        }
283        {
284            using _t = void (QTermWidget::*)();
285            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::activity)) {
286                *result = 7;
287                return;
288            }
289        }
290        {
291            using _t = void (QTermWidget::*)();
292            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::silence)) {
293                *result = 8;
294                return;
295            }
296        }
297        {
298            using _t = void (QTermWidget::*)(const char * , int );
299            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::sendData)) {
300                *result = 9;
301                return;
302            }
303        }
304        {
305            using _t = void (QTermWidget::*)(const QString & );
306            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::profileChanged)) {
307                *result = 10;
308                return;
309            }
310        }
311        {
312            using _t = void (QTermWidget::*)();
313            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::titleChanged)) {
314                *result = 11;
315                return;
316            }
317        }
318        {
319            using _t = void (QTermWidget::*)(const QString & );
320            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::receivedData)) {
321                *result = 12;
322                return;
323            }
324        }
325    }
326}
327
328QT_INIT_METAOBJECT const QMetaObject QTermWidget::staticMetaObject = { {
329    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
330    qt_meta_stringdata_QTermWidget.data,
331    qt_meta_data_QTermWidget,
332    qt_static_metacall,
333    nullptr,
334    nullptr
335} };
336
337
338const QMetaObject *QTermWidget::metaObject() const
339{
340    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
341}
342
343void *QTermWidget::qt_metacast(const char *_clname)
344{
345    if (!_clname) return nullptr;
346    if (!strcmp(_clname, qt_meta_stringdata_QTermWidget.stringdata0))
347        return static_cast<void*>(this);
348    if (!strcmp(_clname, "QTermWidgetInterface"))
349        return static_cast< QTermWidgetInterface*>(this);
350    if (!strcmp(_clname, "lxqt.qtermwidget.QTermWidgetInterface/1.0"))
351        return static_cast< QTermWidgetInterface*>(this);
352    return QWidget::qt_metacast(_clname);
353}
354
355int QTermWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
356{
357    _id = QWidget::qt_metacall(_c, _id, _a);
358    if (_id < 0)
359        return _id;
360    if (_c == QMetaObject::InvokeMetaMethod) {
361        if (_id < 31)
362            qt_static_metacall(this, _c, _id, _a);
363        _id -= 31;
364    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
365        if (_id < 31)
366            *reinterpret_cast<int*>(_a[0]) = -1;
367        _id -= 31;
368    }
369    return _id;
370}
371
372// SIGNAL 0
373void QTermWidget::finished()
374{
375    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
376}
377
378// SIGNAL 1
379void QTermWidget::copyAvailable(bool _t1)
380{
381    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
382    QMetaObject::activate(this, &staticMetaObject, 1, _a);
383}
384
385// SIGNAL 2
386void QTermWidget::termGetFocus()
387{
388    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
389}
390
391// SIGNAL 3
392void QTermWidget::termLostFocus()
393{
394    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
395}
396
397// SIGNAL 4
398void QTermWidget::termKeyPressed(QKeyEvent * _t1)
399{
400    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
401    QMetaObject::activate(this, &staticMetaObject, 4, _a);
402}
403
404// SIGNAL 5
405void QTermWidget::urlActivated(const QUrl & _t1, bool _t2)
406{
407    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
408    QMetaObject::activate(this, &staticMetaObject, 5, _a);
409}
410
411// SIGNAL 6
412void QTermWidget::bell(const QString & _t1)
413{
414    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
415    QMetaObject::activate(this, &staticMetaObject, 6, _a);
416}
417
418// SIGNAL 7
419void QTermWidget::activity()
420{
421    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
422}
423
424// SIGNAL 8
425void QTermWidget::silence()
426{
427    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
428}
429
430// SIGNAL 9
431void QTermWidget::sendData(const char * _t1, int _t2)
432{
433    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
434    QMetaObject::activate(this, &staticMetaObject, 9, _a);
435}
436
437// SIGNAL 10
438void QTermWidget::profileChanged(const QString & _t1)
439{
440    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
441    QMetaObject::activate(this, &staticMetaObject, 10, _a);
442}
443
444// SIGNAL 11
445void QTermWidget::titleChanged()
446{
447    QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
448}
449
450// SIGNAL 12
451void QTermWidget::receivedData(const QString & _t1)
452{
453    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
454    QMetaObject::activate(this, &staticMetaObject, 12, _a);
455}
456
457QT_PLUGIN_METADATA_SECTION
458static constexpr unsigned char qt_pluginMetaData[] = {
459    'Q', 'T', 'M', 'E', 'T', 'A', 'D', 'A', 'T', 'A', ' ', '!',
460    // metadata version, Qt version, architectural requirements
461    0, QT_VERSION_MAJOR, QT_VERSION_MINOR, qPluginArchRequirements(),
462    0xbf,
463    // "IID"
464    0x02,  0x70,  'l',  'x',  'q',  't',  '.',  'q',
465    't',  'e',  'r',  'm',  'w',  'i',  'd',  'g',
466    'e',  't',
467    // "className"
468    0x03,  0x6b,  'Q',  'T',  'e',  'r',  'm',  'W',
469    'i',  'd',  'g',  'e',  't',
470    // "MetaData"
471    0x04,  0xa6,  0x69,  'C',  'o',  'p',  'y',  'r',
472    'i',  'g',  'h',  't',  0x6d,  '(',  'C',  ')',
473    ' ',  '2',  '0',  '2',  '2',  ' ',  'L',  'X',
474    'Q',  't',  0x67,  'L',  'i',  'c',  'e',  'n',
475    's',  'e',  0x65,  'G',  'P',  'L',  'v',  '2',
476    0x64,  'N',  'a',  'm',  'e',  0x6b,  'Q',  'T',
477    'e',  'r',  'm',  'W',  'i',  'd',  'g',  'e',
478    't',  0x63,  'U',  'r',  'l',  0x78,  0x23,  'h',
479    't',  't',  'p',  's',  ':',  '/',  '/',  'g',
480    'i',  't',  'h',  'u',  'b',  '.',  'c',  'o',
481    'm',  '/',  'l',  'x',  'q',  't',  '/',  'q',
482    't',  'e',  'r',  'm',  'w',  'i',  'd',  'g',
483    'e',  't',  0x66,  'V',  'e',  'n',  'd',  'o',
484    'r',  0x64,  'L',  'X',  'Q',  't',  0x67,  'V',
485    'e',  'r',  's',  'i',  'o',  'n',  0x65,  '1',
486    '.',  '2',  '.',  '0',
487    0xff,
488};
489QT_MOC_EXPORT_PLUGIN(QTermWidget, QTermWidget)
490
491QT_WARNING_POP
492QT_END_MOC_NAMESPACE
Note: See TracBrowser for help on using the repository browser.