CuteLogger
Fast and simple logging solution for Qt based applications
moc_scopewidget.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'scopewidget.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/scopewidget.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 'scopewidget.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_ZN11ScopeWidgetE_t {};
35} // unnamed namespace
36
37
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN11ScopeWidgetE = QtMocHelpers::stringData(
40 "ScopeWidget",
41 "moved",
42 "",
43 "onNewFrame",
44 "SharedFrame",
45 "frame",
46 "onRefreshThreadComplete"
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_ZN11ScopeWidgetE[] = {
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 1, // signalCount
64
65 // signals: name, argc, parameters, tag, flags, initial metatype offsets
66 1, 0, 32, 2, 0x06, 1 /* Public */,
67
68 // slots: name, argc, parameters, tag, flags, initial metatype offsets
69 3, 1, 33, 2, 0x0a, 2 /* Public */,
70
71 // methods: name, argc, parameters, tag, flags, initial metatype offsets
72 6, 0, 36, 2, 0x00, 4 /* Private */,
73
74 // signals: parameters
75 QMetaType::Void,
76
77 // slots: parameters
78 QMetaType::Void, 0x80000000 | 4, 5,
79
80 // methods: parameters
81 QMetaType::Void,
82
83 0 // eod
84};
85
86Q_CONSTINIT const QMetaObject ScopeWidget::staticMetaObject = { {
87 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
88 qt_meta_stringdata_ZN11ScopeWidgetE.offsetsAndSizes,
89 qt_meta_data_ZN11ScopeWidgetE,
90 qt_static_metacall,
91 nullptr,
92 qt_incomplete_metaTypeArray<qt_meta_tag_ZN11ScopeWidgetE_t,
93 // Q_OBJECT / Q_GADGET
94 QtPrivate::TypeAndForceComplete<ScopeWidget, std::true_type>,
95 // method 'moved'
96 QtPrivate::TypeAndForceComplete<void, std::false_type>,
97 // method 'onNewFrame'
98 QtPrivate::TypeAndForceComplete<void, std::false_type>,
99 QtPrivate::TypeAndForceComplete<const SharedFrame &, std::false_type>,
100 // method 'onRefreshThreadComplete'
101 QtPrivate::TypeAndForceComplete<void, std::false_type>
102 >,
103 nullptr
104} };
105
106void ScopeWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
107{
108 auto *_t = static_cast<ScopeWidget *>(_o);
109 if (_c == QMetaObject::InvokeMetaMethod) {
110 switch (_id) {
111 case 0: _t->moved(); break;
112 case 1: _t->onNewFrame((*reinterpret_cast< std::add_pointer_t<SharedFrame>>(_a[1]))); break;
113 case 2: _t->onRefreshThreadComplete(); break;
114 default: ;
115 }
116 }
117 if (_c == QMetaObject::IndexOfMethod) {
118 int *result = reinterpret_cast<int *>(_a[0]);
119 {
120 using _q_method_type = void (ScopeWidget::*)();
121 if (_q_method_type _q_method = &ScopeWidget::moved; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
122 *result = 0;
123 return;
124 }
125 }
126 }
127}
128
129const QMetaObject *ScopeWidget::metaObject() const
130{
131 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
132}
133
134void *ScopeWidget::qt_metacast(const char *_clname)
135{
136 if (!_clname) return nullptr;
137 if (!strcmp(_clname, qt_meta_stringdata_ZN11ScopeWidgetE.stringdata0))
138 return static_cast<void*>(this);
139 return QWidget::qt_metacast(_clname);
140}
141
142int ScopeWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
143{
144 _id = QWidget::qt_metacall(_c, _id, _a);
145 if (_id < 0)
146 return _id;
147 if (_c == QMetaObject::InvokeMetaMethod) {
148 if (_id < 3)
149 qt_static_metacall(this, _c, _id, _a);
150 _id -= 3;
151 }
152 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
153 if (_id < 3)
154 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
155 _id -= 3;
156 }
157 return _id;
158}
159
160// SIGNAL 0
162{
163 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
164}
165QT_WARNING_POP
void moved()
Tells the widget it has been moved. Should be called by the application.
Definition moc_scopewidget.cpp:161
ScopeWidget(const QString &name)
Definition scopewidget.cpp:24