[64efc22] | 1 | /**************************************************************************** |
---|
| 2 | ** Meta object code from reading C++ file 'ScreenWindow.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/ScreenWindow.h" |
---|
| 11 | #include <QtCore/qbytearray.h> |
---|
| 12 | #include <QtCore/qmetatype.h> |
---|
| 13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
---|
| 14 | #error "The header file 'ScreenWindow.h' doesn't include <QObject>." |
---|
| 15 | #elif Q_MOC_OUTPUT_REVISION != 67 |
---|
| 16 | #error "This file was generated using the moc from 5.15.10. 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__ScreenWindow_t { |
---|
| 25 | QByteArrayData data[11]; |
---|
| 26 | char stringdata0[162]; |
---|
| 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__ScreenWindow_t, stringdata0) + ofs \ |
---|
| 31 | - idx * sizeof(QByteArrayData)) \ |
---|
| 32 | ) |
---|
| 33 | static const qt_meta_stringdata_Konsole__ScreenWindow_t qt_meta_stringdata_Konsole__ScreenWindow = { |
---|
| 34 | { |
---|
| 35 | QT_MOC_LITERAL(0, 0, 21), // "Konsole::ScreenWindow" |
---|
| 36 | QT_MOC_LITERAL(1, 22, 13), // "outputChanged" |
---|
| 37 | QT_MOC_LITERAL(2, 36, 0), // "" |
---|
| 38 | QT_MOC_LITERAL(3, 37, 8), // "scrolled" |
---|
| 39 | QT_MOC_LITERAL(4, 46, 4), // "line" |
---|
| 40 | QT_MOC_LITERAL(5, 51, 16), // "selectionChanged" |
---|
| 41 | QT_MOC_LITERAL(6, 68, 11), // "scrollToEnd" |
---|
| 42 | QT_MOC_LITERAL(7, 80, 19), // "notifyOutputChanged" |
---|
| 43 | QT_MOC_LITERAL(8, 100, 25), // "handleCommandFromKeyboard" |
---|
| 44 | QT_MOC_LITERAL(9, 126, 27), // "KeyboardTranslator::Command" |
---|
| 45 | QT_MOC_LITERAL(10, 154, 7) // "command" |
---|
| 46 | |
---|
| 47 | }, |
---|
| 48 | "Konsole::ScreenWindow\0outputChanged\0" |
---|
| 49 | "\0scrolled\0line\0selectionChanged\0" |
---|
| 50 | "scrollToEnd\0notifyOutputChanged\0" |
---|
| 51 | "handleCommandFromKeyboard\0" |
---|
| 52 | "KeyboardTranslator::Command\0command" |
---|
| 53 | }; |
---|
| 54 | #undef QT_MOC_LITERAL |
---|
| 55 | |
---|
| 56 | static const uint qt_meta_data_Konsole__ScreenWindow[] = { |
---|
| 57 | |
---|
| 58 | // content: |
---|
| 59 | 8, // revision |
---|
| 60 | 0, // classname |
---|
| 61 | 0, 0, // classinfo |
---|
| 62 | 6, 14, // methods |
---|
| 63 | 0, 0, // properties |
---|
| 64 | 0, 0, // enums/sets |
---|
| 65 | 0, 0, // constructors |
---|
| 66 | 0, // flags |
---|
| 67 | 4, // signalCount |
---|
| 68 | |
---|
| 69 | // signals: name, argc, parameters, tag, flags |
---|
| 70 | 1, 0, 44, 2, 0x06 /* Public */, |
---|
| 71 | 3, 1, 45, 2, 0x06 /* Public */, |
---|
| 72 | 5, 0, 48, 2, 0x06 /* Public */, |
---|
| 73 | 6, 0, 49, 2, 0x06 /* Public */, |
---|
| 74 | |
---|
| 75 | // slots: name, argc, parameters, tag, flags |
---|
| 76 | 7, 0, 50, 2, 0x0a /* Public */, |
---|
| 77 | 8, 1, 51, 2, 0x0a /* Public */, |
---|
| 78 | |
---|
| 79 | // signals: parameters |
---|
| 80 | QMetaType::Void, |
---|
| 81 | QMetaType::Void, QMetaType::Int, 4, |
---|
| 82 | QMetaType::Void, |
---|
| 83 | QMetaType::Void, |
---|
| 84 | |
---|
| 85 | // slots: parameters |
---|
| 86 | QMetaType::Void, |
---|
| 87 | QMetaType::Void, 0x80000000 | 9, 10, |
---|
| 88 | |
---|
| 89 | 0 // eod |
---|
| 90 | }; |
---|
| 91 | |
---|
| 92 | void Konsole::ScreenWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
---|
| 93 | { |
---|
| 94 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
| 95 | auto *_t = static_cast<ScreenWindow *>(_o); |
---|
| 96 | (void)_t; |
---|
| 97 | switch (_id) { |
---|
| 98 | case 0: _t->outputChanged(); break; |
---|
| 99 | case 1: _t->scrolled((*reinterpret_cast< int(*)>(_a[1]))); break; |
---|
| 100 | case 2: _t->selectionChanged(); break; |
---|
| 101 | case 3: _t->scrollToEnd(); break; |
---|
| 102 | case 4: _t->notifyOutputChanged(); break; |
---|
| 103 | case 5: _t->handleCommandFromKeyboard((*reinterpret_cast< KeyboardTranslator::Command(*)>(_a[1]))); break; |
---|
| 104 | default: ; |
---|
| 105 | } |
---|
| 106 | } else if (_c == QMetaObject::IndexOfMethod) { |
---|
| 107 | int *result = reinterpret_cast<int *>(_a[0]); |
---|
| 108 | { |
---|
| 109 | using _t = void (ScreenWindow::*)(); |
---|
| 110 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScreenWindow::outputChanged)) { |
---|
| 111 | *result = 0; |
---|
| 112 | return; |
---|
| 113 | } |
---|
| 114 | } |
---|
| 115 | { |
---|
| 116 | using _t = void (ScreenWindow::*)(int ); |
---|
| 117 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScreenWindow::scrolled)) { |
---|
| 118 | *result = 1; |
---|
| 119 | return; |
---|
| 120 | } |
---|
| 121 | } |
---|
| 122 | { |
---|
| 123 | using _t = void (ScreenWindow::*)(); |
---|
| 124 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScreenWindow::selectionChanged)) { |
---|
| 125 | *result = 2; |
---|
| 126 | return; |
---|
| 127 | } |
---|
| 128 | } |
---|
| 129 | { |
---|
| 130 | using _t = void (ScreenWindow::*)(); |
---|
| 131 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScreenWindow::scrollToEnd)) { |
---|
| 132 | *result = 3; |
---|
| 133 | return; |
---|
| 134 | } |
---|
| 135 | } |
---|
| 136 | } |
---|
| 137 | } |
---|
| 138 | |
---|
| 139 | QT_INIT_METAOBJECT const QMetaObject Konsole::ScreenWindow::staticMetaObject = { { |
---|
| 140 | QMetaObject::SuperData::link<QObject::staticMetaObject>(), |
---|
| 141 | qt_meta_stringdata_Konsole__ScreenWindow.data, |
---|
| 142 | qt_meta_data_Konsole__ScreenWindow, |
---|
| 143 | qt_static_metacall, |
---|
| 144 | nullptr, |
---|
| 145 | nullptr |
---|
| 146 | } }; |
---|
| 147 | |
---|
| 148 | |
---|
| 149 | const QMetaObject *Konsole::ScreenWindow::metaObject() const |
---|
| 150 | { |
---|
| 151 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
---|
| 152 | } |
---|
| 153 | |
---|
| 154 | void *Konsole::ScreenWindow::qt_metacast(const char *_clname) |
---|
| 155 | { |
---|
| 156 | if (!_clname) return nullptr; |
---|
| 157 | if (!strcmp(_clname, qt_meta_stringdata_Konsole__ScreenWindow.stringdata0)) |
---|
| 158 | return static_cast<void*>(this); |
---|
| 159 | return QObject::qt_metacast(_clname); |
---|
| 160 | } |
---|
| 161 | |
---|
| 162 | int Konsole::ScreenWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
---|
| 163 | { |
---|
| 164 | _id = QObject::qt_metacall(_c, _id, _a); |
---|
| 165 | if (_id < 0) |
---|
| 166 | return _id; |
---|
| 167 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
| 168 | if (_id < 6) |
---|
| 169 | qt_static_metacall(this, _c, _id, _a); |
---|
| 170 | _id -= 6; |
---|
| 171 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
---|
| 172 | if (_id < 6) |
---|
| 173 | *reinterpret_cast<int*>(_a[0]) = -1; |
---|
| 174 | _id -= 6; |
---|
| 175 | } |
---|
| 176 | return _id; |
---|
| 177 | } |
---|
| 178 | |
---|
| 179 | // SIGNAL 0 |
---|
| 180 | void Konsole::ScreenWindow::outputChanged() |
---|
| 181 | { |
---|
| 182 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); |
---|
| 183 | } |
---|
| 184 | |
---|
| 185 | // SIGNAL 1 |
---|
| 186 | void Konsole::ScreenWindow::scrolled(int _t1) |
---|
| 187 | { |
---|
| 188 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
---|
| 189 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
---|
| 190 | } |
---|
| 191 | |
---|
| 192 | // SIGNAL 2 |
---|
| 193 | void Konsole::ScreenWindow::selectionChanged() |
---|
| 194 | { |
---|
| 195 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); |
---|
| 196 | } |
---|
| 197 | |
---|
| 198 | // SIGNAL 3 |
---|
| 199 | void Konsole::ScreenWindow::scrollToEnd() |
---|
| 200 | { |
---|
| 201 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); |
---|
| 202 | } |
---|
| 203 | QT_WARNING_POP |
---|
| 204 | QT_END_MOC_NAMESPACE |
---|