/work/qtbase/src/gui/.moc/moc_qtextdocument.cpp
Line | Count | Source (jump to first uncovered line) |
1 | | /**************************************************************************** |
2 | | ** Meta object code from reading C++ file 'qtextdocument.h' |
3 | | ** |
4 | | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.0) |
5 | | ** |
6 | | ** WARNING! All changes made in this file will be lost! |
7 | | *****************************************************************************/ |
8 | | |
9 | | #include <memory> |
10 | | #include "../../../../../src/qt/qtbase/src/gui/text/qtextdocument.h" |
11 | | #include <QtCore/qbytearray.h> |
12 | | #include <QtCore/qmetatype.h> |
13 | | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | | #error "The header file 'qtextdocument.h' doesn't include <QObject>." |
15 | | #elif Q_MOC_OUTPUT_REVISION != 67 |
16 | | #error "This file was generated using the moc from 5.15.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_QTextDocument_t { |
25 | | QByteArrayData data[53]; |
26 | | char stringdata0[696]; |
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_QTextDocument_t, stringdata0) + ofs \ |
31 | | - idx * sizeof(QByteArrayData)) \ |
32 | | ) |
33 | | static const qt_meta_stringdata_QTextDocument_t qt_meta_stringdata_QTextDocument = { |
34 | | { |
35 | | QT_MOC_LITERAL(0, 0, 13), // "QTextDocument" |
36 | | QT_MOC_LITERAL(1, 14, 14), // "contentsChange" |
37 | | QT_MOC_LITERAL(2, 29, 0), // "" |
38 | | QT_MOC_LITERAL(3, 30, 4), // "from" |
39 | | QT_MOC_LITERAL(4, 35, 12), // "charsRemoved" |
40 | | QT_MOC_LITERAL(5, 48, 10), // "charsAdded" |
41 | | QT_MOC_LITERAL(6, 59, 15), // "contentsChanged" |
42 | | QT_MOC_LITERAL(7, 75, 13), // "undoAvailable" |
43 | | QT_MOC_LITERAL(8, 89, 13), // "redoAvailable" |
44 | | QT_MOC_LITERAL(9, 103, 16), // "undoCommandAdded" |
45 | | QT_MOC_LITERAL(10, 120, 19), // "modificationChanged" |
46 | | QT_MOC_LITERAL(11, 140, 1), // "m" |
47 | | QT_MOC_LITERAL(12, 142, 21), // "cursorPositionChanged" |
48 | | QT_MOC_LITERAL(13, 164, 11), // "QTextCursor" |
49 | | QT_MOC_LITERAL(14, 176, 6), // "cursor" |
50 | | QT_MOC_LITERAL(15, 183, 17), // "blockCountChanged" |
51 | | QT_MOC_LITERAL(16, 201, 13), // "newBlockCount" |
52 | | QT_MOC_LITERAL(17, 215, 14), // "baseUrlChanged" |
53 | | QT_MOC_LITERAL(18, 230, 3), // "url" |
54 | | QT_MOC_LITERAL(19, 234, 21), // "documentLayoutChanged" |
55 | | QT_MOC_LITERAL(20, 256, 4), // "undo" |
56 | | QT_MOC_LITERAL(21, 261, 4), // "redo" |
57 | | QT_MOC_LITERAL(22, 266, 14), // "appendUndoItem" |
58 | | QT_MOC_LITERAL(23, 281, 18), // "QAbstractUndoItem*" |
59 | | QT_MOC_LITERAL(24, 300, 11), // "setModified" |
60 | | QT_MOC_LITERAL(25, 312, 12), // "loadResource" |
61 | | QT_MOC_LITERAL(26, 325, 4), // "type" |
62 | | QT_MOC_LITERAL(27, 330, 4), // "name" |
63 | | QT_MOC_LITERAL(28, 335, 15), // "undoRedoEnabled" |
64 | | QT_MOC_LITERAL(29, 351, 8), // "modified" |
65 | | QT_MOC_LITERAL(30, 360, 8), // "pageSize" |
66 | | QT_MOC_LITERAL(31, 369, 11), // "defaultFont" |
67 | | QT_MOC_LITERAL(32, 381, 16), // "useDesignMetrics" |
68 | | QT_MOC_LITERAL(33, 398, 4), // "size" |
69 | | QT_MOC_LITERAL(34, 403, 9), // "textWidth" |
70 | | QT_MOC_LITERAL(35, 413, 10), // "blockCount" |
71 | | QT_MOC_LITERAL(36, 424, 11), // "indentWidth" |
72 | | QT_MOC_LITERAL(37, 436, 17), // "defaultStyleSheet" |
73 | | QT_MOC_LITERAL(38, 454, 17), // "maximumBlockCount" |
74 | | QT_MOC_LITERAL(39, 472, 14), // "documentMargin" |
75 | | QT_MOC_LITERAL(40, 487, 7), // "baseUrl" |
76 | | QT_MOC_LITERAL(41, 495, 16), // "MarkdownFeatures" |
77 | | QT_MOC_LITERAL(42, 512, 15), // "MarkdownFeature" |
78 | | QT_MOC_LITERAL(43, 528, 14), // "MarkdownNoHTML" |
79 | | QT_MOC_LITERAL(44, 543, 25), // "MarkdownDialectCommonMark" |
80 | | QT_MOC_LITERAL(45, 569, 21), // "MarkdownDialectGitHub" |
81 | | QT_MOC_LITERAL(46, 591, 12), // "ResourceType" |
82 | | QT_MOC_LITERAL(47, 604, 15), // "UnknownResource" |
83 | | QT_MOC_LITERAL(48, 620, 12), // "HtmlResource" |
84 | | QT_MOC_LITERAL(49, 633, 13), // "ImageResource" |
85 | | QT_MOC_LITERAL(50, 647, 18), // "StyleSheetResource" |
86 | | QT_MOC_LITERAL(51, 666, 16), // "MarkdownResource" |
87 | | QT_MOC_LITERAL(52, 683, 12) // "UserResource" |
88 | | |
89 | | }, |
90 | | "QTextDocument\0contentsChange\0\0from\0" |
91 | | "charsRemoved\0charsAdded\0contentsChanged\0" |
92 | | "undoAvailable\0redoAvailable\0" |
93 | | "undoCommandAdded\0modificationChanged\0" |
94 | | "m\0cursorPositionChanged\0QTextCursor\0" |
95 | | "cursor\0blockCountChanged\0newBlockCount\0" |
96 | | "baseUrlChanged\0url\0documentLayoutChanged\0" |
97 | | "undo\0redo\0appendUndoItem\0QAbstractUndoItem*\0" |
98 | | "setModified\0loadResource\0type\0name\0" |
99 | | "undoRedoEnabled\0modified\0pageSize\0" |
100 | | "defaultFont\0useDesignMetrics\0size\0" |
101 | | "textWidth\0blockCount\0indentWidth\0" |
102 | | "defaultStyleSheet\0maximumBlockCount\0" |
103 | | "documentMargin\0baseUrl\0MarkdownFeatures\0" |
104 | | "MarkdownFeature\0MarkdownNoHTML\0" |
105 | | "MarkdownDialectCommonMark\0" |
106 | | "MarkdownDialectGitHub\0ResourceType\0" |
107 | | "UnknownResource\0HtmlResource\0ImageResource\0" |
108 | | "StyleSheetResource\0MarkdownResource\0" |
109 | | "UserResource" |
110 | | }; |
111 | | #undef QT_MOC_LITERAL |
112 | | |
113 | | static const uint qt_meta_data_QTextDocument[] = { |
114 | | |
115 | | // content: |
116 | | 8, // revision |
117 | | 0, // classname |
118 | | 0, 0, // classinfo |
119 | | 16, 14, // methods |
120 | | 13, 136, // properties |
121 | | 2, 188, // enums/sets |
122 | | 0, 0, // constructors |
123 | | 0, // flags |
124 | | 10, // signalCount |
125 | | |
126 | | // signals: name, argc, parameters, tag, flags |
127 | | 1, 3, 94, 2, 0x06 /* Public */, |
128 | | 6, 0, 101, 2, 0x06 /* Public */, |
129 | | 7, 1, 102, 2, 0x06 /* Public */, |
130 | | 8, 1, 105, 2, 0x06 /* Public */, |
131 | | 9, 0, 108, 2, 0x06 /* Public */, |
132 | | 10, 1, 109, 2, 0x06 /* Public */, |
133 | | 12, 1, 112, 2, 0x06 /* Public */, |
134 | | 15, 1, 115, 2, 0x06 /* Public */, |
135 | | 17, 1, 118, 2, 0x06 /* Public */, |
136 | | 19, 0, 121, 2, 0x06 /* Public */, |
137 | | |
138 | | // slots: name, argc, parameters, tag, flags |
139 | | 20, 0, 122, 2, 0x0a /* Public */, |
140 | | 21, 0, 123, 2, 0x0a /* Public */, |
141 | | 22, 1, 124, 2, 0x0a /* Public */, |
142 | | 24, 1, 127, 2, 0x0a /* Public */, |
143 | | 24, 0, 130, 2, 0x2a /* Public | MethodCloned */, |
144 | | |
145 | | // methods: name, argc, parameters, tag, flags |
146 | | 25, 2, 131, 2, 0x01 /* Protected */, |
147 | | |
148 | | // signals: parameters |
149 | | QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 4, 5, |
150 | | QMetaType::Void, |
151 | | QMetaType::Void, QMetaType::Bool, 2, |
152 | | QMetaType::Void, QMetaType::Bool, 2, |
153 | | QMetaType::Void, |
154 | | QMetaType::Void, QMetaType::Bool, 11, |
155 | | QMetaType::Void, 0x80000000 | 13, 14, |
156 | | QMetaType::Void, QMetaType::Int, 16, |
157 | | QMetaType::Void, QMetaType::QUrl, 18, |
158 | | QMetaType::Void, |
159 | | |
160 | | // slots: parameters |
161 | | QMetaType::Void, |
162 | | QMetaType::Void, |
163 | | QMetaType::Void, 0x80000000 | 23, 2, |
164 | | QMetaType::Void, QMetaType::Bool, 11, |
165 | | QMetaType::Void, |
166 | | |
167 | | // methods: parameters |
168 | | QMetaType::QVariant, QMetaType::Int, QMetaType::QUrl, 26, 27, |
169 | | |
170 | | // properties: name, type, flags |
171 | | 28, QMetaType::Bool, 0x00095103, |
172 | | 29, QMetaType::Bool, 0x00094103, |
173 | | 30, QMetaType::QSizeF, 0x00095103, |
174 | | 31, QMetaType::QFont, 0x00095103, |
175 | | 32, QMetaType::Bool, 0x00095103, |
176 | | 33, QMetaType::QSizeF, 0x00095001, |
177 | | 34, QMetaType::QReal, 0x00095103, |
178 | | 35, QMetaType::Int, 0x00095001, |
179 | | 36, QMetaType::QReal, 0x00095103, |
180 | | 37, QMetaType::QString, 0x00095103, |
181 | | 38, QMetaType::Int, 0x00095103, |
182 | | 39, QMetaType::QReal, 0x00095103, |
183 | | 40, QMetaType::QUrl, 0x00495103, |
184 | | |
185 | | // properties: notify_signal_id |
186 | | 0, |
187 | | 0, |
188 | | 0, |
189 | | 0, |
190 | | 0, |
191 | | 0, |
192 | | 0, |
193 | | 0, |
194 | | 0, |
195 | | 0, |
196 | | 0, |
197 | | 0, |
198 | | 8, |
199 | | |
200 | | // enums: name, alias, flags, count, data |
201 | | 41, 42, 0x1, 3, 198, |
202 | | 46, 46, 0x0, 6, 204, |
203 | | |
204 | | // enum data: key, value |
205 | | 43, uint(QTextDocument::MarkdownNoHTML), |
206 | | 44, uint(QTextDocument::MarkdownDialectCommonMark), |
207 | | 45, uint(QTextDocument::MarkdownDialectGitHub), |
208 | | 47, uint(QTextDocument::UnknownResource), |
209 | | 48, uint(QTextDocument::HtmlResource), |
210 | | 49, uint(QTextDocument::ImageResource), |
211 | | 50, uint(QTextDocument::StyleSheetResource), |
212 | | 51, uint(QTextDocument::MarkdownResource), |
213 | | 52, uint(QTextDocument::UserResource), |
214 | | |
215 | | 0 // eod |
216 | | }; |
217 | | |
218 | | void QTextDocument::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
219 | 0 | { |
220 | 0 | if (_c == QMetaObject::InvokeMetaMethod) { |
221 | 0 | auto *_t = static_cast<QTextDocument *>(_o); |
222 | 0 | Q_UNUSED(_t) |
223 | 0 | switch (_id) { |
224 | 0 | case 0: _t->contentsChange((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; |
225 | 0 | case 1: _t->contentsChanged(); break; |
226 | 0 | case 2: _t->undoAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break; |
227 | 0 | case 3: _t->redoAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break; |
228 | 0 | case 4: _t->undoCommandAdded(); break; |
229 | 0 | case 5: _t->modificationChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; |
230 | 0 | case 6: _t->cursorPositionChanged((*reinterpret_cast< const QTextCursor(*)>(_a[1]))); break; |
231 | 0 | case 7: _t->blockCountChanged((*reinterpret_cast< int(*)>(_a[1]))); break; |
232 | 0 | case 8: _t->baseUrlChanged((*reinterpret_cast< const QUrl(*)>(_a[1]))); break; |
233 | 0 | case 9: _t->documentLayoutChanged(); break; |
234 | 0 | case 10: _t->undo(); break; |
235 | 0 | case 11: _t->redo(); break; |
236 | 0 | case 12: _t->appendUndoItem((*reinterpret_cast< QAbstractUndoItem*(*)>(_a[1]))); break; |
237 | 0 | case 13: _t->setModified((*reinterpret_cast< bool(*)>(_a[1]))); break; |
238 | 0 | case 14: _t->setModified(); break; |
239 | 0 | case 15: { QVariant _r = _t->loadResource((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2]))); |
240 | 0 | if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = std::move(_r); } break; |
241 | 0 | default: ; |
242 | 0 | } |
243 | 0 | } else if (_c == QMetaObject::IndexOfMethod) { |
244 | 0 | int *result = reinterpret_cast<int *>(_a[0]); |
245 | 0 | { |
246 | 0 | using _t = void (QTextDocument::*)(int , int , int ); |
247 | 0 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTextDocument::contentsChange)) { |
248 | 0 | *result = 0; |
249 | 0 | return; |
250 | 0 | } |
251 | 0 | } |
252 | 0 | { |
253 | 0 | using _t = void (QTextDocument::*)(); |
254 | 0 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTextDocument::contentsChanged)) { |
255 | 0 | *result = 1; |
256 | 0 | return; |
257 | 0 | } |
258 | 0 | } |
259 | 0 | { |
260 | 0 | using _t = void (QTextDocument::*)(bool ); |
261 | 0 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTextDocument::undoAvailable)) { |
262 | 0 | *result = 2; |
263 | 0 | return; |
264 | 0 | } |
265 | 0 | } |
266 | 0 | { |
267 | 0 | using _t = void (QTextDocument::*)(bool ); |
268 | 0 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTextDocument::redoAvailable)) { |
269 | 0 | *result = 3; |
270 | 0 | return; |
271 | 0 | } |
272 | 0 | } |
273 | 0 | { |
274 | 0 | using _t = void (QTextDocument::*)(); |
275 | 0 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTextDocument::undoCommandAdded)) { |
276 | 0 | *result = 4; |
277 | 0 | return; |
278 | 0 | } |
279 | 0 | } |
280 | 0 | { |
281 | 0 | using _t = void (QTextDocument::*)(bool ); |
282 | 0 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTextDocument::modificationChanged)) { |
283 | 0 | *result = 5; |
284 | 0 | return; |
285 | 0 | } |
286 | 0 | } |
287 | 0 | { |
288 | 0 | using _t = void (QTextDocument::*)(const QTextCursor & ); |
289 | 0 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTextDocument::cursorPositionChanged)) { |
290 | 0 | *result = 6; |
291 | 0 | return; |
292 | 0 | } |
293 | 0 | } |
294 | 0 | { |
295 | 0 | using _t = void (QTextDocument::*)(int ); |
296 | 0 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTextDocument::blockCountChanged)) { |
297 | 0 | *result = 7; |
298 | 0 | return; |
299 | 0 | } |
300 | 0 | } |
301 | 0 | { |
302 | 0 | using _t = void (QTextDocument::*)(const QUrl & ); |
303 | 0 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTextDocument::baseUrlChanged)) { |
304 | 0 | *result = 8; |
305 | 0 | return; |
306 | 0 | } |
307 | 0 | } |
308 | 0 | { |
309 | 0 | using _t = void (QTextDocument::*)(); |
310 | 0 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTextDocument::documentLayoutChanged)) { |
311 | 0 | *result = 9; |
312 | 0 | return; |
313 | 0 | } |
314 | 0 | } |
315 | 0 | } |
316 | 0 | #ifndef QT_NO_PROPERTIES |
317 | 0 | else if (_c == QMetaObject::ReadProperty) { |
318 | 0 | auto *_t = static_cast<QTextDocument *>(_o); |
319 | 0 | Q_UNUSED(_t) |
320 | 0 | void *_v = _a[0]; |
321 | 0 | switch (_id) { |
322 | 0 | case 0: *reinterpret_cast< bool*>(_v) = _t->isUndoRedoEnabled(); break; |
323 | 0 | case 1: *reinterpret_cast< bool*>(_v) = _t->isModified(); break; |
324 | 0 | case 2: *reinterpret_cast< QSizeF*>(_v) = _t->pageSize(); break; |
325 | 0 | case 3: *reinterpret_cast< QFont*>(_v) = _t->defaultFont(); break; |
326 | 0 | case 4: *reinterpret_cast< bool*>(_v) = _t->useDesignMetrics(); break; |
327 | 0 | case 5: *reinterpret_cast< QSizeF*>(_v) = _t->size(); break; |
328 | 0 | case 6: *reinterpret_cast< qreal*>(_v) = _t->textWidth(); break; |
329 | 0 | case 7: *reinterpret_cast< int*>(_v) = _t->blockCount(); break; |
330 | 0 | case 8: *reinterpret_cast< qreal*>(_v) = _t->indentWidth(); break; |
331 | 0 | case 9: *reinterpret_cast< QString*>(_v) = _t->defaultStyleSheet(); break; |
332 | 0 | case 10: *reinterpret_cast< int*>(_v) = _t->maximumBlockCount(); break; |
333 | 0 | case 11: *reinterpret_cast< qreal*>(_v) = _t->documentMargin(); break; |
334 | 0 | case 12: *reinterpret_cast< QUrl*>(_v) = _t->baseUrl(); break; |
335 | 0 | default: break; |
336 | 0 | } |
337 | 0 | } else if (_c == QMetaObject::WriteProperty) { |
338 | 0 | auto *_t = static_cast<QTextDocument *>(_o); |
339 | 0 | Q_UNUSED(_t) |
340 | 0 | void *_v = _a[0]; |
341 | 0 | switch (_id) { |
342 | 0 | case 0: _t->setUndoRedoEnabled(*reinterpret_cast< bool*>(_v)); break; |
343 | 0 | case 1: _t->setModified(*reinterpret_cast< bool*>(_v)); break; |
344 | 0 | case 2: _t->setPageSize(*reinterpret_cast< QSizeF*>(_v)); break; |
345 | 0 | case 3: _t->setDefaultFont(*reinterpret_cast< QFont*>(_v)); break; |
346 | 0 | case 4: _t->setUseDesignMetrics(*reinterpret_cast< bool*>(_v)); break; |
347 | 0 | case 6: _t->setTextWidth(*reinterpret_cast< qreal*>(_v)); break; |
348 | 0 | case 8: _t->setIndentWidth(*reinterpret_cast< qreal*>(_v)); break; |
349 | 0 | case 9: _t->setDefaultStyleSheet(*reinterpret_cast< QString*>(_v)); break; |
350 | 0 | case 10: _t->setMaximumBlockCount(*reinterpret_cast< int*>(_v)); break; |
351 | 0 | case 11: _t->setDocumentMargin(*reinterpret_cast< qreal*>(_v)); break; |
352 | 0 | case 12: _t->setBaseUrl(*reinterpret_cast< QUrl*>(_v)); break; |
353 | 0 | default: break; |
354 | 0 | } |
355 | 0 | } else if (_c == QMetaObject::ResetProperty) { |
356 | 0 | } |
357 | 0 | #endif // QT_NO_PROPERTIES |
358 | 0 | } |
359 | | |
360 | | QT_INIT_METAOBJECT const QMetaObject QTextDocument::staticMetaObject = { { |
361 | | QMetaObject::SuperData::link<QObject::staticMetaObject>(), |
362 | | qt_meta_stringdata_QTextDocument.data, |
363 | | qt_meta_data_QTextDocument, |
364 | | qt_static_metacall, |
365 | | nullptr, |
366 | | nullptr |
367 | | } }; |
368 | | |
369 | | |
370 | | const QMetaObject *QTextDocument::metaObject() const |
371 | 0 | { |
372 | 0 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
373 | 0 | } |
374 | | |
375 | | void *QTextDocument::qt_metacast(const char *_clname) |
376 | 0 | { |
377 | 0 | if (!_clname) return nullptr; |
378 | 0 | if (!strcmp(_clname, qt_meta_stringdata_QTextDocument.stringdata0)) |
379 | 0 | return static_cast<void*>(this); |
380 | 0 | return QObject::qt_metacast(_clname); |
381 | 0 | } |
382 | | |
383 | | int QTextDocument::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
384 | 0 | { |
385 | 0 | _id = QObject::qt_metacall(_c, _id, _a); |
386 | 0 | if (_id < 0) |
387 | 0 | return _id; |
388 | 0 | if (_c == QMetaObject::InvokeMetaMethod) { |
389 | 0 | if (_id < 16) |
390 | 0 | qt_static_metacall(this, _c, _id, _a); |
391 | 0 | _id -= 16; |
392 | 0 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
393 | 0 | if (_id < 16) |
394 | 0 | *reinterpret_cast<int*>(_a[0]) = -1; |
395 | 0 | _id -= 16; |
396 | 0 | } |
397 | 0 | #ifndef QT_NO_PROPERTIES |
398 | 0 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty |
399 | 0 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { |
400 | 0 | qt_static_metacall(this, _c, _id, _a); |
401 | 0 | _id -= 13; |
402 | 0 | } else if (_c == QMetaObject::QueryPropertyDesignable) { |
403 | 0 | _id -= 13; |
404 | 0 | } else if (_c == QMetaObject::QueryPropertyScriptable) { |
405 | 0 | _id -= 13; |
406 | 0 | } else if (_c == QMetaObject::QueryPropertyStored) { |
407 | 0 | _id -= 13; |
408 | 0 | } else if (_c == QMetaObject::QueryPropertyEditable) { |
409 | 0 | _id -= 13; |
410 | 0 | } else if (_c == QMetaObject::QueryPropertyUser) { |
411 | 0 | _id -= 13; |
412 | 0 | } |
413 | 0 | #endif // QT_NO_PROPERTIES |
414 | 0 | return _id; |
415 | 0 | } |
416 | | |
417 | | // SIGNAL 0 |
418 | | void QTextDocument::contentsChange(int _t1, int _t2, int _t3) |
419 | 17.5k | { |
420 | 17.5k | 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))) }; |
421 | 17.5k | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
422 | 17.5k | } |
423 | | |
424 | | // SIGNAL 1 |
425 | | void QTextDocument::contentsChanged() |
426 | 13.0M | { |
427 | 13.0M | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); |
428 | 13.0M | } |
429 | | |
430 | | // SIGNAL 2 |
431 | | void QTextDocument::undoAvailable(bool _t1) |
432 | 16.7k | { |
433 | 16.7k | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
434 | 16.7k | QMetaObject::activate(this, &staticMetaObject, 2, _a); |
435 | 16.7k | } |
436 | | |
437 | | // SIGNAL 3 |
438 | | void QTextDocument::redoAvailable(bool _t1) |
439 | 0 | { |
440 | 0 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
441 | 0 | QMetaObject::activate(this, &staticMetaObject, 3, _a); |
442 | 0 | } |
443 | | |
444 | | // SIGNAL 4 |
445 | | void QTextDocument::undoCommandAdded() |
446 | 8.85M | { |
447 | 8.85M | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); |
448 | 8.85M | } |
449 | | |
450 | | // SIGNAL 5 |
451 | | void QTextDocument::modificationChanged(bool _t1) |
452 | 2.01M | { |
453 | 2.01M | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
454 | 2.01M | QMetaObject::activate(this, &staticMetaObject, 5, _a); |
455 | 2.01M | } |
456 | | |
457 | | // SIGNAL 6 |
458 | | void QTextDocument::cursorPositionChanged(const QTextCursor & _t1) |
459 | 9.29M | { |
460 | 9.29M | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
461 | 9.29M | QMetaObject::activate(this, &staticMetaObject, 6, _a); |
462 | 9.29M | } |
463 | | |
464 | | // SIGNAL 7 |
465 | | void QTextDocument::blockCountChanged(int _t1) |
466 | 4.49M | { |
467 | 4.49M | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
468 | 4.49M | QMetaObject::activate(this, &staticMetaObject, 7, _a); |
469 | 4.49M | } |
470 | | |
471 | | // SIGNAL 8 |
472 | | void QTextDocument::baseUrlChanged(const QUrl & _t1) |
473 | 0 | { |
474 | 0 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
475 | 0 | QMetaObject::activate(this, &staticMetaObject, 8, _a); |
476 | 0 | } |
477 | | |
478 | | // SIGNAL 9 |
479 | | void QTextDocument::documentLayoutChanged() |
480 | 0 | { |
481 | 0 | QMetaObject::activate(this, &staticMetaObject, 9, nullptr); |
482 | 0 | } |
483 | | QT_WARNING_POP |
484 | | QT_END_MOC_NAMESPACE |