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