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.9.0)
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.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_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 };
52
53 QtMocHelpers::UintData qt_methods {
54 // Slot 'on_buttonBox_accepted'
55 QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPrivate, QMetaType::Void),
56 // Slot 'on_widthSpinner_editingFinished'
57 QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPrivate, QMetaType::Void),
58 // Slot 'on_heightSpinner_editingFinished'
59 QtMocHelpers::SlotData<void()>(4, 2, QMC::AccessPrivate, QMetaType::Void),
60 // Slot 'on_fpsSpinner_editingFinished'
61 QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPrivate, QMetaType::Void),
62 // Slot 'on_fpsComboBox_textActivated'
63 QtMocHelpers::SlotData<void(const QString &)>(6, 2, QMC::AccessPrivate, QMetaType::Void, {{
64 { QMetaType::QString, 7 },
65 }}),
66 // Slot 'on_resolutionComboBox_textActivated'
67 QtMocHelpers::SlotData<void(const QString &)>(8, 2, QMC::AccessPrivate, QMetaType::Void, {{
68 { QMetaType::QString, 7 },
69 }}),
70 // Slot 'on_aspectRatioComboBox_textActivated'
71 QtMocHelpers::SlotData<void(const QString &)>(9, 2, QMC::AccessPrivate, QMetaType::Void, {{
72 { QMetaType::QString, 7 },
73 }}),
74 };
75 QtMocHelpers::UintData qt_properties {
76 };
77 QtMocHelpers::UintData qt_enums {
78 };
79 return QtMocHelpers::metaObjectData<CustomProfileDialog, qt_meta_tag_ZN19CustomProfileDialogE_t>(QMC::MetaObjectFlag{}, qt_stringData,
80 qt_methods, qt_properties, qt_enums);
81}
82Q_CONSTINIT const QMetaObject CustomProfileDialog::staticMetaObject = { {
83 QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
84 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19CustomProfileDialogE_t>.stringdata,
85 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19CustomProfileDialogE_t>.data,
86 qt_static_metacall,
87 nullptr,
88 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN19CustomProfileDialogE_t>.metaTypes,
89 nullptr
90} };
91
92void CustomProfileDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
93{
94 auto *_t = static_cast<CustomProfileDialog *>(_o);
95 if (_c == QMetaObject::InvokeMetaMethod) {
96 switch (_id) {
97 case 0: _t->on_buttonBox_accepted(); break;
98 case 1: _t->on_widthSpinner_editingFinished(); break;
99 case 2: _t->on_heightSpinner_editingFinished(); break;
100 case 3: _t->on_fpsSpinner_editingFinished(); break;
101 case 4: _t->on_fpsComboBox_textActivated((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
102 case 5: _t->on_resolutionComboBox_textActivated((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
103 case 6: _t->on_aspectRatioComboBox_textActivated((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
104 default: ;
105 }
106 }
107}
108
109const QMetaObject *CustomProfileDialog::metaObject() const
110{
111 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
112}
113
114void *CustomProfileDialog::qt_metacast(const char *_clname)
115{
116 if (!_clname) return nullptr;
117 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19CustomProfileDialogE_t>.strings))
118 return static_cast<void*>(this);
119 return QDialog::qt_metacast(_clname);
120}
121
122int CustomProfileDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
123{
124 _id = QDialog::qt_metacall(_c, _id, _a);
125 if (_id < 0)
126 return _id;
127 if (_c == QMetaObject::InvokeMetaMethod) {
128 if (_id < 7)
129 qt_static_metacall(this, _c, _id, _a);
130 _id -= 7;
131 }
132 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
133 if (_id < 7)
134 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
135 _id -= 7;
136 }
137 return _id;
138}
139QT_WARNING_POP