1/****************************************************************************
2** Meta object code from reading C++ file 'qfontdialog.cpp'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.0)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include <memory>
10#include <QtCore/qbytearray.h>
11#include <QtCore/qmetatype.h>
12#if !defined(Q_MOC_OUTPUT_REVISION)
13#error "The header file 'qfontdialog.cpp' doesn't include <QObject>."
14#elif Q_MOC_OUTPUT_REVISION != 68
15#error "This file was generated using the moc from 6.0.0. It"
16#error "cannot be used with the include files from this version of Qt."
17#error "(The moc has changed too much.)"
18#endif
19
20QT_BEGIN_MOC_NAMESPACE
21QT_WARNING_PUSH
22QT_WARNING_DISABLE_DEPRECATED
23struct qt_meta_stringdata_QFontListView_t {
24 const uint offsetsAndSize[6];
25 char stringdata0[27];
26};
27#define QT_MOC_LITERAL(ofs, len) \
28 uint(offsetof(qt_meta_stringdata_QFontListView_t, stringdata0) + ofs), len
29static const qt_meta_stringdata_QFontListView_t qt_meta_stringdata_QFontListView = {
30 {
31QT_MOC_LITERAL(0, 13), // "QFontListView"
32QT_MOC_LITERAL(14, 11), // "highlighted"
33QT_MOC_LITERAL(26, 0) // ""
34
35 },
36 "QFontListView\0highlighted\0"
37};
38#undef QT_MOC_LITERAL
39
40static const uint qt_meta_data_QFontListView[] = {
41
42 // content:
43 9, // revision
44 0, // classname
45 0, 0, // classinfo
46 1, 14, // methods
47 0, 0, // properties
48 0, 0, // enums/sets
49 0, 0, // constructors
50 0, // flags
51 1, // signalCount
52
53 // signals: name, argc, parameters, tag, flags, initial metatype offsets
54 1, 1, 20, 2, 0x06, 0 /* Public */,
55
56 // signals: parameters
57 QMetaType::Void, QMetaType::Int, 2,
58
59 0 // eod
60};
61
62void QFontListView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
63{
64 if (_c == QMetaObject::InvokeMetaMethod) {
65 Q_ASSERT(staticMetaObject.cast(_o));
66 auto *_t = static_cast<QFontListView *>(_o);
67 Q_UNUSED(_t)
68 switch (_id) {
69 case 0: _t->highlighted((*reinterpret_cast< int(*)>(_a[1]))); break;
70 default: ;
71 }
72 } else if (_c == QMetaObject::IndexOfMethod) {
73 int *result = reinterpret_cast<int *>(_a[0]);
74 {
75 using _t = void (QFontListView::*)(int );
76 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QFontListView::highlighted)) {
77 *result = 0;
78 return;
79 }
80 }
81 }
82}
83
84const QMetaObject QFontListView::staticMetaObject = { {
85 QMetaObject::SuperData::link<QListView::staticMetaObject>(),
86 qt_meta_stringdata_QFontListView.offsetsAndSize,
87 qt_meta_data_QFontListView,
88 qt_static_metacall,
89 nullptr,
90qt_incomplete_metaTypeArray<qt_meta_stringdata_QFontListView_t
91, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>
92
93
94
95>,
96 nullptr
97} };
98
99
100const QMetaObject *QFontListView::metaObject() const
101{
102 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
103}
104
105void *QFontListView::qt_metacast(const char *_clname)
106{
107 if (!_clname) return nullptr;
108 if (!strcmp(_clname, qt_meta_stringdata_QFontListView.stringdata0))
109 return static_cast<void*>(this);
110 return QListView::qt_metacast(_clname);
111}
112
113int QFontListView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
114{
115 _id = QListView::qt_metacall(_c, _id, _a);
116 if (_id < 0)
117 return _id;
118 if (_c == QMetaObject::InvokeMetaMethod) {
119 if (_id < 1)
120 qt_static_metacall(this, _c, _id, _a);
121 _id -= 1;
122 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
123 if (_id < 1)
124 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
125 _id -= 1;
126 }
127 return _id;
128}
129
130// SIGNAL 0
131void QFontListView::highlighted(int _t1)
132{
133 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
134 QMetaObject::activate(this, &staticMetaObject, 0, _a);
135}
136QT_WARNING_POP
137QT_END_MOC_NAMESPACE
138