1/****************************************************************************
2** Meta object code from reading C++ file 'qinputdevicemanager_p.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/qinputdevicemanager_p.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qinputdevicemanager_p.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_QInputDeviceManager_t {
25 const uint offsetsAndSize[14];
26 char stringdata0[110];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QInputDeviceManager_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QInputDeviceManager_t qt_meta_stringdata_QInputDeviceManager = {
31 {
32QT_MOC_LITERAL(0, 19), // "QInputDeviceManager"
33QT_MOC_LITERAL(20, 17), // "deviceListChanged"
34QT_MOC_LITERAL(38, 0), // ""
35QT_MOC_LITERAL(39, 31), // "QInputDeviceManager::DeviceType"
36QT_MOC_LITERAL(71, 4), // "type"
37QT_MOC_LITERAL(76, 29), // "cursorPositionChangeRequested"
38QT_MOC_LITERAL(106, 3) // "pos"
39
40 },
41 "QInputDeviceManager\0deviceListChanged\0"
42 "\0QInputDeviceManager::DeviceType\0type\0"
43 "cursorPositionChangeRequested\0pos"
44};
45#undef QT_MOC_LITERAL
46
47static const uint qt_meta_data_QInputDeviceManager[] = {
48
49 // content:
50 9, // revision
51 0, // classname
52 0, 0, // classinfo
53 2, 14, // methods
54 0, 0, // properties
55 0, 0, // enums/sets
56 0, 0, // constructors
57 0, // flags
58 2, // signalCount
59
60 // signals: name, argc, parameters, tag, flags, initial metatype offsets
61 1, 1, 26, 2, 0x06, 0 /* Public */,
62 5, 1, 29, 2, 0x06, 2 /* Public */,
63
64 // signals: parameters
65 QMetaType::Void, 0x80000000 | 3, 4,
66 QMetaType::Void, QMetaType::QPoint, 6,
67
68 0 // eod
69};
70
71void QInputDeviceManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
72{
73 if (_c == QMetaObject::InvokeMetaMethod) {
74 Q_ASSERT(staticMetaObject.cast(_o));
75 auto *_t = static_cast<QInputDeviceManager *>(_o);
76 Q_UNUSED(_t)
77 switch (_id) {
78 case 0: _t->deviceListChanged((*reinterpret_cast< QInputDeviceManager::DeviceType(*)>(_a[1]))); break;
79 case 1: _t->cursorPositionChangeRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
80 default: ;
81 }
82 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
83 switch (_id) {
84 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
85 case 0:
86 switch (*reinterpret_cast<int*>(_a[1])) {
87 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
88 case 0:
89 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QInputDeviceManager::DeviceType >(); break;
90 }
91 break;
92 }
93 } else if (_c == QMetaObject::IndexOfMethod) {
94 int *result = reinterpret_cast<int *>(_a[0]);
95 {
96 using _t = void (QInputDeviceManager::*)(QInputDeviceManager::DeviceType );
97 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QInputDeviceManager::deviceListChanged)) {
98 *result = 0;
99 return;
100 }
101 }
102 {
103 using _t = void (QInputDeviceManager::*)(const QPoint & );
104 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QInputDeviceManager::cursorPositionChangeRequested)) {
105 *result = 1;
106 return;
107 }
108 }
109 }
110}
111
112const QMetaObject QInputDeviceManager::staticMetaObject = { {
113 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
114 qt_meta_stringdata_QInputDeviceManager.offsetsAndSize,
115 qt_meta_data_QInputDeviceManager,
116 qt_static_metacall,
117 nullptr,
118qt_incomplete_metaTypeArray<qt_meta_stringdata_QInputDeviceManager_t
119, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QInputDeviceManager::DeviceType, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QPoint &, std::false_type>
120
121
122
123>,
124 nullptr
125} };
126
127
128const QMetaObject *QInputDeviceManager::metaObject() const
129{
130 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
131}
132
133void *QInputDeviceManager::qt_metacast(const char *_clname)
134{
135 if (!_clname) return nullptr;
136 if (!strcmp(_clname, qt_meta_stringdata_QInputDeviceManager.stringdata0))
137 return static_cast<void*>(this);
138 return QObject::qt_metacast(_clname);
139}
140
141int QInputDeviceManager::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
142{
143 _id = QObject::qt_metacall(_c, _id, _a);
144 if (_id < 0)
145 return _id;
146 if (_c == QMetaObject::InvokeMetaMethod) {
147 if (_id < 2)
148 qt_static_metacall(this, _c, _id, _a);
149 _id -= 2;
150 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
151 if (_id < 2)
152 qt_static_metacall(this, _c, _id, _a);
153 _id -= 2;
154 }
155 return _id;
156}
157
158// SIGNAL 0
159void QInputDeviceManager::deviceListChanged(QInputDeviceManager::DeviceType _t1)
160{
161 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
162 QMetaObject::activate(this, &staticMetaObject, 0, _a);
163}
164
165// SIGNAL 1
166void QInputDeviceManager::cursorPositionChangeRequested(const QPoint & _t1)
167{
168 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
169 QMetaObject::activate(this, &staticMetaObject, 1, _a);
170}
171QT_WARNING_POP
172QT_END_MOC_NAMESPACE
173