CuteLogger
Fast and simple logging solution for Qt based applications
moc_videozoomscopewidget.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'videozoomscopewidget.h'
3**
4** Created by: The Qt Meta Object Compiler version 69 (Qt 6.9.1)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include "../../../../src/widgets/scopes/videozoomscopewidget.h"
10#include <QtCore/qmetatype.h>
11
12#include <QtCore/qtmochelpers.h>
13
14#include <memory>
15
16
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.)"
24#endif
25
26#ifndef Q_CONSTINIT
27#define Q_CONSTINIT
28#endif
29
30QT_WARNING_PUSH
31QT_WARNING_DISABLE_DEPRECATED
32QT_WARNING_DISABLE_GCC("-Wuseless-cast")
33namespace {
34struct qt_meta_tag_ZN20VideoZoomScopeWidgetE_t {};
35} // unnamed namespace
36
37template <> constexpr inline auto VideoZoomScopeWidget::qt_create_metaobjectdata<qt_meta_tag_ZN20VideoZoomScopeWidgetE_t>()
38{
39 namespace QMC = QtMocConstants;
40 QtMocHelpers::StringRefStorage qt_stringData {
41 "VideoZoomScopeWidget",
42 "onScreenSelectStarted",
43 "",
44 "onLockToggled",
45 "enabled",
46 "onScreenRectSelected",
47 "rect",
48 "onScreenPointSelected",
49 "point",
50 "onPixelSelected",
51 "pixel",
52 "onZoomChanged",
53 "zoom",
54 "updateLabels"
55 };
56
57 QtMocHelpers::UintData qt_methods {
58 // Slot 'onScreenSelectStarted'
59 QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPrivate, QMetaType::Void),
60 // Slot 'onLockToggled'
61 QtMocHelpers::SlotData<void(bool)>(3, 2, QMC::AccessPrivate, QMetaType::Void, {{
62 { QMetaType::Bool, 4 },
63 }}),
64 // Slot 'onScreenRectSelected'
65 QtMocHelpers::SlotData<void(const QRect &)>(5, 2, QMC::AccessPrivate, QMetaType::Void, {{
66 { QMetaType::QRect, 6 },
67 }}),
68 // Slot 'onScreenPointSelected'
69 QtMocHelpers::SlotData<void(const QPoint &)>(7, 2, QMC::AccessPrivate, QMetaType::Void, {{
70 { QMetaType::QPoint, 8 },
71 }}),
72 // Slot 'onPixelSelected'
73 QtMocHelpers::SlotData<void(const QPoint &)>(9, 2, QMC::AccessPrivate, QMetaType::Void, {{
74 { QMetaType::QPoint, 10 },
75 }}),
76 // Slot 'onZoomChanged'
77 QtMocHelpers::SlotData<void(int)>(11, 2, QMC::AccessPrivate, QMetaType::Void, {{
78 { QMetaType::Int, 12 },
79 }}),
80 // Method 'updateLabels'
81 QtMocHelpers::MethodData<void()>(13, 2, QMC::AccessPrivate, QMetaType::Void),
82 };
83 QtMocHelpers::UintData qt_properties {
84 };
85 QtMocHelpers::UintData qt_enums {
86 };
87 return QtMocHelpers::metaObjectData<VideoZoomScopeWidget, qt_meta_tag_ZN20VideoZoomScopeWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
88 qt_methods, qt_properties, qt_enums);
89}
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,
94 qt_static_metacall,
95 nullptr,
96 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN20VideoZoomScopeWidgetE_t>.metaTypes,
97 nullptr
98} };
99
100void VideoZoomScopeWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
101{
102 auto *_t = static_cast<VideoZoomScopeWidget *>(_o);
103 if (_c == QMetaObject::InvokeMetaMethod) {
104 switch (_id) {
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;
112 default: ;
113 }
114 }
115}
116
117const QMetaObject *VideoZoomScopeWidget::metaObject() const
118{
119 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
120}
121
122void *VideoZoomScopeWidget::qt_metacast(const char *_clname)
123{
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);
128}
129
130int VideoZoomScopeWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
131{
132 _id = ScopeWidget::qt_metacall(_c, _id, _a);
133 if (_id < 0)
134 return _id;
135 if (_c == QMetaObject::InvokeMetaMethod) {
136 if (_id < 7)
137 qt_static_metacall(this, _c, _id, _a);
138 _id -= 7;
139 }
140 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
141 if (_id < 7)
142 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
143 _id -= 7;
144 }
145 return _id;
146}
147QT_WARNING_POP