9#include "../../../../src/widgets/scopes/videozoomscopewidget.h"
10#include <QtCore/qmetatype.h>
12#include <QtCore/qtmochelpers.h>
17#include <QtCore/qxptype_traits.h>
18#if !defined(Q_MOC_OUTPUT_REVISION)
19#error "The header file 'videozoomscopewidget.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 69
21#error "This file was generated using the moc from 6.9.1. It"
22#error "cannot be used with the include files from this version of Qt."
23#error "(The moc has changed too much.)"
31QT_WARNING_DISABLE_DEPRECATED
32QT_WARNING_DISABLE_GCC(
"-Wuseless-cast")
34struct qt_meta_tag_ZN20VideoZoomScopeWidgetE_t {};
37template <>
constexpr inline auto VideoZoomScopeWidget::qt_create_metaobjectdata<qt_meta_tag_ZN20VideoZoomScopeWidgetE_t>()
39 namespace QMC = QtMocConstants;
40 QtMocHelpers::StringRefStorage qt_stringData {
41 "VideoZoomScopeWidget",
42 "onScreenSelectStarted",
46 "onScreenRectSelected",
48 "onScreenPointSelected",
57 QtMocHelpers::UintData qt_methods {
59 QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPrivate, QMetaType::Void),
61 QtMocHelpers::SlotData<void(bool)>(3, 2, QMC::AccessPrivate, QMetaType::Void, {{
62 { QMetaType::Bool, 4 },
65 QtMocHelpers::SlotData<
void(
const QRect &)>(5, 2, QMC::AccessPrivate, QMetaType::Void, {{
66 { QMetaType::QRect, 6 },
69 QtMocHelpers::SlotData<
void(
const QPoint &)>(7, 2, QMC::AccessPrivate, QMetaType::Void, {{
70 { QMetaType::QPoint, 8 },
73 QtMocHelpers::SlotData<
void(
const QPoint &)>(9, 2, QMC::AccessPrivate, QMetaType::Void, {{
74 { QMetaType::QPoint, 10 },
77 QtMocHelpers::SlotData<
void(
int)>(11, 2, QMC::AccessPrivate, QMetaType::Void, {{
78 { QMetaType::Int, 12 },
81 QtMocHelpers::MethodData<
void()>(13, 2, QMC::AccessPrivate, QMetaType::Void),
83 QtMocHelpers::UintData qt_properties {
85 QtMocHelpers::UintData qt_enums {
87 return QtMocHelpers::metaObjectData<VideoZoomScopeWidget, qt_meta_tag_ZN20VideoZoomScopeWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
88 qt_methods, qt_properties, qt_enums);
90Q_CONSTINIT
const QMetaObject VideoZoomScopeWidget::staticMetaObject = { {
91 QMetaObject::SuperData::link<ScopeWidget::staticMetaObject>(),
92 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN20VideoZoomScopeWidgetE_t>.stringdata,
93 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN20VideoZoomScopeWidgetE_t>.data,
96 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN20VideoZoomScopeWidgetE_t>.metaTypes,
100void VideoZoomScopeWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
102 auto *_t =
static_cast<VideoZoomScopeWidget *
>(_o);
103 if (_c == QMetaObject::InvokeMetaMethod) {
105 case 0: _t->onScreenSelectStarted();
break;
106 case 1: _t->onLockToggled((*
reinterpret_cast< std::add_pointer_t<bool>
>(_a[1])));
break;
107 case 2: _t->onScreenRectSelected((*
reinterpret_cast< std::add_pointer_t<QRect>
>(_a[1])));
break;
108 case 3: _t->onScreenPointSelected((*
reinterpret_cast< std::add_pointer_t<QPoint>
>(_a[1])));
break;
109 case 4: _t->onPixelSelected((*
reinterpret_cast< std::add_pointer_t<QPoint>
>(_a[1])));
break;
110 case 5: _t->onZoomChanged((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
111 case 6: _t->updateLabels();
break;
117const QMetaObject *VideoZoomScopeWidget::metaObject()
const
119 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
122void *VideoZoomScopeWidget::qt_metacast(
const char *_clname)
124 if (!_clname)
return nullptr;
125 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN20VideoZoomScopeWidgetE_t>.strings))
126 return static_cast<void*
>(
this);
127 return ScopeWidget::qt_metacast(_clname);
130int VideoZoomScopeWidget::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
132 _id = ScopeWidget::qt_metacall(_c, _id, _a);
135 if (_c == QMetaObject::InvokeMetaMethod) {
137 qt_static_metacall(
this, _c, _id, _a);
140 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
142 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();