1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qinputmethod.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/qinputmethod.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'qinputmethod.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 | |
21 | QT_BEGIN_MOC_NAMESPACE |
22 | QT_WARNING_PUSH |
23 | QT_WARNING_DISABLE_DEPRECATED |
24 | struct qt_meta_stringdata_QInputMethod_t { |
25 | const uint offsetsAndSize[66]; |
26 | char stringdata0[445]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_QInputMethod_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_QInputMethod_t qt_meta_stringdata_QInputMethod = { |
31 | { |
32 | QT_MOC_LITERAL(0, 12), // "QInputMethod" |
33 | QT_MOC_LITERAL(13, 22), // "cursorRectangleChanged" |
34 | QT_MOC_LITERAL(36, 0), // "" |
35 | QT_MOC_LITERAL(37, 22), // "anchorRectangleChanged" |
36 | QT_MOC_LITERAL(60, 24), // "keyboardRectangleChanged" |
37 | QT_MOC_LITERAL(85, 29), // "inputItemClipRectangleChanged" |
38 | QT_MOC_LITERAL(115, 14), // "visibleChanged" |
39 | QT_MOC_LITERAL(130, 16), // "animatingChanged" |
40 | QT_MOC_LITERAL(147, 13), // "localeChanged" |
41 | QT_MOC_LITERAL(161, 21), // "inputDirectionChanged" |
42 | QT_MOC_LITERAL(183, 19), // "Qt::LayoutDirection" |
43 | QT_MOC_LITERAL(203, 12), // "newDirection" |
44 | QT_MOC_LITERAL(216, 4), // "show" |
45 | QT_MOC_LITERAL(221, 4), // "hide" |
46 | QT_MOC_LITERAL(226, 6), // "update" |
47 | QT_MOC_LITERAL(233, 22), // "Qt::InputMethodQueries" |
48 | QT_MOC_LITERAL(256, 7), // "queries" |
49 | QT_MOC_LITERAL(264, 5), // "reset" |
50 | QT_MOC_LITERAL(270, 6), // "commit" |
51 | QT_MOC_LITERAL(277, 12), // "invokeAction" |
52 | QT_MOC_LITERAL(290, 6), // "Action" |
53 | QT_MOC_LITERAL(297, 1), // "a" |
54 | QT_MOC_LITERAL(299, 14), // "cursorPosition" |
55 | QT_MOC_LITERAL(314, 15), // "cursorRectangle" |
56 | QT_MOC_LITERAL(330, 15), // "anchorRectangle" |
57 | QT_MOC_LITERAL(346, 17), // "keyboardRectangle" |
58 | QT_MOC_LITERAL(364, 22), // "inputItemClipRectangle" |
59 | QT_MOC_LITERAL(387, 7), // "visible" |
60 | QT_MOC_LITERAL(395, 9), // "animating" |
61 | QT_MOC_LITERAL(405, 6), // "locale" |
62 | QT_MOC_LITERAL(412, 14), // "inputDirection" |
63 | QT_MOC_LITERAL(427, 5), // "Click" |
64 | QT_MOC_LITERAL(433, 11) // "ContextMenu" |
65 | |
66 | }, |
67 | "QInputMethod\0cursorRectangleChanged\0" |
68 | "\0anchorRectangleChanged\0" |
69 | "keyboardRectangleChanged\0" |
70 | "inputItemClipRectangleChanged\0" |
71 | "visibleChanged\0animatingChanged\0" |
72 | "localeChanged\0inputDirectionChanged\0" |
73 | "Qt::LayoutDirection\0newDirection\0show\0" |
74 | "hide\0update\0Qt::InputMethodQueries\0" |
75 | "queries\0reset\0commit\0invokeAction\0" |
76 | "Action\0a\0cursorPosition\0cursorRectangle\0" |
77 | "anchorRectangle\0keyboardRectangle\0" |
78 | "inputItemClipRectangle\0visible\0animating\0" |
79 | "locale\0inputDirection\0Click\0ContextMenu" |
80 | }; |
81 | #undef QT_MOC_LITERAL |
82 | |
83 | static const uint qt_meta_data_QInputMethod[] = { |
84 | |
85 | // content: |
86 | 9, // revision |
87 | 0, // classname |
88 | 0, 0, // classinfo |
89 | 14, 14, // methods |
90 | 8, 120, // properties |
91 | 1, 160, // enums/sets |
92 | 0, 0, // constructors |
93 | 0, // flags |
94 | 8, // signalCount |
95 | |
96 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
97 | 1, 0, 98, 2, 0x06, 8 /* Public */, |
98 | 3, 0, 99, 2, 0x06, 9 /* Public */, |
99 | 4, 0, 100, 2, 0x06, 10 /* Public */, |
100 | 5, 0, 101, 2, 0x06, 11 /* Public */, |
101 | 6, 0, 102, 2, 0x06, 12 /* Public */, |
102 | 7, 0, 103, 2, 0x06, 13 /* Public */, |
103 | 8, 0, 104, 2, 0x06, 14 /* Public */, |
104 | 9, 1, 105, 2, 0x06, 15 /* Public */, |
105 | |
106 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
107 | 12, 0, 108, 2, 0x0a, 17 /* Public */, |
108 | 13, 0, 109, 2, 0x0a, 18 /* Public */, |
109 | 14, 1, 110, 2, 0x0a, 19 /* Public */, |
110 | 17, 0, 113, 2, 0x0a, 21 /* Public */, |
111 | 18, 0, 114, 2, 0x0a, 22 /* Public */, |
112 | 19, 2, 115, 2, 0x0a, 23 /* Public */, |
113 | |
114 | // signals: parameters |
115 | QMetaType::Void, |
116 | QMetaType::Void, |
117 | QMetaType::Void, |
118 | QMetaType::Void, |
119 | QMetaType::Void, |
120 | QMetaType::Void, |
121 | QMetaType::Void, |
122 | QMetaType::Void, 0x80000000 | 10, 11, |
123 | |
124 | // slots: parameters |
125 | QMetaType::Void, |
126 | QMetaType::Void, |
127 | QMetaType::Void, 0x80000000 | 15, 16, |
128 | QMetaType::Void, |
129 | QMetaType::Void, |
130 | QMetaType::Void, 0x80000000 | 20, QMetaType::Int, 21, 22, |
131 | |
132 | // properties: name, type, flags |
133 | 23, QMetaType::QRectF, 0x00015001, uint(0), 0, |
134 | 24, QMetaType::QRectF, 0x00015001, uint(1), 0, |
135 | 25, QMetaType::QRectF, 0x00015001, uint(2), 0, |
136 | 26, QMetaType::QRectF, 0x00015001, uint(3), 0, |
137 | 27, QMetaType::Bool, 0x00015001, uint(4), 0, |
138 | 28, QMetaType::Bool, 0x00015001, uint(5), 0, |
139 | 29, QMetaType::QLocale, 0x00015001, uint(6), 0, |
140 | 30, 0x80000000 | 10, 0x00015009, uint(7), 0, |
141 | |
142 | // enums: name, alias, flags, count, data |
143 | 20, 20, 0x0, 2, 165, |
144 | |
145 | // enum data: key, value |
146 | 31, uint(QInputMethod::Click), |
147 | 32, uint(QInputMethod::ContextMenu), |
148 | |
149 | 0 // eod |
150 | }; |
151 | |
152 | void QInputMethod::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
153 | { |
154 | if (_c == QMetaObject::InvokeMetaMethod) { |
155 | Q_ASSERT(staticMetaObject.cast(_o)); |
156 | auto *_t = static_cast<QInputMethod *>(_o); |
157 | Q_UNUSED(_t) |
158 | switch (_id) { |
159 | case 0: _t->cursorRectangleChanged(); break; |
160 | case 1: _t->anchorRectangleChanged(); break; |
161 | case 2: _t->keyboardRectangleChanged(); break; |
162 | case 3: _t->inputItemClipRectangleChanged(); break; |
163 | case 4: _t->visibleChanged(); break; |
164 | case 5: _t->animatingChanged(); break; |
165 | case 6: _t->localeChanged(); break; |
166 | case 7: _t->inputDirectionChanged((*reinterpret_cast< Qt::LayoutDirection(*)>(_a[1]))); break; |
167 | case 8: _t->show(); break; |
168 | case 9: _t->hide(); break; |
169 | case 10: _t->update((*reinterpret_cast< Qt::InputMethodQueries(*)>(_a[1]))); break; |
170 | case 11: _t->reset(); break; |
171 | case 12: _t->commit(); break; |
172 | case 13: _t->invokeAction((*reinterpret_cast< Action(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; |
173 | default: ; |
174 | } |
175 | } else if (_c == QMetaObject::IndexOfMethod) { |
176 | int *result = reinterpret_cast<int *>(_a[0]); |
177 | { |
178 | using _t = void (QInputMethod::*)(); |
179 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QInputMethod::cursorRectangleChanged)) { |
180 | *result = 0; |
181 | return; |
182 | } |
183 | } |
184 | { |
185 | using _t = void (QInputMethod::*)(); |
186 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QInputMethod::anchorRectangleChanged)) { |
187 | *result = 1; |
188 | return; |
189 | } |
190 | } |
191 | { |
192 | using _t = void (QInputMethod::*)(); |
193 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QInputMethod::keyboardRectangleChanged)) { |
194 | *result = 2; |
195 | return; |
196 | } |
197 | } |
198 | { |
199 | using _t = void (QInputMethod::*)(); |
200 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QInputMethod::inputItemClipRectangleChanged)) { |
201 | *result = 3; |
202 | return; |
203 | } |
204 | } |
205 | { |
206 | using _t = void (QInputMethod::*)(); |
207 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QInputMethod::visibleChanged)) { |
208 | *result = 4; |
209 | return; |
210 | } |
211 | } |
212 | { |
213 | using _t = void (QInputMethod::*)(); |
214 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QInputMethod::animatingChanged)) { |
215 | *result = 5; |
216 | return; |
217 | } |
218 | } |
219 | { |
220 | using _t = void (QInputMethod::*)(); |
221 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QInputMethod::localeChanged)) { |
222 | *result = 6; |
223 | return; |
224 | } |
225 | } |
226 | { |
227 | using _t = void (QInputMethod::*)(Qt::LayoutDirection ); |
228 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QInputMethod::inputDirectionChanged)) { |
229 | *result = 7; |
230 | return; |
231 | } |
232 | } |
233 | } |
234 | #ifndef QT_NO_PROPERTIES |
235 | else if (_c == QMetaObject::ReadProperty) { |
236 | Q_ASSERT(staticMetaObject.cast(_o)); |
237 | auto *_t = static_cast<QInputMethod *>(_o); |
238 | Q_UNUSED(_t) |
239 | void *_v = _a[0]; |
240 | switch (_id) { |
241 | case 0: *reinterpret_cast< QRectF*>(_v) = _t->cursorRectangle(); break; |
242 | case 1: *reinterpret_cast< QRectF*>(_v) = _t->anchorRectangle(); break; |
243 | case 2: *reinterpret_cast< QRectF*>(_v) = _t->keyboardRectangle(); break; |
244 | case 3: *reinterpret_cast< QRectF*>(_v) = _t->inputItemClipRectangle(); break; |
245 | case 4: *reinterpret_cast< bool*>(_v) = _t->isVisible(); break; |
246 | case 5: *reinterpret_cast< bool*>(_v) = _t->isAnimating(); break; |
247 | case 6: *reinterpret_cast< QLocale*>(_v) = _t->locale(); break; |
248 | case 7: *reinterpret_cast< Qt::LayoutDirection*>(_v) = _t->inputDirection(); break; |
249 | default: break; |
250 | } |
251 | } else if (_c == QMetaObject::WriteProperty) { |
252 | } else if (_c == QMetaObject::ResetProperty) { |
253 | } else if (_c == QMetaObject::BindableProperty) { |
254 | } |
255 | #endif // QT_NO_PROPERTIES |
256 | } |
257 | |
258 | const QMetaObject QInputMethod::staticMetaObject = { { |
259 | QMetaObject::SuperData::link<QObject::staticMetaObject>(), |
260 | qt_meta_stringdata_QInputMethod.offsetsAndSize, |
261 | qt_meta_data_QInputMethod, |
262 | qt_static_metacall, |
263 | nullptr, |
264 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QInputMethod_t |
265 | , QtPrivate::TypeAndForceComplete<QRectF, std::true_type>, QtPrivate::TypeAndForceComplete<QRectF, std::true_type>, QtPrivate::TypeAndForceComplete<QRectF, std::true_type>, QtPrivate::TypeAndForceComplete<QRectF, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<QLocale, std::true_type>, QtPrivate::TypeAndForceComplete<Qt::LayoutDirection, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<Qt::LayoutDirection, std::false_type> |
266 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<Qt::InputMethodQueries, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<Action, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type> |
267 | |
268 | |
269 | >, |
270 | nullptr |
271 | } }; |
272 | |
273 | |
274 | const QMetaObject *QInputMethod::metaObject() const |
275 | { |
276 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
277 | } |
278 | |
279 | void *QInputMethod::qt_metacast(const char *_clname) |
280 | { |
281 | if (!_clname) return nullptr; |
282 | if (!strcmp(_clname, qt_meta_stringdata_QInputMethod.stringdata0)) |
283 | return static_cast<void*>(this); |
284 | return QObject::qt_metacast(_clname); |
285 | } |
286 | |
287 | int QInputMethod::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
288 | { |
289 | _id = QObject::qt_metacall(_c, _id, _a); |
290 | if (_id < 0) |
291 | return _id; |
292 | if (_c == QMetaObject::InvokeMetaMethod) { |
293 | if (_id < 14) |
294 | qt_static_metacall(this, _c, _id, _a); |
295 | _id -= 14; |
296 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
297 | if (_id < 14) |
298 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
299 | _id -= 14; |
300 | } |
301 | #ifndef QT_NO_PROPERTIES |
302 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty |
303 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty |
304 | || _c == QMetaObject::RegisterPropertyMetaType) { |
305 | qt_static_metacall(this, _c, _id, _a); |
306 | _id -= 8; |
307 | } |
308 | #endif // QT_NO_PROPERTIES |
309 | return _id; |
310 | } |
311 | |
312 | // SIGNAL 0 |
313 | void QInputMethod::cursorRectangleChanged() |
314 | { |
315 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); |
316 | } |
317 | |
318 | // SIGNAL 1 |
319 | void QInputMethod::anchorRectangleChanged() |
320 | { |
321 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); |
322 | } |
323 | |
324 | // SIGNAL 2 |
325 | void QInputMethod::keyboardRectangleChanged() |
326 | { |
327 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); |
328 | } |
329 | |
330 | // SIGNAL 3 |
331 | void QInputMethod::inputItemClipRectangleChanged() |
332 | { |
333 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); |
334 | } |
335 | |
336 | // SIGNAL 4 |
337 | void QInputMethod::visibleChanged() |
338 | { |
339 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); |
340 | } |
341 | |
342 | // SIGNAL 5 |
343 | void QInputMethod::animatingChanged() |
344 | { |
345 | QMetaObject::activate(this, &staticMetaObject, 5, nullptr); |
346 | } |
347 | |
348 | // SIGNAL 6 |
349 | void QInputMethod::localeChanged() |
350 | { |
351 | QMetaObject::activate(this, &staticMetaObject, 6, nullptr); |
352 | } |
353 | |
354 | // SIGNAL 7 |
355 | void QInputMethod::inputDirectionChanged(Qt::LayoutDirection _t1) |
356 | { |
357 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
358 | QMetaObject::activate(this, &staticMetaObject, 7, _a); |
359 | } |
360 | QT_WARNING_POP |
361 | QT_END_MOC_NAMESPACE |
362 | |