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