9#include "../../../../src/qmltypes/qmlrichtext.h"
10#include <QtGui/qtextcursor.h>
11#include <QtCore/qmetatype.h>
13#if __has_include(<QtCore/qtmochelpers.h>)
14#include <QtCore/qtmochelpers.h>
22#if !defined(Q_MOC_OUTPUT_REVISION)
23#error "The header file 'qmlrichtext.h' doesn't include <QObject>."
24#elif Q_MOC_OUTPUT_REVISION != 68
25#error "This file was generated using the moc from 6.6.2. It"
26#error "cannot be used with the include files from this version of Qt."
27#error "(The moc has changed too much.)"
35QT_WARNING_DISABLE_DEPRECATED
36QT_WARNING_DISABLE_GCC(
"-Wuseless-cast")
39#ifdef QT_MOC_HAS_STRINGDATA
40struct qt_meta_stringdata_CLASSQmlRichTextENDCLASS_t {};
41constexpr auto qt_meta_stringdata_CLASSQmlRichTextENDCLASS = QtMocHelpers::stringData(
45 "cursorPositionChanged",
46 "selectionStartChanged",
47 "selectionEndChanged",
97struct qt_meta_stringdata_CLASSQmlRichTextENDCLASS_t {
98 uint offsetsAndSizes[106];
100 char stringdata1[14];
102 char stringdata3[22];
103 char stringdata4[22];
104 char stringdata5[20];
105 char stringdata6[18];
106 char stringdata7[17];
107 char stringdata8[17];
108 char stringdata9[12];
109 char stringdata10[14];
110 char stringdata11[17];
111 char stringdata12[16];
112 char stringdata13[15];
113 char stringdata14[12];
114 char stringdata15[6];
115 char stringdata16[8];
116 char stringdata17[12];
117 char stringdata18[8];
118 char stringdata19[4];
119 char stringdata20[10];
120 char stringdata21[13];
121 char stringdata22[12];
122 char stringdata23[13];
123 char stringdata24[14];
124 char stringdata25[11];
125 char stringdata26[8];
126 char stringdata27[7];
127 char stringdata28[9];
128 char stringdata29[12];
129 char stringdata30[5];
130 char stringdata31[8];
131 char stringdata32[7];
132 char stringdata33[11];
133 char stringdata34[11];
134 char stringdata35[11];
135 char stringdata36[6];
136 char stringdata37[7];
137 char stringdata38[12];
138 char stringdata39[15];
139 char stringdata40[15];
140 char stringdata41[13];
141 char stringdata42[10];
142 char stringdata43[11];
143 char stringdata44[10];
144 char stringdata45[14];
145 char stringdata46[5];
146 char stringdata47[7];
147 char stringdata48[10];
148 char stringdata49[9];
149 char stringdata50[8];
150 char stringdata51[5];
151 char stringdata52[5];
153#define QT_MOC_LITERAL(ofs, len) \
154 uint(sizeof(qt_meta_stringdata_CLASSQmlRichTextENDCLASS_t::offsetsAndSizes) + ofs), len
155Q_CONSTINIT
static const qt_meta_stringdata_CLASSQmlRichTextENDCLASS_t qt_meta_stringdata_CLASSQmlRichTextENDCLASS = {
157 QT_MOC_LITERAL(0, 11),
158 QT_MOC_LITERAL(12, 13),
159 QT_MOC_LITERAL(26, 0),
160 QT_MOC_LITERAL(27, 21),
161 QT_MOC_LITERAL(49, 21),
162 QT_MOC_LITERAL(71, 19),
163 QT_MOC_LITERAL(91, 17),
164 QT_MOC_LITERAL(109, 16),
165 QT_MOC_LITERAL(126, 16),
166 QT_MOC_LITERAL(143, 11),
167 QT_MOC_LITERAL(155, 13),
168 QT_MOC_LITERAL(169, 16),
169 QT_MOC_LITERAL(186, 15),
170 QT_MOC_LITERAL(202, 14),
171 QT_MOC_LITERAL(217, 11),
172 QT_MOC_LITERAL(229, 5),
173 QT_MOC_LITERAL(235, 7),
174 QT_MOC_LITERAL(243, 11),
175 QT_MOC_LITERAL(255, 7),
176 QT_MOC_LITERAL(263, 3),
177 QT_MOC_LITERAL(267, 9),
178 QT_MOC_LITERAL(277, 12),
179 QT_MOC_LITERAL(290, 11),
180 QT_MOC_LITERAL(302, 12),
181 QT_MOC_LITERAL(315, 13),
182 QT_MOC_LITERAL(329, 10),
183 QT_MOC_LITERAL(340, 7),
184 QT_MOC_LITERAL(348, 6),
185 QT_MOC_LITERAL(355, 8),
186 QT_MOC_LITERAL(364, 11),
187 QT_MOC_LITERAL(376, 4),
188 QT_MOC_LITERAL(381, 7),
189 QT_MOC_LITERAL(389, 6),
190 QT_MOC_LITERAL(396, 10),
191 QT_MOC_LITERAL(407, 10),
192 QT_MOC_LITERAL(418, 10),
193 QT_MOC_LITERAL(429, 5),
194 QT_MOC_LITERAL(435, 6),
195 QT_MOC_LITERAL(442, 11),
196 QT_MOC_LITERAL(454, 14),
197 QT_MOC_LITERAL(469, 14),
198 QT_MOC_LITERAL(484, 12),
199 QT_MOC_LITERAL(497, 9),
200 QT_MOC_LITERAL(507, 10),
201 QT_MOC_LITERAL(518, 9),
202 QT_MOC_LITERAL(528, 13),
203 QT_MOC_LITERAL(542, 4),
204 QT_MOC_LITERAL(547, 6),
205 QT_MOC_LITERAL(554, 9),
206 QT_MOC_LITERAL(564, 8),
207 QT_MOC_LITERAL(573, 7),
208 QT_MOC_LITERAL(581, 4),
209 QT_MOC_LITERAL(586, 4)
214 "cursorPositionChanged",
215 "selectionStartChanged",
216 "selectionEndChanged",
269Q_CONSTINIT
static const uint qt_meta_data_CLASSQmlRichTextENDCLASS[] = {
283 1, 0, 212, 2, 0x06, 15 ,
284 3, 0, 213, 2, 0x06, 16 ,
285 4, 0, 214, 2, 0x06, 17 ,
286 5, 0, 215, 2, 0x06, 18 ,
287 6, 0, 216, 2, 0x06, 19 ,
288 7, 0, 217, 2, 0x06, 20 ,
289 8, 0, 218, 2, 0x06, 21 ,
290 9, 0, 219, 2, 0x06, 22 ,
291 10, 0, 220, 2, 0x06, 23 ,
292 11, 0, 221, 2, 0x06, 24 ,
293 12, 0, 222, 2, 0x06, 25 ,
294 13, 0, 223, 2, 0x06, 26 ,
295 14, 0, 224, 2, 0x06, 27 ,
296 15, 1, 225, 2, 0x06, 28 ,
297 17, 0, 228, 2, 0x06, 30 ,
300 18, 1, 229, 2, 0x0a, 31 ,
301 20, 1, 232, 2, 0x0a, 33 ,
302 21, 1, 235, 2, 0x0a, 35 ,
303 22, 1, 238, 2, 0x0a, 37 ,
304 23, 1, 241, 2, 0x0a, 39 ,
305 24, 1, 244, 2, 0x0a, 41 ,
306 25, 1, 247, 2, 0x0a, 43 ,
307 26, 1, 250, 2, 0x0a, 45 ,
308 27, 2, 253, 2, 0x0a, 47 ,
309 27, 1, 258, 2, 0x2a, 50 ,
310 29, 3, 261, 2, 0x0a, 52 ,
311 29, 2, 268, 2, 0x2a, 56 ,
312 29, 1, 273, 2, 0x2a, 59 ,
313 29, 0, 276, 2, 0x2a, 61 ,
314 33, 0, 277, 2, 0x0a, 62 ,
315 34, 0, 278, 2, 0x0a, 63 ,
316 35, 0, 279, 2, 0x0a, 64 ,
317 36, 0, 280, 2, 0x0a, 65 ,
333 QMetaType::Void, QMetaType::QString, 16,
337 QMetaType::Void, QMetaType::Bool, 19,
338 QMetaType::Void, QMetaType::Bool, 19,
339 QMetaType::Void, QMetaType::Bool, 19,
340 QMetaType::Void, QMetaType::Int, 19,
341 QMetaType::Void, QMetaType::QColor, 19,
342 QMetaType::Void, QMetaType::QString, 19,
343 QMetaType::Void, QMetaType::QUrl, 19,
344 QMetaType::Void, QMetaType::QString, 19,
345 QMetaType::Void, QMetaType::QUrl, QMetaType::QString, 19, 28,
346 QMetaType::Void, QMetaType::QUrl, 19,
347 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 30, 31, 32,
348 QMetaType::Void, QMetaType::Int, QMetaType::Int, 30, 31,
349 QMetaType::Void, QMetaType::Int, 30,
357 37, 0x80000000 | 38, 0x0001510b, uint(0), 0,
358 39, QMetaType::Int, 0x00015103, uint(1), 0,
359 40, QMetaType::Int, 0x00015103, uint(2), 0,
360 41, QMetaType::Int, 0x00015103, uint(3), 0,
361 42, QMetaType::QColor, 0x00015103, uint(5), 0,
362 43, QMetaType::QString, 0x00015103, uint(4), 0,
363 44, 0x80000000 | 45, 0x0001510b, uint(6), 0,
364 46, QMetaType::Bool, 0x00015103, uint(7), 0,
365 47, QMetaType::Bool, 0x00015103, uint(8), 0,
366 48, QMetaType::Bool, 0x00015103, uint(9), 0,
367 49, QMetaType::Int, 0x00015103, uint(10), 0,
368 50, QMetaType::QUrl, 0x00015103, uint(11), 0,
369 51, QMetaType::QString, 0x00015103, uint(12), 0,
370 52, QMetaType::QSizeF, 0x00015001, uint(14), 0,
379Q_CONSTINIT
const QMetaObject QmlRichText::staticMetaObject = { {
380 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
381 qt_meta_stringdata_CLASSQmlRichTextENDCLASS.offsetsAndSizes,
382 qt_meta_data_CLASSQmlRichTextENDCLASS,
385 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSQmlRichTextENDCLASS_t,
387 QtPrivate::TypeAndForceComplete<QQuickItem*, std::true_type>,
389 QtPrivate::TypeAndForceComplete<int, std::true_type>,
391 QtPrivate::TypeAndForceComplete<int, std::true_type>,
393 QtPrivate::TypeAndForceComplete<int, std::true_type>,
395 QtPrivate::TypeAndForceComplete<QColor, std::true_type>,
397 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
399 QtPrivate::TypeAndForceComplete<Qt::Alignment, std::true_type>,
401 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
403 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
405 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
407 QtPrivate::TypeAndForceComplete<int, std::true_type>,
409 QtPrivate::TypeAndForceComplete<QUrl, std::true_type>,
411 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
413 QtPrivate::TypeAndForceComplete<QSizeF, std::true_type>,
415 QtPrivate::TypeAndForceComplete<QmlRichText, std::true_type>,
417 QtPrivate::TypeAndForceComplete<void, std::false_type>,
419 QtPrivate::TypeAndForceComplete<void, std::false_type>,
421 QtPrivate::TypeAndForceComplete<void, std::false_type>,
423 QtPrivate::TypeAndForceComplete<void, std::false_type>,
425 QtPrivate::TypeAndForceComplete<void, std::false_type>,
427 QtPrivate::TypeAndForceComplete<void, std::false_type>,
429 QtPrivate::TypeAndForceComplete<void, std::false_type>,
431 QtPrivate::TypeAndForceComplete<void, std::false_type>,
433 QtPrivate::TypeAndForceComplete<void, std::false_type>,
435 QtPrivate::TypeAndForceComplete<void, std::false_type>,
437 QtPrivate::TypeAndForceComplete<void, std::false_type>,
439 QtPrivate::TypeAndForceComplete<void, std::false_type>,
441 QtPrivate::TypeAndForceComplete<void, std::false_type>,
443 QtPrivate::TypeAndForceComplete<void, std::false_type>,
444 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
446 QtPrivate::TypeAndForceComplete<void, std::false_type>,
448 QtPrivate::TypeAndForceComplete<void, std::false_type>,
449 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
451 QtPrivate::TypeAndForceComplete<void, std::false_type>,
452 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
454 QtPrivate::TypeAndForceComplete<void, std::false_type>,
455 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
457 QtPrivate::TypeAndForceComplete<void, std::false_type>,
458 QtPrivate::TypeAndForceComplete<int, std::false_type>,
460 QtPrivate::TypeAndForceComplete<void, std::false_type>,
461 QtPrivate::TypeAndForceComplete<const QColor &, std::false_type>,
463 QtPrivate::TypeAndForceComplete<void, std::false_type>,
464 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
466 QtPrivate::TypeAndForceComplete<void, std::false_type>,
467 QtPrivate::TypeAndForceComplete<const QUrl &, std::false_type>,
469 QtPrivate::TypeAndForceComplete<void, std::false_type>,
470 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
472 QtPrivate::TypeAndForceComplete<void, std::false_type>,
473 QtPrivate::TypeAndForceComplete<const QUrl &, std::false_type>,
474 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
476 QtPrivate::TypeAndForceComplete<void, std::false_type>,
477 QtPrivate::TypeAndForceComplete<const QUrl &, std::false_type>,
479 QtPrivate::TypeAndForceComplete<void, std::false_type>,
480 QtPrivate::TypeAndForceComplete<int, std::false_type>,
481 QtPrivate::TypeAndForceComplete<int, std::false_type>,
482 QtPrivate::TypeAndForceComplete<int, std::false_type>,
484 QtPrivate::TypeAndForceComplete<void, std::false_type>,
485 QtPrivate::TypeAndForceComplete<int, std::false_type>,
486 QtPrivate::TypeAndForceComplete<int, std::false_type>,
488 QtPrivate::TypeAndForceComplete<void, std::false_type>,
489 QtPrivate::TypeAndForceComplete<int, std::false_type>,
491 QtPrivate::TypeAndForceComplete<void, std::false_type>,
493 QtPrivate::TypeAndForceComplete<void, std::false_type>,
495 QtPrivate::TypeAndForceComplete<void, std::false_type>,
497 QtPrivate::TypeAndForceComplete<void, std::false_type>,
499 QtPrivate::TypeAndForceComplete<void, std::false_type>
504void QmlRichText::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
506 if (_c == QMetaObject::InvokeMetaMethod) {
507 auto *_t =
static_cast<QmlRichText *
>(_o);
510 case 0: _t->targetChanged();
break;
511 case 1: _t->cursorPositionChanged();
break;
512 case 2: _t->selectionStartChanged();
break;
513 case 3: _t->selectionEndChanged();
break;
514 case 4: _t->fontFamilyChanged();
break;
515 case 5: _t->textColorChanged();
break;
516 case 6: _t->alignmentChanged();
break;
517 case 7: _t->boldChanged();
break;
518 case 8: _t->italicChanged();
break;
519 case 9: _t->underlineChanged();
break;
520 case 10: _t->fontSizeChanged();
break;
521 case 11: _t->fileUrlChanged();
break;
522 case 12: _t->textChanged();
break;
523 case 13: _t->error((*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[1])));
break;
524 case 14: _t->sizeChanged();
break;
525 case 15: _t->setBold((*
reinterpret_cast< std::add_pointer_t<bool>
>(_a[1])));
break;
526 case 16: _t->setItalic((*
reinterpret_cast< std::add_pointer_t<bool>
>(_a[1])));
break;
527 case 17: _t->setUnderline((*
reinterpret_cast< std::add_pointer_t<bool>
>(_a[1])));
break;
528 case 18: _t->setFontSize((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
529 case 19: _t->setTextColor((*
reinterpret_cast< std::add_pointer_t<QColor>
>(_a[1])));
break;
530 case 20: _t->setFontFamily((*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[1])));
break;
531 case 21: _t->setFileUrl((*
reinterpret_cast< std::add_pointer_t<QUrl>
>(_a[1])));
break;
532 case 22: _t->setText((*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[1])));
break;
533 case 23: _t->saveAs((*
reinterpret_cast< std::add_pointer_t<QUrl>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[2])));
break;
534 case 24: _t->saveAs((*
reinterpret_cast< std::add_pointer_t<QUrl>
>(_a[1])));
break;
535 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;
536 case 26: _t->insertTable((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
break;
537 case 27: _t->insertTable((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
538 case 28: _t->insertTable();
break;
539 case 29: _t->indentLess();
break;
540 case 30: _t->indentMore();
break;
541 case 31: _t->pastePlain();
break;
542 case 32: _t->reset();
break;
545 }
else if (_c == QMetaObject::IndexOfMethod) {
546 int *result =
reinterpret_cast<int *
>(_a[0]);
548 using _t = void (QmlRichText::*)();
549 if (_t _q_method = &QmlRichText::targetChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
555 using _t = void (QmlRichText::*)();
556 if (_t _q_method = &QmlRichText::cursorPositionChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
562 using _t = void (QmlRichText::*)();
563 if (_t _q_method = &QmlRichText::selectionStartChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
569 using _t = void (QmlRichText::*)();
570 if (_t _q_method = &QmlRichText::selectionEndChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
576 using _t = void (QmlRichText::*)();
577 if (_t _q_method = &QmlRichText::fontFamilyChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
583 using _t = void (QmlRichText::*)();
584 if (_t _q_method = &QmlRichText::textColorChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
590 using _t = void (QmlRichText::*)();
591 if (_t _q_method = &QmlRichText::alignmentChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
597 using _t = void (QmlRichText::*)();
598 if (_t _q_method = &QmlRichText::boldChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
604 using _t = void (QmlRichText::*)();
605 if (_t _q_method = &QmlRichText::italicChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
611 using _t = void (QmlRichText::*)();
612 if (_t _q_method = &QmlRichText::underlineChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
618 using _t = void (QmlRichText::*)();
619 if (_t _q_method = &QmlRichText::fontSizeChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
625 using _t = void (QmlRichText::*)();
626 if (_t _q_method = &QmlRichText::fileUrlChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
632 using _t = void (QmlRichText::*)();
633 if (_t _q_method = &QmlRichText::textChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
639 using _t = void (QmlRichText::*)(QString );
640 if (_t _q_method = &QmlRichText::error; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
646 using _t = void (QmlRichText::*)();
647 if (_t _q_method = &QmlRichText::sizeChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
652 }
else if (_c == QMetaObject::RegisterPropertyMetaType) {
654 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
656 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< QQuickItem* >();
break;
658 }
else if (_c == QMetaObject::ReadProperty) {
659 auto *_t =
static_cast<QmlRichText *
>(_o);
663 case 0: *
reinterpret_cast< QQuickItem**
>(_v) = _t->target();
break;
664 case 1: *
reinterpret_cast< int*
>(_v) = _t->cursorPosition();
break;
665 case 2: *
reinterpret_cast< int*
>(_v) = _t->selectionStart();
break;
666 case 3: *
reinterpret_cast< int*
>(_v) = _t->selectionEnd();
break;
667 case 4: *
reinterpret_cast< QColor*
>(_v) = _t->textColor();
break;
668 case 5: *
reinterpret_cast< QString*
>(_v) = _t->fontFamily();
break;
669 case 6: *
reinterpret_cast< Qt::Alignment*
>(_v) = _t->alignment();
break;
670 case 7: *
reinterpret_cast< bool*
>(_v) = _t->bold();
break;
671 case 8: *
reinterpret_cast< bool*
>(_v) = _t->italic();
break;
672 case 9: *
reinterpret_cast< bool*
>(_v) = _t->underline();
break;
673 case 10: *
reinterpret_cast< int*
>(_v) = _t->fontSize();
break;
674 case 11: *
reinterpret_cast< QUrl*
>(_v) = _t->fileUrl();
break;
675 case 12: *
reinterpret_cast< QString*
>(_v) = _t->text();
break;
676 case 13: *
reinterpret_cast< QSizeF*
>(_v) = _t->size();
break;
679 }
else if (_c == QMetaObject::WriteProperty) {
680 auto *_t =
static_cast<QmlRichText *
>(_o);
684 case 0: _t->setTarget(*
reinterpret_cast< QQuickItem**
>(_v));
break;
685 case 1: _t->setCursorPosition(*
reinterpret_cast< int*
>(_v));
break;
686 case 2: _t->setSelectionStart(*
reinterpret_cast< int*
>(_v));
break;
687 case 3: _t->setSelectionEnd(*
reinterpret_cast< int*
>(_v));
break;
688 case 4: _t->setTextColor(*
reinterpret_cast< QColor*
>(_v));
break;
689 case 5: _t->setFontFamily(*
reinterpret_cast< QString*
>(_v));
break;
690 case 6: _t->setAlignment(*
reinterpret_cast< Qt::Alignment*
>(_v));
break;
691 case 7: _t->setBold(*
reinterpret_cast< bool*
>(_v));
break;
692 case 8: _t->setItalic(*
reinterpret_cast< bool*
>(_v));
break;
693 case 9: _t->setUnderline(*
reinterpret_cast< bool*
>(_v));
break;
694 case 10: _t->setFontSize(*
reinterpret_cast< int*
>(_v));
break;
695 case 11: _t->setFileUrl(*
reinterpret_cast< QUrl*
>(_v));
break;
696 case 12: _t->setText(*
reinterpret_cast< QString*
>(_v));
break;
699 }
else if (_c == QMetaObject::ResetProperty) {
700 }
else if (_c == QMetaObject::BindableProperty) {
704const QMetaObject *QmlRichText::metaObject()
const
706 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
709void *QmlRichText::qt_metacast(
const char *_clname)
711 if (!_clname)
return nullptr;
712 if (!strcmp(_clname, qt_meta_stringdata_CLASSQmlRichTextENDCLASS.stringdata0))
713 return static_cast<void*
>(
this);
714 return QObject::qt_metacast(_clname);
717int QmlRichText::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
719 _id = QObject::qt_metacall(_c, _id, _a);
722 if (_c == QMetaObject::InvokeMetaMethod) {
724 qt_static_metacall(
this, _c, _id, _a);
726 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
728 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
730 }
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
731 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
732 || _c == QMetaObject::RegisterPropertyMetaType) {
733 qt_static_metacall(
this, _c, _id, _a);
740void QmlRichText::targetChanged()
742 QMetaObject::activate(
this, &staticMetaObject, 0,
nullptr);
746void QmlRichText::cursorPositionChanged()
748 QMetaObject::activate(
this, &staticMetaObject, 1,
nullptr);
752void QmlRichText::selectionStartChanged()
754 QMetaObject::activate(
this, &staticMetaObject, 2,
nullptr);
758void QmlRichText::selectionEndChanged()
760 QMetaObject::activate(
this, &staticMetaObject, 3,
nullptr);
764void QmlRichText::fontFamilyChanged()
766 QMetaObject::activate(
this, &staticMetaObject, 4,
nullptr);
770void QmlRichText::textColorChanged()
772 QMetaObject::activate(
this, &staticMetaObject, 5,
nullptr);
776void QmlRichText::alignmentChanged()
778 QMetaObject::activate(
this, &staticMetaObject, 6,
nullptr);
782void QmlRichText::boldChanged()
784 QMetaObject::activate(
this, &staticMetaObject, 7,
nullptr);
788void QmlRichText::italicChanged()
790 QMetaObject::activate(
this, &staticMetaObject, 8,
nullptr);
794void QmlRichText::underlineChanged()
796 QMetaObject::activate(
this, &staticMetaObject, 9,
nullptr);
800void QmlRichText::fontSizeChanged()
802 QMetaObject::activate(
this, &staticMetaObject, 10,
nullptr);
806void QmlRichText::fileUrlChanged()
808 QMetaObject::activate(
this, &staticMetaObject, 11,
nullptr);
812void QmlRichText::textChanged()
814 QMetaObject::activate(
this, &staticMetaObject, 12,
nullptr);
818void QmlRichText::error(QString _t1)
820 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
821 QMetaObject::activate(
this, &staticMetaObject, 13, _a);
825void QmlRichText::sizeChanged()
827 QMetaObject::activate(
this, &staticMetaObject, 14,
nullptr);