OpenCoverage

moc_qquicktextdocument_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquicktextdocument_p.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'qquicktextdocument_p.h'-
3**-
4** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.0)-
5**-
6** WARNING! All changes made in this file will be lost!-
7*****************************************************************************/-
8-
9#include "../items/qquicktextdocument_p.h"-
10#include <QtCore/qbytearray.h>-
11#include <QtCore/qmetatype.h>-
12#if !defined(Q_MOC_OUTPUT_REVISION)-
13#error "The header file 'qquicktextdocument_p.h' doesn't include <QObject>."-
14#elif Q_MOC_OUTPUT_REVISION != 67-
15#error "This file was generated using the moc from 5.12.0. It"-
16#error "cannot be used with the include files from this version of Qt."-
17#error "(The moc has changed too much.)"-
18#endif-
19-
20QT_BEGIN_MOC_NAMESPACE-
21QT_WARNING_PUSH-
22QT_WARNING_DISABLE_DEPRECATED-
23struct qt_meta_stringdata_QQuickTextDocumentWithImageResources_t {-
24 QByteArrayData data[6];-
25 char stringdata0[88];-
26};-
27#define QT_MOC_LITERAL(idx, ofs, len) \-
28 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
29 qptrdiff(offsetof(qt_meta_stringdata_QQuickTextDocumentWithImageResources_t, stringdata0) + ofs \-
30 - idx * sizeof(QByteArrayData)) \-
31 )-
32static const qt_meta_stringdata_QQuickTextDocumentWithImageResources_t qt_meta_stringdata_QQuickTextDocumentWithImageResources = {-
33 {-
34QT_MOC_LITERAL(0, 0, 36), // "QQuickTextDocumentWithImageRe..."-
35QT_MOC_LITERAL(1, 37, 12), // "imagesLoaded"-
36QT_MOC_LITERAL(2, 50, 0), // ""-
37QT_MOC_LITERAL(3, 51, 14), // "clearResources"-
38QT_MOC_LITERAL(4, 66, 5), // "reset"-
39QT_MOC_LITERAL(5, 72, 15) // "requestFinished"-
40-
41 },-
42 "QQuickTextDocumentWithImageResources\0"-
43 "imagesLoaded\0\0clearResources\0reset\0"-
44 "requestFinished"-
45};-
46#undef QT_MOC_LITERAL-
47-
48static const uint qt_meta_data_QQuickTextDocumentWithImageResources[] = {-
49-
50 // content:-
51 7, // revision-
52 0, // classname-
53 0, 0, // classinfo-
54 4, 14, // methods-
55 0, 0, // properties-
56 0, 0, // enums/sets-
57 0, 0, // constructors-
58 0, // flags-
59 1, // signalCount-
60-
61 // signals: name, argc, parameters, tag, flags-
62 1, 0, 34, 2, 0x06 /* Public */,-
63-
64 // slots: name, argc, parameters, tag, flags-
65 3, 0, 35, 2, 0x0a /* Public */,-
66 4, 0, 36, 2, 0x08 /* Private */,-
67 5, 0, 37, 2, 0x08 /* Private */,-
68-
69 // signals: parameters-
70 QMetaType::Void,-
71-
72 // slots: parameters-
73 QMetaType::Void,-
74 QMetaType::Void,-
75 QMetaType::Void,-
76-
77 0 // eod-
78};-
79-
80void QQuickTextDocumentWithImageResources::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
81{-
82 if (_c == QMetaObject::InvokeMetaMethod) {-
83 QQuickTextDocumentWithImageResources *_t = static_cast<QQuickTextDocumentWithImageResources *>(_o);-
84 Q_UNUSED(_t)-
85 switch (_id) {-
86 case 0: _t->imagesLoaded(); break;-
87 case 1: _t->clearResources(); break;-
88 case 2: _t->reset(); break;-
89 case 3: _t->requestFinished(); break;-
90 default: ;-
91 }-
92 } else if (_c == QMetaObject::IndexOfMethod) {-
93 int *result = reinterpret_cast<int *>(_a[0]);-
94 {-
95 using _t = void (QQuickTextDocumentWithImageResources::*)();-
96 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTextDocumentWithImageResources::imagesLoaded)) {-
97 *result = 0;-
98 return;-
99 }-
100 }-
101 }-
102 Q_UNUSED(_a);-
103}-
104-
105QT_INIT_METAOBJECT const QMetaObject QQuickTextDocumentWithImageResources::staticMetaObject = {-
106 { &QTextDocument::staticMetaObject, qt_meta_stringdata_QQuickTextDocumentWithImageResources.data,-
107 qt_meta_data_QQuickTextDocumentWithImageResources, qt_static_metacall, nullptr, nullptr}-
108};-
109-
110-
111const QMetaObject *QQuickTextDocumentWithImageResources::metaObject() const-
112{-
113 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
114}-
115-
116void *QQuickTextDocumentWithImageResources::qt_metacast(const char *_clname)-
117{-
118 if (!_clname) return nullptr;-
119 if (!strcmp(_clname, qt_meta_stringdata_QQuickTextDocumentWithImageResources.stringdata0))-
120 return static_cast<void*>(this);-
121 if (!strcmp(_clname, "QTextObjectInterface"))-
122 return static_cast< QTextObjectInterface*>(this);-
123 if (!strcmp(_clname, "org.qt-project.Qt.QTextObjectInterface"))-
124 return static_cast< QTextObjectInterface*>(this);-
125 return QTextDocument::qt_metacast(_clname);-
126}-
127-
128int QQuickTextDocumentWithImageResources::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
129{-
130 _id = QTextDocument::qt_metacall(_c, _id, _a);-
131 if (_id < 0)-
132 return _id;-
133 if (_c == QMetaObject::InvokeMetaMethod) {-
134 if (_id < 4)-
135 qt_static_metacall(this, _c, _id, _a);-
136 _id -= 4;-
137 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
138 if (_id < 4)-
139 *reinterpret_cast<int*>(_a[0]) = -1;-
140 _id -= 4;-
141 }-
142 return _id;-
143}-
144-
145// SIGNAL 0-
146void QQuickTextDocumentWithImageResources::imagesLoaded()-
147{-
148 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
149}
executed 6 times by 1 test: end of block
Executed by:
  • tst_qquicktextedit
6
150QT_WARNING_POP-
151QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0