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