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