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.9.1. 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",
51 QtMocHelpers::UintData qt_methods {
53 QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
55 QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
57 QtMocHelpers::SignalData<void(const QFont &)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
58 { QMetaType::QFont, 5 },
61 QtMocHelpers::MethodData<
void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
63 QtMocHelpers::UintData qt_properties {
65 QtMocHelpers::PropertyData<QFont>(7, QMetaType::QFont, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 2),
67 QtMocHelpers::UintData qt_enums {
69 return QtMocHelpers::metaObjectData<FontDialog, qt_meta_tag_ZN10FontDialogE_t>(QMC::MetaObjectFlag{}, qt_stringData,
70 qt_methods, qt_properties, qt_enums);
72Q_CONSTINIT
const QMetaObject FontDialog::staticMetaObject = { {
73 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
74 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10FontDialogE_t>.stringdata,
75 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10FontDialogE_t>.data,
78 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10FontDialogE_t>.metaTypes,
82void FontDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
84 auto *_t =
static_cast<FontDialog *
>(_o);
85 if (_c == QMetaObject::InvokeMetaMethod) {
87 case 0: _t->accepted();
break;
88 case 1: _t->rejected();
break;
89 case 2: _t->selectedFontChanged((*
reinterpret_cast< std::add_pointer_t<QFont>
>(_a[1])));
break;
90 case 3: _t->open();
break;
94 if (_c == QMetaObject::IndexOfMethod) {
95 if (QtMocHelpers::indexOfMethod<
void (FontDialog::*)()>(_a, &FontDialog::accepted, 0))
97 if (QtMocHelpers::indexOfMethod<
void (FontDialog::*)()>(_a, &FontDialog::rejected, 1))
99 if (QtMocHelpers::indexOfMethod<
void (FontDialog::*)(
const QFont & )>(_a, &FontDialog::selectedFontChanged, 2))
102 if (_c == QMetaObject::ReadProperty) {
105 case 0: *
reinterpret_cast<QFont*
>(_v) = _t->selectedFont();
break;
109 if (_c == QMetaObject::WriteProperty) {
112 case 0: _t->setSelectedFont(*
reinterpret_cast<QFont*
>(_v));
break;
118const QMetaObject *FontDialog::metaObject()
const
120 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
123void *FontDialog::qt_metacast(
const char *_clname)
125 if (!_clname)
return nullptr;
126 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10FontDialogE_t>.strings))
127 return static_cast<void*
>(
this);
128 return QObject::qt_metacast(_clname);
131int FontDialog::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
133 _id = QObject::qt_metacall(_c, _id, _a);
136 if (_c == QMetaObject::InvokeMetaMethod) {
138 qt_static_metacall(
this, _c, _id, _a);
141 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
143 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
146 if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
147 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
148 || _c == QMetaObject::RegisterPropertyMetaType) {
149 qt_static_metacall(
this, _c, _id, _a);
156void FontDialog::accepted()
158 QMetaObject::activate(
this, &staticMetaObject, 0,
nullptr);
162void FontDialog::rejected()
164 QMetaObject::activate(
this, &staticMetaObject, 1,
nullptr);
168void FontDialog::selectedFontChanged(
const QFont & _t1)
170 QMetaObject::activate<void>(
this, &staticMetaObject, 2,
nullptr, _t1);