1 | /**************************************************************************** |
---|
2 | ** Meta object code from reading C++ file 'pageitem.h' |
---|
3 | ** |
---|
4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2) |
---|
5 | ** |
---|
6 | ** WARNING! All changes made in this file will be lost! |
---|
7 | *****************************************************************************/ |
---|
8 | |
---|
9 | #include "../sources/pageitem.h" |
---|
10 | #include <QtCore/qbytearray.h> |
---|
11 | #include <QtCore/qmetatype.h> |
---|
12 | #if !defined(Q_MOC_OUTPUT_REVISION) |
---|
13 | #error "The header file 'pageitem.h' doesn't include <QObject>." |
---|
14 | #elif Q_MOC_OUTPUT_REVISION != 67 |
---|
15 | #error "This file was generated using the moc from 5.3.2. 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 | struct qt_meta_stringdata_qpdfview__PageItem_t { |
---|
22 | QByteArrayData data[33]; |
---|
23 | char stringdata[475]; |
---|
24 | }; |
---|
25 | #define QT_MOC_LITERAL(idx, ofs, len) \ |
---|
26 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ |
---|
27 | qptrdiff(offsetof(qt_meta_stringdata_qpdfview__PageItem_t, stringdata) + ofs \ |
---|
28 | - idx * sizeof(QByteArrayData)) \ |
---|
29 | ) |
---|
30 | static const qt_meta_stringdata_qpdfview__PageItem_t qt_meta_stringdata_qpdfview__PageItem = { |
---|
31 | { |
---|
32 | QT_MOC_LITERAL(0, 0, 18), |
---|
33 | QT_MOC_LITERAL(1, 19, 15), |
---|
34 | QT_MOC_LITERAL(2, 35, 0), |
---|
35 | QT_MOC_LITERAL(3, 36, 11), |
---|
36 | QT_MOC_LITERAL(4, 48, 6), |
---|
37 | QT_MOC_LITERAL(5, 55, 4), |
---|
38 | QT_MOC_LITERAL(6, 60, 4), |
---|
39 | QT_MOC_LITERAL(7, 65, 3), |
---|
40 | QT_MOC_LITERAL(8, 69, 8), |
---|
41 | QT_MOC_LITERAL(9, 78, 3), |
---|
42 | QT_MOC_LITERAL(10, 82, 17), |
---|
43 | QT_MOC_LITERAL(11, 100, 18), |
---|
44 | QT_MOC_LITERAL(12, 119, 15), |
---|
45 | QT_MOC_LITERAL(13, 135, 4), |
---|
46 | QT_MOC_LITERAL(14, 140, 11), |
---|
47 | QT_MOC_LITERAL(15, 152, 7), |
---|
48 | QT_MOC_LITERAL(16, 160, 19), |
---|
49 | QT_MOC_LITERAL(17, 180, 17), |
---|
50 | QT_MOC_LITERAL(18, 198, 11), |
---|
51 | QT_MOC_LITERAL(19, 210, 8), |
---|
52 | QT_MOC_LITERAL(20, 219, 12), |
---|
53 | QT_MOC_LITERAL(21, 232, 21), |
---|
54 | QT_MOC_LITERAL(22, 254, 18), |
---|
55 | QT_MOC_LITERAL(23, 273, 18), |
---|
56 | QT_MOC_LITERAL(24, 292, 21), |
---|
57 | QT_MOC_LITERAL(25, 314, 11), |
---|
58 | QT_MOC_LITERAL(26, 326, 23), |
---|
59 | QT_MOC_LITERAL(27, 350, 20), |
---|
60 | QT_MOC_LITERAL(28, 371, 17), |
---|
61 | QT_MOC_LITERAL(29, 389, 17), |
---|
62 | QT_MOC_LITERAL(30, 407, 20), |
---|
63 | QT_MOC_LITERAL(31, 428, 22), |
---|
64 | QT_MOC_LITERAL(32, 451, 23) |
---|
65 | }, |
---|
66 | "qpdfview::PageItem\0cropRectChanged\0\0" |
---|
67 | "linkClicked\0newTab\0page\0left\0top\0" |
---|
68 | "fileName\0url\0rubberBandStarted\0" |
---|
69 | "rubberBandFinished\0zoomToSelection\0" |
---|
70 | "rect\0wasModified\0refresh\0keepObsoletePixmaps\0" |
---|
71 | "dropCachedPixmaps\0startRender\0prefetch\0" |
---|
72 | "cancelRender\0showAnnotationOverlay\0" |
---|
73 | "Model::Annotation*\0selectedAnnotation\0" |
---|
74 | "hideAnnotationOverlay\0deleteLater\0" |
---|
75 | "updateAnnotationOverlay\0showFormFieldOverlay\0" |
---|
76 | "Model::FormField*\0selectedFormField\0" |
---|
77 | "hideFormFieldOverlay\0updateFormFieldOverlay\0" |
---|
78 | "loadInteractiveElements" |
---|
79 | }; |
---|
80 | #undef QT_MOC_LITERAL |
---|
81 | |
---|
82 | static const uint qt_meta_data_qpdfview__PageItem[] = { |
---|
83 | |
---|
84 | // content: |
---|
85 | 7, // revision |
---|
86 | 0, // classname |
---|
87 | 0, 0, // classinfo |
---|
88 | 25, 14, // methods |
---|
89 | 0, 0, // properties |
---|
90 | 0, 0, // enums/sets |
---|
91 | 0, 0, // constructors |
---|
92 | 0, // flags |
---|
93 | 10, // signalCount |
---|
94 | |
---|
95 | // signals: name, argc, parameters, tag, flags |
---|
96 | 1, 0, 139, 2, 0x06 /* Public */, |
---|
97 | 3, 4, 140, 2, 0x06 /* Public */, |
---|
98 | 3, 3, 149, 2, 0x26 /* Public | MethodCloned */, |
---|
99 | 3, 2, 156, 2, 0x26 /* Public | MethodCloned */, |
---|
100 | 3, 3, 161, 2, 0x06 /* Public */, |
---|
101 | 3, 1, 168, 2, 0x06 /* Public */, |
---|
102 | 10, 0, 171, 2, 0x06 /* Public */, |
---|
103 | 11, 0, 172, 2, 0x06 /* Public */, |
---|
104 | 12, 2, 173, 2, 0x06 /* Public */, |
---|
105 | 14, 0, 178, 2, 0x06 /* Public */, |
---|
106 | |
---|
107 | // slots: name, argc, parameters, tag, flags |
---|
108 | 15, 2, 179, 2, 0x0a /* Public */, |
---|
109 | 15, 1, 184, 2, 0x2a /* Public | MethodCloned */, |
---|
110 | 15, 0, 187, 2, 0x2a /* Public | MethodCloned */, |
---|
111 | 18, 1, 188, 2, 0x0a /* Public */, |
---|
112 | 18, 0, 191, 2, 0x2a /* Public | MethodCloned */, |
---|
113 | 20, 0, 192, 2, 0x0a /* Public */, |
---|
114 | 21, 1, 193, 2, 0x09 /* Protected */, |
---|
115 | 24, 1, 196, 2, 0x09 /* Protected */, |
---|
116 | 24, 0, 199, 2, 0x29 /* Protected | MethodCloned */, |
---|
117 | 26, 0, 200, 2, 0x09 /* Protected */, |
---|
118 | 27, 1, 201, 2, 0x09 /* Protected */, |
---|
119 | 30, 1, 204, 2, 0x09 /* Protected */, |
---|
120 | 30, 0, 207, 2, 0x29 /* Protected | MethodCloned */, |
---|
121 | 31, 0, 208, 2, 0x09 /* Protected */, |
---|
122 | 32, 0, 209, 2, 0x08 /* Private */, |
---|
123 | |
---|
124 | // signals: parameters |
---|
125 | QMetaType::Void, |
---|
126 | QMetaType::Void, QMetaType::Bool, QMetaType::Int, QMetaType::QReal, QMetaType::QReal, 4, 5, 6, 7, |
---|
127 | QMetaType::Void, QMetaType::Bool, QMetaType::Int, QMetaType::QReal, 4, 5, 6, |
---|
128 | QMetaType::Void, QMetaType::Bool, QMetaType::Int, 4, 5, |
---|
129 | QMetaType::Void, QMetaType::Bool, QMetaType::QString, QMetaType::Int, 4, 8, 5, |
---|
130 | QMetaType::Void, QMetaType::QString, 9, |
---|
131 | QMetaType::Void, |
---|
132 | QMetaType::Void, |
---|
133 | QMetaType::Void, QMetaType::Int, QMetaType::QRectF, 5, 13, |
---|
134 | QMetaType::Void, |
---|
135 | |
---|
136 | // slots: parameters |
---|
137 | QMetaType::Void, QMetaType::Bool, QMetaType::Bool, 16, 17, |
---|
138 | QMetaType::Void, QMetaType::Bool, 16, |
---|
139 | QMetaType::Void, |
---|
140 | QMetaType::Int, QMetaType::Bool, 19, |
---|
141 | QMetaType::Int, |
---|
142 | QMetaType::Void, |
---|
143 | QMetaType::Void, 0x80000000 | 22, 23, |
---|
144 | QMetaType::Void, QMetaType::Bool, 25, |
---|
145 | QMetaType::Void, |
---|
146 | QMetaType::Void, |
---|
147 | QMetaType::Void, 0x80000000 | 28, 29, |
---|
148 | QMetaType::Void, QMetaType::Bool, 25, |
---|
149 | QMetaType::Void, |
---|
150 | QMetaType::Void, |
---|
151 | QMetaType::Void, |
---|
152 | |
---|
153 | 0 // eod |
---|
154 | }; |
---|
155 | |
---|
156 | void qpdfview::PageItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
---|
157 | { |
---|
158 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
159 | PageItem *_t = static_cast<PageItem *>(_o); |
---|
160 | switch (_id) { |
---|
161 | case 0: _t->cropRectChanged(); break; |
---|
162 | case 1: _t->linkClicked((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< qreal(*)>(_a[3])),(*reinterpret_cast< qreal(*)>(_a[4]))); break; |
---|
163 | case 2: _t->linkClicked((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< qreal(*)>(_a[3]))); break; |
---|
164 | case 3: _t->linkClicked((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; |
---|
165 | case 4: _t->linkClicked((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; |
---|
166 | case 5: _t->linkClicked((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
---|
167 | case 6: _t->rubberBandStarted(); break; |
---|
168 | case 7: _t->rubberBandFinished(); break; |
---|
169 | case 8: _t->zoomToSelection((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QRectF(*)>(_a[2]))); break; |
---|
170 | case 9: _t->wasModified(); break; |
---|
171 | case 10: _t->refresh((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; |
---|
172 | case 11: _t->refresh((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
173 | case 12: _t->refresh(); break; |
---|
174 | case 13: { int _r = _t->startRender((*reinterpret_cast< bool(*)>(_a[1]))); |
---|
175 | if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; } break; |
---|
176 | case 14: { int _r = _t->startRender(); |
---|
177 | if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; } break; |
---|
178 | case 15: _t->cancelRender(); break; |
---|
179 | case 16: _t->showAnnotationOverlay((*reinterpret_cast< Model::Annotation*(*)>(_a[1]))); break; |
---|
180 | case 17: _t->hideAnnotationOverlay((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
181 | case 18: _t->hideAnnotationOverlay(); break; |
---|
182 | case 19: _t->updateAnnotationOverlay(); break; |
---|
183 | case 20: _t->showFormFieldOverlay((*reinterpret_cast< Model::FormField*(*)>(_a[1]))); break; |
---|
184 | case 21: _t->hideFormFieldOverlay((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
185 | case 22: _t->hideFormFieldOverlay(); break; |
---|
186 | case 23: _t->updateFormFieldOverlay(); break; |
---|
187 | case 24: _t->loadInteractiveElements(); break; |
---|
188 | default: ; |
---|
189 | } |
---|
190 | } else if (_c == QMetaObject::IndexOfMethod) { |
---|
191 | int *result = reinterpret_cast<int *>(_a[0]); |
---|
192 | void **func = reinterpret_cast<void **>(_a[1]); |
---|
193 | { |
---|
194 | typedef void (PageItem::*_t)(); |
---|
195 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PageItem::cropRectChanged)) { |
---|
196 | *result = 0; |
---|
197 | } |
---|
198 | } |
---|
199 | { |
---|
200 | typedef void (PageItem::*_t)(bool , int , qreal , qreal ); |
---|
201 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PageItem::linkClicked)) { |
---|
202 | *result = 1; |
---|
203 | } |
---|
204 | } |
---|
205 | { |
---|
206 | typedef void (PageItem::*_t)(bool , const QString & , int ); |
---|
207 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PageItem::linkClicked)) { |
---|
208 | *result = 4; |
---|
209 | } |
---|
210 | } |
---|
211 | { |
---|
212 | typedef void (PageItem::*_t)(const QString & ); |
---|
213 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PageItem::linkClicked)) { |
---|
214 | *result = 5; |
---|
215 | } |
---|
216 | } |
---|
217 | { |
---|
218 | typedef void (PageItem::*_t)(); |
---|
219 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PageItem::rubberBandStarted)) { |
---|
220 | *result = 6; |
---|
221 | } |
---|
222 | } |
---|
223 | { |
---|
224 | typedef void (PageItem::*_t)(); |
---|
225 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PageItem::rubberBandFinished)) { |
---|
226 | *result = 7; |
---|
227 | } |
---|
228 | } |
---|
229 | { |
---|
230 | typedef void (PageItem::*_t)(int , const QRectF & ); |
---|
231 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PageItem::zoomToSelection)) { |
---|
232 | *result = 8; |
---|
233 | } |
---|
234 | } |
---|
235 | { |
---|
236 | typedef void (PageItem::*_t)(); |
---|
237 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PageItem::wasModified)) { |
---|
238 | *result = 9; |
---|
239 | } |
---|
240 | } |
---|
241 | } |
---|
242 | } |
---|
243 | |
---|
244 | const QMetaObject qpdfview::PageItem::staticMetaObject = { |
---|
245 | { &QGraphicsObject::staticMetaObject, qt_meta_stringdata_qpdfview__PageItem.data, |
---|
246 | qt_meta_data_qpdfview__PageItem, qt_static_metacall, 0, 0} |
---|
247 | }; |
---|
248 | |
---|
249 | |
---|
250 | const QMetaObject *qpdfview::PageItem::metaObject() const |
---|
251 | { |
---|
252 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
---|
253 | } |
---|
254 | |
---|
255 | void *qpdfview::PageItem::qt_metacast(const char *_clname) |
---|
256 | { |
---|
257 | if (!_clname) return 0; |
---|
258 | if (!strcmp(_clname, qt_meta_stringdata_qpdfview__PageItem.stringdata)) |
---|
259 | return static_cast<void*>(const_cast< PageItem*>(this)); |
---|
260 | return QGraphicsObject::qt_metacast(_clname); |
---|
261 | } |
---|
262 | |
---|
263 | int qpdfview::PageItem::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
---|
264 | { |
---|
265 | _id = QGraphicsObject::qt_metacall(_c, _id, _a); |
---|
266 | if (_id < 0) |
---|
267 | return _id; |
---|
268 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
269 | if (_id < 25) |
---|
270 | qt_static_metacall(this, _c, _id, _a); |
---|
271 | _id -= 25; |
---|
272 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
---|
273 | if (_id < 25) |
---|
274 | *reinterpret_cast<int*>(_a[0]) = -1; |
---|
275 | _id -= 25; |
---|
276 | } |
---|
277 | return _id; |
---|
278 | } |
---|
279 | |
---|
280 | // SIGNAL 0 |
---|
281 | void qpdfview::PageItem::cropRectChanged() |
---|
282 | { |
---|
283 | QMetaObject::activate(this, &staticMetaObject, 0, 0); |
---|
284 | } |
---|
285 | |
---|
286 | // SIGNAL 1 |
---|
287 | void qpdfview::PageItem::linkClicked(bool _t1, int _t2, qreal _t3, qreal _t4) |
---|
288 | { |
---|
289 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)) }; |
---|
290 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
---|
291 | } |
---|
292 | |
---|
293 | // SIGNAL 4 |
---|
294 | void qpdfview::PageItem::linkClicked(bool _t1, const QString & _t2, int _t3) |
---|
295 | { |
---|
296 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) }; |
---|
297 | QMetaObject::activate(this, &staticMetaObject, 4, _a); |
---|
298 | } |
---|
299 | |
---|
300 | // SIGNAL 5 |
---|
301 | void qpdfview::PageItem::linkClicked(const QString & _t1) |
---|
302 | { |
---|
303 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; |
---|
304 | QMetaObject::activate(this, &staticMetaObject, 5, _a); |
---|
305 | } |
---|
306 | |
---|
307 | // SIGNAL 6 |
---|
308 | void qpdfview::PageItem::rubberBandStarted() |
---|
309 | { |
---|
310 | QMetaObject::activate(this, &staticMetaObject, 6, 0); |
---|
311 | } |
---|
312 | |
---|
313 | // SIGNAL 7 |
---|
314 | void qpdfview::PageItem::rubberBandFinished() |
---|
315 | { |
---|
316 | QMetaObject::activate(this, &staticMetaObject, 7, 0); |
---|
317 | } |
---|
318 | |
---|
319 | // SIGNAL 8 |
---|
320 | void qpdfview::PageItem::zoomToSelection(int _t1, const QRectF & _t2) |
---|
321 | { |
---|
322 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) }; |
---|
323 | QMetaObject::activate(this, &staticMetaObject, 8, _a); |
---|
324 | } |
---|
325 | |
---|
326 | // SIGNAL 9 |
---|
327 | void qpdfview::PageItem::wasModified() |
---|
328 | { |
---|
329 | QMetaObject::activate(this, &staticMetaObject, 9, 0); |
---|
330 | } |
---|
331 | QT_END_MOC_NAMESPACE |
---|