9#include "../../../../src/qmltypes/fontdialog.h"
10#include <QtCore/qmetatype.h>
12#if __has_include(<QtCore/qtmochelpers.h>)
13#include <QtCore/qtmochelpers.h>
21#if !defined(Q_MOC_OUTPUT_REVISION)
22#error "The header file 'fontdialog.h' doesn't include <QObject>."
23#elif Q_MOC_OUTPUT_REVISION != 68
24#error "This file was generated using the moc from 6.6.2. It"
25#error "cannot be used with the include files from this version of Qt."
26#error "(The moc has changed too much.)"
34QT_WARNING_DISABLE_DEPRECATED
35QT_WARNING_DISABLE_GCC(
"-Wuseless-cast")
38#ifdef QT_MOC_HAS_STRINGDATA
39struct qt_meta_stringdata_CLASSFontDialogENDCLASS_t {};
40constexpr auto qt_meta_stringdata_CLASSFontDialogENDCLASS = QtMocHelpers::stringData(
45 "selectedFontChanged",
51struct qt_meta_stringdata_CLASSFontDialogENDCLASS_t {
52 uint offsetsAndSizes[16];
62#define QT_MOC_LITERAL(ofs, len) \
63 uint(sizeof(qt_meta_stringdata_CLASSFontDialogENDCLASS_t::offsetsAndSizes) + ofs), len
64Q_CONSTINIT
static const qt_meta_stringdata_CLASSFontDialogENDCLASS_t qt_meta_stringdata_CLASSFontDialogENDCLASS = {
66 QT_MOC_LITERAL(0, 10),
67 QT_MOC_LITERAL(11, 8),
68 QT_MOC_LITERAL(20, 0),
69 QT_MOC_LITERAL(21, 8),
70 QT_MOC_LITERAL(30, 19),
71 QT_MOC_LITERAL(50, 4),
72 QT_MOC_LITERAL(55, 4),
73 QT_MOC_LITERAL(60, 12)
79 "selectedFontChanged",
88Q_CONSTINIT
static const uint qt_meta_data_CLASSFontDialogENDCLASS[] = {
102 1, 0, 38, 2, 0x06, 2 ,
103 3, 0, 39, 2, 0x06, 3 ,
104 4, 1, 40, 2, 0x06, 4 ,
107 6, 0, 43, 2, 0x02, 6 ,
112 QMetaType::Void, QMetaType::QFont, 5,
118 7, QMetaType::QFont, 0x00015103, uint(2), 0,
123Q_CONSTINIT
const QMetaObject FontDialog::staticMetaObject = { {
124 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
125 qt_meta_stringdata_CLASSFontDialogENDCLASS.offsetsAndSizes,
126 qt_meta_data_CLASSFontDialogENDCLASS,
129 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSFontDialogENDCLASS_t,
131 QtPrivate::TypeAndForceComplete<QFont, std::true_type>,
133 QtPrivate::TypeAndForceComplete<FontDialog, std::true_type>,
135 QtPrivate::TypeAndForceComplete<void, std::false_type>,
137 QtPrivate::TypeAndForceComplete<void, std::false_type>,
139 QtPrivate::TypeAndForceComplete<void, std::false_type>,
140 QtPrivate::TypeAndForceComplete<const QFont &, std::false_type>,
142 QtPrivate::TypeAndForceComplete<void, std::false_type>
147void FontDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
149 if (_c == QMetaObject::InvokeMetaMethod) {
150 auto *_t =
static_cast<FontDialog *
>(_o);
153 case 0: _t->accepted();
break;
154 case 1: _t->rejected();
break;
155 case 2: _t->selectedFontChanged((*
reinterpret_cast< std::add_pointer_t<QFont>
>(_a[1])));
break;
156 case 3: _t->open();
break;
159 }
else if (_c == QMetaObject::IndexOfMethod) {
160 int *result =
reinterpret_cast<int *
>(_a[0]);
162 using _t = void (FontDialog::*)();
163 if (_t _q_method = &FontDialog::accepted; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
169 using _t = void (FontDialog::*)();
170 if (_t _q_method = &FontDialog::rejected; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
176 using _t = void (FontDialog::*)(const QFont & );
177 if (_t _q_method = &FontDialog::selectedFontChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
182 }
else if (_c == QMetaObject::ReadProperty) {
183 auto *_t =
static_cast<FontDialog *
>(_o);
187 case 0: *
reinterpret_cast< QFont*
>(_v) = _t->selectedFont();
break;
190 }
else if (_c == QMetaObject::WriteProperty) {
191 auto *_t =
static_cast<FontDialog *
>(_o);
195 case 0: _t->setSelectedFont(*
reinterpret_cast< QFont*
>(_v));
break;
198 }
else if (_c == QMetaObject::ResetProperty) {
199 }
else if (_c == QMetaObject::BindableProperty) {
203const QMetaObject *FontDialog::metaObject()
const
205 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
208void *FontDialog::qt_metacast(
const char *_clname)
210 if (!_clname)
return nullptr;
211 if (!strcmp(_clname, qt_meta_stringdata_CLASSFontDialogENDCLASS.stringdata0))
212 return static_cast<void*
>(
this);
213 return QObject::qt_metacast(_clname);
216int FontDialog::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
218 _id = QObject::qt_metacall(_c, _id, _a);
221 if (_c == QMetaObject::InvokeMetaMethod) {
223 qt_static_metacall(
this, _c, _id, _a);
225 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
227 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
229 }
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
230 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
231 || _c == QMetaObject::RegisterPropertyMetaType) {
232 qt_static_metacall(
this, _c, _id, _a);
239void FontDialog::accepted()
241 QMetaObject::activate(
this, &staticMetaObject, 0,
nullptr);
245void FontDialog::rejected()
247 QMetaObject::activate(
this, &staticMetaObject, 1,
nullptr);
251void FontDialog::selectedFontChanged(
const QFont & _t1)
253 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
254 QMetaObject::activate(
this, &staticMetaObject, 2, _a);