1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'Vt102Emulation.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/Vt102Emulation.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'Vt102Emulation.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_Konsole__Vt102Emulation_t { |
25 | QByteArrayData data[17]; |
26 | char stringdata0[172]; |
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_Konsole__Vt102Emulation_t, stringdata0) + ofs \ |
31 | - idx * sizeof(QByteArrayData)) \ |
32 | ) |
33 | static const qt_meta_stringdata_Konsole__Vt102Emulation_t qt_meta_stringdata_Konsole__Vt102Emulation = { |
34 | { |
35 | QT_MOC_LITERAL(0, 0, 23), // "Konsole::Vt102Emulation" |
36 | QT_MOC_LITERAL(1, 24, 10), // "sendString" |
37 | QT_MOC_LITERAL(2, 35, 0), // "" |
38 | QT_MOC_LITERAL(3, 36, 11), // "const char*" |
39 | QT_MOC_LITERAL(4, 48, 6), // "length" |
40 | QT_MOC_LITERAL(5, 55, 8), // "sendText" |
41 | QT_MOC_LITERAL(6, 64, 4), // "text" |
42 | QT_MOC_LITERAL(7, 69, 12), // "sendKeyEvent" |
43 | QT_MOC_LITERAL(8, 82, 10), // "QKeyEvent*" |
44 | QT_MOC_LITERAL(9, 93, 14), // "sendMouseEvent" |
45 | QT_MOC_LITERAL(10, 108, 7), // "buttons" |
46 | QT_MOC_LITERAL(11, 116, 6), // "column" |
47 | QT_MOC_LITERAL(12, 123, 4), // "line" |
48 | QT_MOC_LITERAL(13, 128, 9), // "eventType" |
49 | QT_MOC_LITERAL(14, 138, 9), // "focusLost" |
50 | QT_MOC_LITERAL(15, 148, 11), // "focusGained" |
51 | QT_MOC_LITERAL(16, 160, 11) // "updateTitle" |
52 | |
53 | }, |
54 | "Konsole::Vt102Emulation\0sendString\0\0" |
55 | "const char*\0length\0sendText\0text\0" |
56 | "sendKeyEvent\0QKeyEvent*\0sendMouseEvent\0" |
57 | "buttons\0column\0line\0eventType\0focusLost\0" |
58 | "focusGained\0updateTitle" |
59 | }; |
60 | #undef QT_MOC_LITERAL |
61 | |
62 | static const uint qt_meta_data_Konsole__Vt102Emulation[] = { |
63 | |
64 | // content: |
65 | 8, // revision |
66 | 0, // classname |
67 | 0, 0, // classinfo |
68 | 8, 14, // methods |
69 | 0, 0, // properties |
70 | 0, 0, // enums/sets |
71 | 0, 0, // constructors |
72 | 0, // flags |
73 | 0, // signalCount |
74 | |
75 | // slots: name, argc, parameters, tag, flags |
76 | 1, 2, 54, 2, 0x0a /* Public */, |
77 | 1, 1, 59, 2, 0x2a /* Public | MethodCloned */, |
78 | 5, 1, 62, 2, 0x0a /* Public */, |
79 | 7, 1, 65, 2, 0x0a /* Public */, |
80 | 9, 4, 68, 2, 0x0a /* Public */, |
81 | 14, 0, 77, 2, 0x0a /* Public */, |
82 | 15, 0, 78, 2, 0x0a /* Public */, |
83 | 16, 0, 79, 2, 0x08 /* Private */, |
84 | |
85 | // slots: parameters |
86 | QMetaType::Void, 0x80000000 | 3, QMetaType::Int, 2, 4, |
87 | QMetaType::Void, 0x80000000 | 3, 2, |
88 | QMetaType::Void, QMetaType::QString, 6, |
89 | QMetaType::Void, 0x80000000 | 8, 2, |
90 | QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int, 10, 11, 12, 13, |
91 | QMetaType::Void, |
92 | QMetaType::Void, |
93 | QMetaType::Void, |
94 | |
95 | 0 // eod |
96 | }; |
97 | |
98 | void Konsole::Vt102Emulation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
99 | { |
100 | if (_c == QMetaObject::InvokeMetaMethod) { |
101 | auto *_t = static_cast<Vt102Emulation *>(_o); |
102 | (void)_t; |
103 | switch (_id) { |
104 | case 0: _t->sendString((*reinterpret_cast< const char*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; |
105 | case 1: _t->sendString((*reinterpret_cast< const char*(*)>(_a[1]))); break; |
106 | case 2: _t->sendText((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
107 | case 3: _t->sendKeyEvent((*reinterpret_cast< QKeyEvent*(*)>(_a[1]))); break; |
108 | case 4: _t->sendMouseEvent((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break; |
109 | case 5: _t->focusLost(); break; |
110 | case 6: _t->focusGained(); break; |
111 | case 7: _t->updateTitle(); break; |
112 | default: ; |
113 | } |
114 | } |
115 | } |
116 | |
117 | QT_INIT_METAOBJECT const QMetaObject Konsole::Vt102Emulation::staticMetaObject = { { |
118 | QMetaObject::SuperData::link<Emulation::staticMetaObject>(), |
119 | qt_meta_stringdata_Konsole__Vt102Emulation.data, |
120 | qt_meta_data_Konsole__Vt102Emulation, |
121 | qt_static_metacall, |
122 | nullptr, |
123 | nullptr |
124 | } }; |
125 | |
126 | |
127 | const QMetaObject *Konsole::Vt102Emulation::metaObject() const |
128 | { |
129 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
130 | } |
131 | |
132 | void *Konsole::Vt102Emulation::qt_metacast(const char *_clname) |
133 | { |
134 | if (!_clname) return nullptr; |
135 | if (!strcmp(_clname, qt_meta_stringdata_Konsole__Vt102Emulation.stringdata0)) |
136 | return static_cast<void*>(this); |
137 | return Emulation::qt_metacast(_clname); |
138 | } |
139 | |
140 | int Konsole::Vt102Emulation::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
141 | { |
142 | _id = Emulation::qt_metacall(_c, _id, _a); |
143 | if (_id < 0) |
144 | return _id; |
145 | if (_c == QMetaObject::InvokeMetaMethod) { |
146 | if (_id < 8) |
147 | qt_static_metacall(this, _c, _id, _a); |
148 | _id -= 8; |
149 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
150 | if (_id < 8) |
151 | *reinterpret_cast<int*>(_a[0]) = -1; |
152 | _id -= 8; |
153 | } |
154 | return _id; |
155 | } |
156 | QT_WARNING_POP |
157 | QT_END_MOC_NAMESPACE |
158 | |