Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
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 | | - |
20 | QT_BEGIN_MOC_NAMESPACE | - |
21 | QT_WARNING_PUSH | - |
22 | QT_WARNING_DISABLE_DEPRECATED | - |
23 | struct 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 | ) | - |
32 | static const qt_meta_stringdata_QQuickTextDocumentWithImageResources_t qt_meta_stringdata_QQuickTextDocumentWithImageResources = { | - |
33 | { | - |
34 | QT_MOC_LITERAL(0, 0, 36), | - |
35 | QT_MOC_LITERAL(1, 37, 12), | - |
36 | QT_MOC_LITERAL(2, 50, 0), | - |
37 | QT_MOC_LITERAL(3, 51, 14), | - |
38 | QT_MOC_LITERAL(4, 66, 5), | - |
39 | QT_MOC_LITERAL(5, 72, 15) | - |
40 | | - |
41 | }, | - |
42 | "QQuickTextDocumentWithImageResources\0" | - |
43 | "imagesLoaded\0\0clearResources\0reset\0" | - |
44 | "requestFinished" | - |
45 | }; | - |
46 | #undef QT_MOC_LITERAL | - |
47 | | - |
48 | static const uint qt_meta_data_QQuickTextDocumentWithImageResources[] = { | - |
49 | | - |
50 | | - |
51 | 7, | - |
52 | 0, | - |
53 | 0, 0, | - |
54 | 4, 14, | - |
55 | 0, 0, | - |
56 | 0, 0, | - |
57 | 0, 0, | - |
58 | 0, | - |
59 | 1, | - |
60 | | - |
61 | | - |
62 | 1, 0, 34, 2, 0x06 , | - |
63 | | - |
64 | | - |
65 | 3, 0, 35, 2, 0x0a , | - |
66 | 4, 0, 36, 2, 0x08 , | - |
67 | 5, 0, 37, 2, 0x08 , | - |
68 | | - |
69 | | - |
70 | QMetaType::Void, | - |
71 | | - |
72 | | - |
73 | QMetaType::Void, | - |
74 | QMetaType::Void, | - |
75 | QMetaType::Void, | - |
76 | | - |
77 | 0 | - |
78 | }; | - |
79 | | - |
80 | void 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 | | - |
105 | QT_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 | | - |
111 | const QMetaObject *QQuickTextDocumentWithImageResources::metaObject() const | - |
112 | { | - |
113 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
114 | } | - |
115 | | - |
116 | void *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 | | - |
128 | int 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 | | - |
146 | void QQuickTextDocumentWithImageResources::imagesLoaded() | - |
147 | { | - |
148 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
149 | }executed 6 times by 1 test: end of block | 6 |
150 | QT_WARNING_POP | - |
151 | QT_END_MOC_NAMESPACE | - |
| | |