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.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/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.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
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
24struct qt_meta_stringdata_Konsole__ScreenWindow_t {
25 QByteArrayData data[7];
26 char stringdata0[88];
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 )
33static const qt_meta_stringdata_Konsole__ScreenWindow_t qt_meta_stringdata_Konsole__ScreenWindow = {
34 {
35QT_MOC_LITERAL(0, 0, 21), // "Konsole::ScreenWindow"
36QT_MOC_LITERAL(1, 22, 13), // "outputChanged"
37QT_MOC_LITERAL(2, 36, 0), // ""
38QT_MOC_LITERAL(3, 37, 8), // "scrolled"
39QT_MOC_LITERAL(4, 46, 4), // "line"
40QT_MOC_LITERAL(5, 51, 16), // "selectionChanged"
41QT_MOC_LITERAL(6, 68, 19) // "notifyOutputChanged"
42
43 },
44 "Konsole::ScreenWindow\0outputChanged\0"
45 "\0scrolled\0line\0selectionChanged\0"
46 "notifyOutputChanged"
47};
48#undef QT_MOC_LITERAL
49
50static const uint qt_meta_data_Konsole__ScreenWindow[] = {
51
52 // content:
53 8, // revision
54 0, // classname
55 0, 0, // classinfo
56 4, 14, // methods
57 0, 0, // properties
58 0, 0, // enums/sets
59 0, 0, // constructors
60 0, // flags
61 3, // signalCount
62
63 // signals: name, argc, parameters, tag, flags
64 1, 0, 34, 2, 0x06 /* Public */,
65 3, 1, 35, 2, 0x06 /* Public */,
66 5, 0, 38, 2, 0x06 /* Public */,
67
68 // slots: name, argc, parameters, tag, flags
69 6, 0, 39, 2, 0x0a /* Public */,
70
71 // signals: parameters
72 QMetaType::Void,
73 QMetaType::Void, QMetaType::Int, 4,
74 QMetaType::Void,
75
76 // slots: parameters
77 QMetaType::Void,
78
79 0 // eod
80};
81
82void Konsole::ScreenWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
83{
84 if (_c == QMetaObject::InvokeMetaMethod) {
85 auto *_t = static_cast<ScreenWindow *>(_o);
86 (void)_t;
87 switch (_id) {
88 case 0: _t->outputChanged(); break;
89 case 1: _t->scrolled((*reinterpret_cast< int(*)>(_a[1]))); break;
90 case 2: _t->selectionChanged(); break;
91 case 3: _t->notifyOutputChanged(); break;
92 default: ;
93 }
94 } else if (_c == QMetaObject::IndexOfMethod) {
95 int *result = reinterpret_cast<int *>(_a[0]);
96 {
97 using _t = void (ScreenWindow::*)();
98 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScreenWindow::outputChanged)) {
99 *result = 0;
100 return;
101 }
102 }
103 {
104 using _t = void (ScreenWindow::*)(int );
105 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScreenWindow::scrolled)) {
106 *result = 1;
107 return;
108 }
109 }
110 {
111 using _t = void (ScreenWindow::*)();
112 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScreenWindow::selectionChanged)) {
113 *result = 2;
114 return;
115 }
116 }
117 }
118}
119
120QT_INIT_METAOBJECT const QMetaObject Konsole::ScreenWindow::staticMetaObject = { {
121 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
122 qt_meta_stringdata_Konsole__ScreenWindow.data,
123 qt_meta_data_Konsole__ScreenWindow,
124 qt_static_metacall,
125 nullptr,
126 nullptr
127} };
128
129
130const QMetaObject *Konsole::ScreenWindow::metaObject() const
131{
132 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
133}
134
135void *Konsole::ScreenWindow::qt_metacast(const char *_clname)
136{
137 if (!_clname) return nullptr;
138 if (!strcmp(_clname, qt_meta_stringdata_Konsole__ScreenWindow.stringdata0))
139 return static_cast<void*>(this);
140 return QObject::qt_metacast(_clname);
141}
142
143int Konsole::ScreenWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
144{
145 _id = QObject::qt_metacall(_c, _id, _a);
146 if (_id < 0)
147 return _id;
148 if (_c == QMetaObject::InvokeMetaMethod) {
149 if (_id < 4)
150 qt_static_metacall(this, _c, _id, _a);
151 _id -= 4;
152 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
153 if (_id < 4)
154 *reinterpret_cast<int*>(_a[0]) = -1;
155 _id -= 4;
156 }
157 return _id;
158}
159
160// SIGNAL 0
161void Konsole::ScreenWindow::outputChanged()
162{
163 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
164}
165
166// SIGNAL 1
167void Konsole::ScreenWindow::scrolled(int _t1)
168{
169 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
170 QMetaObject::activate(this, &staticMetaObject, 1, _a);
171}
172
173// SIGNAL 2
174void Konsole::ScreenWindow::selectionChanged()
175{
176 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
177}
178QT_WARNING_POP
179QT_END_MOC_NAMESPACE
180