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 68 (Qt 6.7.2)
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 != 68
21#error "This file was generated using the moc from 6.7.2. 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 {
34
35#ifdef QT_MOC_HAS_STRINGDATA
36struct qt_meta_stringdata_CLASSVideoZoomScopeWidgetENDCLASS_t {};
37constexpr auto qt_meta_stringdata_CLASSVideoZoomScopeWidgetENDCLASS = QtMocHelpers::stringData(
38 "VideoZoomScopeWidget",
39 "onScreenSelectStarted",
40 "",
41 "onLockToggled",
42 "enabled",
43 "onScreenRectSelected",
44 "rect",
45 "onScreenPointSelected",
46 "point",
47 "onPixelSelected",
48 "pixel",
49 "onZoomChanged",
50 "zoom",
51 "updateLabels"
52);
53#else // !QT_MOC_HAS_STRINGDATA
54#error "qtmochelpers.h not found or too old."
55#endif // !QT_MOC_HAS_STRINGDATA
56} // unnamed namespace
57
58Q_CONSTINIT static const uint qt_meta_data_CLASSVideoZoomScopeWidgetENDCLASS[] = {
59
60 // content:
61 12, // revision
62 0, // classname
63 0, 0, // classinfo
64 7, 14, // methods
65 0, 0, // properties
66 0, 0, // enums/sets
67 0, 0, // constructors
68 0, // flags
69 0, // signalCount
70
71 // slots: name, argc, parameters, tag, flags, initial metatype offsets
72 1, 0, 56, 2, 0x08, 1 /* Private */,
73 3, 1, 57, 2, 0x08, 2 /* Private */,
74 5, 1, 60, 2, 0x08, 4 /* Private */,
75 7, 1, 63, 2, 0x08, 6 /* Private */,
76 9, 1, 66, 2, 0x08, 8 /* Private */,
77 11, 1, 69, 2, 0x08, 10 /* Private */,
78
79 // methods: name, argc, parameters, tag, flags, initial metatype offsets
80 13, 0, 72, 2, 0x00, 12 /* Private */,
81
82 // slots: parameters
83 QMetaType::Void,
84 QMetaType::Void, QMetaType::Bool, 4,
85 QMetaType::Void, QMetaType::QRect, 6,
86 QMetaType::Void, QMetaType::QPoint, 8,
87 QMetaType::Void, QMetaType::QPoint, 10,
88 QMetaType::Void, QMetaType::Int, 12,
89
90 // methods: parameters
91 QMetaType::Void,
92
93 0 // eod
94};
95
96Q_CONSTINIT const QMetaObject VideoZoomScopeWidget::staticMetaObject = { {
97 QMetaObject::SuperData::link<ScopeWidget::staticMetaObject>(),
98 qt_meta_stringdata_CLASSVideoZoomScopeWidgetENDCLASS.offsetsAndSizes,
99 qt_meta_data_CLASSVideoZoomScopeWidgetENDCLASS,
100 qt_static_metacall,
101 nullptr,
102 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSVideoZoomScopeWidgetENDCLASS_t,
103 // Q_OBJECT / Q_GADGET
104 QtPrivate::TypeAndForceComplete<VideoZoomScopeWidget, std::true_type>,
105 // method 'onScreenSelectStarted'
106 QtPrivate::TypeAndForceComplete<void, std::false_type>,
107 // method 'onLockToggled'
108 QtPrivate::TypeAndForceComplete<void, std::false_type>,
109 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
110 // method 'onScreenRectSelected'
111 QtPrivate::TypeAndForceComplete<void, std::false_type>,
112 QtPrivate::TypeAndForceComplete<const QRect &, std::false_type>,
113 // method 'onScreenPointSelected'
114 QtPrivate::TypeAndForceComplete<void, std::false_type>,
115 QtPrivate::TypeAndForceComplete<const QPoint &, std::false_type>,
116 // method 'onPixelSelected'
117 QtPrivate::TypeAndForceComplete<void, std::false_type>,
118 QtPrivate::TypeAndForceComplete<const QPoint &, std::false_type>,
119 // method 'onZoomChanged'
120 QtPrivate::TypeAndForceComplete<void, std::false_type>,
121 QtPrivate::TypeAndForceComplete<int, std::false_type>,
122 // method 'updateLabels'
123 QtPrivate::TypeAndForceComplete<void, std::false_type>
124 >,
125 nullptr
126} };
127
128void VideoZoomScopeWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
129{
130 if (_c == QMetaObject::InvokeMetaMethod) {
131 auto *_t = static_cast<VideoZoomScopeWidget *>(_o);
132 (void)_t;
133 switch (_id) {
134 case 0: _t->onScreenSelectStarted(); break;
135 case 1: _t->onLockToggled((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
136 case 2: _t->onScreenRectSelected((*reinterpret_cast< std::add_pointer_t<QRect>>(_a[1]))); break;
137 case 3: _t->onScreenPointSelected((*reinterpret_cast< std::add_pointer_t<QPoint>>(_a[1]))); break;
138 case 4: _t->onPixelSelected((*reinterpret_cast< std::add_pointer_t<QPoint>>(_a[1]))); break;
139 case 5: _t->onZoomChanged((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
140 case 6: _t->updateLabels(); break;
141 default: ;
142 }
143 }
144}
145
146const QMetaObject *VideoZoomScopeWidget::metaObject() const
147{
148 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
149}
150
151void *VideoZoomScopeWidget::qt_metacast(const char *_clname)
152{
153 if (!_clname) return nullptr;
154 if (!strcmp(_clname, qt_meta_stringdata_CLASSVideoZoomScopeWidgetENDCLASS.stringdata0))
155 return static_cast<void*>(this);
156 return ScopeWidget::qt_metacast(_clname);
157}
158
159int VideoZoomScopeWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
160{
161 _id = ScopeWidget::qt_metacall(_c, _id, _a);
162 if (_id < 0)
163 return _id;
164 if (_c == QMetaObject::InvokeMetaMethod) {
165 if (_id < 7)
166 qt_static_metacall(this, _c, _id, _a);
167 _id -= 7;
168 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
169 if (_id < 7)
170 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
171 _id -= 7;
172 }
173 return _id;
174}
175QT_WARNING_POP