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 69 (Qt 6.10.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 != 69
21#error "This file was generated using the moc from 6.10.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
37template <> constexpr inline auto VideoZoomWidget::qt_create_metaobjectdata<qt_meta_tag_ZN15VideoZoomWidgetE_t>()
38{
39 namespace QMC = QtMocConstants;
40 QtMocHelpers::StringRefStorage qt_stringData {
41 "VideoZoomWidget",
42 "pixelSelected",
43 "",
44 "QPoint",
45 "zoomChanged",
46 "zoom",
47 "lock",
48 "locked"
49 };
50
51 QtMocHelpers::UintData qt_methods {
52 // Signal 'pixelSelected'
53 QtMocHelpers::SignalData<void(const QPoint &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
54 { 0x80000000 | 3, 2 },
55 }}),
56 // Signal 'zoomChanged'
57 QtMocHelpers::SignalData<void(int)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
58 { QMetaType::Int, 5 },
59 }}),
60 // Slot 'lock'
61 QtMocHelpers::SlotData<void(bool)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
62 { QMetaType::Bool, 7 },
63 }}),
64 };
65 QtMocHelpers::UintData qt_properties {
66 };
67 QtMocHelpers::UintData qt_enums {
68 };
69 return QtMocHelpers::metaObjectData<VideoZoomWidget, qt_meta_tag_ZN15VideoZoomWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
70 qt_methods, qt_properties, qt_enums);
71}
72Q_CONSTINIT const QMetaObject VideoZoomWidget::staticMetaObject = { {
73 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
74 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15VideoZoomWidgetE_t>.stringdata,
75 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15VideoZoomWidgetE_t>.data,
76 qt_static_metacall,
77 nullptr,
78 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15VideoZoomWidgetE_t>.metaTypes,
79 nullptr
80} };
81
82void VideoZoomWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
83{
84 auto *_t = static_cast<VideoZoomWidget *>(_o);
85 if (_c == QMetaObject::InvokeMetaMethod) {
86 switch (_id) {
87 case 0: _t->pixelSelected((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
88 case 1: _t->zoomChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
89 case 2: _t->lock((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
90 default: ;
91 }
92 }
93 if (_c == QMetaObject::IndexOfMethod) {
94 if (QtMocHelpers::indexOfMethod<void (VideoZoomWidget::*)(const QPoint & )>(_a, &VideoZoomWidget::pixelSelected, 0))
95 return;
96 if (QtMocHelpers::indexOfMethod<void (VideoZoomWidget::*)(int )>(_a, &VideoZoomWidget::zoomChanged, 1))
97 return;
98 }
99}
100
101const QMetaObject *VideoZoomWidget::metaObject() const
102{
103 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
104}
105
106void *VideoZoomWidget::qt_metacast(const char *_clname)
107{
108 if (!_clname) return nullptr;
109 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15VideoZoomWidgetE_t>.strings))
110 return static_cast<void*>(this);
111 return QWidget::qt_metacast(_clname);
112}
113
114int VideoZoomWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
115{
116 _id = QWidget::qt_metacall(_c, _id, _a);
117 if (_id < 0)
118 return _id;
119 if (_c == QMetaObject::InvokeMetaMethod) {
120 if (_id < 3)
121 qt_static_metacall(this, _c, _id, _a);
122 _id -= 3;
123 }
124 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
125 if (_id < 3)
126 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
127 _id -= 3;
128 }
129 return _id;
130}
131
132// SIGNAL 0
133void VideoZoomWidget::pixelSelected(const QPoint & _t1)
134{
135 QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
136}
137
138// SIGNAL 1
139void VideoZoomWidget::zoomChanged(int _t1)
140{
141 QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
142}
143QT_WARNING_POP