1/****************************************************************************
2** Meta object code from reading C++ file 'chat.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 "chat.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'chat.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_ChatMainWindow_t {
25 const uint offsetsAndSize[28];
26 char stringdata0[139];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_ChatMainWindow_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_ChatMainWindow_t qt_meta_stringdata_ChatMainWindow = {
31 {
32QT_MOC_LITERAL(0, 14), // "ChatMainWindow"
33QT_MOC_LITERAL(15, 7), // "message"
34QT_MOC_LITERAL(23, 0), // ""
35QT_MOC_LITERAL(24, 8), // "nickname"
36QT_MOC_LITERAL(33, 4), // "text"
37QT_MOC_LITERAL(38, 6), // "action"
38QT_MOC_LITERAL(45, 11), // "messageSlot"
39QT_MOC_LITERAL(57, 10), // "actionSlot"
40QT_MOC_LITERAL(68, 15), // "textChangedSlot"
41QT_MOC_LITERAL(84, 7), // "newText"
42QT_MOC_LITERAL(92, 15), // "sendClickedSlot"
43QT_MOC_LITERAL(108, 14), // "changeNickname"
44QT_MOC_LITERAL(123, 7), // "aboutQt"
45QT_MOC_LITERAL(131, 7) // "exiting"
46
47 },
48 "ChatMainWindow\0message\0\0nickname\0text\0"
49 "action\0messageSlot\0actionSlot\0"
50 "textChangedSlot\0newText\0sendClickedSlot\0"
51 "changeNickname\0aboutQt\0exiting"
52};
53#undef QT_MOC_LITERAL
54
55static const uint qt_meta_data_ChatMainWindow[] = {
56
57 // content:
58 9, // revision
59 0, // classname
60 0, 0, // classinfo
61 9, 14, // methods
62 0, 0, // properties
63 0, 0, // enums/sets
64 0, 0, // constructors
65 0, // flags
66 2, // signalCount
67
68 // signals: name, argc, parameters, tag, flags, initial metatype offsets
69 1, 2, 68, 2, 0x06, 0 /* Public */,
70 5, 2, 73, 2, 0x06, 3 /* Public */,
71
72 // slots: name, argc, parameters, tag, flags, initial metatype offsets
73 6, 2, 78, 2, 0x08, 6 /* Private */,
74 7, 2, 83, 2, 0x08, 9 /* Private */,
75 8, 1, 88, 2, 0x08, 12 /* Private */,
76 10, 0, 91, 2, 0x08, 14 /* Private */,
77 11, 0, 92, 2, 0x08, 15 /* Private */,
78 12, 0, 93, 2, 0x08, 16 /* Private */,
79 13, 0, 94, 2, 0x08, 17 /* Private */,
80
81 // signals: parameters
82 QMetaType::Void, QMetaType::QString, QMetaType::QString, 3, 4,
83 QMetaType::Void, QMetaType::QString, QMetaType::QString, 3, 4,
84
85 // slots: parameters
86 QMetaType::Void, QMetaType::QString, QMetaType::QString, 3, 4,
87 QMetaType::Void, QMetaType::QString, QMetaType::QString, 3, 4,
88 QMetaType::Void, QMetaType::QString, 9,
89 QMetaType::Void,
90 QMetaType::Void,
91 QMetaType::Void,
92 QMetaType::Void,
93
94 0 // eod
95};
96
97void ChatMainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
98{
99 if (_c == QMetaObject::InvokeMetaMethod) {
100 Q_ASSERT(staticMetaObject.cast(_o));
101 auto *_t = static_cast<ChatMainWindow *>(_o);
102 Q_UNUSED(_t)
103 switch (_id) {
104 case 0: _t->message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
105 case 1: _t->action((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
106 case 2: _t->messageSlot((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
107 case 3: _t->actionSlot((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
108 case 4: _t->textChangedSlot((*reinterpret_cast< const QString(*)>(_a[1]))); break;
109 case 5: _t->sendClickedSlot(); break;
110 case 6: _t->changeNickname(); break;
111 case 7: _t->aboutQt(); break;
112 case 8: _t->exiting(); break;
113 default: ;
114 }
115 } else if (_c == QMetaObject::IndexOfMethod) {
116 int *result = reinterpret_cast<int *>(_a[0]);
117 {
118 using _t = void (ChatMainWindow::*)(const QString & , const QString & );
119 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ChatMainWindow::message)) {
120 *result = 0;
121 return;
122 }
123 }
124 {
125 using _t = void (ChatMainWindow::*)(const QString & , const QString & );
126 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ChatMainWindow::action)) {
127 *result = 1;
128 return;
129 }
130 }
131 }
132}
133
134const QMetaObject ChatMainWindow::staticMetaObject = { {
135 QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
136 qt_meta_stringdata_ChatMainWindow.offsetsAndSize,
137 qt_meta_data_ChatMainWindow,
138 qt_static_metacall,
139 nullptr,
140qt_incomplete_metaTypeArray<qt_meta_stringdata_ChatMainWindow_t
141, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
142, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, 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>
143
144
145>,
146 nullptr
147} };
148
149
150const QMetaObject *ChatMainWindow::metaObject() const
151{
152 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
153}
154
155void *ChatMainWindow::qt_metacast(const char *_clname)
156{
157 if (!_clname) return nullptr;
158 if (!strcmp(_clname, qt_meta_stringdata_ChatMainWindow.stringdata0))
159 return static_cast<void*>(this);
160 if (!strcmp(_clname, "Ui::ChatMainWindow"))
161 return static_cast< Ui::ChatMainWindow*>(this);
162 return QMainWindow::qt_metacast(_clname);
163}
164
165int ChatMainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
166{
167 _id = QMainWindow::qt_metacall(_c, _id, _a);
168 if (_id < 0)
169 return _id;
170 if (_c == QMetaObject::InvokeMetaMethod) {
171 if (_id < 9)
172 qt_static_metacall(this, _c, _id, _a);
173 _id -= 9;
174 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
175 if (_id < 9)
176 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
177 _id -= 9;
178 }
179 return _id;
180}
181
182// SIGNAL 0
183void ChatMainWindow::message(const QString & _t1, const QString & _t2)
184{
185 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
186 QMetaObject::activate(this, &staticMetaObject, 0, _a);
187}
188
189// SIGNAL 1
190void ChatMainWindow::action(const QString & _t1, const QString & _t2)
191{
192 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
193 QMetaObject::activate(this, &staticMetaObject, 1, _a);
194}
195struct qt_meta_stringdata_NicknameDialog_t {
196 const uint offsetsAndSize[2];
197 char stringdata0[15];
198};
199#define QT_MOC_LITERAL(ofs, len) \
200 uint(offsetof(qt_meta_stringdata_NicknameDialog_t, stringdata0) + ofs), len
201static const qt_meta_stringdata_NicknameDialog_t qt_meta_stringdata_NicknameDialog = {
202 {
203QT_MOC_LITERAL(0, 14) // "NicknameDialog"
204
205 },
206 "NicknameDialog"
207};
208#undef QT_MOC_LITERAL
209
210static const uint qt_meta_data_NicknameDialog[] = {
211
212 // content:
213 9, // revision
214 0, // classname
215 0, 0, // classinfo
216 0, 0, // methods
217 0, 0, // properties
218 0, 0, // enums/sets
219 0, 0, // constructors
220 0, // flags
221 0, // signalCount
222
223 0 // eod
224};
225
226void NicknameDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
227{
228 Q_UNUSED(_o);
229 Q_UNUSED(_id);
230 Q_UNUSED(_c);
231 Q_UNUSED(_a);
232}
233
234const QMetaObject NicknameDialog::staticMetaObject = { {
235 QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
236 qt_meta_stringdata_NicknameDialog.offsetsAndSize,
237 qt_meta_data_NicknameDialog,
238 qt_static_metacall,
239 nullptr,
240 nullptr,
241 nullptr
242} };
243
244
245const QMetaObject *NicknameDialog::metaObject() const
246{
247 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
248}
249
250void *NicknameDialog::qt_metacast(const char *_clname)
251{
252 if (!_clname) return nullptr;
253 if (!strcmp(_clname, qt_meta_stringdata_NicknameDialog.stringdata0))
254 return static_cast<void*>(this);
255 if (!strcmp(_clname, "Ui::NicknameDialog"))
256 return static_cast< Ui::NicknameDialog*>(this);
257 return QDialog::qt_metacast(_clname);
258}
259
260int NicknameDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
261{
262 _id = QDialog::qt_metacall(_c, _id, _a);
263 return _id;
264}
265QT_WARNING_POP
266QT_END_MOC_NAMESPACE
267