1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qabstracttextdocumentlayout.h' |
3 | ** |
4 | ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.0) |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost! |
7 | *****************************************************************************/ |
8 | |
9 | #include <memory> |
10 | #include "text/qabstracttextdocumentlayout.h" |
11 | #include <QtGui/qtextcursor.h> |
12 | #include <QtCore/qbytearray.h> |
13 | #include <QtCore/qmetatype.h> |
14 | #if !defined(Q_MOC_OUTPUT_REVISION) |
15 | #error "The header file 'qabstracttextdocumentlayout.h' doesn't include <QObject>." |
16 | #elif Q_MOC_OUTPUT_REVISION != 68 |
17 | #error "This file was generated using the moc from 6.0.0. It" |
18 | #error "cannot be used with the include files from this version of Qt." |
19 | #error "(The moc has changed too much.)" |
20 | #endif |
21 | |
22 | QT_BEGIN_MOC_NAMESPACE |
23 | QT_WARNING_PUSH |
24 | QT_WARNING_DISABLE_DEPRECATED |
25 | struct qt_meta_stringdata_QAbstractTextDocumentLayout_t { |
26 | const uint offsetsAndSize[28]; |
27 | char stringdata0[194]; |
28 | }; |
29 | #define QT_MOC_LITERAL(ofs, len) \ |
30 | uint(offsetof(qt_meta_stringdata_QAbstractTextDocumentLayout_t, stringdata0) + ofs), len |
31 | static const qt_meta_stringdata_QAbstractTextDocumentLayout_t qt_meta_stringdata_QAbstractTextDocumentLayout = { |
32 | { |
33 | QT_MOC_LITERAL(0, 27), // "QAbstractTextDocumentLayout" |
34 | QT_MOC_LITERAL(28, 6), // "update" |
35 | QT_MOC_LITERAL(35, 0), // "" |
36 | QT_MOC_LITERAL(36, 11), // "updateBlock" |
37 | QT_MOC_LITERAL(48, 10), // "QTextBlock" |
38 | QT_MOC_LITERAL(59, 5), // "block" |
39 | QT_MOC_LITERAL(65, 19), // "documentSizeChanged" |
40 | QT_MOC_LITERAL(85, 7), // "newSize" |
41 | QT_MOC_LITERAL(93, 16), // "pageCountChanged" |
42 | QT_MOC_LITERAL(110, 8), // "newPages" |
43 | QT_MOC_LITERAL(119, 19), // "_q_handlerDestroyed" |
44 | QT_MOC_LITERAL(139, 3), // "obj" |
45 | QT_MOC_LITERAL(143, 23), // "_q_dynamicPageCountSlot" |
46 | QT_MOC_LITERAL(167, 26) // "_q_dynamicDocumentSizeSlot" |
47 | |
48 | }, |
49 | "QAbstractTextDocumentLayout\0update\0\0" |
50 | "updateBlock\0QTextBlock\0block\0" |
51 | "documentSizeChanged\0newSize\0" |
52 | "pageCountChanged\0newPages\0_q_handlerDestroyed\0" |
53 | "obj\0_q_dynamicPageCountSlot\0" |
54 | "_q_dynamicDocumentSizeSlot" |
55 | }; |
56 | #undef QT_MOC_LITERAL |
57 | |
58 | static const uint qt_meta_data_QAbstractTextDocumentLayout[] = { |
59 | |
60 | // content: |
61 | 9, // revision |
62 | 0, // classname |
63 | 0, 0, // classinfo |
64 | 8, 14, // methods |
65 | 0, 0, // properties |
66 | 0, 0, // enums/sets |
67 | 0, 0, // constructors |
68 | 0, // flags |
69 | 5, // signalCount |
70 | |
71 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
72 | 1, 1, 62, 2, 0x06, 0 /* Public */, |
73 | 1, 0, 65, 2, 0x26, 2 /* Public | MethodCloned */, |
74 | 3, 1, 66, 2, 0x06, 3 /* Public */, |
75 | 6, 1, 69, 2, 0x06, 5 /* Public */, |
76 | 8, 1, 72, 2, 0x06, 7 /* Public */, |
77 | |
78 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
79 | 10, 1, 75, 2, 0x08, 9 /* Private */, |
80 | 12, 0, 78, 2, 0x08, 11 /* Private */, |
81 | 13, 0, 79, 2, 0x08, 12 /* Private */, |
82 | |
83 | // signals: parameters |
84 | QMetaType::Void, QMetaType::QRectF, 2, |
85 | QMetaType::Void, |
86 | QMetaType::Void, 0x80000000 | 4, 5, |
87 | QMetaType::Void, QMetaType::QSizeF, 7, |
88 | QMetaType::Void, QMetaType::Int, 9, |
89 | |
90 | // slots: parameters |
91 | QMetaType::Void, QMetaType::QObjectStar, 11, |
92 | QMetaType::Int, |
93 | QMetaType::QSizeF, |
94 | |
95 | 0 // eod |
96 | }; |
97 | |
98 | void QAbstractTextDocumentLayout::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
99 | { |
100 | if (_c == QMetaObject::InvokeMetaMethod) { |
101 | Q_ASSERT(staticMetaObject.cast(_o)); |
102 | auto *_t = static_cast<QAbstractTextDocumentLayout *>(_o); |
103 | Q_UNUSED(_t) |
104 | switch (_id) { |
105 | case 0: _t->update((*reinterpret_cast< const QRectF(*)>(_a[1]))); break; |
106 | case 1: _t->update(); break; |
107 | case 2: _t->updateBlock((*reinterpret_cast< const QTextBlock(*)>(_a[1]))); break; |
108 | case 3: _t->documentSizeChanged((*reinterpret_cast< const QSizeF(*)>(_a[1]))); break; |
109 | case 4: _t->pageCountChanged((*reinterpret_cast< int(*)>(_a[1]))); break; |
110 | case 5: _t->d_func()->_q_handlerDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break; |
111 | case 6: { int _r = _t->d_func()->_q_dynamicPageCountSlot(); |
112 | if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); } break; |
113 | case 7: { QSizeF _r = _t->d_func()->_q_dynamicDocumentSizeSlot(); |
114 | if (_a[0]) *reinterpret_cast< QSizeF*>(_a[0]) = std::move(_r); } break; |
115 | default: ; |
116 | } |
117 | } else if (_c == QMetaObject::IndexOfMethod) { |
118 | int *result = reinterpret_cast<int *>(_a[0]); |
119 | { |
120 | using _t = void (QAbstractTextDocumentLayout::*)(const QRectF & ); |
121 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAbstractTextDocumentLayout::update)) { |
122 | *result = 0; |
123 | return; |
124 | } |
125 | } |
126 | { |
127 | using _t = void (QAbstractTextDocumentLayout::*)(const QTextBlock & ); |
128 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAbstractTextDocumentLayout::updateBlock)) { |
129 | *result = 2; |
130 | return; |
131 | } |
132 | } |
133 | { |
134 | using _t = void (QAbstractTextDocumentLayout::*)(const QSizeF & ); |
135 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAbstractTextDocumentLayout::documentSizeChanged)) { |
136 | *result = 3; |
137 | return; |
138 | } |
139 | } |
140 | { |
141 | using _t = void (QAbstractTextDocumentLayout::*)(int ); |
142 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAbstractTextDocumentLayout::pageCountChanged)) { |
143 | *result = 4; |
144 | return; |
145 | } |
146 | } |
147 | } |
148 | } |
149 | |
150 | const QMetaObject QAbstractTextDocumentLayout::staticMetaObject = { { |
151 | QMetaObject::SuperData::link<QObject::staticMetaObject>(), |
152 | qt_meta_stringdata_QAbstractTextDocumentLayout.offsetsAndSize, |
153 | qt_meta_data_QAbstractTextDocumentLayout, |
154 | qt_static_metacall, |
155 | nullptr, |
156 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QAbstractTextDocumentLayout_t |
157 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QRectF &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QTextBlock &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QSizeF &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type> |
158 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QObject *, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<QSizeF, std::false_type> |
159 | |
160 | |
161 | >, |
162 | nullptr |
163 | } }; |
164 | |
165 | |
166 | const QMetaObject *QAbstractTextDocumentLayout::metaObject() const |
167 | { |
168 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
169 | } |
170 | |
171 | void *QAbstractTextDocumentLayout::qt_metacast(const char *_clname) |
172 | { |
173 | if (!_clname) return nullptr; |
174 | if (!strcmp(_clname, qt_meta_stringdata_QAbstractTextDocumentLayout.stringdata0)) |
175 | return static_cast<void*>(this); |
176 | return QObject::qt_metacast(_clname); |
177 | } |
178 | |
179 | int QAbstractTextDocumentLayout::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
180 | { |
181 | _id = QObject::qt_metacall(_c, _id, _a); |
182 | if (_id < 0) |
183 | return _id; |
184 | if (_c == QMetaObject::InvokeMetaMethod) { |
185 | if (_id < 8) |
186 | qt_static_metacall(this, _c, _id, _a); |
187 | _id -= 8; |
188 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
189 | if (_id < 8) |
190 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
191 | _id -= 8; |
192 | } |
193 | return _id; |
194 | } |
195 | |
196 | // SIGNAL 0 |
197 | void QAbstractTextDocumentLayout::update(const QRectF & _t1) |
198 | { |
199 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
200 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
201 | } |
202 | |
203 | // SIGNAL 2 |
204 | void QAbstractTextDocumentLayout::updateBlock(const QTextBlock & _t1) |
205 | { |
206 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
207 | QMetaObject::activate(this, &staticMetaObject, 2, _a); |
208 | } |
209 | |
210 | // SIGNAL 3 |
211 | void QAbstractTextDocumentLayout::documentSizeChanged(const QSizeF & _t1) |
212 | { |
213 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
214 | QMetaObject::activate(this, &staticMetaObject, 3, _a); |
215 | } |
216 | |
217 | // SIGNAL 4 |
218 | void QAbstractTextDocumentLayout::pageCountChanged(int _t1) |
219 | { |
220 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
221 | QMetaObject::activate(this, &staticMetaObject, 4, _a); |
222 | } |
223 | QT_WARNING_POP |
224 | QT_END_MOC_NAMESPACE |
225 | |