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.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.)"
31QT_WARNING_DISABLE_DEPRECATED
32QT_WARNING_DISABLE_GCC(
"-Wuseless-cast")
35#ifdef QT_MOC_HAS_STRINGDATA
36struct qt_meta_stringdata_CLASSFontDialogENDCLASS_t {};
37constexpr auto qt_meta_stringdata_CLASSFontDialogENDCLASS = QtMocHelpers::stringData(
42 "selectedFontChanged",
48#error "qtmochelpers.h not found or too old."
52Q_CONSTINIT
static const uint qt_meta_data_CLASSFontDialogENDCLASS[] = {
66 1, 0, 38, 2, 0x06, 2 ,
67 3, 0, 39, 2, 0x06, 3 ,
68 4, 1, 40, 2, 0x06, 4 ,
71 6, 0, 43, 2, 0x02, 6 ,
76 QMetaType::Void, QMetaType::QFont, 5,
82 7, QMetaType::QFont, 0x00015103, uint(2), 0,
87Q_CONSTINIT
const QMetaObject FontDialog::staticMetaObject = { {
88 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
89 qt_meta_stringdata_CLASSFontDialogENDCLASS.offsetsAndSizes,
90 qt_meta_data_CLASSFontDialogENDCLASS,
93 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSFontDialogENDCLASS_t,
95 QtPrivate::TypeAndForceComplete<QFont, std::true_type>,
97 QtPrivate::TypeAndForceComplete<FontDialog, std::true_type>,
99 QtPrivate::TypeAndForceComplete<void, std::false_type>,
101 QtPrivate::TypeAndForceComplete<void, std::false_type>,
103 QtPrivate::TypeAndForceComplete<void, std::false_type>,
104 QtPrivate::TypeAndForceComplete<const QFont &, std::false_type>,
106 QtPrivate::TypeAndForceComplete<void, std::false_type>
111void FontDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
113 if (_c == QMetaObject::InvokeMetaMethod) {
114 auto *_t =
static_cast<FontDialog *
>(_o);
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;
123 }
else if (_c == QMetaObject::IndexOfMethod) {
124 int *result =
reinterpret_cast<int *
>(_a[0]);
126 using _t = void (FontDialog::*)();
127 if (_t _q_method = &FontDialog::accepted; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
133 using _t = void (FontDialog::*)();
134 if (_t _q_method = &FontDialog::rejected; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
140 using _t = void (FontDialog::*)(
const QFont & );
141 if (_t _q_method = &FontDialog::selectedFontChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
146 }
else if (_c == QMetaObject::ReadProperty) {
147 auto *_t =
static_cast<FontDialog *
>(_o);
151 case 0: *
reinterpret_cast< QFont*
>(_v) = _t->selectedFont();
break;
154 }
else if (_c == QMetaObject::WriteProperty) {
155 auto *_t =
static_cast<FontDialog *
>(_o);
159 case 0: _t->setSelectedFont(*
reinterpret_cast< QFont*
>(_v));
break;
162 }
else if (_c == QMetaObject::ResetProperty) {
163 }
else if (_c == QMetaObject::BindableProperty) {
167const QMetaObject *FontDialog::metaObject()
const
169 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
172void *FontDialog::qt_metacast(
const char *_clname)
174 if (!_clname)
return nullptr;
175 if (!strcmp(_clname, qt_meta_stringdata_CLASSFontDialogENDCLASS.stringdata0))
176 return static_cast<void*
>(
this);
177 return QObject::qt_metacast(_clname);
180int FontDialog::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
182 _id = QObject::qt_metacall(_c, _id, _a);
185 if (_c == QMetaObject::InvokeMetaMethod) {
187 qt_static_metacall(
this, _c, _id, _a);
189 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
191 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
193 }
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
194 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
195 || _c == QMetaObject::RegisterPropertyMetaType) {
196 qt_static_metacall(
this, _c, _id, _a);
203void FontDialog::accepted()
205 QMetaObject::activate(
this, &staticMetaObject, 0,
nullptr);
209void FontDialog::rejected()
211 QMetaObject::activate(
this, &staticMetaObject, 1,
nullptr);
215void FontDialog::selectedFontChanged(
const QFont & _t1)
217 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
218 QMetaObject::activate(
this, &staticMetaObject, 2, _a);