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.7.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.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_CLASSScopeWidgetENDCLASS_t {};
37constexpr auto qt_meta_stringdata_CLASSScopeWidgetENDCLASS = QtMocHelpers::stringData(
38 "ScopeWidget",
39 "moved",
40 "",
41 "onNewFrame",
42 "SharedFrame",
43 "frame",
44 "onRefreshThreadComplete"
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_CLASSScopeWidgetENDCLASS[] = {
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 1, // signalCount
63
64 // signals: name, argc, parameters, tag, flags, initial metatype offsets
65 1, 0, 32, 2, 0x06, 1 /* Public */,
66
67 // slots: name, argc, parameters, tag, flags, initial metatype offsets
68 3, 1, 33, 2, 0x0a, 2 /* Public */,
69
70 // methods: name, argc, parameters, tag, flags, initial metatype offsets
71 6, 0, 36, 2, 0x00, 4 /* Private */,
72
73 // signals: parameters
74 QMetaType::Void,
75
76 // slots: parameters
77 QMetaType::Void, 0x80000000 | 4, 5,
78
79 // methods: parameters
80 QMetaType::Void,
81
82 0 // eod
83};
84
85Q_CONSTINIT const QMetaObject ScopeWidget::staticMetaObject = { {
86 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
87 qt_meta_stringdata_CLASSScopeWidgetENDCLASS.offsetsAndSizes,
88 qt_meta_data_CLASSScopeWidgetENDCLASS,
89 qt_static_metacall,
90 nullptr,
91 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSScopeWidgetENDCLASS_t,
92 // Q_OBJECT / Q_GADGET
93 QtPrivate::TypeAndForceComplete<ScopeWidget, std::true_type>,
94 // method 'moved'
95 QtPrivate::TypeAndForceComplete<void, std::false_type>,
96 // method 'onNewFrame'
97 QtPrivate::TypeAndForceComplete<void, std::false_type>,
98 QtPrivate::TypeAndForceComplete<const SharedFrame &, std::false_type>,
99 // method 'onRefreshThreadComplete'
100 QtPrivate::TypeAndForceComplete<void, std::false_type>
101 >,
102 nullptr
103} };
104
105void ScopeWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
106{
107 if (_c == QMetaObject::InvokeMetaMethod) {
108 auto *_t = static_cast<ScopeWidget *>(_o);
109 (void)_t;
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 } else if (_c == QMetaObject::IndexOfMethod) {
117 int *result = reinterpret_cast<int *>(_a[0]);
118 {
119 using _t = void (ScopeWidget::*)();
120 if (_t _q_method = &ScopeWidget::moved; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
121 *result = 0;
122 return;
123 }
124 }
125 }
126}
127
128const QMetaObject *ScopeWidget::metaObject() const
129{
130 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
131}
132
133void *ScopeWidget::qt_metacast(const char *_clname)
134{
135 if (!_clname) return nullptr;
136 if (!strcmp(_clname, qt_meta_stringdata_CLASSScopeWidgetENDCLASS.stringdata0))
137 return static_cast<void*>(this);
138 return QWidget::qt_metacast(_clname);
139}
140
141int ScopeWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
142{
143 _id = QWidget::qt_metacall(_c, _id, _a);
144 if (_id < 0)
145 return _id;
146 if (_c == QMetaObject::InvokeMetaMethod) {
147 if (_id < 3)
148 qt_static_metacall(this, _c, _id, _a);
149 _id -= 3;
150 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
151 if (_id < 3)
152 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
153 _id -= 3;
154 }
155 return _id;
156}
157
158// SIGNAL 0
160{
161 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
162}
163QT_WARNING_POP
The ScopeWidget provides a common interface for all scopes in Shotcut.
Definition scopewidget.h:57
void moved()
Tells the widget it has been moved. Should be called by the application.
Definition moc_scopewidget.cpp:159