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