1/****************************************************************************
2** Meta object code from reading C++ file 'qlocalsocket.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.0)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include <memory>
10#include "socket/qlocalsocket.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qlocalsocket.h' doesn't include <QObject>."
15#elif Q_MOC_OUTPUT_REVISION != 68
16#error "This file was generated using the moc from 6.0.0. 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_QLocalSocket_t {
25 const uint offsetsAndSize[32];
26 char stringdata0[286];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QLocalSocket_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QLocalSocket_t qt_meta_stringdata_QLocalSocket = {
31 {
32QT_MOC_LITERAL(0, 12), // "QLocalSocket"
33QT_MOC_LITERAL(13, 9), // "connected"
34QT_MOC_LITERAL(23, 0), // ""
35QT_MOC_LITERAL(24, 12), // "disconnected"
36QT_MOC_LITERAL(37, 13), // "errorOccurred"
37QT_MOC_LITERAL(51, 30), // "QLocalSocket::LocalSocketError"
38QT_MOC_LITERAL(82, 11), // "socketError"
39QT_MOC_LITERAL(94, 12), // "stateChanged"
40QT_MOC_LITERAL(107, 30), // "QLocalSocket::LocalSocketState"
41QT_MOC_LITERAL(138, 11), // "socketState"
42QT_MOC_LITERAL(150, 15), // "_q_stateChanged"
43QT_MOC_LITERAL(166, 28), // "QAbstractSocket::SocketState"
44QT_MOC_LITERAL(195, 16), // "_q_errorOccurred"
45QT_MOC_LITERAL(212, 28), // "QAbstractSocket::SocketError"
46QT_MOC_LITERAL(241, 18), // "_q_connectToSocket"
47QT_MOC_LITERAL(260, 25) // "_q_abortConnectionAttempt"
48
49 },
50 "QLocalSocket\0connected\0\0disconnected\0"
51 "errorOccurred\0QLocalSocket::LocalSocketError\0"
52 "socketError\0stateChanged\0"
53 "QLocalSocket::LocalSocketState\0"
54 "socketState\0_q_stateChanged\0"
55 "QAbstractSocket::SocketState\0"
56 "_q_errorOccurred\0QAbstractSocket::SocketError\0"
57 "_q_connectToSocket\0_q_abortConnectionAttempt"
58};
59#undef QT_MOC_LITERAL
60
61static const uint qt_meta_data_QLocalSocket[] = {
62
63 // content:
64 9, // revision
65 0, // classname
66 0, 0, // classinfo
67 8, 14, // methods
68 0, 0, // properties
69 0, 0, // enums/sets
70 0, 0, // constructors
71 0, // flags
72 4, // signalCount
73
74 // signals: name, argc, parameters, tag, flags, initial metatype offsets
75 1, 0, 62, 2, 0x06, 0 /* Public */,
76 3, 0, 63, 2, 0x06, 1 /* Public */,
77 4, 1, 64, 2, 0x06, 2 /* Public */,
78 7, 1, 67, 2, 0x06, 4 /* Public */,
79
80 // slots: name, argc, parameters, tag, flags, initial metatype offsets
81 10, 1, 70, 2, 0x08, 6 /* Private */,
82 12, 1, 73, 2, 0x08, 8 /* Private */,
83 14, 0, 76, 2, 0x08, 10 /* Private */,
84 15, 0, 77, 2, 0x08, 11 /* Private */,
85
86 // signals: parameters
87 QMetaType::Void,
88 QMetaType::Void,
89 QMetaType::Void, 0x80000000 | 5, 6,
90 QMetaType::Void, 0x80000000 | 8, 9,
91
92 // slots: parameters
93 QMetaType::Void, 0x80000000 | 11, 2,
94 QMetaType::Void, 0x80000000 | 13, 2,
95 QMetaType::Void,
96 QMetaType::Void,
97
98 0 // eod
99};
100
101void QLocalSocket::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
102{
103 if (_c == QMetaObject::InvokeMetaMethod) {
104 Q_ASSERT(staticMetaObject.cast(_o));
105 auto *_t = static_cast<QLocalSocket *>(_o);
106 Q_UNUSED(_t)
107 switch (_id) {
108 case 0: _t->connected(); break;
109 case 1: _t->disconnected(); break;
110 case 2: _t->errorOccurred((*reinterpret_cast< QLocalSocket::LocalSocketError(*)>(_a[1]))); break;
111 case 3: _t->stateChanged((*reinterpret_cast< QLocalSocket::LocalSocketState(*)>(_a[1]))); break;
112 case 4: _t->d_func()->_q_stateChanged((*reinterpret_cast< QAbstractSocket::SocketState(*)>(_a[1]))); break;
113 case 5: _t->d_func()->_q_errorOccurred((*reinterpret_cast< QAbstractSocket::SocketError(*)>(_a[1]))); break;
114 case 6: _t->d_func()->_q_connectToSocket(); break;
115 case 7: _t->d_func()->_q_abortConnectionAttempt(); break;
116 default: ;
117 }
118 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
119 switch (_id) {
120 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
121 case 4:
122 switch (*reinterpret_cast<int*>(_a[1])) {
123 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
124 case 0:
125 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAbstractSocket::SocketState >(); break;
126 }
127 break;
128 case 5:
129 switch (*reinterpret_cast<int*>(_a[1])) {
130 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
131 case 0:
132 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAbstractSocket::SocketError >(); break;
133 }
134 break;
135 }
136 } else if (_c == QMetaObject::IndexOfMethod) {
137 int *result = reinterpret_cast<int *>(_a[0]);
138 {
139 using _t = void (QLocalSocket::*)();
140 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QLocalSocket::connected)) {
141 *result = 0;
142 return;
143 }
144 }
145 {
146 using _t = void (QLocalSocket::*)();
147 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QLocalSocket::disconnected)) {
148 *result = 1;
149 return;
150 }
151 }
152 {
153 using _t = void (QLocalSocket::*)(QLocalSocket::LocalSocketError );
154 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QLocalSocket::errorOccurred)) {
155 *result = 2;
156 return;
157 }
158 }
159 {
160 using _t = void (QLocalSocket::*)(QLocalSocket::LocalSocketState );
161 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QLocalSocket::stateChanged)) {
162 *result = 3;
163 return;
164 }
165 }
166 }
167}
168
169const QMetaObject QLocalSocket::staticMetaObject = { {
170 QMetaObject::SuperData::link<QIODevice::staticMetaObject>(),
171 qt_meta_stringdata_QLocalSocket.offsetsAndSize,
172 qt_meta_data_QLocalSocket,
173 qt_static_metacall,
174 nullptr,
175qt_incomplete_metaTypeArray<qt_meta_stringdata_QLocalSocket_t
176, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QLocalSocket::LocalSocketError, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QLocalSocket::LocalSocketState, std::false_type>
177, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QAbstractSocket::SocketState, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QAbstractSocket::SocketError, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
178
179
180>,
181 nullptr
182} };
183
184
185const QMetaObject *QLocalSocket::metaObject() const
186{
187 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
188}
189
190void *QLocalSocket::qt_metacast(const char *_clname)
191{
192 if (!_clname) return nullptr;
193 if (!strcmp(_clname, qt_meta_stringdata_QLocalSocket.stringdata0))
194 return static_cast<void*>(this);
195 return QIODevice::qt_metacast(_clname);
196}
197
198int QLocalSocket::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
199{
200 _id = QIODevice::qt_metacall(_c, _id, _a);
201 if (_id < 0)
202 return _id;
203 if (_c == QMetaObject::InvokeMetaMethod) {
204 if (_id < 8)
205 qt_static_metacall(this, _c, _id, _a);
206 _id -= 8;
207 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
208 if (_id < 8)
209 qt_static_metacall(this, _c, _id, _a);
210 _id -= 8;
211 }
212 return _id;
213}
214
215// SIGNAL 0
216void QLocalSocket::connected()
217{
218 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
219}
220
221// SIGNAL 1
222void QLocalSocket::disconnected()
223{
224 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
225}
226
227// SIGNAL 2
228void QLocalSocket::errorOccurred(QLocalSocket::LocalSocketError _t1)
229{
230 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
231 QMetaObject::activate(this, &staticMetaObject, 2, _a);
232}
233
234// SIGNAL 3
235void QLocalSocket::stateChanged(QLocalSocket::LocalSocketState _t1)
236{
237 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
238 QMetaObject::activate(this, &staticMetaObject, 3, _a);
239}
240QT_WARNING_POP
241QT_END_MOC_NAMESPACE
242