1/****************************************************************************
2** Meta object code from reading C++ file 'client.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 "client.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'client.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_Client_t {
25 const uint offsetsAndSize[16];
26 char stringdata0[115];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_Client_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_Client_t qt_meta_stringdata_Client = {
31 {
32QT_MOC_LITERAL(0, 6), // "Client"
33QT_MOC_LITERAL(7, 17), // "requestNewFortune"
34QT_MOC_LITERAL(25, 0), // ""
35QT_MOC_LITERAL(26, 11), // "readFortune"
36QT_MOC_LITERAL(38, 12), // "displayError"
37QT_MOC_LITERAL(51, 28), // "QAbstractSocket::SocketError"
38QT_MOC_LITERAL(80, 11), // "socketError"
39QT_MOC_LITERAL(92, 22) // "enableGetFortuneButton"
40
41 },
42 "Client\0requestNewFortune\0\0readFortune\0"
43 "displayError\0QAbstractSocket::SocketError\0"
44 "socketError\0enableGetFortuneButton"
45};
46#undef QT_MOC_LITERAL
47
48static const uint qt_meta_data_Client[] = {
49
50 // content:
51 9, // revision
52 0, // classname
53 0, 0, // classinfo
54 4, 14, // methods
55 0, 0, // properties
56 0, 0, // enums/sets
57 0, 0, // constructors
58 0, // flags
59 0, // signalCount
60
61 // slots: name, argc, parameters, tag, flags, initial metatype offsets
62 1, 0, 38, 2, 0x08, 0 /* Private */,
63 3, 0, 39, 2, 0x08, 1 /* Private */,
64 4, 1, 40, 2, 0x08, 2 /* Private */,
65 7, 0, 43, 2, 0x08, 4 /* Private */,
66
67 // slots: parameters
68 QMetaType::Void,
69 QMetaType::Void,
70 QMetaType::Void, 0x80000000 | 5, 6,
71 QMetaType::Void,
72
73 0 // eod
74};
75
76void Client::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
77{
78 if (_c == QMetaObject::InvokeMetaMethod) {
79 Q_ASSERT(staticMetaObject.cast(_o));
80 auto *_t = static_cast<Client *>(_o);
81 Q_UNUSED(_t)
82 switch (_id) {
83 case 0: _t->requestNewFortune(); break;
84 case 1: _t->readFortune(); break;
85 case 2: _t->displayError((*reinterpret_cast< QAbstractSocket::SocketError(*)>(_a[1]))); break;
86 case 3: _t->enableGetFortuneButton(); break;
87 default: ;
88 }
89 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
90 switch (_id) {
91 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
92 case 2:
93 switch (*reinterpret_cast<int*>(_a[1])) {
94 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
95 case 0:
96 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAbstractSocket::SocketError >(); break;
97 }
98 break;
99 }
100 }
101}
102
103const QMetaObject Client::staticMetaObject = { {
104 QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
105 qt_meta_stringdata_Client.offsetsAndSize,
106 qt_meta_data_Client,
107 qt_static_metacall,
108 nullptr,
109qt_incomplete_metaTypeArray<qt_meta_stringdata_Client_t
110
111, 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>
112
113
114>,
115 nullptr
116} };
117
118
119const QMetaObject *Client::metaObject() const
120{
121 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
122}
123
124void *Client::qt_metacast(const char *_clname)
125{
126 if (!_clname) return nullptr;
127 if (!strcmp(_clname, qt_meta_stringdata_Client.stringdata0))
128 return static_cast<void*>(this);
129 return QDialog::qt_metacast(_clname);
130}
131
132int Client::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
133{
134 _id = QDialog::qt_metacall(_c, _id, _a);
135 if (_id < 0)
136 return _id;
137 if (_c == QMetaObject::InvokeMetaMethod) {
138 if (_id < 4)
139 qt_static_metacall(this, _c, _id, _a);
140 _id -= 4;
141 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
142 if (_id < 4)
143 qt_static_metacall(this, _c, _id, _a);
144 _id -= 4;
145 }
146 return _id;
147}
148QT_WARNING_POP
149QT_END_MOC_NAMESPACE
150