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 != 68
21#error "This file was generated using the moc from 6.8.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 {};
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN10FontDialogE = QtMocHelpers::stringData(
44 "selectedFontChanged",
50#error "qtmochelpers.h not found or too old."
53Q_CONSTINIT
static const uint qt_meta_data_ZN10FontDialogE[] = {
67 1, 0, 38, 2, 0x06, 2 ,
68 3, 0, 39, 2, 0x06, 3 ,
69 4, 1, 40, 2, 0x06, 4 ,
72 6, 0, 43, 2, 0x02, 6 ,
77 QMetaType::Void, QMetaType::QFont, 5,
83 7, QMetaType::QFont, 0x00015103, uint(2), 0,
88Q_CONSTINIT
const QMetaObject FontDialog::staticMetaObject = { {
89 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
90 qt_meta_stringdata_ZN10FontDialogE.offsetsAndSizes,
91 qt_meta_data_ZN10FontDialogE,
94 qt_incomplete_metaTypeArray<qt_meta_tag_ZN10FontDialogE_t,
96 QtPrivate::TypeAndForceComplete<QFont, std::true_type>,
98 QtPrivate::TypeAndForceComplete<FontDialog, std::true_type>,
100 QtPrivate::TypeAndForceComplete<void, std::false_type>,
102 QtPrivate::TypeAndForceComplete<void, std::false_type>,
104 QtPrivate::TypeAndForceComplete<void, std::false_type>,
105 QtPrivate::TypeAndForceComplete<const QFont &, std::false_type>,
107 QtPrivate::TypeAndForceComplete<void, std::false_type>
112void FontDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
114 auto *_t =
static_cast<FontDialog *
>(_o);
115 if (_c == QMetaObject::InvokeMetaMethod) {
117 case 0: _t->accepted();
break;
118 case 1: _t->rejected();
break;
119 case 2: _t->selectedFontChanged((*
reinterpret_cast< std::add_pointer_t<QFont>
>(_a[1])));
break;
120 case 3: _t->open();
break;
124 if (_c == QMetaObject::IndexOfMethod) {
125 int *result =
reinterpret_cast<int *
>(_a[0]);
127 using _q_method_type = void (FontDialog::*)();
128 if (_q_method_type _q_method = &FontDialog::accepted; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
134 using _q_method_type = void (FontDialog::*)();
135 if (_q_method_type _q_method = &FontDialog::rejected; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
141 using _q_method_type = void (FontDialog::*)(const QFont & );
142 if (_q_method_type _q_method = &FontDialog::selectedFontChanged; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
148 if (_c == QMetaObject::ReadProperty) {
151 case 0: *
reinterpret_cast< QFont*
>(_v) = _t->selectedFont();
break;
155 if (_c == QMetaObject::WriteProperty) {
158 case 0: _t->setSelectedFont(*
reinterpret_cast< QFont*
>(_v));
break;
164const QMetaObject *FontDialog::metaObject()
const
166 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
169void *FontDialog::qt_metacast(
const char *_clname)
171 if (!_clname)
return nullptr;
172 if (!strcmp(_clname, qt_meta_stringdata_ZN10FontDialogE.stringdata0))
173 return static_cast<void*
>(
this);
174 return QObject::qt_metacast(_clname);
177int FontDialog::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
179 _id = QObject::qt_metacall(_c, _id, _a);
182 if (_c == QMetaObject::InvokeMetaMethod) {
184 qt_static_metacall(
this, _c, _id, _a);
187 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
189 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
192 if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
193 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
194 || _c == QMetaObject::RegisterPropertyMetaType) {
195 qt_static_metacall(
this, _c, _id, _a);
202void FontDialog::accepted()
204 QMetaObject::activate(
this, &staticMetaObject, 0,
nullptr);
208void FontDialog::rejected()
210 QMetaObject::activate(
this, &staticMetaObject, 1,
nullptr);
214void FontDialog::selectedFontChanged(
const QFont & _t1)
216 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
217 QMetaObject::activate(
this, &staticMetaObject, 2, _a);