1/****************************************************************************
2** Meta object code from reading C++ file 'ScintillaDocument.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/ScintillaEdit/ScintillaDocument.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'ScintillaDocument.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
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
24struct qt_meta_stringdata_ScintillaDocument_t {
25 QByteArrayData data[19];
26 char stringdata0[201];
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_ScintillaDocument_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
33static const qt_meta_stringdata_ScintillaDocument_t qt_meta_stringdata_ScintillaDocument = {
34 {
35QT_MOC_LITERAL(0, 0, 17), // "ScintillaDocument"
36QT_MOC_LITERAL(1, 18, 14), // "modify_attempt"
37QT_MOC_LITERAL(2, 33, 0), // ""
38QT_MOC_LITERAL(3, 34, 10), // "save_point"
39QT_MOC_LITERAL(4, 45, 11), // "atSavePoint"
40QT_MOC_LITERAL(5, 57, 8), // "modified"
41QT_MOC_LITERAL(6, 66, 8), // "position"
42QT_MOC_LITERAL(7, 75, 17), // "modification_type"
43QT_MOC_LITERAL(8, 93, 4), // "text"
44QT_MOC_LITERAL(9, 98, 6), // "length"
45QT_MOC_LITERAL(10, 105, 10), // "linesAdded"
46QT_MOC_LITERAL(11, 116, 4), // "line"
47QT_MOC_LITERAL(12, 121, 12), // "foldLevelNow"
48QT_MOC_LITERAL(13, 134, 13), // "foldLevelPrev"
49QT_MOC_LITERAL(14, 148, 12), // "style_needed"
50QT_MOC_LITERAL(15, 161, 3), // "pos"
51QT_MOC_LITERAL(16, 165, 13), // "lexer_changed"
52QT_MOC_LITERAL(17, 179, 14), // "error_occurred"
53QT_MOC_LITERAL(18, 194, 6) // "status"
54
55 },
56 "ScintillaDocument\0modify_attempt\0\0"
57 "save_point\0atSavePoint\0modified\0"
58 "position\0modification_type\0text\0length\0"
59 "linesAdded\0line\0foldLevelNow\0foldLevelPrev\0"
60 "style_needed\0pos\0lexer_changed\0"
61 "error_occurred\0status"
62};
63#undef QT_MOC_LITERAL
64
65static const uint qt_meta_data_ScintillaDocument[] = {
66
67 // content:
68 8, // revision
69 0, // classname
70 0, 0, // classinfo
71 6, 14, // methods
72 0, 0, // properties
73 0, 0, // enums/sets
74 0, 0, // constructors
75 0, // flags
76 6, // signalCount
77
78 // signals: name, argc, parameters, tag, flags
79 1, 0, 44, 2, 0x06 /* Public */,
80 3, 1, 45, 2, 0x06 /* Public */,
81 5, 8, 48, 2, 0x06 /* Public */,
82 14, 1, 65, 2, 0x06 /* Public */,
83 16, 0, 68, 2, 0x06 /* Public */,
84 17, 1, 69, 2, 0x06 /* Public */,
85
86 // signals: parameters
87 QMetaType::Void,
88 QMetaType::Void, QMetaType::Bool, 4,
89 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::QByteArray, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int, 6, 7, 8, 9, 10, 11, 12, 13,
90 QMetaType::Void, QMetaType::Int, 15,
91 QMetaType::Void,
92 QMetaType::Void, QMetaType::Int, 18,
93
94 0 // eod
95};
96
97void ScintillaDocument::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
98{
99 if (_c == QMetaObject::InvokeMetaMethod) {
100 auto *_t = static_cast<ScintillaDocument *>(_o);
101 (void)_t;
102 switch (_id) {
103 case 0: _t->modify_attempt(); break;
104 case 1: _t->save_point((*reinterpret_cast< bool(*)>(_a[1]))); break;
105 case 2: _t->modified((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QByteArray(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5])),(*reinterpret_cast< int(*)>(_a[6])),(*reinterpret_cast< int(*)>(_a[7])),(*reinterpret_cast< int(*)>(_a[8]))); break;
106 case 3: _t->style_needed((*reinterpret_cast< int(*)>(_a[1]))); break;
107 case 4: _t->lexer_changed(); break;
108 case 5: _t->error_occurred((*reinterpret_cast< int(*)>(_a[1]))); break;
109 default: ;
110 }
111 } else if (_c == QMetaObject::IndexOfMethod) {
112 int *result = reinterpret_cast<int *>(_a[0]);
113 {
114 using _t = void (ScintillaDocument::*)();
115 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScintillaDocument::modify_attempt)) {
116 *result = 0;
117 return;
118 }
119 }
120 {
121 using _t = void (ScintillaDocument::*)(bool );
122 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScintillaDocument::save_point)) {
123 *result = 1;
124 return;
125 }
126 }
127 {
128 using _t = void (ScintillaDocument::*)(int , int , const QByteArray & , int , int , int , int , int );
129 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScintillaDocument::modified)) {
130 *result = 2;
131 return;
132 }
133 }
134 {
135 using _t = void (ScintillaDocument::*)(int );
136 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScintillaDocument::style_needed)) {
137 *result = 3;
138 return;
139 }
140 }
141 {
142 using _t = void (ScintillaDocument::*)();
143 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScintillaDocument::lexer_changed)) {
144 *result = 4;
145 return;
146 }
147 }
148 {
149 using _t = void (ScintillaDocument::*)(int );
150 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScintillaDocument::error_occurred)) {
151 *result = 5;
152 return;
153 }
154 }
155 }
156}
157
158QT_INIT_METAOBJECT const QMetaObject ScintillaDocument::staticMetaObject = { {
159 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
160 qt_meta_stringdata_ScintillaDocument.data,
161 qt_meta_data_ScintillaDocument,
162 qt_static_metacall,
163 nullptr,
164 nullptr
165} };
166
167
168const QMetaObject *ScintillaDocument::metaObject() const
169{
170 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
171}
172
173void *ScintillaDocument::qt_metacast(const char *_clname)
174{
175 if (!_clname) return nullptr;
176 if (!strcmp(_clname, qt_meta_stringdata_ScintillaDocument.stringdata0))
177 return static_cast<void*>(this);
178 return QObject::qt_metacast(_clname);
179}
180
181int ScintillaDocument::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
182{
183 _id = QObject::qt_metacall(_c, _id, _a);
184 if (_id < 0)
185 return _id;
186 if (_c == QMetaObject::InvokeMetaMethod) {
187 if (_id < 6)
188 qt_static_metacall(this, _c, _id, _a);
189 _id -= 6;
190 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
191 if (_id < 6)
192 *reinterpret_cast<int*>(_a[0]) = -1;
193 _id -= 6;
194 }
195 return _id;
196}
197
198// SIGNAL 0
199void ScintillaDocument::modify_attempt()
200{
201 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
202}
203
204// SIGNAL 1
205void ScintillaDocument::save_point(bool _t1)
206{
207 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
208 QMetaObject::activate(this, &staticMetaObject, 1, _a);
209}
210
211// SIGNAL 2
212void ScintillaDocument::modified(int _t1, int _t2, const QByteArray & _t3, int _t4, int _t5, int _t6, int _t7, int _t8)
213{
214 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t4))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t5))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t6))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t7))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t8))) };
215 QMetaObject::activate(this, &staticMetaObject, 2, _a);
216}
217
218// SIGNAL 3
219void ScintillaDocument::style_needed(int _t1)
220{
221 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
222 QMetaObject::activate(this, &staticMetaObject, 3, _a);
223}
224
225// SIGNAL 4
226void ScintillaDocument::lexer_changed()
227{
228 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
229}
230
231// SIGNAL 5
232void ScintillaDocument::error_occurred(int _t1)
233{
234 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
235 QMetaObject::activate(this, &staticMetaObject, 5, _a);
236}
237QT_WARNING_POP
238QT_END_MOC_NAMESPACE
239