1/****************************************************************************
2** Meta object code from reading C++ file 'kptyprocess.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/kptyprocess.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'kptyprocess.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_KPtyProcess_t {
25 QByteArrayData data[4];
26 char stringdata0[54];
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_KPtyProcess_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
33static const qt_meta_stringdata_KPtyProcess_t qt_meta_stringdata_KPtyProcess = {
34 {
35QT_MOC_LITERAL(0, 0, 11), // "KPtyProcess"
36QT_MOC_LITERAL(1, 12, 17), // "_k_onStateChanged"
37QT_MOC_LITERAL(2, 30, 0), // ""
38QT_MOC_LITERAL(3, 31, 22) // "QProcess::ProcessState"
39
40 },
41 "KPtyProcess\0_k_onStateChanged\0\0"
42 "QProcess::ProcessState"
43};
44#undef QT_MOC_LITERAL
45
46static const uint qt_meta_data_KPtyProcess[] = {
47
48 // content:
49 8, // revision
50 0, // classname
51 0, 0, // classinfo
52 1, 14, // methods
53 0, 0, // properties
54 0, 0, // enums/sets
55 0, 0, // constructors
56 0, // flags
57 0, // signalCount
58
59 // slots: name, argc, parameters, tag, flags
60 1, 1, 19, 2, 0x08 /* Private */,
61
62 // slots: parameters
63 QMetaType::Void, 0x80000000 | 3, 2,
64
65 0 // eod
66};
67
68void KPtyProcess::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
69{
70 if (_c == QMetaObject::InvokeMetaMethod) {
71 auto *_t = static_cast<KPtyProcess *>(_o);
72 (void)_t;
73 switch (_id) {
74 case 0: _t->d_func()->_k_onStateChanged((*reinterpret_cast< QProcess::ProcessState(*)>(_a[1]))); break;
75 default: ;
76 }
77 }
78}
79
80QT_INIT_METAOBJECT const QMetaObject KPtyProcess::staticMetaObject = { {
81 QMetaObject::SuperData::link<KProcess::staticMetaObject>(),
82 qt_meta_stringdata_KPtyProcess.data,
83 qt_meta_data_KPtyProcess,
84 qt_static_metacall,
85 nullptr,
86 nullptr
87} };
88
89
90const QMetaObject *KPtyProcess::metaObject() const
91{
92 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
93}
94
95void *KPtyProcess::qt_metacast(const char *_clname)
96{
97 if (!_clname) return nullptr;
98 if (!strcmp(_clname, qt_meta_stringdata_KPtyProcess.stringdata0))
99 return static_cast<void*>(this);
100 return KProcess::qt_metacast(_clname);
101}
102
103int KPtyProcess::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
104{
105 _id = KProcess::qt_metacall(_c, _id, _a);
106 if (_id < 0)
107 return _id;
108 if (_c == QMetaObject::InvokeMetaMethod) {
109 if (_id < 1)
110 qt_static_metacall(this, _c, _id, _a);
111 _id -= 1;
112 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
113 if (_id < 1)
114 *reinterpret_cast<int*>(_a[0]) = -1;
115 _id -= 1;
116 }
117 return _id;
118}
119QT_WARNING_POP
120QT_END_MOC_NAMESPACE
121