323 lines
12 KiB
Plaintext
323 lines
12 KiB
Plaintext
/****************************************************************************
|
|
** Meta object code from reading C++ file 'main.cpp'
|
|
**
|
|
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.10.1)
|
|
**
|
|
** WARNING! All changes made in this file will be lost!
|
|
*****************************************************************************/
|
|
|
|
#include <QtCore/qmetatype.h>
|
|
#include <QtCore/QList>
|
|
|
|
#include <QtCore/qtmochelpers.h>
|
|
|
|
#include <memory>
|
|
|
|
|
|
#include <QtCore/qxptype_traits.h>
|
|
#if !defined(Q_MOC_OUTPUT_REVISION)
|
|
#error "The header file 'main.cpp' doesn't include <QObject>."
|
|
#elif Q_MOC_OUTPUT_REVISION != 69
|
|
#error "This file was generated using the moc from 6.10.1. 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_ZN15VideoFeedWidgetE_t {};
|
|
} // unnamed namespace
|
|
|
|
template <> constexpr inline auto VideoFeedWidget::qt_create_metaobjectdata<qt_meta_tag_ZN15VideoFeedWidgetE_t>()
|
|
{
|
|
namespace QMC = QtMocConstants;
|
|
QtMocHelpers::StringRefStorage qt_stringData {
|
|
"VideoFeedWidget"
|
|
};
|
|
|
|
QtMocHelpers::UintData qt_methods {
|
|
};
|
|
QtMocHelpers::UintData qt_properties {
|
|
};
|
|
QtMocHelpers::UintData qt_enums {
|
|
};
|
|
return QtMocHelpers::metaObjectData<VideoFeedWidget, qt_meta_tag_ZN15VideoFeedWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
|
|
qt_methods, qt_properties, qt_enums);
|
|
}
|
|
Q_CONSTINIT const QMetaObject VideoFeedWidget::staticMetaObject = { {
|
|
QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
|
|
qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15VideoFeedWidgetE_t>.stringdata,
|
|
qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15VideoFeedWidgetE_t>.data,
|
|
qt_static_metacall,
|
|
nullptr,
|
|
qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15VideoFeedWidgetE_t>.metaTypes,
|
|
nullptr
|
|
} };
|
|
|
|
void VideoFeedWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
|
{
|
|
auto *_t = static_cast<VideoFeedWidget *>(_o);
|
|
(void)_t;
|
|
(void)_c;
|
|
(void)_id;
|
|
(void)_a;
|
|
}
|
|
|
|
const QMetaObject *VideoFeedWidget::metaObject() const
|
|
{
|
|
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
|
}
|
|
|
|
void *VideoFeedWidget::qt_metacast(const char *_clname)
|
|
{
|
|
if (!_clname) return nullptr;
|
|
if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15VideoFeedWidgetE_t>.strings))
|
|
return static_cast<void*>(this);
|
|
return QWidget::qt_metacast(_clname);
|
|
}
|
|
|
|
int VideoFeedWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
|
{
|
|
_id = QWidget::qt_metacall(_c, _id, _a);
|
|
return _id;
|
|
}
|
|
namespace {
|
|
struct qt_meta_tag_ZN11LoginDialogE_t {};
|
|
} // unnamed namespace
|
|
|
|
template <> constexpr inline auto LoginDialog::qt_create_metaobjectdata<qt_meta_tag_ZN11LoginDialogE_t>()
|
|
{
|
|
namespace QMC = QtMocConstants;
|
|
QtMocHelpers::StringRefStorage qt_stringData {
|
|
"LoginDialog"
|
|
};
|
|
|
|
QtMocHelpers::UintData qt_methods {
|
|
};
|
|
QtMocHelpers::UintData qt_properties {
|
|
};
|
|
QtMocHelpers::UintData qt_enums {
|
|
};
|
|
return QtMocHelpers::metaObjectData<LoginDialog, qt_meta_tag_ZN11LoginDialogE_t>(QMC::MetaObjectFlag{}, qt_stringData,
|
|
qt_methods, qt_properties, qt_enums);
|
|
}
|
|
Q_CONSTINIT const QMetaObject LoginDialog::staticMetaObject = { {
|
|
QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
|
|
qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11LoginDialogE_t>.stringdata,
|
|
qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11LoginDialogE_t>.data,
|
|
qt_static_metacall,
|
|
nullptr,
|
|
qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11LoginDialogE_t>.metaTypes,
|
|
nullptr
|
|
} };
|
|
|
|
void LoginDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
|
{
|
|
auto *_t = static_cast<LoginDialog *>(_o);
|
|
(void)_t;
|
|
(void)_c;
|
|
(void)_id;
|
|
(void)_a;
|
|
}
|
|
|
|
const QMetaObject *LoginDialog::metaObject() const
|
|
{
|
|
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
|
}
|
|
|
|
void *LoginDialog::qt_metacast(const char *_clname)
|
|
{
|
|
if (!_clname) return nullptr;
|
|
if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11LoginDialogE_t>.strings))
|
|
return static_cast<void*>(this);
|
|
return QDialog::qt_metacast(_clname);
|
|
}
|
|
|
|
int LoginDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
|
{
|
|
_id = QDialog::qt_metacall(_c, _id, _a);
|
|
return _id;
|
|
}
|
|
namespace {
|
|
struct qt_meta_tag_ZN10ChatClientE_t {};
|
|
} // unnamed namespace
|
|
|
|
template <> constexpr inline auto ChatClient::qt_create_metaobjectdata<qt_meta_tag_ZN10ChatClientE_t>()
|
|
{
|
|
namespace QMC = QtMocConstants;
|
|
QtMocHelpers::StringRefStorage qt_stringData {
|
|
"ChatClient",
|
|
"show_login_dialog",
|
|
"",
|
|
"populate_cameras",
|
|
"on_camera_changed",
|
|
"index",
|
|
"on_camera_toggle",
|
|
"state",
|
|
"start_camera",
|
|
"stop_camera",
|
|
"on_socket_connected",
|
|
"on_socket_disconnected",
|
|
"on_socket_read",
|
|
"on_socket_error",
|
|
"QAbstractSocket::SocketError",
|
|
"error",
|
|
"on_ssl_errors",
|
|
"QList<QSslError>",
|
|
"errors",
|
|
"on_send_message",
|
|
"on_bg_color",
|
|
"on_text_color",
|
|
"on_transparency_changed",
|
|
"value",
|
|
"add_remote_user",
|
|
"username",
|
|
"camera_active"
|
|
};
|
|
|
|
QtMocHelpers::UintData qt_methods {
|
|
// Slot 'show_login_dialog'
|
|
QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPrivate, QMetaType::Void),
|
|
// Slot 'populate_cameras'
|
|
QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPrivate, QMetaType::Void),
|
|
// Slot 'on_camera_changed'
|
|
QtMocHelpers::SlotData<void(int)>(4, 2, QMC::AccessPrivate, QMetaType::Void, {{
|
|
{ QMetaType::Int, 5 },
|
|
}}),
|
|
// Slot 'on_camera_toggle'
|
|
QtMocHelpers::SlotData<void(int)>(6, 2, QMC::AccessPrivate, QMetaType::Void, {{
|
|
{ QMetaType::Int, 7 },
|
|
}}),
|
|
// Slot 'start_camera'
|
|
QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPrivate, QMetaType::Void),
|
|
// Slot 'stop_camera'
|
|
QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPrivate, QMetaType::Void),
|
|
// Slot 'on_socket_connected'
|
|
QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPrivate, QMetaType::Void),
|
|
// Slot 'on_socket_disconnected'
|
|
QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPrivate, QMetaType::Void),
|
|
// Slot 'on_socket_read'
|
|
QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPrivate, QMetaType::Void),
|
|
// Slot 'on_socket_error'
|
|
QtMocHelpers::SlotData<void(QAbstractSocket::SocketError)>(13, 2, QMC::AccessPrivate, QMetaType::Void, {{
|
|
{ 0x80000000 | 14, 15 },
|
|
}}),
|
|
// Slot 'on_ssl_errors'
|
|
QtMocHelpers::SlotData<void(const QList<QSslError> &)>(16, 2, QMC::AccessPrivate, QMetaType::Void, {{
|
|
{ 0x80000000 | 17, 18 },
|
|
}}),
|
|
// Slot 'on_send_message'
|
|
QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPrivate, QMetaType::Void),
|
|
// Slot 'on_bg_color'
|
|
QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPrivate, QMetaType::Void),
|
|
// Slot 'on_text_color'
|
|
QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPrivate, QMetaType::Void),
|
|
// Slot 'on_transparency_changed'
|
|
QtMocHelpers::SlotData<void(int)>(22, 2, QMC::AccessPrivate, QMetaType::Void, {{
|
|
{ QMetaType::Int, 23 },
|
|
}}),
|
|
// Slot 'add_remote_user'
|
|
QtMocHelpers::SlotData<void(const QString &, bool)>(24, 2, QMC::AccessPrivate, QMetaType::Void, {{
|
|
{ QMetaType::QString, 25 }, { QMetaType::Bool, 26 },
|
|
}}),
|
|
};
|
|
QtMocHelpers::UintData qt_properties {
|
|
};
|
|
QtMocHelpers::UintData qt_enums {
|
|
};
|
|
return QtMocHelpers::metaObjectData<ChatClient, qt_meta_tag_ZN10ChatClientE_t>(QMC::MetaObjectFlag{}, qt_stringData,
|
|
qt_methods, qt_properties, qt_enums);
|
|
}
|
|
Q_CONSTINIT const QMetaObject ChatClient::staticMetaObject = { {
|
|
QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
|
|
qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10ChatClientE_t>.stringdata,
|
|
qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10ChatClientE_t>.data,
|
|
qt_static_metacall,
|
|
nullptr,
|
|
qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10ChatClientE_t>.metaTypes,
|
|
nullptr
|
|
} };
|
|
|
|
void ChatClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
|
{
|
|
auto *_t = static_cast<ChatClient *>(_o);
|
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
|
switch (_id) {
|
|
case 0: _t->show_login_dialog(); break;
|
|
case 1: _t->populate_cameras(); break;
|
|
case 2: _t->on_camera_changed((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
|
|
case 3: _t->on_camera_toggle((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
|
|
case 4: _t->start_camera(); break;
|
|
case 5: _t->stop_camera(); break;
|
|
case 6: _t->on_socket_connected(); break;
|
|
case 7: _t->on_socket_disconnected(); break;
|
|
case 8: _t->on_socket_read(); break;
|
|
case 9: _t->on_socket_error((*reinterpret_cast<std::add_pointer_t<QAbstractSocket::SocketError>>(_a[1]))); break;
|
|
case 10: _t->on_ssl_errors((*reinterpret_cast<std::add_pointer_t<QList<QSslError>>>(_a[1]))); break;
|
|
case 11: _t->on_send_message(); break;
|
|
case 12: _t->on_bg_color(); break;
|
|
case 13: _t->on_text_color(); break;
|
|
case 14: _t->on_transparency_changed((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
|
|
case 15: _t->add_remote_user((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
|
|
default: ;
|
|
}
|
|
}
|
|
if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
|
switch (_id) {
|
|
default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
|
|
case 9:
|
|
switch (*reinterpret_cast<int*>(_a[1])) {
|
|
default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
|
|
case 0:
|
|
*reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAbstractSocket::SocketError >(); break;
|
|
}
|
|
break;
|
|
case 10:
|
|
switch (*reinterpret_cast<int*>(_a[1])) {
|
|
default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
|
|
case 0:
|
|
*reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<QSslError> >(); break;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
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_staticMetaObjectStaticContent<qt_meta_tag_ZN10ChatClientE_t>.strings))
|
|
return static_cast<void*>(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 < 16)
|
|
qt_static_metacall(this, _c, _id, _a);
|
|
_id -= 16;
|
|
}
|
|
if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
|
if (_id < 16)
|
|
qt_static_metacall(this, _c, _id, _a);
|
|
_id -= 16;
|
|
}
|
|
return _id;
|
|
}
|
|
QT_WARNING_POP
|