CuteLogger
Fast and simple logging solution for Qt based applications
moc_videozoomwidget.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'videozoomwidget.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.6.2)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include "../../../../src/widgets/scopes/videozoomwidget.h"
10#include <QtCore/qmetatype.h>
11
12#if __has_include(<QtCore/qtmochelpers.h>)
13#include <QtCore/qtmochelpers.h>
14#else
15QT_BEGIN_MOC_NAMESPACE
16#endif
17
18
19#include <memory>
20
21#if !defined(Q_MOC_OUTPUT_REVISION)
22#error "The header file 'videozoomwidget.h' doesn't include <QObject>."
23#elif Q_MOC_OUTPUT_REVISION != 68
24#error "This file was generated using the moc from 6.6.2. It"
25#error "cannot be used with the include files from this version of Qt."
26#error "(The moc has changed too much.)"
27#endif
28
29#ifndef Q_CONSTINIT
30#define Q_CONSTINIT
31#endif
32
33QT_WARNING_PUSH
34QT_WARNING_DISABLE_DEPRECATED
35QT_WARNING_DISABLE_GCC("-Wuseless-cast")
36namespace {
37
38#ifdef QT_MOC_HAS_STRINGDATA
39struct qt_meta_stringdata_CLASSVideoZoomWidgetENDCLASS_t {};
40constexpr auto qt_meta_stringdata_CLASSVideoZoomWidgetENDCLASS = QtMocHelpers::stringData(
41 "VideoZoomWidget",
42 "pixelSelected",
43 "",
44 "zoomChanged",
45 "zoom",
46 "lock",
47 "locked"
48);
49#else // !QT_MOC_HAS_STRING_DATA
50struct qt_meta_stringdata_CLASSVideoZoomWidgetENDCLASS_t {
51 uint offsetsAndSizes[14];
52 char stringdata0[16];
53 char stringdata1[14];
54 char stringdata2[1];
55 char stringdata3[12];
56 char stringdata4[5];
57 char stringdata5[5];
58 char stringdata6[7];
59};
60#define QT_MOC_LITERAL(ofs, len) \
61 uint(sizeof(qt_meta_stringdata_CLASSVideoZoomWidgetENDCLASS_t::offsetsAndSizes) + ofs), len
62Q_CONSTINIT static const qt_meta_stringdata_CLASSVideoZoomWidgetENDCLASS_t qt_meta_stringdata_CLASSVideoZoomWidgetENDCLASS = {
63 {
64 QT_MOC_LITERAL(0, 15), // "VideoZoomWidget"
65 QT_MOC_LITERAL(16, 13), // "pixelSelected"
66 QT_MOC_LITERAL(30, 0), // ""
67 QT_MOC_LITERAL(31, 11), // "zoomChanged"
68 QT_MOC_LITERAL(43, 4), // "zoom"
69 QT_MOC_LITERAL(48, 4), // "lock"
70 QT_MOC_LITERAL(53, 6) // "locked"
71 },
72 "VideoZoomWidget",
73 "pixelSelected",
74 "",
75 "zoomChanged",
76 "zoom",
77 "lock",
78 "locked"
79};
80#undef QT_MOC_LITERAL
81#endif // !QT_MOC_HAS_STRING_DATA
82} // unnamed namespace
83
84Q_CONSTINIT static const uint qt_meta_data_CLASSVideoZoomWidgetENDCLASS[] = {
85
86 // content:
87 12, // revision
88 0, // classname
89 0, 0, // classinfo
90 3, 14, // methods
91 0, 0, // properties
92 0, 0, // enums/sets
93 0, 0, // constructors
94 0, // flags
95 2, // signalCount
96
97 // signals: name, argc, parameters, tag, flags, initial metatype offsets
98 1, 1, 32, 2, 0x06, 1 /* Public */,
99 3, 1, 35, 2, 0x06, 3 /* Public */,
100
101 // slots: name, argc, parameters, tag, flags, initial metatype offsets
102 5, 1, 38, 2, 0x0a, 5 /* Public */,
103
104 // signals: parameters
105 QMetaType::Void, QMetaType::QPoint, 2,
106 QMetaType::Void, QMetaType::Int, 4,
107
108 // slots: parameters
109 QMetaType::Void, QMetaType::Bool, 6,
110
111 0 // eod
112};
113
114Q_CONSTINIT const QMetaObject VideoZoomWidget::staticMetaObject = { {
115 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
116 qt_meta_stringdata_CLASSVideoZoomWidgetENDCLASS.offsetsAndSizes,
117 qt_meta_data_CLASSVideoZoomWidgetENDCLASS,
118 qt_static_metacall,
119 nullptr,
120 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSVideoZoomWidgetENDCLASS_t,
121 // Q_OBJECT / Q_GADGET
122 QtPrivate::TypeAndForceComplete<VideoZoomWidget, std::true_type>,
123 // method 'pixelSelected'
124 QtPrivate::TypeAndForceComplete<void, std::false_type>,
125 QtPrivate::TypeAndForceComplete<const QPoint &, std::false_type>,
126 // method 'zoomChanged'
127 QtPrivate::TypeAndForceComplete<void, std::false_type>,
128 QtPrivate::TypeAndForceComplete<int, std::false_type>,
129 // method 'lock'
130 QtPrivate::TypeAndForceComplete<void, std::false_type>,
131 QtPrivate::TypeAndForceComplete<bool, std::false_type>
132 >,
133 nullptr
134} };
135
136void VideoZoomWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
137{
138 if (_c == QMetaObject::InvokeMetaMethod) {
139 auto *_t = static_cast<VideoZoomWidget *>(_o);
140 (void)_t;
141 switch (_id) {
142 case 0: _t->pixelSelected((*reinterpret_cast< std::add_pointer_t<QPoint>>(_a[1]))); break;
143 case 1: _t->zoomChanged((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
144 case 2: _t->lock((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
145 default: ;
146 }
147 } else if (_c == QMetaObject::IndexOfMethod) {
148 int *result = reinterpret_cast<int *>(_a[0]);
149 {
150 using _t = void (VideoZoomWidget::*)(const QPoint & );
151 if (_t _q_method = &VideoZoomWidget::pixelSelected; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
152 *result = 0;
153 return;
154 }
155 }
156 {
157 using _t = void (VideoZoomWidget::*)(int );
158 if (_t _q_method = &VideoZoomWidget::zoomChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
159 *result = 1;
160 return;
161 }
162 }
163 }
164}
165
166const QMetaObject *VideoZoomWidget::metaObject() const
167{
168 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
169}
170
171void *VideoZoomWidget::qt_metacast(const char *_clname)
172{
173 if (!_clname) return nullptr;
174 if (!strcmp(_clname, qt_meta_stringdata_CLASSVideoZoomWidgetENDCLASS.stringdata0))
175 return static_cast<void*>(this);
176 return QWidget::qt_metacast(_clname);
177}
178
179int VideoZoomWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
180{
181 _id = QWidget::qt_metacall(_c, _id, _a);
182 if (_id < 0)
183 return _id;
184 if (_c == QMetaObject::InvokeMetaMethod) {
185 if (_id < 3)
186 qt_static_metacall(this, _c, _id, _a);
187 _id -= 3;
188 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
189 if (_id < 3)
190 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
191 _id -= 3;
192 }
193 return _id;
194}
195
196// SIGNAL 0
197void VideoZoomWidget::pixelSelected(const QPoint & _t1)
198{
199 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
200 QMetaObject::activate(this, &staticMetaObject, 0, _a);
201}
202
203// SIGNAL 1
204void VideoZoomWidget::zoomChanged(int _t1)
205{
206 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
207 QMetaObject::activate(this, &staticMetaObject, 1, _a);
208}
209QT_WARNING_POP