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 68 (Qt 6.7.2)
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 != 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_CLASSCustomProfileDialogENDCLASS_t {};
37constexpr auto qt_meta_stringdata_CLASSCustomProfileDialogENDCLASS = QtMocHelpers::stringData(
38 "CustomProfileDialog",
39 "on_buttonBox_accepted",
40 "",
41 "on_widthSpinner_editingFinished",
42 "on_heightSpinner_editingFinished",
43 "on_fpsSpinner_editingFinished",
44 "on_fpsComboBox_textActivated",
45 "arg1",
46 "on_resolutionComboBox_textActivated",
47 "on_aspectRatioComboBox_textActivated"
48);
49#else // !QT_MOC_HAS_STRINGDATA
50#error "qtmochelpers.h not found or too old."
51#endif // !QT_MOC_HAS_STRINGDATA
52} // unnamed namespace
53
54Q_CONSTINIT static const uint qt_meta_data_CLASSCustomProfileDialogENDCLASS[] = {
55
56 // content:
57 12, // revision
58 0, // classname
59 0, 0, // classinfo
60 7, 14, // methods
61 0, 0, // properties
62 0, 0, // enums/sets
63 0, 0, // constructors
64 0, // flags
65 0, // signalCount
66
67 // slots: name, argc, parameters, tag, flags, initial metatype offsets
68 1, 0, 56, 2, 0x08, 1 /* Private */,
69 3, 0, 57, 2, 0x08, 2 /* Private */,
70 4, 0, 58, 2, 0x08, 3 /* Private */,
71 5, 0, 59, 2, 0x08, 4 /* Private */,
72 6, 1, 60, 2, 0x08, 5 /* Private */,
73 8, 1, 63, 2, 0x08, 7 /* Private */,
74 9, 1, 66, 2, 0x08, 9 /* Private */,
75
76 // slots: parameters
77 QMetaType::Void,
78 QMetaType::Void,
79 QMetaType::Void,
80 QMetaType::Void,
81 QMetaType::Void, QMetaType::QString, 7,
82 QMetaType::Void, QMetaType::QString, 7,
83 QMetaType::Void, QMetaType::QString, 7,
84
85 0 // eod
86};
87
88Q_CONSTINIT const QMetaObject CustomProfileDialog::staticMetaObject = { {
89 QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
90 qt_meta_stringdata_CLASSCustomProfileDialogENDCLASS.offsetsAndSizes,
91 qt_meta_data_CLASSCustomProfileDialogENDCLASS,
92 qt_static_metacall,
93 nullptr,
94 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSCustomProfileDialogENDCLASS_t,
95 // Q_OBJECT / Q_GADGET
96 QtPrivate::TypeAndForceComplete<CustomProfileDialog, std::true_type>,
97 // method 'on_buttonBox_accepted'
98 QtPrivate::TypeAndForceComplete<void, std::false_type>,
99 // method 'on_widthSpinner_editingFinished'
100 QtPrivate::TypeAndForceComplete<void, std::false_type>,
101 // method 'on_heightSpinner_editingFinished'
102 QtPrivate::TypeAndForceComplete<void, std::false_type>,
103 // method 'on_fpsSpinner_editingFinished'
104 QtPrivate::TypeAndForceComplete<void, std::false_type>,
105 // method 'on_fpsComboBox_textActivated'
106 QtPrivate::TypeAndForceComplete<void, std::false_type>,
107 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
108 // method 'on_resolutionComboBox_textActivated'
109 QtPrivate::TypeAndForceComplete<void, std::false_type>,
110 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
111 // method 'on_aspectRatioComboBox_textActivated'
112 QtPrivate::TypeAndForceComplete<void, std::false_type>,
113 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
114 >,
115 nullptr
116} };
117
118void CustomProfileDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
119{
120 if (_c == QMetaObject::InvokeMetaMethod) {
121 auto *_t = static_cast<CustomProfileDialog *>(_o);
122 (void)_t;
123 switch (_id) {
124 case 0: _t->on_buttonBox_accepted(); break;
125 case 1: _t->on_widthSpinner_editingFinished(); break;
126 case 2: _t->on_heightSpinner_editingFinished(); break;
127 case 3: _t->on_fpsSpinner_editingFinished(); break;
128 case 4: _t->on_fpsComboBox_textActivated((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
129 case 5: _t->on_resolutionComboBox_textActivated((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
130 case 6: _t->on_aspectRatioComboBox_textActivated((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
131 default: ;
132 }
133 }
134}
135
136const QMetaObject *CustomProfileDialog::metaObject() const
137{
138 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
139}
140
141void *CustomProfileDialog::qt_metacast(const char *_clname)
142{
143 if (!_clname) return nullptr;
144 if (!strcmp(_clname, qt_meta_stringdata_CLASSCustomProfileDialogENDCLASS.stringdata0))
145 return static_cast<void*>(this);
146 return QDialog::qt_metacast(_clname);
147}
148
149int CustomProfileDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
150{
151 _id = QDialog::qt_metacall(_c, _id, _a);
152 if (_id < 0)
153 return _id;
154 if (_c == QMetaObject::InvokeMetaMethod) {
155 if (_id < 7)
156 qt_static_metacall(this, _c, _id, _a);
157 _id -= 7;
158 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
159 if (_id < 7)
160 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
161 _id -= 7;
162 }
163 return _id;
164}
165QT_WARNING_POP