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