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.8.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.8.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 {
34struct qt_meta_tag_ZN20VideoZoomScopeWidgetE_t {};
35} // unnamed namespace
36
37
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN20VideoZoomScopeWidgetE = QtMocHelpers::stringData(
40 "VideoZoomScopeWidget",
41 "onScreenSelectStarted",
42 "",
43 "onLockToggled",
44 "enabled",
45 "onScreenRectSelected",
46 "rect",
47 "onScreenPointSelected",
48 "point",
49 "onPixelSelected",
50 "pixel",
51 "onZoomChanged",
52 "zoom",
53 "updateLabels"
54);
55#else // !QT_MOC_HAS_STRINGDATA
56#error "qtmochelpers.h not found or too old."
57#endif // !QT_MOC_HAS_STRINGDATA
58
59Q_CONSTINIT static const uint qt_meta_data_ZN20VideoZoomScopeWidgetE[] = {
60
61 // content:
62 12, // revision
63 0, // classname
64 0, 0, // classinfo
65 7, 14, // methods
66 0, 0, // properties
67 0, 0, // enums/sets
68 0, 0, // constructors
69 0, // flags
70 0, // signalCount
71
72 // slots: name, argc, parameters, tag, flags, initial metatype offsets
73 1, 0, 56, 2, 0x08, 1 /* Private */,
74 3, 1, 57, 2, 0x08, 2 /* Private */,
75 5, 1, 60, 2, 0x08, 4 /* Private */,
76 7, 1, 63, 2, 0x08, 6 /* Private */,
77 9, 1, 66, 2, 0x08, 8 /* Private */,
78 11, 1, 69, 2, 0x08, 10 /* Private */,
79
80 // methods: name, argc, parameters, tag, flags, initial metatype offsets
81 13, 0, 72, 2, 0x00, 12 /* Private */,
82
83 // slots: parameters
84 QMetaType::Void,
85 QMetaType::Void, QMetaType::Bool, 4,
86 QMetaType::Void, QMetaType::QRect, 6,
87 QMetaType::Void, QMetaType::QPoint, 8,
88 QMetaType::Void, QMetaType::QPoint, 10,
89 QMetaType::Void, QMetaType::Int, 12,
90
91 // methods: parameters
92 QMetaType::Void,
93
94 0 // eod
95};
96
97Q_CONSTINIT const QMetaObject VideoZoomScopeWidget::staticMetaObject = { {
98 QMetaObject::SuperData::link<ScopeWidget::staticMetaObject>(),
99 qt_meta_stringdata_ZN20VideoZoomScopeWidgetE.offsetsAndSizes,
100 qt_meta_data_ZN20VideoZoomScopeWidgetE,
101 qt_static_metacall,
102 nullptr,
103 qt_incomplete_metaTypeArray<qt_meta_tag_ZN20VideoZoomScopeWidgetE_t,
104 // Q_OBJECT / Q_GADGET
105 QtPrivate::TypeAndForceComplete<VideoZoomScopeWidget, std::true_type>,
106 // method 'onScreenSelectStarted'
107 QtPrivate::TypeAndForceComplete<void, std::false_type>,
108 // method 'onLockToggled'
109 QtPrivate::TypeAndForceComplete<void, std::false_type>,
110 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
111 // method 'onScreenRectSelected'
112 QtPrivate::TypeAndForceComplete<void, std::false_type>,
113 QtPrivate::TypeAndForceComplete<const QRect &, std::false_type>,
114 // method 'onScreenPointSelected'
115 QtPrivate::TypeAndForceComplete<void, std::false_type>,
116 QtPrivate::TypeAndForceComplete<const QPoint &, std::false_type>,
117 // method 'onPixelSelected'
118 QtPrivate::TypeAndForceComplete<void, std::false_type>,
119 QtPrivate::TypeAndForceComplete<const QPoint &, std::false_type>,
120 // method 'onZoomChanged'
121 QtPrivate::TypeAndForceComplete<void, std::false_type>,
122 QtPrivate::TypeAndForceComplete<int, std::false_type>,
123 // method 'updateLabels'
124 QtPrivate::TypeAndForceComplete<void, std::false_type>
125 >,
126 nullptr
127} };
128
129void VideoZoomScopeWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
130{
131 auto *_t = static_cast<VideoZoomScopeWidget *>(_o);
132 if (_c == QMetaObject::InvokeMetaMethod) {
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_ZN20VideoZoomScopeWidgetE.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 }
169 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
170 if (_id < 7)
171 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
172 _id -= 7;
173 }
174 return _id;
175}
176QT_WARNING_POP