CuteLogger
Fast and simple logging solution for Qt based applications
moc_qmlrichtext.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'qmlrichtext.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.8.3)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include "../../../../src/qmltypes/qmlrichtext.h"
10#include <QtGui/qtextcursor.h>
11#include <QtCore/qmetatype.h>
12
13#include <QtCore/qtmochelpers.h>
14
15#include <memory>
16
17
18#include <QtCore/qxptype_traits.h>
19#if !defined(Q_MOC_OUTPUT_REVISION)
20#error "The header file 'qmlrichtext.h' doesn't include <QObject>."
21#elif Q_MOC_OUTPUT_REVISION != 68
22#error "This file was generated using the moc from 6.8.3. It"
23#error "cannot be used with the include files from this version of Qt."
24#error "(The moc has changed too much.)"
25#endif
26
27#ifndef Q_CONSTINIT
28#define Q_CONSTINIT
29#endif
30
31QT_WARNING_PUSH
32QT_WARNING_DISABLE_DEPRECATED
33QT_WARNING_DISABLE_GCC("-Wuseless-cast")
34namespace {
35struct qt_meta_tag_ZN11QmlRichTextE_t {};
36} // unnamed namespace
37
38
39#ifdef QT_MOC_HAS_STRINGDATA
40static constexpr auto qt_meta_stringdata_ZN11QmlRichTextE = QtMocHelpers::stringData(
41 "QmlRichText",
42 "targetChanged",
43 "",
44 "cursorPositionChanged",
45 "selectionStartChanged",
46 "selectionEndChanged",
47 "fontFamilyChanged",
48 "textColorChanged",
49 "alignmentChanged",
50 "boldChanged",
51 "italicChanged",
52 "underlineChanged",
53 "fontSizeChanged",
54 "fileUrlChanged",
55 "textChanged",
56 "error",
57 "message",
58 "sizeChanged",
59 "setBold",
60 "arg",
61 "setItalic",
62 "setUnderline",
63 "setFontSize",
64 "setTextColor",
65 "setFontFamily",
66 "setFileUrl",
67 "setText",
68 "saveAs",
69 "fileType",
70 "insertTable",
71 "rows",
72 "columns",
73 "border",
74 "indentLess",
75 "indentMore",
76 "pastePlain",
77 "reset",
78 "target",
79 "QQuickItem*",
80 "cursorPosition",
81 "selectionStart",
82 "selectionEnd",
83 "textColor",
84 "fontFamily",
85 "alignment",
86 "Qt::Alignment",
87 "bold",
88 "italic",
89 "underline",
90 "fontSize",
91 "fileUrl",
92 "text",
93 "size"
94);
95#else // !QT_MOC_HAS_STRINGDATA
96#error "qtmochelpers.h not found or too old."
97#endif // !QT_MOC_HAS_STRINGDATA
98
99Q_CONSTINIT static const uint qt_meta_data_ZN11QmlRichTextE[] = {
100
101 // content:
102 12, // revision
103 0, // classname
104 0, 0, // classinfo
105 33, 14, // methods
106 14, 281, // properties
107 0, 0, // enums/sets
108 0, 0, // constructors
109 0, // flags
110 15, // signalCount
111
112 // signals: name, argc, parameters, tag, flags, initial metatype offsets
113 1, 0, 212, 2, 0x06, 15 /* Public */,
114 3, 0, 213, 2, 0x06, 16 /* Public */,
115 4, 0, 214, 2, 0x06, 17 /* Public */,
116 5, 0, 215, 2, 0x06, 18 /* Public */,
117 6, 0, 216, 2, 0x06, 19 /* Public */,
118 7, 0, 217, 2, 0x06, 20 /* Public */,
119 8, 0, 218, 2, 0x06, 21 /* Public */,
120 9, 0, 219, 2, 0x06, 22 /* Public */,
121 10, 0, 220, 2, 0x06, 23 /* Public */,
122 11, 0, 221, 2, 0x06, 24 /* Public */,
123 12, 0, 222, 2, 0x06, 25 /* Public */,
124 13, 0, 223, 2, 0x06, 26 /* Public */,
125 14, 0, 224, 2, 0x06, 27 /* Public */,
126 15, 1, 225, 2, 0x06, 28 /* Public */,
127 17, 0, 228, 2, 0x06, 30 /* Public */,
128
129 // slots: name, argc, parameters, tag, flags, initial metatype offsets
130 18, 1, 229, 2, 0x0a, 31 /* Public */,
131 20, 1, 232, 2, 0x0a, 33 /* Public */,
132 21, 1, 235, 2, 0x0a, 35 /* Public */,
133 22, 1, 238, 2, 0x0a, 37 /* Public */,
134 23, 1, 241, 2, 0x0a, 39 /* Public */,
135 24, 1, 244, 2, 0x0a, 41 /* Public */,
136 25, 1, 247, 2, 0x0a, 43 /* Public */,
137 26, 1, 250, 2, 0x0a, 45 /* Public */,
138 27, 2, 253, 2, 0x0a, 47 /* Public */,
139 27, 1, 258, 2, 0x2a, 50 /* Public | MethodCloned */,
140 29, 3, 261, 2, 0x0a, 52 /* Public */,
141 29, 2, 268, 2, 0x2a, 56 /* Public | MethodCloned */,
142 29, 1, 273, 2, 0x2a, 59 /* Public | MethodCloned */,
143 29, 0, 276, 2, 0x2a, 61 /* Public | MethodCloned */,
144 33, 0, 277, 2, 0x0a, 62 /* Public */,
145 34, 0, 278, 2, 0x0a, 63 /* Public */,
146 35, 0, 279, 2, 0x0a, 64 /* Public */,
147 36, 0, 280, 2, 0x0a, 65 /* Public */,
148
149 // signals: parameters
150 QMetaType::Void,
151 QMetaType::Void,
152 QMetaType::Void,
153 QMetaType::Void,
154 QMetaType::Void,
155 QMetaType::Void,
156 QMetaType::Void,
157 QMetaType::Void,
158 QMetaType::Void,
159 QMetaType::Void,
160 QMetaType::Void,
161 QMetaType::Void,
162 QMetaType::Void,
163 QMetaType::Void, QMetaType::QString, 16,
164 QMetaType::Void,
165
166 // slots: parameters
167 QMetaType::Void, QMetaType::Bool, 19,
168 QMetaType::Void, QMetaType::Bool, 19,
169 QMetaType::Void, QMetaType::Bool, 19,
170 QMetaType::Void, QMetaType::Int, 19,
171 QMetaType::Void, QMetaType::QColor, 19,
172 QMetaType::Void, QMetaType::QString, 19,
173 QMetaType::Void, QMetaType::QUrl, 19,
174 QMetaType::Void, QMetaType::QString, 19,
175 QMetaType::Void, QMetaType::QUrl, QMetaType::QString, 19, 28,
176 QMetaType::Void, QMetaType::QUrl, 19,
177 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 30, 31, 32,
178 QMetaType::Void, QMetaType::Int, QMetaType::Int, 30, 31,
179 QMetaType::Void, QMetaType::Int, 30,
180 QMetaType::Void,
181 QMetaType::Void,
182 QMetaType::Void,
183 QMetaType::Void,
184 QMetaType::Void,
185
186 // properties: name, type, flags, notifyId, revision
187 37, 0x80000000 | 38, 0x0001510b, uint(0), 0,
188 39, QMetaType::Int, 0x00015103, uint(1), 0,
189 40, QMetaType::Int, 0x00015103, uint(2), 0,
190 41, QMetaType::Int, 0x00015103, uint(3), 0,
191 42, QMetaType::QColor, 0x00015103, uint(5), 0,
192 43, QMetaType::QString, 0x00015103, uint(4), 0,
193 44, 0x80000000 | 45, 0x0001510b, uint(6), 0,
194 46, QMetaType::Bool, 0x00015103, uint(7), 0,
195 47, QMetaType::Bool, 0x00015103, uint(8), 0,
196 48, QMetaType::Bool, 0x00015103, uint(9), 0,
197 49, QMetaType::Int, 0x00015103, uint(10), 0,
198 50, QMetaType::QUrl, 0x00015103, uint(11), 0,
199 51, QMetaType::QString, 0x00015103, uint(12), 0,
200 52, QMetaType::QSizeF, 0x00015001, uint(14), 0,
201
202 // enums: name, alias, flags, count, data
203
204 // enum data: key, value
205
206 0 // eod
207};
208
209Q_CONSTINIT const QMetaObject QmlRichText::staticMetaObject = { {
210 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
211 qt_meta_stringdata_ZN11QmlRichTextE.offsetsAndSizes,
212 qt_meta_data_ZN11QmlRichTextE,
213 qt_static_metacall,
214 nullptr,
215 qt_incomplete_metaTypeArray<qt_meta_tag_ZN11QmlRichTextE_t,
216 // property 'target'
217 QtPrivate::TypeAndForceComplete<QQuickItem*, std::true_type>,
218 // property 'cursorPosition'
219 QtPrivate::TypeAndForceComplete<int, std::true_type>,
220 // property 'selectionStart'
221 QtPrivate::TypeAndForceComplete<int, std::true_type>,
222 // property 'selectionEnd'
223 QtPrivate::TypeAndForceComplete<int, std::true_type>,
224 // property 'textColor'
225 QtPrivate::TypeAndForceComplete<QColor, std::true_type>,
226 // property 'fontFamily'
227 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
228 // property 'alignment'
229 QtPrivate::TypeAndForceComplete<Qt::Alignment, std::true_type>,
230 // property 'bold'
231 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
232 // property 'italic'
233 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
234 // property 'underline'
235 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
236 // property 'fontSize'
237 QtPrivate::TypeAndForceComplete<int, std::true_type>,
238 // property 'fileUrl'
239 QtPrivate::TypeAndForceComplete<QUrl, std::true_type>,
240 // property 'text'
241 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
242 // property 'size'
243 QtPrivate::TypeAndForceComplete<QSizeF, std::true_type>,
244 // Q_OBJECT / Q_GADGET
245 QtPrivate::TypeAndForceComplete<QmlRichText, std::true_type>,
246 // method 'targetChanged'
247 QtPrivate::TypeAndForceComplete<void, std::false_type>,
248 // method 'cursorPositionChanged'
249 QtPrivate::TypeAndForceComplete<void, std::false_type>,
250 // method 'selectionStartChanged'
251 QtPrivate::TypeAndForceComplete<void, std::false_type>,
252 // method 'selectionEndChanged'
253 QtPrivate::TypeAndForceComplete<void, std::false_type>,
254 // method 'fontFamilyChanged'
255 QtPrivate::TypeAndForceComplete<void, std::false_type>,
256 // method 'textColorChanged'
257 QtPrivate::TypeAndForceComplete<void, std::false_type>,
258 // method 'alignmentChanged'
259 QtPrivate::TypeAndForceComplete<void, std::false_type>,
260 // method 'boldChanged'
261 QtPrivate::TypeAndForceComplete<void, std::false_type>,
262 // method 'italicChanged'
263 QtPrivate::TypeAndForceComplete<void, std::false_type>,
264 // method 'underlineChanged'
265 QtPrivate::TypeAndForceComplete<void, std::false_type>,
266 // method 'fontSizeChanged'
267 QtPrivate::TypeAndForceComplete<void, std::false_type>,
268 // method 'fileUrlChanged'
269 QtPrivate::TypeAndForceComplete<void, std::false_type>,
270 // method 'textChanged'
271 QtPrivate::TypeAndForceComplete<void, std::false_type>,
272 // method 'error'
273 QtPrivate::TypeAndForceComplete<void, std::false_type>,
274 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
275 // method 'sizeChanged'
276 QtPrivate::TypeAndForceComplete<void, std::false_type>,
277 // method 'setBold'
278 QtPrivate::TypeAndForceComplete<void, std::false_type>,
279 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
280 // method 'setItalic'
281 QtPrivate::TypeAndForceComplete<void, std::false_type>,
282 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
283 // method 'setUnderline'
284 QtPrivate::TypeAndForceComplete<void, std::false_type>,
285 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
286 // method 'setFontSize'
287 QtPrivate::TypeAndForceComplete<void, std::false_type>,
288 QtPrivate::TypeAndForceComplete<int, std::false_type>,
289 // method 'setTextColor'
290 QtPrivate::TypeAndForceComplete<void, std::false_type>,
291 QtPrivate::TypeAndForceComplete<const QColor &, std::false_type>,
292 // method 'setFontFamily'
293 QtPrivate::TypeAndForceComplete<void, std::false_type>,
294 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
295 // method 'setFileUrl'
296 QtPrivate::TypeAndForceComplete<void, std::false_type>,
297 QtPrivate::TypeAndForceComplete<const QUrl &, std::false_type>,
298 // method 'setText'
299 QtPrivate::TypeAndForceComplete<void, std::false_type>,
300 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
301 // method 'saveAs'
302 QtPrivate::TypeAndForceComplete<void, std::false_type>,
303 QtPrivate::TypeAndForceComplete<const QUrl &, std::false_type>,
304 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
305 // method 'saveAs'
306 QtPrivate::TypeAndForceComplete<void, std::false_type>,
307 QtPrivate::TypeAndForceComplete<const QUrl &, std::false_type>,
308 // method 'insertTable'
309 QtPrivate::TypeAndForceComplete<void, std::false_type>,
310 QtPrivate::TypeAndForceComplete<int, std::false_type>,
311 QtPrivate::TypeAndForceComplete<int, std::false_type>,
312 QtPrivate::TypeAndForceComplete<int, std::false_type>,
313 // method 'insertTable'
314 QtPrivate::TypeAndForceComplete<void, std::false_type>,
315 QtPrivate::TypeAndForceComplete<int, std::false_type>,
316 QtPrivate::TypeAndForceComplete<int, std::false_type>,
317 // method 'insertTable'
318 QtPrivate::TypeAndForceComplete<void, std::false_type>,
319 QtPrivate::TypeAndForceComplete<int, std::false_type>,
320 // method 'insertTable'
321 QtPrivate::TypeAndForceComplete<void, std::false_type>,
322 // method 'indentLess'
323 QtPrivate::TypeAndForceComplete<void, std::false_type>,
324 // method 'indentMore'
325 QtPrivate::TypeAndForceComplete<void, std::false_type>,
326 // method 'pastePlain'
327 QtPrivate::TypeAndForceComplete<void, std::false_type>,
328 // method 'reset'
329 QtPrivate::TypeAndForceComplete<void, std::false_type>
330 >,
331 nullptr
332} };
333
334void QmlRichText::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
335{
336 auto *_t = static_cast<QmlRichText *>(_o);
337 if (_c == QMetaObject::InvokeMetaMethod) {
338 switch (_id) {
339 case 0: _t->targetChanged(); break;
340 case 1: _t->cursorPositionChanged(); break;
341 case 2: _t->selectionStartChanged(); break;
342 case 3: _t->selectionEndChanged(); break;
343 case 4: _t->fontFamilyChanged(); break;
344 case 5: _t->textColorChanged(); break;
345 case 6: _t->alignmentChanged(); break;
346 case 7: _t->boldChanged(); break;
347 case 8: _t->italicChanged(); break;
348 case 9: _t->underlineChanged(); break;
349 case 10: _t->fontSizeChanged(); break;
350 case 11: _t->fileUrlChanged(); break;
351 case 12: _t->textChanged(); break;
352 case 13: _t->error((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
353 case 14: _t->sizeChanged(); break;
354 case 15: _t->setBold((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
355 case 16: _t->setItalic((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
356 case 17: _t->setUnderline((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
357 case 18: _t->setFontSize((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
358 case 19: _t->setTextColor((*reinterpret_cast< std::add_pointer_t<QColor>>(_a[1]))); break;
359 case 20: _t->setFontFamily((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
360 case 21: _t->setFileUrl((*reinterpret_cast< std::add_pointer_t<QUrl>>(_a[1]))); break;
361 case 22: _t->setText((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
362 case 23: _t->saveAs((*reinterpret_cast< std::add_pointer_t<QUrl>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QString>>(_a[2]))); break;
363 case 24: _t->saveAs((*reinterpret_cast< std::add_pointer_t<QUrl>>(_a[1]))); break;
364 case 25: _t->insertTable((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[3]))); break;
365 case 26: _t->insertTable((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
366 case 27: _t->insertTable((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
367 case 28: _t->insertTable(); break;
368 case 29: _t->indentLess(); break;
369 case 30: _t->indentMore(); break;
370 case 31: _t->pastePlain(); break;
371 case 32: _t->reset(); break;
372 default: ;
373 }
374 }
375 if (_c == QMetaObject::IndexOfMethod) {
376 int *result = reinterpret_cast<int *>(_a[0]);
377 {
378 using _q_method_type = void (QmlRichText::*)();
379 if (_q_method_type _q_method = &QmlRichText::targetChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
380 *result = 0;
381 return;
382 }
383 }
384 {
385 using _q_method_type = void (QmlRichText::*)();
386 if (_q_method_type _q_method = &QmlRichText::cursorPositionChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
387 *result = 1;
388 return;
389 }
390 }
391 {
392 using _q_method_type = void (QmlRichText::*)();
393 if (_q_method_type _q_method = &QmlRichText::selectionStartChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
394 *result = 2;
395 return;
396 }
397 }
398 {
399 using _q_method_type = void (QmlRichText::*)();
400 if (_q_method_type _q_method = &QmlRichText::selectionEndChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
401 *result = 3;
402 return;
403 }
404 }
405 {
406 using _q_method_type = void (QmlRichText::*)();
407 if (_q_method_type _q_method = &QmlRichText::fontFamilyChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
408 *result = 4;
409 return;
410 }
411 }
412 {
413 using _q_method_type = void (QmlRichText::*)();
414 if (_q_method_type _q_method = &QmlRichText::textColorChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
415 *result = 5;
416 return;
417 }
418 }
419 {
420 using _q_method_type = void (QmlRichText::*)();
421 if (_q_method_type _q_method = &QmlRichText::alignmentChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
422 *result = 6;
423 return;
424 }
425 }
426 {
427 using _q_method_type = void (QmlRichText::*)();
428 if (_q_method_type _q_method = &QmlRichText::boldChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
429 *result = 7;
430 return;
431 }
432 }
433 {
434 using _q_method_type = void (QmlRichText::*)();
435 if (_q_method_type _q_method = &QmlRichText::italicChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
436 *result = 8;
437 return;
438 }
439 }
440 {
441 using _q_method_type = void (QmlRichText::*)();
442 if (_q_method_type _q_method = &QmlRichText::underlineChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
443 *result = 9;
444 return;
445 }
446 }
447 {
448 using _q_method_type = void (QmlRichText::*)();
449 if (_q_method_type _q_method = &QmlRichText::fontSizeChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
450 *result = 10;
451 return;
452 }
453 }
454 {
455 using _q_method_type = void (QmlRichText::*)();
456 if (_q_method_type _q_method = &QmlRichText::fileUrlChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
457 *result = 11;
458 return;
459 }
460 }
461 {
462 using _q_method_type = void (QmlRichText::*)();
463 if (_q_method_type _q_method = &QmlRichText::textChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
464 *result = 12;
465 return;
466 }
467 }
468 {
469 using _q_method_type = void (QmlRichText::*)(QString );
470 if (_q_method_type _q_method = &QmlRichText::error; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
471 *result = 13;
472 return;
473 }
474 }
475 {
476 using _q_method_type = void (QmlRichText::*)();
477 if (_q_method_type _q_method = &QmlRichText::sizeChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
478 *result = 14;
479 return;
480 }
481 }
482 }
483 if (_c == QMetaObject::RegisterPropertyMetaType) {
484 switch (_id) {
485 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
486 case 0:
487 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break;
488 }
489 }
490 if (_c == QMetaObject::ReadProperty) {
491 void *_v = _a[0];
492 switch (_id) {
493 case 0: *reinterpret_cast< QQuickItem**>(_v) = _t->target(); break;
494 case 1: *reinterpret_cast< int*>(_v) = _t->cursorPosition(); break;
495 case 2: *reinterpret_cast< int*>(_v) = _t->selectionStart(); break;
496 case 3: *reinterpret_cast< int*>(_v) = _t->selectionEnd(); break;
497 case 4: *reinterpret_cast< QColor*>(_v) = _t->textColor(); break;
498 case 5: *reinterpret_cast< QString*>(_v) = _t->fontFamily(); break;
499 case 6: *reinterpret_cast< Qt::Alignment*>(_v) = _t->alignment(); break;
500 case 7: *reinterpret_cast< bool*>(_v) = _t->bold(); break;
501 case 8: *reinterpret_cast< bool*>(_v) = _t->italic(); break;
502 case 9: *reinterpret_cast< bool*>(_v) = _t->underline(); break;
503 case 10: *reinterpret_cast< int*>(_v) = _t->fontSize(); break;
504 case 11: *reinterpret_cast< QUrl*>(_v) = _t->fileUrl(); break;
505 case 12: *reinterpret_cast< QString*>(_v) = _t->text(); break;
506 case 13: *reinterpret_cast< QSizeF*>(_v) = _t->size(); break;
507 default: break;
508 }
509 }
510 if (_c == QMetaObject::WriteProperty) {
511 void *_v = _a[0];
512 switch (_id) {
513 case 0: _t->setTarget(*reinterpret_cast< QQuickItem**>(_v)); break;
514 case 1: _t->setCursorPosition(*reinterpret_cast< int*>(_v)); break;
515 case 2: _t->setSelectionStart(*reinterpret_cast< int*>(_v)); break;
516 case 3: _t->setSelectionEnd(*reinterpret_cast< int*>(_v)); break;
517 case 4: _t->setTextColor(*reinterpret_cast< QColor*>(_v)); break;
518 case 5: _t->setFontFamily(*reinterpret_cast< QString*>(_v)); break;
519 case 6: _t->setAlignment(*reinterpret_cast< Qt::Alignment*>(_v)); break;
520 case 7: _t->setBold(*reinterpret_cast< bool*>(_v)); break;
521 case 8: _t->setItalic(*reinterpret_cast< bool*>(_v)); break;
522 case 9: _t->setUnderline(*reinterpret_cast< bool*>(_v)); break;
523 case 10: _t->setFontSize(*reinterpret_cast< int*>(_v)); break;
524 case 11: _t->setFileUrl(*reinterpret_cast< QUrl*>(_v)); break;
525 case 12: _t->setText(*reinterpret_cast< QString*>(_v)); break;
526 default: break;
527 }
528 }
529}
530
531const QMetaObject *QmlRichText::metaObject() const
532{
533 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
534}
535
536void *QmlRichText::qt_metacast(const char *_clname)
537{
538 if (!_clname) return nullptr;
539 if (!strcmp(_clname, qt_meta_stringdata_ZN11QmlRichTextE.stringdata0))
540 return static_cast<void*>(this);
541 return QObject::qt_metacast(_clname);
542}
543
544int QmlRichText::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
545{
546 _id = QObject::qt_metacall(_c, _id, _a);
547 if (_id < 0)
548 return _id;
549 if (_c == QMetaObject::InvokeMetaMethod) {
550 if (_id < 33)
551 qt_static_metacall(this, _c, _id, _a);
552 _id -= 33;
553 }
554 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
555 if (_id < 33)
556 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
557 _id -= 33;
558 }
559 if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
560 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
561 || _c == QMetaObject::RegisterPropertyMetaType) {
562 qt_static_metacall(this, _c, _id, _a);
563 _id -= 14;
564 }
565 return _id;
566}
567
568// SIGNAL 0
569void QmlRichText::targetChanged()
570{
571 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
572}
573
574// SIGNAL 1
575void QmlRichText::cursorPositionChanged()
576{
577 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
578}
579
580// SIGNAL 2
581void QmlRichText::selectionStartChanged()
582{
583 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
584}
585
586// SIGNAL 3
587void QmlRichText::selectionEndChanged()
588{
589 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
590}
591
592// SIGNAL 4
593void QmlRichText::fontFamilyChanged()
594{
595 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
596}
597
598// SIGNAL 5
599void QmlRichText::textColorChanged()
600{
601 QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
602}
603
604// SIGNAL 6
605void QmlRichText::alignmentChanged()
606{
607 QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
608}
609
610// SIGNAL 7
611void QmlRichText::boldChanged()
612{
613 QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
614}
615
616// SIGNAL 8
617void QmlRichText::italicChanged()
618{
619 QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
620}
621
622// SIGNAL 9
623void QmlRichText::underlineChanged()
624{
625 QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
626}
627
628// SIGNAL 10
629void QmlRichText::fontSizeChanged()
630{
631 QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
632}
633
634// SIGNAL 11
635void QmlRichText::fileUrlChanged()
636{
637 QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
638}
639
640// SIGNAL 12
641void QmlRichText::textChanged()
642{
643 QMetaObject::activate(this, &staticMetaObject, 12, nullptr);
644}
645
646// SIGNAL 13
647void QmlRichText::error(QString _t1)
648{
649 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
650 QMetaObject::activate(this, &staticMetaObject, 13, _a);
651}
652
653// SIGNAL 14
654void QmlRichText::sizeChanged()
655{
656 QMetaObject::activate(this, &staticMetaObject, 14, nullptr);
657}
658QT_WARNING_POP