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.6.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#if __has_include(<QtCore/qtmochelpers.h>)
14#include <QtCore/qtmochelpers.h>
15#else
16QT_BEGIN_MOC_NAMESPACE
17#endif
18
19
20#include <memory>
21
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.)"
28#endif
29
30#ifndef Q_CONSTINIT
31#define Q_CONSTINIT
32#endif
33
34QT_WARNING_PUSH
35QT_WARNING_DISABLE_DEPRECATED
36QT_WARNING_DISABLE_GCC("-Wuseless-cast")
37namespace {
38
39#ifdef QT_MOC_HAS_STRINGDATA
40struct qt_meta_stringdata_CLASSQmlRichTextENDCLASS_t {};
41constexpr auto qt_meta_stringdata_CLASSQmlRichTextENDCLASS = QtMocHelpers::stringData(
42 "QmlRichText",
43 "targetChanged",
44 "",
45 "cursorPositionChanged",
46 "selectionStartChanged",
47 "selectionEndChanged",
48 "fontFamilyChanged",
49 "textColorChanged",
50 "alignmentChanged",
51 "boldChanged",
52 "italicChanged",
53 "underlineChanged",
54 "fontSizeChanged",
55 "fileUrlChanged",
56 "textChanged",
57 "error",
58 "message",
59 "sizeChanged",
60 "setBold",
61 "arg",
62 "setItalic",
63 "setUnderline",
64 "setFontSize",
65 "setTextColor",
66 "setFontFamily",
67 "setFileUrl",
68 "setText",
69 "saveAs",
70 "fileType",
71 "insertTable",
72 "rows",
73 "columns",
74 "border",
75 "indentLess",
76 "indentMore",
77 "pastePlain",
78 "reset",
79 "target",
80 "QQuickItem*",
81 "cursorPosition",
82 "selectionStart",
83 "selectionEnd",
84 "textColor",
85 "fontFamily",
86 "alignment",
87 "Qt::Alignment",
88 "bold",
89 "italic",
90 "underline",
91 "fontSize",
92 "fileUrl",
93 "text",
94 "size"
95);
96#else // !QT_MOC_HAS_STRING_DATA
97struct qt_meta_stringdata_CLASSQmlRichTextENDCLASS_t {
98 uint offsetsAndSizes[106];
99 char stringdata0[12];
100 char stringdata1[14];
101 char stringdata2[1];
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];
152};
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 = {
156 {
157 QT_MOC_LITERAL(0, 11), // "QmlRichText"
158 QT_MOC_LITERAL(12, 13), // "targetChanged"
159 QT_MOC_LITERAL(26, 0), // ""
160 QT_MOC_LITERAL(27, 21), // "cursorPositionChanged"
161 QT_MOC_LITERAL(49, 21), // "selectionStartChanged"
162 QT_MOC_LITERAL(71, 19), // "selectionEndChanged"
163 QT_MOC_LITERAL(91, 17), // "fontFamilyChanged"
164 QT_MOC_LITERAL(109, 16), // "textColorChanged"
165 QT_MOC_LITERAL(126, 16), // "alignmentChanged"
166 QT_MOC_LITERAL(143, 11), // "boldChanged"
167 QT_MOC_LITERAL(155, 13), // "italicChanged"
168 QT_MOC_LITERAL(169, 16), // "underlineChanged"
169 QT_MOC_LITERAL(186, 15), // "fontSizeChanged"
170 QT_MOC_LITERAL(202, 14), // "fileUrlChanged"
171 QT_MOC_LITERAL(217, 11), // "textChanged"
172 QT_MOC_LITERAL(229, 5), // "error"
173 QT_MOC_LITERAL(235, 7), // "message"
174 QT_MOC_LITERAL(243, 11), // "sizeChanged"
175 QT_MOC_LITERAL(255, 7), // "setBold"
176 QT_MOC_LITERAL(263, 3), // "arg"
177 QT_MOC_LITERAL(267, 9), // "setItalic"
178 QT_MOC_LITERAL(277, 12), // "setUnderline"
179 QT_MOC_LITERAL(290, 11), // "setFontSize"
180 QT_MOC_LITERAL(302, 12), // "setTextColor"
181 QT_MOC_LITERAL(315, 13), // "setFontFamily"
182 QT_MOC_LITERAL(329, 10), // "setFileUrl"
183 QT_MOC_LITERAL(340, 7), // "setText"
184 QT_MOC_LITERAL(348, 6), // "saveAs"
185 QT_MOC_LITERAL(355, 8), // "fileType"
186 QT_MOC_LITERAL(364, 11), // "insertTable"
187 QT_MOC_LITERAL(376, 4), // "rows"
188 QT_MOC_LITERAL(381, 7), // "columns"
189 QT_MOC_LITERAL(389, 6), // "border"
190 QT_MOC_LITERAL(396, 10), // "indentLess"
191 QT_MOC_LITERAL(407, 10), // "indentMore"
192 QT_MOC_LITERAL(418, 10), // "pastePlain"
193 QT_MOC_LITERAL(429, 5), // "reset"
194 QT_MOC_LITERAL(435, 6), // "target"
195 QT_MOC_LITERAL(442, 11), // "QQuickItem*"
196 QT_MOC_LITERAL(454, 14), // "cursorPosition"
197 QT_MOC_LITERAL(469, 14), // "selectionStart"
198 QT_MOC_LITERAL(484, 12), // "selectionEnd"
199 QT_MOC_LITERAL(497, 9), // "textColor"
200 QT_MOC_LITERAL(507, 10), // "fontFamily"
201 QT_MOC_LITERAL(518, 9), // "alignment"
202 QT_MOC_LITERAL(528, 13), // "Qt::Alignment"
203 QT_MOC_LITERAL(542, 4), // "bold"
204 QT_MOC_LITERAL(547, 6), // "italic"
205 QT_MOC_LITERAL(554, 9), // "underline"
206 QT_MOC_LITERAL(564, 8), // "fontSize"
207 QT_MOC_LITERAL(573, 7), // "fileUrl"
208 QT_MOC_LITERAL(581, 4), // "text"
209 QT_MOC_LITERAL(586, 4) // "size"
210 },
211 "QmlRichText",
212 "targetChanged",
213 "",
214 "cursorPositionChanged",
215 "selectionStartChanged",
216 "selectionEndChanged",
217 "fontFamilyChanged",
218 "textColorChanged",
219 "alignmentChanged",
220 "boldChanged",
221 "italicChanged",
222 "underlineChanged",
223 "fontSizeChanged",
224 "fileUrlChanged",
225 "textChanged",
226 "error",
227 "message",
228 "sizeChanged",
229 "setBold",
230 "arg",
231 "setItalic",
232 "setUnderline",
233 "setFontSize",
234 "setTextColor",
235 "setFontFamily",
236 "setFileUrl",
237 "setText",
238 "saveAs",
239 "fileType",
240 "insertTable",
241 "rows",
242 "columns",
243 "border",
244 "indentLess",
245 "indentMore",
246 "pastePlain",
247 "reset",
248 "target",
249 "QQuickItem*",
250 "cursorPosition",
251 "selectionStart",
252 "selectionEnd",
253 "textColor",
254 "fontFamily",
255 "alignment",
256 "Qt::Alignment",
257 "bold",
258 "italic",
259 "underline",
260 "fontSize",
261 "fileUrl",
262 "text",
263 "size"
264};
265#undef QT_MOC_LITERAL
266#endif // !QT_MOC_HAS_STRING_DATA
267} // unnamed namespace
268
269Q_CONSTINIT static const uint qt_meta_data_CLASSQmlRichTextENDCLASS[] = {
270
271 // content:
272 12, // revision
273 0, // classname
274 0, 0, // classinfo
275 33, 14, // methods
276 14, 281, // properties
277 0, 0, // enums/sets
278 0, 0, // constructors
279 0, // flags
280 15, // signalCount
281
282 // signals: name, argc, parameters, tag, flags, initial metatype offsets
283 1, 0, 212, 2, 0x06, 15 /* Public */,
284 3, 0, 213, 2, 0x06, 16 /* Public */,
285 4, 0, 214, 2, 0x06, 17 /* Public */,
286 5, 0, 215, 2, 0x06, 18 /* Public */,
287 6, 0, 216, 2, 0x06, 19 /* Public */,
288 7, 0, 217, 2, 0x06, 20 /* Public */,
289 8, 0, 218, 2, 0x06, 21 /* Public */,
290 9, 0, 219, 2, 0x06, 22 /* Public */,
291 10, 0, 220, 2, 0x06, 23 /* Public */,
292 11, 0, 221, 2, 0x06, 24 /* Public */,
293 12, 0, 222, 2, 0x06, 25 /* Public */,
294 13, 0, 223, 2, 0x06, 26 /* Public */,
295 14, 0, 224, 2, 0x06, 27 /* Public */,
296 15, 1, 225, 2, 0x06, 28 /* Public */,
297 17, 0, 228, 2, 0x06, 30 /* Public */,
298
299 // slots: name, argc, parameters, tag, flags, initial metatype offsets
300 18, 1, 229, 2, 0x0a, 31 /* Public */,
301 20, 1, 232, 2, 0x0a, 33 /* Public */,
302 21, 1, 235, 2, 0x0a, 35 /* Public */,
303 22, 1, 238, 2, 0x0a, 37 /* Public */,
304 23, 1, 241, 2, 0x0a, 39 /* Public */,
305 24, 1, 244, 2, 0x0a, 41 /* Public */,
306 25, 1, 247, 2, 0x0a, 43 /* Public */,
307 26, 1, 250, 2, 0x0a, 45 /* Public */,
308 27, 2, 253, 2, 0x0a, 47 /* Public */,
309 27, 1, 258, 2, 0x2a, 50 /* Public | MethodCloned */,
310 29, 3, 261, 2, 0x0a, 52 /* Public */,
311 29, 2, 268, 2, 0x2a, 56 /* Public | MethodCloned */,
312 29, 1, 273, 2, 0x2a, 59 /* Public | MethodCloned */,
313 29, 0, 276, 2, 0x2a, 61 /* Public | MethodCloned */,
314 33, 0, 277, 2, 0x0a, 62 /* Public */,
315 34, 0, 278, 2, 0x0a, 63 /* Public */,
316 35, 0, 279, 2, 0x0a, 64 /* Public */,
317 36, 0, 280, 2, 0x0a, 65 /* Public */,
318
319 // signals: parameters
320 QMetaType::Void,
321 QMetaType::Void,
322 QMetaType::Void,
323 QMetaType::Void,
324 QMetaType::Void,
325 QMetaType::Void,
326 QMetaType::Void,
327 QMetaType::Void,
328 QMetaType::Void,
329 QMetaType::Void,
330 QMetaType::Void,
331 QMetaType::Void,
332 QMetaType::Void,
333 QMetaType::Void, QMetaType::QString, 16,
334 QMetaType::Void,
335
336 // slots: parameters
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,
350 QMetaType::Void,
351 QMetaType::Void,
352 QMetaType::Void,
353 QMetaType::Void,
354 QMetaType::Void,
355
356 // properties: name, type, flags
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,
371
372 // enums: name, alias, flags, count, data
373
374 // enum data: key, value
375
376 0 // eod
377};
378
379Q_CONSTINIT const QMetaObject QmlRichText::staticMetaObject = { {
380 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
381 qt_meta_stringdata_CLASSQmlRichTextENDCLASS.offsetsAndSizes,
382 qt_meta_data_CLASSQmlRichTextENDCLASS,
383 qt_static_metacall,
384 nullptr,
385 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSQmlRichTextENDCLASS_t,
386 // property 'target'
387 QtPrivate::TypeAndForceComplete<QQuickItem*, std::true_type>,
388 // property 'cursorPosition'
389 QtPrivate::TypeAndForceComplete<int, std::true_type>,
390 // property 'selectionStart'
391 QtPrivate::TypeAndForceComplete<int, std::true_type>,
392 // property 'selectionEnd'
393 QtPrivate::TypeAndForceComplete<int, std::true_type>,
394 // property 'textColor'
395 QtPrivate::TypeAndForceComplete<QColor, std::true_type>,
396 // property 'fontFamily'
397 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
398 // property 'alignment'
399 QtPrivate::TypeAndForceComplete<Qt::Alignment, std::true_type>,
400 // property 'bold'
401 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
402 // property 'italic'
403 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
404 // property 'underline'
405 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
406 // property 'fontSize'
407 QtPrivate::TypeAndForceComplete<int, std::true_type>,
408 // property 'fileUrl'
409 QtPrivate::TypeAndForceComplete<QUrl, std::true_type>,
410 // property 'text'
411 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
412 // property 'size'
413 QtPrivate::TypeAndForceComplete<QSizeF, std::true_type>,
414 // Q_OBJECT / Q_GADGET
415 QtPrivate::TypeAndForceComplete<QmlRichText, std::true_type>,
416 // method 'targetChanged'
417 QtPrivate::TypeAndForceComplete<void, std::false_type>,
418 // method 'cursorPositionChanged'
419 QtPrivate::TypeAndForceComplete<void, std::false_type>,
420 // method 'selectionStartChanged'
421 QtPrivate::TypeAndForceComplete<void, std::false_type>,
422 // method 'selectionEndChanged'
423 QtPrivate::TypeAndForceComplete<void, std::false_type>,
424 // method 'fontFamilyChanged'
425 QtPrivate::TypeAndForceComplete<void, std::false_type>,
426 // method 'textColorChanged'
427 QtPrivate::TypeAndForceComplete<void, std::false_type>,
428 // method 'alignmentChanged'
429 QtPrivate::TypeAndForceComplete<void, std::false_type>,
430 // method 'boldChanged'
431 QtPrivate::TypeAndForceComplete<void, std::false_type>,
432 // method 'italicChanged'
433 QtPrivate::TypeAndForceComplete<void, std::false_type>,
434 // method 'underlineChanged'
435 QtPrivate::TypeAndForceComplete<void, std::false_type>,
436 // method 'fontSizeChanged'
437 QtPrivate::TypeAndForceComplete<void, std::false_type>,
438 // method 'fileUrlChanged'
439 QtPrivate::TypeAndForceComplete<void, std::false_type>,
440 // method 'textChanged'
441 QtPrivate::TypeAndForceComplete<void, std::false_type>,
442 // method 'error'
443 QtPrivate::TypeAndForceComplete<void, std::false_type>,
444 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
445 // method 'sizeChanged'
446 QtPrivate::TypeAndForceComplete<void, std::false_type>,
447 // method 'setBold'
448 QtPrivate::TypeAndForceComplete<void, std::false_type>,
449 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
450 // method 'setItalic'
451 QtPrivate::TypeAndForceComplete<void, std::false_type>,
452 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
453 // method 'setUnderline'
454 QtPrivate::TypeAndForceComplete<void, std::false_type>,
455 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
456 // method 'setFontSize'
457 QtPrivate::TypeAndForceComplete<void, std::false_type>,
458 QtPrivate::TypeAndForceComplete<int, std::false_type>,
459 // method 'setTextColor'
460 QtPrivate::TypeAndForceComplete<void, std::false_type>,
461 QtPrivate::TypeAndForceComplete<const QColor &, std::false_type>,
462 // method 'setFontFamily'
463 QtPrivate::TypeAndForceComplete<void, std::false_type>,
464 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
465 // method 'setFileUrl'
466 QtPrivate::TypeAndForceComplete<void, std::false_type>,
467 QtPrivate::TypeAndForceComplete<const QUrl &, std::false_type>,
468 // method 'setText'
469 QtPrivate::TypeAndForceComplete<void, std::false_type>,
470 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
471 // method 'saveAs'
472 QtPrivate::TypeAndForceComplete<void, std::false_type>,
473 QtPrivate::TypeAndForceComplete<const QUrl &, std::false_type>,
474 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
475 // method 'saveAs'
476 QtPrivate::TypeAndForceComplete<void, std::false_type>,
477 QtPrivate::TypeAndForceComplete<const QUrl &, std::false_type>,
478 // method 'insertTable'
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>,
483 // method 'insertTable'
484 QtPrivate::TypeAndForceComplete<void, std::false_type>,
485 QtPrivate::TypeAndForceComplete<int, std::false_type>,
486 QtPrivate::TypeAndForceComplete<int, std::false_type>,
487 // method 'insertTable'
488 QtPrivate::TypeAndForceComplete<void, std::false_type>,
489 QtPrivate::TypeAndForceComplete<int, std::false_type>,
490 // method 'insertTable'
491 QtPrivate::TypeAndForceComplete<void, std::false_type>,
492 // method 'indentLess'
493 QtPrivate::TypeAndForceComplete<void, std::false_type>,
494 // method 'indentMore'
495 QtPrivate::TypeAndForceComplete<void, std::false_type>,
496 // method 'pastePlain'
497 QtPrivate::TypeAndForceComplete<void, std::false_type>,
498 // method 'reset'
499 QtPrivate::TypeAndForceComplete<void, std::false_type>
500 >,
501 nullptr
502} };
503
504void QmlRichText::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
505{
506 if (_c == QMetaObject::InvokeMetaMethod) {
507 auto *_t = static_cast<QmlRichText *>(_o);
508 (void)_t;
509 switch (_id) {
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;
543 default: ;
544 }
545 } else if (_c == QMetaObject::IndexOfMethod) {
546 int *result = reinterpret_cast<int *>(_a[0]);
547 {
548 using _t = void (QmlRichText::*)();
549 if (_t _q_method = &QmlRichText::targetChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
550 *result = 0;
551 return;
552 }
553 }
554 {
555 using _t = void (QmlRichText::*)();
556 if (_t _q_method = &QmlRichText::cursorPositionChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
557 *result = 1;
558 return;
559 }
560 }
561 {
562 using _t = void (QmlRichText::*)();
563 if (_t _q_method = &QmlRichText::selectionStartChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
564 *result = 2;
565 return;
566 }
567 }
568 {
569 using _t = void (QmlRichText::*)();
570 if (_t _q_method = &QmlRichText::selectionEndChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
571 *result = 3;
572 return;
573 }
574 }
575 {
576 using _t = void (QmlRichText::*)();
577 if (_t _q_method = &QmlRichText::fontFamilyChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
578 *result = 4;
579 return;
580 }
581 }
582 {
583 using _t = void (QmlRichText::*)();
584 if (_t _q_method = &QmlRichText::textColorChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
585 *result = 5;
586 return;
587 }
588 }
589 {
590 using _t = void (QmlRichText::*)();
591 if (_t _q_method = &QmlRichText::alignmentChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
592 *result = 6;
593 return;
594 }
595 }
596 {
597 using _t = void (QmlRichText::*)();
598 if (_t _q_method = &QmlRichText::boldChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
599 *result = 7;
600 return;
601 }
602 }
603 {
604 using _t = void (QmlRichText::*)();
605 if (_t _q_method = &QmlRichText::italicChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
606 *result = 8;
607 return;
608 }
609 }
610 {
611 using _t = void (QmlRichText::*)();
612 if (_t _q_method = &QmlRichText::underlineChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
613 *result = 9;
614 return;
615 }
616 }
617 {
618 using _t = void (QmlRichText::*)();
619 if (_t _q_method = &QmlRichText::fontSizeChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
620 *result = 10;
621 return;
622 }
623 }
624 {
625 using _t = void (QmlRichText::*)();
626 if (_t _q_method = &QmlRichText::fileUrlChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
627 *result = 11;
628 return;
629 }
630 }
631 {
632 using _t = void (QmlRichText::*)();
633 if (_t _q_method = &QmlRichText::textChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
634 *result = 12;
635 return;
636 }
637 }
638 {
639 using _t = void (QmlRichText::*)(QString );
640 if (_t _q_method = &QmlRichText::error; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
641 *result = 13;
642 return;
643 }
644 }
645 {
646 using _t = void (QmlRichText::*)();
647 if (_t _q_method = &QmlRichText::sizeChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
648 *result = 14;
649 return;
650 }
651 }
652 } else if (_c == QMetaObject::RegisterPropertyMetaType) {
653 switch (_id) {
654 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
655 case 0:
656 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break;
657 }
658 } else if (_c == QMetaObject::ReadProperty) {
659 auto *_t = static_cast<QmlRichText *>(_o);
660 (void)_t;
661 void *_v = _a[0];
662 switch (_id) {
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;
677 default: break;
678 }
679 } else if (_c == QMetaObject::WriteProperty) {
680 auto *_t = static_cast<QmlRichText *>(_o);
681 (void)_t;
682 void *_v = _a[0];
683 switch (_id) {
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;
697 default: break;
698 }
699 } else if (_c == QMetaObject::ResetProperty) {
700 } else if (_c == QMetaObject::BindableProperty) {
701 }
702}
703
704const QMetaObject *QmlRichText::metaObject() const
705{
706 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
707}
708
709void *QmlRichText::qt_metacast(const char *_clname)
710{
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);
715}
716
717int QmlRichText::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
718{
719 _id = QObject::qt_metacall(_c, _id, _a);
720 if (_id < 0)
721 return _id;
722 if (_c == QMetaObject::InvokeMetaMethod) {
723 if (_id < 33)
724 qt_static_metacall(this, _c, _id, _a);
725 _id -= 33;
726 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
727 if (_id < 33)
728 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
729 _id -= 33;
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);
734 _id -= 14;
735 }
736 return _id;
737}
738
739// SIGNAL 0
740void QmlRichText::targetChanged()
741{
742 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
743}
744
745// SIGNAL 1
746void QmlRichText::cursorPositionChanged()
747{
748 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
749}
750
751// SIGNAL 2
752void QmlRichText::selectionStartChanged()
753{
754 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
755}
756
757// SIGNAL 3
758void QmlRichText::selectionEndChanged()
759{
760 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
761}
762
763// SIGNAL 4
764void QmlRichText::fontFamilyChanged()
765{
766 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
767}
768
769// SIGNAL 5
770void QmlRichText::textColorChanged()
771{
772 QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
773}
774
775// SIGNAL 6
776void QmlRichText::alignmentChanged()
777{
778 QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
779}
780
781// SIGNAL 7
782void QmlRichText::boldChanged()
783{
784 QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
785}
786
787// SIGNAL 8
788void QmlRichText::italicChanged()
789{
790 QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
791}
792
793// SIGNAL 9
794void QmlRichText::underlineChanged()
795{
796 QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
797}
798
799// SIGNAL 10
800void QmlRichText::fontSizeChanged()
801{
802 QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
803}
804
805// SIGNAL 11
806void QmlRichText::fileUrlChanged()
807{
808 QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
809}
810
811// SIGNAL 12
812void QmlRichText::textChanged()
813{
814 QMetaObject::activate(this, &staticMetaObject, 12, nullptr);
815}
816
817// SIGNAL 13
818void QmlRichText::error(QString _t1)
819{
820 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
821 QMetaObject::activate(this, &staticMetaObject, 13, _a);
822}
823
824// SIGNAL 14
825void QmlRichText::sizeChanged()
826{
827 QMetaObject::activate(this, &staticMetaObject, 14, nullptr);
828}
829QT_WARNING_POP