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.7.2)
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.7.2. 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 {
35
36#ifdef QT_MOC_HAS_STRINGDATA
37struct qt_meta_stringdata_CLASSQmlRichTextENDCLASS_t {};
38constexpr auto qt_meta_stringdata_CLASSQmlRichTextENDCLASS = QtMocHelpers::stringData(
39 "QmlRichText",
40 "targetChanged",
41 "",
42 "cursorPositionChanged",
43 "selectionStartChanged",
44 "selectionEndChanged",
45 "fontFamilyChanged",
46 "textColorChanged",
47 "alignmentChanged",
48 "boldChanged",
49 "italicChanged",
50 "underlineChanged",
51 "fontSizeChanged",
52 "fileUrlChanged",
53 "textChanged",
54 "error",
55 "message",
56 "sizeChanged",
57 "setBold",
58 "arg",
59 "setItalic",
60 "setUnderline",
61 "setFontSize",
62 "setTextColor",
63 "setFontFamily",
64 "setFileUrl",
65 "setText",
66 "saveAs",
67 "fileType",
68 "insertTable",
69 "rows",
70 "columns",
71 "border",
72 "indentLess",
73 "indentMore",
74 "pastePlain",
75 "reset",
76 "target",
77 "QQuickItem*",
78 "cursorPosition",
79 "selectionStart",
80 "selectionEnd",
81 "textColor",
82 "fontFamily",
83 "alignment",
84 "Qt::Alignment",
85 "bold",
86 "italic",
87 "underline",
88 "fontSize",
89 "fileUrl",
90 "text",
91 "size"
92);
93#else // !QT_MOC_HAS_STRINGDATA
94#error "qtmochelpers.h not found or too old."
95#endif // !QT_MOC_HAS_STRINGDATA
96} // unnamed namespace
97
98Q_CONSTINIT static const uint qt_meta_data_CLASSQmlRichTextENDCLASS[] = {
99
100 // content:
101 12, // revision
102 0, // classname
103 0, 0, // classinfo
104 33, 14, // methods
105 14, 281, // properties
106 0, 0, // enums/sets
107 0, 0, // constructors
108 0, // flags
109 15, // signalCount
110
111 // signals: name, argc, parameters, tag, flags, initial metatype offsets
112 1, 0, 212, 2, 0x06, 15 /* Public */,
113 3, 0, 213, 2, 0x06, 16 /* Public */,
114 4, 0, 214, 2, 0x06, 17 /* Public */,
115 5, 0, 215, 2, 0x06, 18 /* Public */,
116 6, 0, 216, 2, 0x06, 19 /* Public */,
117 7, 0, 217, 2, 0x06, 20 /* Public */,
118 8, 0, 218, 2, 0x06, 21 /* Public */,
119 9, 0, 219, 2, 0x06, 22 /* Public */,
120 10, 0, 220, 2, 0x06, 23 /* Public */,
121 11, 0, 221, 2, 0x06, 24 /* Public */,
122 12, 0, 222, 2, 0x06, 25 /* Public */,
123 13, 0, 223, 2, 0x06, 26 /* Public */,
124 14, 0, 224, 2, 0x06, 27 /* Public */,
125 15, 1, 225, 2, 0x06, 28 /* Public */,
126 17, 0, 228, 2, 0x06, 30 /* Public */,
127
128 // slots: name, argc, parameters, tag, flags, initial metatype offsets
129 18, 1, 229, 2, 0x0a, 31 /* Public */,
130 20, 1, 232, 2, 0x0a, 33 /* Public */,
131 21, 1, 235, 2, 0x0a, 35 /* Public */,
132 22, 1, 238, 2, 0x0a, 37 /* Public */,
133 23, 1, 241, 2, 0x0a, 39 /* Public */,
134 24, 1, 244, 2, 0x0a, 41 /* Public */,
135 25, 1, 247, 2, 0x0a, 43 /* Public */,
136 26, 1, 250, 2, 0x0a, 45 /* Public */,
137 27, 2, 253, 2, 0x0a, 47 /* Public */,
138 27, 1, 258, 2, 0x2a, 50 /* Public | MethodCloned */,
139 29, 3, 261, 2, 0x0a, 52 /* Public */,
140 29, 2, 268, 2, 0x2a, 56 /* Public | MethodCloned */,
141 29, 1, 273, 2, 0x2a, 59 /* Public | MethodCloned */,
142 29, 0, 276, 2, 0x2a, 61 /* Public | MethodCloned */,
143 33, 0, 277, 2, 0x0a, 62 /* Public */,
144 34, 0, 278, 2, 0x0a, 63 /* Public */,
145 35, 0, 279, 2, 0x0a, 64 /* Public */,
146 36, 0, 280, 2, 0x0a, 65 /* Public */,
147
148 // signals: parameters
149 QMetaType::Void,
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, QMetaType::QString, 16,
163 QMetaType::Void,
164
165 // slots: parameters
166 QMetaType::Void, QMetaType::Bool, 19,
167 QMetaType::Void, QMetaType::Bool, 19,
168 QMetaType::Void, QMetaType::Bool, 19,
169 QMetaType::Void, QMetaType::Int, 19,
170 QMetaType::Void, QMetaType::QColor, 19,
171 QMetaType::Void, QMetaType::QString, 19,
172 QMetaType::Void, QMetaType::QUrl, 19,
173 QMetaType::Void, QMetaType::QString, 19,
174 QMetaType::Void, QMetaType::QUrl, QMetaType::QString, 19, 28,
175 QMetaType::Void, QMetaType::QUrl, 19,
176 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 30, 31, 32,
177 QMetaType::Void, QMetaType::Int, QMetaType::Int, 30, 31,
178 QMetaType::Void, QMetaType::Int, 30,
179 QMetaType::Void,
180 QMetaType::Void,
181 QMetaType::Void,
182 QMetaType::Void,
183 QMetaType::Void,
184
185 // properties: name, type, flags
186 37, 0x80000000 | 38, 0x0001510b, uint(0), 0,
187 39, QMetaType::Int, 0x00015103, uint(1), 0,
188 40, QMetaType::Int, 0x00015103, uint(2), 0,
189 41, QMetaType::Int, 0x00015103, uint(3), 0,
190 42, QMetaType::QColor, 0x00015103, uint(5), 0,
191 43, QMetaType::QString, 0x00015103, uint(4), 0,
192 44, 0x80000000 | 45, 0x0001510b, uint(6), 0,
193 46, QMetaType::Bool, 0x00015103, uint(7), 0,
194 47, QMetaType::Bool, 0x00015103, uint(8), 0,
195 48, QMetaType::Bool, 0x00015103, uint(9), 0,
196 49, QMetaType::Int, 0x00015103, uint(10), 0,
197 50, QMetaType::QUrl, 0x00015103, uint(11), 0,
198 51, QMetaType::QString, 0x00015103, uint(12), 0,
199 52, QMetaType::QSizeF, 0x00015001, uint(14), 0,
200
201 // enums: name, alias, flags, count, data
202
203 // enum data: key, value
204
205 0 // eod
206};
207
208Q_CONSTINIT const QMetaObject QmlRichText::staticMetaObject = { {
209 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
210 qt_meta_stringdata_CLASSQmlRichTextENDCLASS.offsetsAndSizes,
211 qt_meta_data_CLASSQmlRichTextENDCLASS,
212 qt_static_metacall,
213 nullptr,
214 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSQmlRichTextENDCLASS_t,
215 // property 'target'
216 QtPrivate::TypeAndForceComplete<QQuickItem*, std::true_type>,
217 // property 'cursorPosition'
218 QtPrivate::TypeAndForceComplete<int, std::true_type>,
219 // property 'selectionStart'
220 QtPrivate::TypeAndForceComplete<int, std::true_type>,
221 // property 'selectionEnd'
222 QtPrivate::TypeAndForceComplete<int, std::true_type>,
223 // property 'textColor'
224 QtPrivate::TypeAndForceComplete<QColor, std::true_type>,
225 // property 'fontFamily'
226 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
227 // property 'alignment'
228 QtPrivate::TypeAndForceComplete<Qt::Alignment, std::true_type>,
229 // property 'bold'
230 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
231 // property 'italic'
232 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
233 // property 'underline'
234 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
235 // property 'fontSize'
236 QtPrivate::TypeAndForceComplete<int, std::true_type>,
237 // property 'fileUrl'
238 QtPrivate::TypeAndForceComplete<QUrl, std::true_type>,
239 // property 'text'
240 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
241 // property 'size'
242 QtPrivate::TypeAndForceComplete<QSizeF, std::true_type>,
243 // Q_OBJECT / Q_GADGET
244 QtPrivate::TypeAndForceComplete<QmlRichText, std::true_type>,
245 // method 'targetChanged'
246 QtPrivate::TypeAndForceComplete<void, std::false_type>,
247 // method 'cursorPositionChanged'
248 QtPrivate::TypeAndForceComplete<void, std::false_type>,
249 // method 'selectionStartChanged'
250 QtPrivate::TypeAndForceComplete<void, std::false_type>,
251 // method 'selectionEndChanged'
252 QtPrivate::TypeAndForceComplete<void, std::false_type>,
253 // method 'fontFamilyChanged'
254 QtPrivate::TypeAndForceComplete<void, std::false_type>,
255 // method 'textColorChanged'
256 QtPrivate::TypeAndForceComplete<void, std::false_type>,
257 // method 'alignmentChanged'
258 QtPrivate::TypeAndForceComplete<void, std::false_type>,
259 // method 'boldChanged'
260 QtPrivate::TypeAndForceComplete<void, std::false_type>,
261 // method 'italicChanged'
262 QtPrivate::TypeAndForceComplete<void, std::false_type>,
263 // method 'underlineChanged'
264 QtPrivate::TypeAndForceComplete<void, std::false_type>,
265 // method 'fontSizeChanged'
266 QtPrivate::TypeAndForceComplete<void, std::false_type>,
267 // method 'fileUrlChanged'
268 QtPrivate::TypeAndForceComplete<void, std::false_type>,
269 // method 'textChanged'
270 QtPrivate::TypeAndForceComplete<void, std::false_type>,
271 // method 'error'
272 QtPrivate::TypeAndForceComplete<void, std::false_type>,
273 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
274 // method 'sizeChanged'
275 QtPrivate::TypeAndForceComplete<void, std::false_type>,
276 // method 'setBold'
277 QtPrivate::TypeAndForceComplete<void, std::false_type>,
278 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
279 // method 'setItalic'
280 QtPrivate::TypeAndForceComplete<void, std::false_type>,
281 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
282 // method 'setUnderline'
283 QtPrivate::TypeAndForceComplete<void, std::false_type>,
284 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
285 // method 'setFontSize'
286 QtPrivate::TypeAndForceComplete<void, std::false_type>,
287 QtPrivate::TypeAndForceComplete<int, std::false_type>,
288 // method 'setTextColor'
289 QtPrivate::TypeAndForceComplete<void, std::false_type>,
290 QtPrivate::TypeAndForceComplete<const QColor &, std::false_type>,
291 // method 'setFontFamily'
292 QtPrivate::TypeAndForceComplete<void, std::false_type>,
293 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
294 // method 'setFileUrl'
295 QtPrivate::TypeAndForceComplete<void, std::false_type>,
296 QtPrivate::TypeAndForceComplete<const QUrl &, std::false_type>,
297 // method 'setText'
298 QtPrivate::TypeAndForceComplete<void, std::false_type>,
299 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
300 // method 'saveAs'
301 QtPrivate::TypeAndForceComplete<void, std::false_type>,
302 QtPrivate::TypeAndForceComplete<const QUrl &, std::false_type>,
303 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
304 // method 'saveAs'
305 QtPrivate::TypeAndForceComplete<void, std::false_type>,
306 QtPrivate::TypeAndForceComplete<const QUrl &, std::false_type>,
307 // method 'insertTable'
308 QtPrivate::TypeAndForceComplete<void, std::false_type>,
309 QtPrivate::TypeAndForceComplete<int, std::false_type>,
310 QtPrivate::TypeAndForceComplete<int, std::false_type>,
311 QtPrivate::TypeAndForceComplete<int, std::false_type>,
312 // method 'insertTable'
313 QtPrivate::TypeAndForceComplete<void, std::false_type>,
314 QtPrivate::TypeAndForceComplete<int, std::false_type>,
315 QtPrivate::TypeAndForceComplete<int, std::false_type>,
316 // method 'insertTable'
317 QtPrivate::TypeAndForceComplete<void, std::false_type>,
318 QtPrivate::TypeAndForceComplete<int, std::false_type>,
319 // method 'insertTable'
320 QtPrivate::TypeAndForceComplete<void, std::false_type>,
321 // method 'indentLess'
322 QtPrivate::TypeAndForceComplete<void, std::false_type>,
323 // method 'indentMore'
324 QtPrivate::TypeAndForceComplete<void, std::false_type>,
325 // method 'pastePlain'
326 QtPrivate::TypeAndForceComplete<void, std::false_type>,
327 // method 'reset'
328 QtPrivate::TypeAndForceComplete<void, std::false_type>
329 >,
330 nullptr
331} };
332
333void QmlRichText::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
334{
335 if (_c == QMetaObject::InvokeMetaMethod) {
336 auto *_t = static_cast<QmlRichText *>(_o);
337 (void)_t;
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 } else if (_c == QMetaObject::IndexOfMethod) {
375 int *result = reinterpret_cast<int *>(_a[0]);
376 {
377 using _t = void (QmlRichText::*)();
378 if (_t _q_method = &QmlRichText::targetChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
379 *result = 0;
380 return;
381 }
382 }
383 {
384 using _t = void (QmlRichText::*)();
385 if (_t _q_method = &QmlRichText::cursorPositionChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
386 *result = 1;
387 return;
388 }
389 }
390 {
391 using _t = void (QmlRichText::*)();
392 if (_t _q_method = &QmlRichText::selectionStartChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
393 *result = 2;
394 return;
395 }
396 }
397 {
398 using _t = void (QmlRichText::*)();
399 if (_t _q_method = &QmlRichText::selectionEndChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
400 *result = 3;
401 return;
402 }
403 }
404 {
405 using _t = void (QmlRichText::*)();
406 if (_t _q_method = &QmlRichText::fontFamilyChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
407 *result = 4;
408 return;
409 }
410 }
411 {
412 using _t = void (QmlRichText::*)();
413 if (_t _q_method = &QmlRichText::textColorChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
414 *result = 5;
415 return;
416 }
417 }
418 {
419 using _t = void (QmlRichText::*)();
420 if (_t _q_method = &QmlRichText::alignmentChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
421 *result = 6;
422 return;
423 }
424 }
425 {
426 using _t = void (QmlRichText::*)();
427 if (_t _q_method = &QmlRichText::boldChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
428 *result = 7;
429 return;
430 }
431 }
432 {
433 using _t = void (QmlRichText::*)();
434 if (_t _q_method = &QmlRichText::italicChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
435 *result = 8;
436 return;
437 }
438 }
439 {
440 using _t = void (QmlRichText::*)();
441 if (_t _q_method = &QmlRichText::underlineChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
442 *result = 9;
443 return;
444 }
445 }
446 {
447 using _t = void (QmlRichText::*)();
448 if (_t _q_method = &QmlRichText::fontSizeChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
449 *result = 10;
450 return;
451 }
452 }
453 {
454 using _t = void (QmlRichText::*)();
455 if (_t _q_method = &QmlRichText::fileUrlChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
456 *result = 11;
457 return;
458 }
459 }
460 {
461 using _t = void (QmlRichText::*)();
462 if (_t _q_method = &QmlRichText::textChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
463 *result = 12;
464 return;
465 }
466 }
467 {
468 using _t = void (QmlRichText::*)(QString );
469 if (_t _q_method = &QmlRichText::error; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
470 *result = 13;
471 return;
472 }
473 }
474 {
475 using _t = void (QmlRichText::*)();
476 if (_t _q_method = &QmlRichText::sizeChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
477 *result = 14;
478 return;
479 }
480 }
481 } else if (_c == QMetaObject::RegisterPropertyMetaType) {
482 switch (_id) {
483 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
484 case 0:
485 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break;
486 }
487 } else if (_c == QMetaObject::ReadProperty) {
488 auto *_t = static_cast<QmlRichText *>(_o);
489 (void)_t;
490 void *_v = _a[0];
491 switch (_id) {
492 case 0: *reinterpret_cast< QQuickItem**>(_v) = _t->target(); break;
493 case 1: *reinterpret_cast< int*>(_v) = _t->cursorPosition(); break;
494 case 2: *reinterpret_cast< int*>(_v) = _t->selectionStart(); break;
495 case 3: *reinterpret_cast< int*>(_v) = _t->selectionEnd(); break;
496 case 4: *reinterpret_cast< QColor*>(_v) = _t->textColor(); break;
497 case 5: *reinterpret_cast< QString*>(_v) = _t->fontFamily(); break;
498 case 6: *reinterpret_cast< Qt::Alignment*>(_v) = _t->alignment(); break;
499 case 7: *reinterpret_cast< bool*>(_v) = _t->bold(); break;
500 case 8: *reinterpret_cast< bool*>(_v) = _t->italic(); break;
501 case 9: *reinterpret_cast< bool*>(_v) = _t->underline(); break;
502 case 10: *reinterpret_cast< int*>(_v) = _t->fontSize(); break;
503 case 11: *reinterpret_cast< QUrl*>(_v) = _t->fileUrl(); break;
504 case 12: *reinterpret_cast< QString*>(_v) = _t->text(); break;
505 case 13: *reinterpret_cast< QSizeF*>(_v) = _t->size(); break;
506 default: break;
507 }
508 } else if (_c == QMetaObject::WriteProperty) {
509 auto *_t = static_cast<QmlRichText *>(_o);
510 (void)_t;
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 } else if (_c == QMetaObject::ResetProperty) {
529 } else if (_c == QMetaObject::BindableProperty) {
530 }
531}
532
533const QMetaObject *QmlRichText::metaObject() const
534{
535 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
536}
537
538void *QmlRichText::qt_metacast(const char *_clname)
539{
540 if (!_clname) return nullptr;
541 if (!strcmp(_clname, qt_meta_stringdata_CLASSQmlRichTextENDCLASS.stringdata0))
542 return static_cast<void*>(this);
543 return QObject::qt_metacast(_clname);
544}
545
546int QmlRichText::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
547{
548 _id = QObject::qt_metacall(_c, _id, _a);
549 if (_id < 0)
550 return _id;
551 if (_c == QMetaObject::InvokeMetaMethod) {
552 if (_id < 33)
553 qt_static_metacall(this, _c, _id, _a);
554 _id -= 33;
555 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
556 if (_id < 33)
557 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
558 _id -= 33;
559 }else 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