-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmoc_WebSocketConnection.cpp
More file actions
186 lines (168 loc) · 6.6 KB
/
moc_WebSocketConnection.cpp
File metadata and controls
186 lines (168 loc) · 6.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
/****************************************************************************
** Meta object code from reading C++ file 'WebSocketConnection.h'
**
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.9.3)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "WebSocketConnection.h"
#include <QtCore/qmetatype.h>
#include <QtCore/qtmochelpers.h>
#include <memory>
#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'WebSocketConnection.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.9.3. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN19WebSocketConnectionE_t {};
} // unnamed namespace
template <> constexpr inline auto WebSocketConnection::qt_create_metaobjectdata<qt_meta_tag_ZN19WebSocketConnectionE_t>()
{
namespace QMC = QtMocConstants;
QtMocHelpers::StringRefStorage qt_stringData {
"WebSocketConnection",
"textMessageReceived",
"",
"message",
"pingReceived",
"payload",
"pongReceived",
"disconnected",
"pingTimeout",
"handleData",
"onPingTimeout",
"sendAutomaticPing"
};
QtMocHelpers::UintData qt_methods {
// Signal 'textMessageReceived'
QtMocHelpers::SignalData<void(const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
{ QMetaType::QString, 3 },
}}),
// Signal 'pingReceived'
QtMocHelpers::SignalData<void(const QByteArray &)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
{ QMetaType::QByteArray, 5 },
}}),
// Signal 'pongReceived'
QtMocHelpers::SignalData<void(const QByteArray &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
{ QMetaType::QByteArray, 5 },
}}),
// Signal 'disconnected'
QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
// Signal 'pingTimeout'
QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
// Slot 'handleData'
QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPrivate, QMetaType::Void),
// Slot 'onPingTimeout'
QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPrivate, QMetaType::Void),
// Slot 'sendAutomaticPing'
QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPrivate, QMetaType::Void),
};
QtMocHelpers::UintData qt_properties {
};
QtMocHelpers::UintData qt_enums {
};
return QtMocHelpers::metaObjectData<WebSocketConnection, qt_meta_tag_ZN19WebSocketConnectionE_t>(QMC::MetaObjectFlag{}, qt_stringData,
qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject WebSocketConnection::staticMetaObject = { {
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19WebSocketConnectionE_t>.stringdata,
qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19WebSocketConnectionE_t>.data,
qt_static_metacall,
nullptr,
qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN19WebSocketConnectionE_t>.metaTypes,
nullptr
} };
void WebSocketConnection::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
auto *_t = static_cast<WebSocketConnection *>(_o);
if (_c == QMetaObject::InvokeMetaMethod) {
switch (_id) {
case 0: _t->textMessageReceived((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
case 1: _t->pingReceived((*reinterpret_cast< std::add_pointer_t<QByteArray>>(_a[1]))); break;
case 2: _t->pongReceived((*reinterpret_cast< std::add_pointer_t<QByteArray>>(_a[1]))); break;
case 3: _t->disconnected(); break;
case 4: _t->pingTimeout(); break;
case 5: _t->handleData(); break;
case 6: _t->onPingTimeout(); break;
case 7: _t->sendAutomaticPing(); break;
default: ;
}
}
if (_c == QMetaObject::IndexOfMethod) {
if (QtMocHelpers::indexOfMethod<void (WebSocketConnection::*)(const QString & )>(_a, &WebSocketConnection::textMessageReceived, 0))
return;
if (QtMocHelpers::indexOfMethod<void (WebSocketConnection::*)(const QByteArray & )>(_a, &WebSocketConnection::pingReceived, 1))
return;
if (QtMocHelpers::indexOfMethod<void (WebSocketConnection::*)(const QByteArray & )>(_a, &WebSocketConnection::pongReceived, 2))
return;
if (QtMocHelpers::indexOfMethod<void (WebSocketConnection::*)()>(_a, &WebSocketConnection::disconnected, 3))
return;
if (QtMocHelpers::indexOfMethod<void (WebSocketConnection::*)()>(_a, &WebSocketConnection::pingTimeout, 4))
return;
}
}
const QMetaObject *WebSocketConnection::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *WebSocketConnection::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19WebSocketConnectionE_t>.strings))
return static_cast<void*>(this);
return QObject::qt_metacast(_clname);
}
int WebSocketConnection::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QObject::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 8)
qt_static_metacall(this, _c, _id, _a);
_id -= 8;
}
if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 8)
*reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
_id -= 8;
}
return _id;
}
// SIGNAL 0
void WebSocketConnection::textMessageReceived(const QString & _t1)
{
QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}
// SIGNAL 1
void WebSocketConnection::pingReceived(const QByteArray & _t1)
{
QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}
// SIGNAL 2
void WebSocketConnection::pongReceived(const QByteArray & _t1)
{
QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}
// SIGNAL 3
void WebSocketConnection::disconnected()
{
QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
// SIGNAL 4
void WebSocketConnection::pingTimeout()
{
QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}
QT_WARNING_POP