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