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.11.0)
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.11.0. 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 "QRect",
48 "rect",
49 "onScreenPointSelected",
50 "QPoint",
51 "point",
52 "onPixelSelected",
53 "pixel",
54 "onZoomChanged",
55 "zoom",
56 "updateLabels"
57 };
58
59 QtMocHelpers::UintData qt_methods {
60 // Slot 'onScreenSelectStarted'
61 QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPrivate, QMetaType::Void),
62 // Slot 'onLockToggled'
63 QtMocHelpers::SlotData<void(bool)>(3, 2, QMC::AccessPrivate, QMetaType::Void, {{
64 { QMetaType::Bool, 4 },
65 }}),
66 // Slot 'onScreenRectSelected'
67 QtMocHelpers::SlotData<void(const QRect &)>(5, 2, QMC::AccessPrivate, QMetaType::Void, {{
68 { 0x80000000 | 6, 7 },
69 }}),
70 // Slot 'onScreenPointSelected'
71 QtMocHelpers::SlotData<void(const QPoint &)>(8, 2, QMC::AccessPrivate, QMetaType::Void, {{
72 { 0x80000000 | 9, 10 },
73 }}),
74 // Slot 'onPixelSelected'
75 QtMocHelpers::SlotData<void(const QPoint &)>(11, 2, QMC::AccessPrivate, QMetaType::Void, {{
76 { 0x80000000 | 9, 12 },
77 }}),
78 // Slot 'onZoomChanged'
79 QtMocHelpers::SlotData<void(int)>(13, 2, QMC::AccessPrivate, QMetaType::Void, {{
80 { QMetaType::Int, 14 },
81 }}),
82 // Method 'updateLabels'
83 QtMocHelpers::MethodData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
84 };
85 QtMocHelpers::UintData qt_properties {
86 };
87 QtMocHelpers::UintData qt_enums {
88 };
89 return QtMocHelpers::metaObjectData<VideoZoomScopeWidget, qt_meta_tag_ZN20VideoZoomScopeWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
90 qt_methods, qt_properties, qt_enums);
91}
92Q_CONSTINIT const QMetaObject VideoZoomScopeWidget::staticMetaObject = { {
93 QMetaObject::SuperData::link<ScopeWidget::staticMetaObject>(),
94 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN20VideoZoomScopeWidgetE_t>.stringdata,
95 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN20VideoZoomScopeWidgetE_t>.data,
96 qt_static_metacall,
97 nullptr,
98 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN20VideoZoomScopeWidgetE_t>.metaTypes,
99 nullptr
100} };
101
102void VideoZoomScopeWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
103{
104 auto *_t = static_cast<VideoZoomScopeWidget *>(_o);
105 if (_c == QMetaObject::InvokeMetaMethod) {
106 switch (_id) {
107 case 0: _t->onScreenSelectStarted(); break;
108 case 1: _t->onLockToggled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
109 case 2: _t->onScreenRectSelected((*reinterpret_cast<std::add_pointer_t<QRect>>(_a[1]))); break;
110 case 3: _t->onScreenPointSelected((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
111 case 4: _t->onPixelSelected((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
112 case 5: _t->onZoomChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
113 case 6: _t->updateLabels(); break;
114 default: ;
115 }
116 }
117}
118
119const QMetaObject *VideoZoomScopeWidget::metaObject() const
120{
121 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
122}
123
124void *VideoZoomScopeWidget::qt_metacast(const char *_clname)
125{
126 if (!_clname) return nullptr;
127 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN20VideoZoomScopeWidgetE_t>.strings))
128 return static_cast<void*>(this);
129 return ScopeWidget::qt_metacast(_clname);
130}
131
132int VideoZoomScopeWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
133{
134 _id = ScopeWidget::qt_metacall(_c, _id, _a);
135 if (_id < 0)
136 return _id;
137 if (_c == QMetaObject::InvokeMetaMethod) {
138 if (_id < 7)
139 qt_static_metacall(this, _c, _id, _a);
140 _id -= 7;
141 }
142 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
143 if (_id < 7)
144 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
145 _id -= 7;
146 }
147 return _id;
148}
149QT_WARNING_POP