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