/**************************************************************************** ** Meta object code from reading C++ file 'main.cpp' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.18) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #include #include #include #include #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'main.cpp' doesn't include ." #elif Q_MOC_OUTPUT_REVISION != 67 #error "This file was generated using the moc from 5.15.18. It" #error "cannot be used with the include files from this version of Qt." #error "(The moc has changed too much.)" #endif QT_BEGIN_MOC_NAMESPACE QT_WARNING_PUSH QT_WARNING_DISABLE_DEPRECATED struct qt_meta_stringdata_ChatClient_t { QByteArrayData data[17]; char stringdata0[242]; }; #define QT_MOC_LITERAL(idx, ofs, len) \ Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ qptrdiff(offsetof(qt_meta_stringdata_ChatClient_t, stringdata0) + ofs \ - idx * sizeof(QByteArrayData)) \ ) static const qt_meta_stringdata_ChatClient_t qt_meta_stringdata_ChatClient = { { QT_MOC_LITERAL(0, 0, 10), // "ChatClient" QT_MOC_LITERAL(1, 11, 10), // "on_connect" QT_MOC_LITERAL(2, 22, 0), // "" QT_MOC_LITERAL(3, 23, 19), // "on_socket_connected" QT_MOC_LITERAL(4, 43, 22), // "on_socket_disconnected" QT_MOC_LITERAL(5, 66, 14), // "on_socket_read" QT_MOC_LITERAL(6, 81, 15), // "on_socket_error" QT_MOC_LITERAL(7, 97, 28), // "QAbstractSocket::SocketError" QT_MOC_LITERAL(8, 126, 5), // "error" QT_MOC_LITERAL(9, 132, 13), // "on_ssl_errors" QT_MOC_LITERAL(10, 146, 16), // "QList" QT_MOC_LITERAL(11, 163, 6), // "errors" QT_MOC_LITERAL(12, 170, 15), // "on_send_message" QT_MOC_LITERAL(13, 186, 11), // "on_bg_color" QT_MOC_LITERAL(14, 198, 13), // "on_text_color" QT_MOC_LITERAL(15, 212, 23), // "on_transparency_changed" QT_MOC_LITERAL(16, 236, 5) // "value" }, "ChatClient\0on_connect\0\0on_socket_connected\0" "on_socket_disconnected\0on_socket_read\0" "on_socket_error\0QAbstractSocket::SocketError\0" "error\0on_ssl_errors\0QList\0" "errors\0on_send_message\0on_bg_color\0" "on_text_color\0on_transparency_changed\0" "value" }; #undef QT_MOC_LITERAL static const uint qt_meta_data_ChatClient[] = { // content: 8, // revision 0, // classname 0, 0, // classinfo 10, 14, // methods 0, 0, // properties 0, 0, // enums/sets 0, 0, // constructors 0, // flags 0, // signalCount // slots: name, argc, parameters, tag, flags 1, 0, 64, 2, 0x08 /* Private */, 3, 0, 65, 2, 0x08 /* Private */, 4, 0, 66, 2, 0x08 /* Private */, 5, 0, 67, 2, 0x08 /* Private */, 6, 1, 68, 2, 0x08 /* Private */, 9, 1, 71, 2, 0x08 /* Private */, 12, 0, 74, 2, 0x08 /* Private */, 13, 0, 75, 2, 0x08 /* Private */, 14, 0, 76, 2, 0x08 /* Private */, 15, 1, 77, 2, 0x08 /* Private */, // slots: parameters QMetaType::Void, QMetaType::Void, QMetaType::Void, QMetaType::Void, QMetaType::Void, 0x80000000 | 7, 8, QMetaType::Void, 0x80000000 | 10, 11, QMetaType::Void, QMetaType::Void, QMetaType::Void, QMetaType::Void, QMetaType::Int, 16, 0 // eod }; void ChatClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) { if (_c == QMetaObject::InvokeMetaMethod) { auto *_t = static_cast(_o); (void)_t; switch (_id) { case 0: _t->on_connect(); break; case 1: _t->on_socket_connected(); break; case 2: _t->on_socket_disconnected(); break; case 3: _t->on_socket_read(); break; case 4: _t->on_socket_error((*reinterpret_cast< QAbstractSocket::SocketError(*)>(_a[1]))); break; case 5: _t->on_ssl_errors((*reinterpret_cast< const QList(*)>(_a[1]))); break; case 6: _t->on_send_message(); break; case 7: _t->on_bg_color(); break; case 8: _t->on_text_color(); break; case 9: _t->on_transparency_changed((*reinterpret_cast< int(*)>(_a[1]))); break; default: ; } } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { switch (_id) { default: *reinterpret_cast(_a[0]) = -1; break; case 4: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = -1; break; case 0: *reinterpret_cast(_a[0]) = qRegisterMetaType< QAbstractSocket::SocketError >(); break; } break; case 5: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = -1; break; case 0: *reinterpret_cast(_a[0]) = qRegisterMetaType< QList >(); break; } break; } } } QT_INIT_METAOBJECT const QMetaObject ChatClient::staticMetaObject = { { QMetaObject::SuperData::link(), qt_meta_stringdata_ChatClient.data, qt_meta_data_ChatClient, qt_static_metacall, nullptr, nullptr } }; const QMetaObject *ChatClient::metaObject() const { return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; } void *ChatClient::qt_metacast(const char *_clname) { if (!_clname) return nullptr; if (!strcmp(_clname, qt_meta_stringdata_ChatClient.stringdata0)) return static_cast(this); return QMainWindow::qt_metacast(_clname); } int ChatClient::qt_metacall(QMetaObject::Call _c, int _id, void **_a) { _id = QMainWindow::qt_metacall(_c, _id, _a); if (_id < 0) return _id; if (_c == QMetaObject::InvokeMetaMethod) { if (_id < 10) qt_static_metacall(this, _c, _id, _a); _id -= 10; } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { if (_id < 10) qt_static_metacall(this, _c, _id, _a); _id -= 10; } return _id; } QT_WARNING_POP QT_END_MOC_NAMESPACE