CuteLogger
Fast and simple logging solution for Qt based applications
moc_customprofiledialog.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'customprofiledialog.h'
3**
4** Created by: The Qt Meta Object Compiler version 69 (Qt 6.10.3)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include "../../../../src/dialogs/customprofiledialog.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 'customprofiledialog.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 69
21#error "This file was generated using the moc from 6.10.3. 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_ZN19CustomProfileDialogE_t {};
35} // unnamed namespace
36
37template <> constexpr inline auto CustomProfileDialog::qt_create_metaobjectdata<qt_meta_tag_ZN19CustomProfileDialogE_t>()
38{
39 namespace QMC = QtMocConstants;
40 QtMocHelpers::StringRefStorage qt_stringData {
41 "CustomProfileDialog",
42 "on_buttonBox_accepted",
43 "",
44 "on_widthSpinner_editingFinished",
45 "on_heightSpinner_editingFinished",
46 "on_fpsSpinner_editingFinished",
47 "on_fpsComboBox_textActivated",
48 "arg1",
49 "on_resolutionComboBox_textActivated",
50 "on_aspectRatioComboBox_textActivated",
51 "on_colorspaceCombo_currentIndexChanged",
52 "index"
53 };
54
55 QtMocHelpers::UintData qt_methods {
56 // Slot 'on_buttonBox_accepted'
57 QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPrivate, QMetaType::Void),
58 // Slot 'on_widthSpinner_editingFinished'
59 QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPrivate, QMetaType::Void),
60 // Slot 'on_heightSpinner_editingFinished'
61 QtMocHelpers::SlotData<void()>(4, 2, QMC::AccessPrivate, QMetaType::Void),
62 // Slot 'on_fpsSpinner_editingFinished'
63 QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPrivate, QMetaType::Void),
64 // Slot 'on_fpsComboBox_textActivated'
65 QtMocHelpers::SlotData<void(const QString &)>(6, 2, QMC::AccessPrivate, QMetaType::Void, {{
66 { QMetaType::QString, 7 },
67 }}),
68 // Slot 'on_resolutionComboBox_textActivated'
69 QtMocHelpers::SlotData<void(const QString &)>(8, 2, QMC::AccessPrivate, QMetaType::Void, {{
70 { QMetaType::QString, 7 },
71 }}),
72 // Slot 'on_aspectRatioComboBox_textActivated'
73 QtMocHelpers::SlotData<void(const QString &)>(9, 2, QMC::AccessPrivate, QMetaType::Void, {{
74 { QMetaType::QString, 7 },
75 }}),
76 // Slot 'on_colorspaceCombo_currentIndexChanged'
77 QtMocHelpers::SlotData<void(int)>(10, 2, QMC::AccessPrivate, QMetaType::Void, {{
78 { QMetaType::Int, 11 },
79 }}),
80 };
81 QtMocHelpers::UintData qt_properties {
82 };
83 QtMocHelpers::UintData qt_enums {
84 };
85 return QtMocHelpers::metaObjectData<CustomProfileDialog, qt_meta_tag_ZN19CustomProfileDialogE_t>(QMC::MetaObjectFlag{}, qt_stringData,
86 qt_methods, qt_properties, qt_enums);
87}
88Q_CONSTINIT const QMetaObject CustomProfileDialog::staticMetaObject = { {
89 QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
90 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19CustomProfileDialogE_t>.stringdata,
91 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19CustomProfileDialogE_t>.data,
92 qt_static_metacall,
93 nullptr,
94 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN19CustomProfileDialogE_t>.metaTypes,
95 nullptr
96} };
97
98void CustomProfileDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
99{
100 auto *_t = static_cast<CustomProfileDialog *>(_o);
101 if (_c == QMetaObject::InvokeMetaMethod) {
102 switch (_id) {
103 case 0: _t->on_buttonBox_accepted(); break;
104 case 1: _t->on_widthSpinner_editingFinished(); break;
105 case 2: _t->on_heightSpinner_editingFinished(); break;
106 case 3: _t->on_fpsSpinner_editingFinished(); break;
107 case 4: _t->on_fpsComboBox_textActivated((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
108 case 5: _t->on_resolutionComboBox_textActivated((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
109 case 6: _t->on_aspectRatioComboBox_textActivated((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
110 case 7: _t->on_colorspaceCombo_currentIndexChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
111 default: ;
112 }
113 }
114}
115
116const QMetaObject *CustomProfileDialog::metaObject() const
117{
118 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
119}
120
121void *CustomProfileDialog::qt_metacast(const char *_clname)
122{
123 if (!_clname) return nullptr;
124 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19CustomProfileDialogE_t>.strings))
125 return static_cast<void*>(this);
126 return QDialog::qt_metacast(_clname);
127}
128
129int CustomProfileDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
130{
131 _id = QDialog::qt_metacall(_c, _id, _a);
132 if (_id < 0)
133 return _id;
134 if (_c == QMetaObject::InvokeMetaMethod) {
135 if (_id < 8)
136 qt_static_metacall(this, _c, _id, _a);
137 _id -= 8;
138 }
139 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
140 if (_id < 8)
141 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
142 _id -= 8;
143 }
144 return _id;
145}
146QT_WARNING_POP