1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qsocks5socketengine_p.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/qsocks5socketengine_p.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'qsocks5socketengine_p.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 | |
21 | QT_BEGIN_MOC_NAMESPACE |
22 | QT_WARNING_PUSH |
23 | QT_WARNING_DISABLE_DEPRECATED |
24 | struct qt_meta_stringdata_QSocks5SocketEngine_t { |
25 | const uint offsetsAndSize[28]; |
26 | char stringdata0[384]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_QSocks5SocketEngine_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_QSocks5SocketEngine_t qt_meta_stringdata_QSocks5SocketEngine = { |
31 | { |
32 | QT_MOC_LITERAL(0, 19), // "QSocks5SocketEngine" |
33 | QT_MOC_LITERAL(20, 25), // "_q_controlSocketConnected" |
34 | QT_MOC_LITERAL(46, 0), // "" |
35 | QT_MOC_LITERAL(47, 32), // "_q_controlSocketReadNotification" |
36 | QT_MOC_LITERAL(80, 29), // "_q_controlSocketErrorOccurred" |
37 | QT_MOC_LITERAL(110, 28), // "QAbstractSocket::SocketError" |
38 | QT_MOC_LITERAL(139, 28), // "_q_udpSocketReadNotification" |
39 | QT_MOC_LITERAL(168, 28), // "_q_controlSocketBytesWritten" |
40 | QT_MOC_LITERAL(197, 30), // "_q_emitPendingReadNotification" |
41 | QT_MOC_LITERAL(228, 31), // "_q_emitPendingWriteNotification" |
42 | QT_MOC_LITERAL(260, 36), // "_q_emitPendingConnectionNotif..." |
43 | QT_MOC_LITERAL(297, 28), // "_q_controlSocketDisconnected" |
44 | QT_MOC_LITERAL(326, 28), // "_q_controlSocketStateChanged" |
45 | QT_MOC_LITERAL(355, 28) // "QAbstractSocket::SocketState" |
46 | |
47 | }, |
48 | "QSocks5SocketEngine\0_q_controlSocketConnected\0" |
49 | "\0_q_controlSocketReadNotification\0" |
50 | "_q_controlSocketErrorOccurred\0" |
51 | "QAbstractSocket::SocketError\0" |
52 | "_q_udpSocketReadNotification\0" |
53 | "_q_controlSocketBytesWritten\0" |
54 | "_q_emitPendingReadNotification\0" |
55 | "_q_emitPendingWriteNotification\0" |
56 | "_q_emitPendingConnectionNotification\0" |
57 | "_q_controlSocketDisconnected\0" |
58 | "_q_controlSocketStateChanged\0" |
59 | "QAbstractSocket::SocketState" |
60 | }; |
61 | #undef QT_MOC_LITERAL |
62 | |
63 | static const uint qt_meta_data_QSocks5SocketEngine[] = { |
64 | |
65 | // content: |
66 | 9, // revision |
67 | 0, // classname |
68 | 0, 0, // classinfo |
69 | 10, 14, // methods |
70 | 0, 0, // properties |
71 | 0, 0, // enums/sets |
72 | 0, 0, // constructors |
73 | 0, // flags |
74 | 0, // signalCount |
75 | |
76 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
77 | 1, 0, 74, 2, 0x08, 0 /* Private */, |
78 | 3, 0, 75, 2, 0x08, 1 /* Private */, |
79 | 4, 1, 76, 2, 0x08, 2 /* Private */, |
80 | 6, 0, 79, 2, 0x08, 4 /* Private */, |
81 | 7, 0, 80, 2, 0x08, 5 /* Private */, |
82 | 8, 0, 81, 2, 0x08, 6 /* Private */, |
83 | 9, 0, 82, 2, 0x08, 7 /* Private */, |
84 | 10, 0, 83, 2, 0x08, 8 /* Private */, |
85 | 11, 0, 84, 2, 0x08, 9 /* Private */, |
86 | 12, 1, 85, 2, 0x08, 10 /* Private */, |
87 | |
88 | // slots: parameters |
89 | QMetaType::Void, |
90 | QMetaType::Void, |
91 | QMetaType::Void, 0x80000000 | 5, 2, |
92 | QMetaType::Void, |
93 | QMetaType::Void, |
94 | QMetaType::Void, |
95 | QMetaType::Void, |
96 | QMetaType::Void, |
97 | QMetaType::Void, |
98 | QMetaType::Void, 0x80000000 | 13, 2, |
99 | |
100 | 0 // eod |
101 | }; |
102 | |
103 | void QSocks5SocketEngine::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
104 | { |
105 | if (_c == QMetaObject::InvokeMetaMethod) { |
106 | Q_ASSERT(staticMetaObject.cast(_o)); |
107 | auto *_t = static_cast<QSocks5SocketEngine *>(_o); |
108 | Q_UNUSED(_t) |
109 | switch (_id) { |
110 | case 0: _t->d_func()->_q_controlSocketConnected(); break; |
111 | case 1: _t->d_func()->_q_controlSocketReadNotification(); break; |
112 | case 2: _t->d_func()->_q_controlSocketErrorOccurred((*reinterpret_cast< QAbstractSocket::SocketError(*)>(_a[1]))); break; |
113 | case 3: _t->d_func()->_q_udpSocketReadNotification(); break; |
114 | case 4: _t->d_func()->_q_controlSocketBytesWritten(); break; |
115 | case 5: _t->d_func()->_q_emitPendingReadNotification(); break; |
116 | case 6: _t->d_func()->_q_emitPendingWriteNotification(); break; |
117 | case 7: _t->d_func()->_q_emitPendingConnectionNotification(); break; |
118 | case 8: _t->d_func()->_q_controlSocketDisconnected(); break; |
119 | case 9: _t->d_func()->_q_controlSocketStateChanged((*reinterpret_cast< QAbstractSocket::SocketState(*)>(_a[1]))); break; |
120 | default: ; |
121 | } |
122 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
123 | switch (_id) { |
124 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
125 | case 2: |
126 | switch (*reinterpret_cast<int*>(_a[1])) { |
127 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
128 | case 0: |
129 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAbstractSocket::SocketError >(); break; |
130 | } |
131 | break; |
132 | case 9: |
133 | switch (*reinterpret_cast<int*>(_a[1])) { |
134 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
135 | case 0: |
136 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAbstractSocket::SocketState >(); break; |
137 | } |
138 | break; |
139 | } |
140 | } |
141 | } |
142 | |
143 | const QMetaObject QSocks5SocketEngine::staticMetaObject = { { |
144 | QMetaObject::SuperData::link<QAbstractSocketEngine::staticMetaObject>(), |
145 | qt_meta_stringdata_QSocks5SocketEngine.offsetsAndSize, |
146 | qt_meta_data_QSocks5SocketEngine, |
147 | qt_static_metacall, |
148 | nullptr, |
149 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QSocks5SocketEngine_t |
150 | |
151 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, 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>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QAbstractSocket::SocketState, std::false_type> |
152 | |
153 | |
154 | >, |
155 | nullptr |
156 | } }; |
157 | |
158 | |
159 | const QMetaObject *QSocks5SocketEngine::metaObject() const |
160 | { |
161 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
162 | } |
163 | |
164 | void *QSocks5SocketEngine::qt_metacast(const char *_clname) |
165 | { |
166 | if (!_clname) return nullptr; |
167 | if (!strcmp(_clname, qt_meta_stringdata_QSocks5SocketEngine.stringdata0)) |
168 | return static_cast<void*>(this); |
169 | return QAbstractSocketEngine::qt_metacast(_clname); |
170 | } |
171 | |
172 | int QSocks5SocketEngine::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
173 | { |
174 | _id = QAbstractSocketEngine::qt_metacall(_c, _id, _a); |
175 | if (_id < 0) |
176 | return _id; |
177 | if (_c == QMetaObject::InvokeMetaMethod) { |
178 | if (_id < 10) |
179 | qt_static_metacall(this, _c, _id, _a); |
180 | _id -= 10; |
181 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
182 | if (_id < 10) |
183 | qt_static_metacall(this, _c, _id, _a); |
184 | _id -= 10; |
185 | } |
186 | return _id; |
187 | } |
188 | QT_WARNING_POP |
189 | QT_END_MOC_NAMESPACE |
190 | |