1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'ScintillaQt.h' |
3 | ** |
4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.7) |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost! |
7 | *****************************************************************************/ |
8 | |
9 | #include <memory> |
10 | #include "../../../../../../../../3rdparty/unioncode-scintilla515/scintilla/qt/ScintillaEditBase/ScintillaQt.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'ScintillaQt.h' doesn't include <QObject>." |
15 | #elif Q_MOC_OUTPUT_REVISION != 67 |
16 | #error "This file was generated using the moc from 5.15.7. 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_Scintilla__Internal__ScintillaQt_t { |
25 | QByteArrayData data[26]; |
26 | char stringdata0[325]; |
27 | }; |
28 | #define QT_MOC_LITERAL(idx, ofs, len) \ |
29 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ |
30 | qptrdiff(offsetof(qt_meta_stringdata_Scintilla__Internal__ScintillaQt_t, stringdata0) + ofs \ |
31 | - idx * sizeof(QByteArrayData)) \ |
32 | ) |
33 | static const qt_meta_stringdata_Scintilla__Internal__ScintillaQt_t qt_meta_stringdata_Scintilla__Internal__ScintillaQt = { |
34 | { |
35 | QT_MOC_LITERAL(0, 0, 32), // "Scintilla::Internal::ScintillaQt" |
36 | QT_MOC_LITERAL(1, 33, 18), // "horizontalScrolled" |
37 | QT_MOC_LITERAL(2, 52, 0), // "" |
38 | QT_MOC_LITERAL(3, 53, 5), // "value" |
39 | QT_MOC_LITERAL(4, 59, 16), // "verticalScrolled" |
40 | QT_MOC_LITERAL(5, 76, 22), // "horizontalRangeChanged" |
41 | QT_MOC_LITERAL(6, 99, 3), // "max" |
42 | QT_MOC_LITERAL(7, 103, 4), // "page" |
43 | QT_MOC_LITERAL(8, 108, 20), // "verticalRangeChanged" |
44 | QT_MOC_LITERAL(9, 129, 12), // "notifyParent" |
45 | QT_MOC_LITERAL(10, 142, 27), // "Scintilla::NotificationData" |
46 | QT_MOC_LITERAL(11, 170, 3), // "scn" |
47 | QT_MOC_LITERAL(12, 174, 12), // "notifyChange" |
48 | QT_MOC_LITERAL(13, 187, 11), // "aboutToCopy" |
49 | QT_MOC_LITERAL(14, 199, 10), // "QMimeData*" |
50 | QT_MOC_LITERAL(15, 210, 4), // "data" |
51 | QT_MOC_LITERAL(16, 215, 7), // "command" |
52 | QT_MOC_LITERAL(17, 223, 17), // "Scintilla::uptr_t" |
53 | QT_MOC_LITERAL(18, 241, 6), // "wParam" |
54 | QT_MOC_LITERAL(19, 248, 17), // "Scintilla::sptr_t" |
55 | QT_MOC_LITERAL(20, 266, 6), // "lParam" |
56 | QT_MOC_LITERAL(21, 273, 6), // "onIdle" |
57 | QT_MOC_LITERAL(22, 280, 11), // "execCommand" |
58 | QT_MOC_LITERAL(23, 292, 8), // "QAction*" |
59 | QT_MOC_LITERAL(24, 301, 6), // "action" |
60 | QT_MOC_LITERAL(25, 308, 16) // "SelectionChanged" |
61 | |
62 | }, |
63 | "Scintilla::Internal::ScintillaQt\0" |
64 | "horizontalScrolled\0\0value\0verticalScrolled\0" |
65 | "horizontalRangeChanged\0max\0page\0" |
66 | "verticalRangeChanged\0notifyParent\0" |
67 | "Scintilla::NotificationData\0scn\0" |
68 | "notifyChange\0aboutToCopy\0QMimeData*\0" |
69 | "data\0command\0Scintilla::uptr_t\0wParam\0" |
70 | "Scintilla::sptr_t\0lParam\0onIdle\0" |
71 | "execCommand\0QAction*\0action\0" |
72 | "SelectionChanged" |
73 | }; |
74 | #undef QT_MOC_LITERAL |
75 | |
76 | static const uint qt_meta_data_Scintilla__Internal__ScintillaQt[] = { |
77 | |
78 | // content: |
79 | 8, // revision |
80 | 0, // classname |
81 | 0, 0, // classinfo |
82 | 11, 14, // methods |
83 | 0, 0, // properties |
84 | 0, 0, // enums/sets |
85 | 0, 0, // constructors |
86 | 0, // flags |
87 | 8, // signalCount |
88 | |
89 | // signals: name, argc, parameters, tag, flags |
90 | 1, 1, 69, 2, 0x06 /* Public */, |
91 | 4, 1, 72, 2, 0x06 /* Public */, |
92 | 5, 2, 75, 2, 0x06 /* Public */, |
93 | 8, 2, 80, 2, 0x06 /* Public */, |
94 | 9, 1, 85, 2, 0x06 /* Public */, |
95 | 12, 0, 88, 2, 0x06 /* Public */, |
96 | 13, 1, 89, 2, 0x06 /* Public */, |
97 | 16, 2, 92, 2, 0x06 /* Public */, |
98 | |
99 | // slots: name, argc, parameters, tag, flags |
100 | 21, 0, 97, 2, 0x08 /* Private */, |
101 | 22, 1, 98, 2, 0x08 /* Private */, |
102 | 25, 0, 101, 2, 0x08 /* Private */, |
103 | |
104 | // signals: parameters |
105 | QMetaType::Void, QMetaType::Int, 3, |
106 | QMetaType::Void, QMetaType::Int, 3, |
107 | QMetaType::Void, QMetaType::Int, QMetaType::Int, 6, 7, |
108 | QMetaType::Void, QMetaType::Int, QMetaType::Int, 6, 7, |
109 | QMetaType::Void, 0x80000000 | 10, 11, |
110 | QMetaType::Void, |
111 | QMetaType::Void, 0x80000000 | 14, 15, |
112 | QMetaType::Void, 0x80000000 | 17, 0x80000000 | 19, 18, 20, |
113 | |
114 | // slots: parameters |
115 | QMetaType::Void, |
116 | QMetaType::Void, 0x80000000 | 23, 24, |
117 | QMetaType::Void, |
118 | |
119 | 0 // eod |
120 | }; |
121 | |
122 | void Scintilla::Internal::ScintillaQt::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
123 | { |
124 | if (_c == QMetaObject::InvokeMetaMethod) { |
125 | auto *_t = static_cast<ScintillaQt *>(_o); |
126 | (void)_t; |
127 | switch (_id) { |
128 | case 0: _t->horizontalScrolled((*reinterpret_cast< int(*)>(_a[1]))); break; |
129 | case 1: _t->verticalScrolled((*reinterpret_cast< int(*)>(_a[1]))); break; |
130 | case 2: _t->horizontalRangeChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; |
131 | case 3: _t->verticalRangeChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; |
132 | case 4: _t->notifyParent((*reinterpret_cast< Scintilla::NotificationData(*)>(_a[1]))); break; |
133 | case 5: _t->notifyChange(); break; |
134 | case 6: _t->aboutToCopy((*reinterpret_cast< QMimeData*(*)>(_a[1]))); break; |
135 | case 7: _t->command((*reinterpret_cast< Scintilla::uptr_t(*)>(_a[1])),(*reinterpret_cast< Scintilla::sptr_t(*)>(_a[2]))); break; |
136 | case 8: _t->onIdle(); break; |
137 | case 9: _t->execCommand((*reinterpret_cast< QAction*(*)>(_a[1]))); break; |
138 | case 10: _t->SelectionChanged(); break; |
139 | default: ; |
140 | } |
141 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
142 | switch (_id) { |
143 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; |
144 | case 9: |
145 | switch (*reinterpret_cast<int*>(_a[1])) { |
146 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; |
147 | case 0: |
148 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break; |
149 | } |
150 | break; |
151 | } |
152 | } else if (_c == QMetaObject::IndexOfMethod) { |
153 | int *result = reinterpret_cast<int *>(_a[0]); |
154 | { |
155 | using _t = void (ScintillaQt::*)(int ); |
156 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScintillaQt::horizontalScrolled)) { |
157 | *result = 0; |
158 | return; |
159 | } |
160 | } |
161 | { |
162 | using _t = void (ScintillaQt::*)(int ); |
163 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScintillaQt::verticalScrolled)) { |
164 | *result = 1; |
165 | return; |
166 | } |
167 | } |
168 | { |
169 | using _t = void (ScintillaQt::*)(int , int ); |
170 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScintillaQt::horizontalRangeChanged)) { |
171 | *result = 2; |
172 | return; |
173 | } |
174 | } |
175 | { |
176 | using _t = void (ScintillaQt::*)(int , int ); |
177 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScintillaQt::verticalRangeChanged)) { |
178 | *result = 3; |
179 | return; |
180 | } |
181 | } |
182 | { |
183 | using _t = void (ScintillaQt::*)(Scintilla::NotificationData ); |
184 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScintillaQt::notifyParent)) { |
185 | *result = 4; |
186 | return; |
187 | } |
188 | } |
189 | { |
190 | using _t = void (ScintillaQt::*)(); |
191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScintillaQt::notifyChange)) { |
192 | *result = 5; |
193 | return; |
194 | } |
195 | } |
196 | { |
197 | using _t = void (ScintillaQt::*)(QMimeData * ); |
198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScintillaQt::aboutToCopy)) { |
199 | *result = 6; |
200 | return; |
201 | } |
202 | } |
203 | { |
204 | using _t = void (ScintillaQt::*)(Scintilla::uptr_t , Scintilla::sptr_t ); |
205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScintillaQt::command)) { |
206 | *result = 7; |
207 | return; |
208 | } |
209 | } |
210 | } |
211 | } |
212 | |
213 | QT_INIT_METAOBJECT const QMetaObject Scintilla::Internal::ScintillaQt::staticMetaObject = { { |
214 | QMetaObject::SuperData::link<QObject::staticMetaObject>(), |
215 | qt_meta_stringdata_Scintilla__Internal__ScintillaQt.data, |
216 | qt_meta_data_Scintilla__Internal__ScintillaQt, |
217 | qt_static_metacall, |
218 | nullptr, |
219 | nullptr |
220 | } }; |
221 | |
222 | |
223 | const QMetaObject *Scintilla::Internal::ScintillaQt::metaObject() const |
224 | { |
225 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
226 | } |
227 | |
228 | void *Scintilla::Internal::ScintillaQt::qt_metacast(const char *_clname) |
229 | { |
230 | if (!_clname) return nullptr; |
231 | if (!strcmp(_clname, qt_meta_stringdata_Scintilla__Internal__ScintillaQt.stringdata0)) |
232 | return static_cast<void*>(this); |
233 | if (!strcmp(_clname, "ScintillaBase" )) |
234 | return static_cast< ScintillaBase*>(this); |
235 | return QObject::qt_metacast(_clname); |
236 | } |
237 | |
238 | int Scintilla::Internal::ScintillaQt::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
239 | { |
240 | _id = QObject::qt_metacall(_c, _id, _a); |
241 | if (_id < 0) |
242 | return _id; |
243 | if (_c == QMetaObject::InvokeMetaMethod) { |
244 | if (_id < 11) |
245 | qt_static_metacall(this, _c, _id, _a); |
246 | _id -= 11; |
247 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
248 | if (_id < 11) |
249 | qt_static_metacall(this, _c, _id, _a); |
250 | _id -= 11; |
251 | } |
252 | return _id; |
253 | } |
254 | |
255 | // SIGNAL 0 |
256 | void Scintilla::Internal::ScintillaQt::horizontalScrolled(int _t1) |
257 | { |
258 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
259 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
260 | } |
261 | |
262 | // SIGNAL 1 |
263 | void Scintilla::Internal::ScintillaQt::verticalScrolled(int _t1) |
264 | { |
265 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
266 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
267 | } |
268 | |
269 | // SIGNAL 2 |
270 | void Scintilla::Internal::ScintillaQt::horizontalRangeChanged(int _t1, int _t2) |
271 | { |
272 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
273 | QMetaObject::activate(this, &staticMetaObject, 2, _a); |
274 | } |
275 | |
276 | // SIGNAL 3 |
277 | void Scintilla::Internal::ScintillaQt::verticalRangeChanged(int _t1, int _t2) |
278 | { |
279 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
280 | QMetaObject::activate(this, &staticMetaObject, 3, _a); |
281 | } |
282 | |
283 | // SIGNAL 4 |
284 | void Scintilla::Internal::ScintillaQt::notifyParent(Scintilla::NotificationData _t1) |
285 | { |
286 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
287 | QMetaObject::activate(this, &staticMetaObject, 4, _a); |
288 | } |
289 | |
290 | // SIGNAL 5 |
291 | void Scintilla::Internal::ScintillaQt::notifyChange() |
292 | { |
293 | QMetaObject::activate(this, &staticMetaObject, 5, nullptr); |
294 | } |
295 | |
296 | // SIGNAL 6 |
297 | void Scintilla::Internal::ScintillaQt::aboutToCopy(QMimeData * _t1) |
298 | { |
299 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
300 | QMetaObject::activate(this, &staticMetaObject, 6, _a); |
301 | } |
302 | |
303 | // SIGNAL 7 |
304 | void Scintilla::Internal::ScintillaQt::command(Scintilla::uptr_t _t1, Scintilla::sptr_t _t2) |
305 | { |
306 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
307 | QMetaObject::activate(this, &staticMetaObject, 7, _a); |
308 | } |
309 | QT_WARNING_POP |
310 | QT_END_MOC_NAMESPACE |
311 | |