CuteLogger
Fast and simple logging solution for Qt based applications
moc_audiometerwidget.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'audiometerwidget.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/audiometerwidget.h"
10#include <QtCore/qmetatype.h>
11#include <QtCore/QList>
12
13#include <QtCore/qtmochelpers.h>
14
15#include <memory>
16
17
18#include <QtCore/qxptype_traits.h>
19#if !defined(Q_MOC_OUTPUT_REVISION)
20#error "The header file 'audiometerwidget.h' doesn't include <QObject>."
21#elif Q_MOC_OUTPUT_REVISION != 68
22#error "This file was generated using the moc from 6.7.2. It"
23#error "cannot be used with the include files from this version of Qt."
24#error "(The moc has changed too much.)"
25#endif
26
27#ifndef Q_CONSTINIT
28#define Q_CONSTINIT
29#endif
30
31QT_WARNING_PUSH
32QT_WARNING_DISABLE_DEPRECATED
33QT_WARNING_DISABLE_GCC("-Wuseless-cast")
34namespace {
35
36#ifdef QT_MOC_HAS_STRINGDATA
37struct qt_meta_stringdata_CLASSAudioMeterWidgetENDCLASS_t {};
38constexpr auto qt_meta_stringdata_CLASSAudioMeterWidgetENDCLASS = QtMocHelpers::stringData(
39 "AudioMeterWidget",
40 "showAudio",
41 "",
42 "QList<double>",
43 "dbLevels"
44);
45#else // !QT_MOC_HAS_STRINGDATA
46#error "qtmochelpers.h not found or too old."
47#endif // !QT_MOC_HAS_STRINGDATA
48} // unnamed namespace
49
50Q_CONSTINIT static const uint qt_meta_data_CLASSAudioMeterWidgetENDCLASS[] = {
51
52 // content:
53 12, // revision
54 0, // classname
55 0, 0, // classinfo
56 1, 14, // methods
57 0, 0, // properties
58 0, 0, // enums/sets
59 0, 0, // constructors
60 0, // flags
61 0, // signalCount
62
63 // slots: name, argc, parameters, tag, flags, initial metatype offsets
64 1, 1, 20, 2, 0x0a, 1 /* Public */,
65
66 // slots: parameters
67 QMetaType::Void, 0x80000000 | 3, 4,
68
69 0 // eod
70};
71
72Q_CONSTINIT const QMetaObject AudioMeterWidget::staticMetaObject = { {
73 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
74 qt_meta_stringdata_CLASSAudioMeterWidgetENDCLASS.offsetsAndSizes,
75 qt_meta_data_CLASSAudioMeterWidgetENDCLASS,
76 qt_static_metacall,
77 nullptr,
78 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSAudioMeterWidgetENDCLASS_t,
79 // Q_OBJECT / Q_GADGET
80 QtPrivate::TypeAndForceComplete<AudioMeterWidget, std::true_type>,
81 // method 'showAudio'
82 QtPrivate::TypeAndForceComplete<void, std::false_type>,
83 QtPrivate::TypeAndForceComplete<const QVector<double> &, std::false_type>
84 >,
85 nullptr
86} };
87
88void AudioMeterWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
89{
90 if (_c == QMetaObject::InvokeMetaMethod) {
91 auto *_t = static_cast<AudioMeterWidget *>(_o);
92 (void)_t;
93 switch (_id) {
94 case 0: _t->showAudio((*reinterpret_cast< std::add_pointer_t<QList<double>>>(_a[1]))); break;
95 default: ;
96 }
97 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
98 switch (_id) {
99 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
100 case 0:
101 switch (*reinterpret_cast<int*>(_a[1])) {
102 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
103 case 0:
104 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<double> >(); break;
105 }
106 break;
107 }
108 }
109}
110
111const QMetaObject *AudioMeterWidget::metaObject() const
112{
113 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
114}
115
116void *AudioMeterWidget::qt_metacast(const char *_clname)
117{
118 if (!_clname) return nullptr;
119 if (!strcmp(_clname, qt_meta_stringdata_CLASSAudioMeterWidgetENDCLASS.stringdata0))
120 return static_cast<void*>(this);
121 return QWidget::qt_metacast(_clname);
122}
123
124int AudioMeterWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
125{
126 _id = QWidget::qt_metacall(_c, _id, _a);
127 if (_id < 0)
128 return _id;
129 if (_c == QMetaObject::InvokeMetaMethod) {
130 if (_id < 1)
131 qt_static_metacall(this, _c, _id, _a);
132 _id -= 1;
133 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
134 if (_id < 1)
135 qt_static_metacall(this, _c, _id, _a);
136 _id -= 1;
137 }
138 return _id;
139}
140QT_WARNING_POP