9#include "../../../../src/qmltypes/fontdialog.h"
10#include <QtCore/qmetatype.h>
12#include <QtCore/qtmochelpers.h>
17#include <QtCore/qxptype_traits.h>
18#if !defined(Q_MOC_OUTPUT_REVISION)
19#error "The header file 'fontdialog.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 69
21#error "This file was generated using the moc from 6.11.0. It"
22#error "cannot be used with the include files from this version of Qt."
23#error "(The moc has changed too much.)"
31QT_WARNING_DISABLE_DEPRECATED
32QT_WARNING_DISABLE_GCC(
"-Wuseless-cast")
34struct qt_meta_tag_ZN10FontDialogE_t {};
37template <>
constexpr inline auto FontDialog::qt_create_metaobjectdata<qt_meta_tag_ZN10FontDialogE_t>()
39 namespace QMC = QtMocConstants;
40 QtMocHelpers::StringRefStorage qt_stringData {
45 "selectedFontChanged",
52 QtMocHelpers::UintData qt_methods {
54 QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
56 QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
58 QtMocHelpers::SignalData<void(const QFont &)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
59 { 0x80000000 | 5, 6 },
62 QtMocHelpers::MethodData<
void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
64 QtMocHelpers::UintData qt_properties {
66 QtMocHelpers::PropertyData<QFont>(8, 0x80000000 | 5, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 2),
68 QtMocHelpers::UintData qt_enums {
70 return QtMocHelpers::metaObjectData<FontDialog, qt_meta_tag_ZN10FontDialogE_t>(QMC::MetaObjectFlag{}, qt_stringData,
71 qt_methods, qt_properties, qt_enums);
73Q_CONSTINIT
const QMetaObject FontDialog::staticMetaObject = { {
74 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
75 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10FontDialogE_t>.stringdata,
76 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10FontDialogE_t>.data,
79 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10FontDialogE_t>.metaTypes,
83void FontDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
85 auto *_t =
static_cast<FontDialog *
>(_o);
86 if (_c == QMetaObject::InvokeMetaMethod) {
88 case 0: _t->accepted();
break;
89 case 1: _t->rejected();
break;
90 case 2: _t->selectedFontChanged((*
reinterpret_cast<std::add_pointer_t<QFont>
>(_a[1])));
break;
91 case 3: _t->open();
break;
95 if (_c == QMetaObject::IndexOfMethod) {
96 if (QtMocHelpers::indexOfMethod<
void (FontDialog::*)()>(_a, &FontDialog::accepted, 0))
98 if (QtMocHelpers::indexOfMethod<
void (FontDialog::*)()>(_a, &FontDialog::rejected, 1))
100 if (QtMocHelpers::indexOfMethod<
void (FontDialog::*)(
const QFont & )>(_a, &FontDialog::selectedFontChanged, 2))
103 if (_c == QMetaObject::ReadProperty) {
106 case 0: *
reinterpret_cast<QFont*
>(_v) = _t->selectedFont();
break;
110 if (_c == QMetaObject::WriteProperty) {
113 case 0: _t->setSelectedFont(*
reinterpret_cast<QFont*
>(_v));
break;
119const QMetaObject *FontDialog::metaObject()
const
121 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
124void *FontDialog::qt_metacast(
const char *_clname)
126 if (!_clname)
return nullptr;
127 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10FontDialogE_t>.strings))
128 return static_cast<void*
>(
this);
129 return QObject::qt_metacast(_clname);
132int FontDialog::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
134 _id = QObject::qt_metacall(_c, _id, _a);
137 if (_c == QMetaObject::InvokeMetaMethod) {
139 qt_static_metacall(
this, _c, _id, _a);
142 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
144 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
147 if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
148 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
149 || _c == QMetaObject::RegisterPropertyMetaType) {
150 qt_static_metacall(
this, _c, _id, _a);
157void FontDialog::accepted()
159 QMetaObject::activate(
this, &staticMetaObject, 0,
nullptr);
163void FontDialog::rejected()
165 QMetaObject::activate(
this, &staticMetaObject, 1,
nullptr);
169void FontDialog::selectedFontChanged(
const QFont & _t1)
171 QMetaObject::activate<void>(
this, &staticMetaObject, 2,
nullptr, _t1);