1 | /**************************************************************************** |
---|
2 | ** Meta object code from reading C++ file 'presentationview.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/presentationview.h" |
---|
10 | #include <QtCore/qbytearray.h> |
---|
11 | #include <QtCore/qmetatype.h> |
---|
12 | #if !defined(Q_MOC_OUTPUT_REVISION) |
---|
13 | #error "The header file 'presentationview.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__PresentationView_t { |
---|
22 | QByteArrayData data[36]; |
---|
23 | char stringdata[446]; |
---|
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__PresentationView_t, stringdata) + ofs \ |
---|
28 | - idx * sizeof(QByteArrayData)) \ |
---|
29 | ) |
---|
30 | static const qt_meta_stringdata_qpdfview__PresentationView_t qt_meta_stringdata_qpdfview__PresentationView = { |
---|
31 | { |
---|
32 | QT_MOC_LITERAL(0, 0, 26), |
---|
33 | QT_MOC_LITERAL(1, 27, 18), |
---|
34 | QT_MOC_LITERAL(2, 46, 0), |
---|
35 | QT_MOC_LITERAL(3, 47, 11), |
---|
36 | QT_MOC_LITERAL(4, 59, 11), |
---|
37 | QT_MOC_LITERAL(5, 71, 16), |
---|
38 | QT_MOC_LITERAL(6, 88, 9), |
---|
39 | QT_MOC_LITERAL(7, 98, 9), |
---|
40 | QT_MOC_LITERAL(8, 108, 18), |
---|
41 | QT_MOC_LITERAL(9, 127, 11), |
---|
42 | QT_MOC_LITERAL(10, 139, 15), |
---|
43 | QT_MOC_LITERAL(11, 155, 8), |
---|
44 | QT_MOC_LITERAL(12, 164, 8), |
---|
45 | QT_MOC_LITERAL(13, 173, 18), |
---|
46 | QT_MOC_LITERAL(14, 192, 21), |
---|
47 | QT_MOC_LITERAL(15, 214, 11), |
---|
48 | QT_MOC_LITERAL(16, 226, 4), |
---|
49 | QT_MOC_LITERAL(17, 231, 12), |
---|
50 | QT_MOC_LITERAL(18, 244, 8), |
---|
51 | QT_MOC_LITERAL(19, 253, 9), |
---|
52 | QT_MOC_LITERAL(20, 263, 8), |
---|
53 | QT_MOC_LITERAL(21, 272, 10), |
---|
54 | QT_MOC_LITERAL(22, 283, 4), |
---|
55 | QT_MOC_LITERAL(23, 288, 12), |
---|
56 | QT_MOC_LITERAL(24, 301, 11), |
---|
57 | QT_MOC_LITERAL(25, 313, 6), |
---|
58 | QT_MOC_LITERAL(26, 320, 7), |
---|
59 | QT_MOC_LITERAL(27, 328, 12), |
---|
60 | QT_MOC_LITERAL(28, 341, 10), |
---|
61 | QT_MOC_LITERAL(29, 352, 11), |
---|
62 | QT_MOC_LITERAL(30, 364, 19), |
---|
63 | QT_MOC_LITERAL(31, 384, 24), |
---|
64 | QT_MOC_LITERAL(32, 409, 20), |
---|
65 | QT_MOC_LITERAL(33, 430, 6), |
---|
66 | QT_MOC_LITERAL(34, 437, 4), |
---|
67 | QT_MOC_LITERAL(35, 442, 3) |
---|
68 | }, |
---|
69 | "qpdfview::PresentationView\0" |
---|
70 | "currentPageChanged\0\0currentPage\0" |
---|
71 | "trackChange\0scaleModeChanged\0ScaleMode\0" |
---|
72 | "scaleMode\0scaleFactorChanged\0scaleFactor\0" |
---|
73 | "rotationChanged\0Rotation\0rotation\0" |
---|
74 | "renderFlagsChanged\0qpdfview::RenderFlags\0" |
---|
75 | "renderFlags\0show\0previousPage\0nextPage\0" |
---|
76 | "firstPage\0lastPage\0jumpToPage\0page\0" |
---|
77 | "jumpBackward\0jumpForward\0zoomIn\0zoomOut\0" |
---|
78 | "originalSize\0rotateLeft\0rotateRight\0" |
---|
79 | "on_prefetch_timeout\0on_pages_cropRectChanged\0" |
---|
80 | "on_pages_linkClicked\0newTab\0left\0top" |
---|
81 | }; |
---|
82 | #undef QT_MOC_LITERAL |
---|
83 | |
---|
84 | static const uint qt_meta_data_qpdfview__PresentationView[] = { |
---|
85 | |
---|
86 | // content: |
---|
87 | 7, // revision |
---|
88 | 0, // classname |
---|
89 | 0, 0, // classinfo |
---|
90 | 23, 14, // methods |
---|
91 | 0, 0, // properties |
---|
92 | 0, 0, // enums/sets |
---|
93 | 0, 0, // constructors |
---|
94 | 0, // flags |
---|
95 | 6, // signalCount |
---|
96 | |
---|
97 | // signals: name, argc, parameters, tag, flags |
---|
98 | 1, 2, 129, 2, 0x06 /* Public */, |
---|
99 | 1, 1, 134, 2, 0x26 /* Public | MethodCloned */, |
---|
100 | 5, 1, 137, 2, 0x06 /* Public */, |
---|
101 | 8, 1, 140, 2, 0x06 /* Public */, |
---|
102 | 10, 1, 143, 2, 0x06 /* Public */, |
---|
103 | 13, 1, 146, 2, 0x06 /* Public */, |
---|
104 | |
---|
105 | // slots: name, argc, parameters, tag, flags |
---|
106 | 16, 0, 149, 2, 0x0a /* Public */, |
---|
107 | 17, 0, 150, 2, 0x0a /* Public */, |
---|
108 | 18, 0, 151, 2, 0x0a /* Public */, |
---|
109 | 19, 0, 152, 2, 0x0a /* Public */, |
---|
110 | 20, 0, 153, 2, 0x0a /* Public */, |
---|
111 | 21, 2, 154, 2, 0x0a /* Public */, |
---|
112 | 21, 1, 159, 2, 0x2a /* Public | MethodCloned */, |
---|
113 | 23, 0, 162, 2, 0x0a /* Public */, |
---|
114 | 24, 0, 163, 2, 0x0a /* Public */, |
---|
115 | 25, 0, 164, 2, 0x0a /* Public */, |
---|
116 | 26, 0, 165, 2, 0x0a /* Public */, |
---|
117 | 27, 0, 166, 2, 0x0a /* Public */, |
---|
118 | 28, 0, 167, 2, 0x0a /* Public */, |
---|
119 | 29, 0, 168, 2, 0x0a /* Public */, |
---|
120 | 30, 0, 169, 2, 0x09 /* Protected */, |
---|
121 | 31, 0, 170, 2, 0x09 /* Protected */, |
---|
122 | 32, 4, 171, 2, 0x09 /* Protected */, |
---|
123 | |
---|
124 | // signals: parameters |
---|
125 | QMetaType::Void, QMetaType::Int, QMetaType::Bool, 3, 4, |
---|
126 | QMetaType::Void, QMetaType::Int, 3, |
---|
127 | QMetaType::Void, 0x80000000 | 6, 7, |
---|
128 | QMetaType::Void, QMetaType::QReal, 9, |
---|
129 | QMetaType::Void, 0x80000000 | 11, 12, |
---|
130 | QMetaType::Void, 0x80000000 | 14, 15, |
---|
131 | |
---|
132 | // slots: parameters |
---|
133 | QMetaType::Void, |
---|
134 | QMetaType::Void, |
---|
135 | QMetaType::Void, |
---|
136 | QMetaType::Void, |
---|
137 | QMetaType::Void, |
---|
138 | QMetaType::Void, QMetaType::Int, QMetaType::Bool, 22, 4, |
---|
139 | QMetaType::Void, QMetaType::Int, 22, |
---|
140 | QMetaType::Void, |
---|
141 | QMetaType::Void, |
---|
142 | QMetaType::Void, |
---|
143 | QMetaType::Void, |
---|
144 | QMetaType::Void, |
---|
145 | QMetaType::Void, |
---|
146 | QMetaType::Void, |
---|
147 | QMetaType::Void, |
---|
148 | QMetaType::Void, |
---|
149 | QMetaType::Void, QMetaType::Bool, QMetaType::Int, QMetaType::QReal, QMetaType::QReal, 33, 22, 34, 35, |
---|
150 | |
---|
151 | 0 // eod |
---|
152 | }; |
---|
153 | |
---|
154 | void qpdfview::PresentationView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
---|
155 | { |
---|
156 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
157 | PresentationView *_t = static_cast<PresentationView *>(_o); |
---|
158 | switch (_id) { |
---|
159 | case 0: _t->currentPageChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; |
---|
160 | case 1: _t->currentPageChanged((*reinterpret_cast< int(*)>(_a[1]))); break; |
---|
161 | case 2: _t->scaleModeChanged((*reinterpret_cast< ScaleMode(*)>(_a[1]))); break; |
---|
162 | case 3: _t->scaleFactorChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break; |
---|
163 | case 4: _t->rotationChanged((*reinterpret_cast< Rotation(*)>(_a[1]))); break; |
---|
164 | case 5: _t->renderFlagsChanged((*reinterpret_cast< qpdfview::RenderFlags(*)>(_a[1]))); break; |
---|
165 | case 6: _t->show(); break; |
---|
166 | case 7: _t->previousPage(); break; |
---|
167 | case 8: _t->nextPage(); break; |
---|
168 | case 9: _t->firstPage(); break; |
---|
169 | case 10: _t->lastPage(); break; |
---|
170 | case 11: _t->jumpToPage((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; |
---|
171 | case 12: _t->jumpToPage((*reinterpret_cast< int(*)>(_a[1]))); break; |
---|
172 | case 13: _t->jumpBackward(); break; |
---|
173 | case 14: _t->jumpForward(); break; |
---|
174 | case 15: _t->zoomIn(); break; |
---|
175 | case 16: _t->zoomOut(); break; |
---|
176 | case 17: _t->originalSize(); break; |
---|
177 | case 18: _t->rotateLeft(); break; |
---|
178 | case 19: _t->rotateRight(); break; |
---|
179 | case 20: _t->on_prefetch_timeout(); break; |
---|
180 | case 21: _t->on_pages_cropRectChanged(); break; |
---|
181 | case 22: _t->on_pages_linkClicked((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< qreal(*)>(_a[3])),(*reinterpret_cast< qreal(*)>(_a[4]))); break; |
---|
182 | default: ; |
---|
183 | } |
---|
184 | } else if (_c == QMetaObject::IndexOfMethod) { |
---|
185 | int *result = reinterpret_cast<int *>(_a[0]); |
---|
186 | void **func = reinterpret_cast<void **>(_a[1]); |
---|
187 | { |
---|
188 | typedef void (PresentationView::*_t)(int , bool ); |
---|
189 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PresentationView::currentPageChanged)) { |
---|
190 | *result = 0; |
---|
191 | } |
---|
192 | } |
---|
193 | { |
---|
194 | typedef void (PresentationView::*_t)(ScaleMode ); |
---|
195 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PresentationView::scaleModeChanged)) { |
---|
196 | *result = 2; |
---|
197 | } |
---|
198 | } |
---|
199 | { |
---|
200 | typedef void (PresentationView::*_t)(qreal ); |
---|
201 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PresentationView::scaleFactorChanged)) { |
---|
202 | *result = 3; |
---|
203 | } |
---|
204 | } |
---|
205 | { |
---|
206 | typedef void (PresentationView::*_t)(Rotation ); |
---|
207 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PresentationView::rotationChanged)) { |
---|
208 | *result = 4; |
---|
209 | } |
---|
210 | } |
---|
211 | { |
---|
212 | typedef void (PresentationView::*_t)(qpdfview::RenderFlags ); |
---|
213 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PresentationView::renderFlagsChanged)) { |
---|
214 | *result = 5; |
---|
215 | } |
---|
216 | } |
---|
217 | } |
---|
218 | } |
---|
219 | |
---|
220 | const QMetaObject qpdfview::PresentationView::staticMetaObject = { |
---|
221 | { &QGraphicsView::staticMetaObject, qt_meta_stringdata_qpdfview__PresentationView.data, |
---|
222 | qt_meta_data_qpdfview__PresentationView, qt_static_metacall, 0, 0} |
---|
223 | }; |
---|
224 | |
---|
225 | |
---|
226 | const QMetaObject *qpdfview::PresentationView::metaObject() const |
---|
227 | { |
---|
228 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
---|
229 | } |
---|
230 | |
---|
231 | void *qpdfview::PresentationView::qt_metacast(const char *_clname) |
---|
232 | { |
---|
233 | if (!_clname) return 0; |
---|
234 | if (!strcmp(_clname, qt_meta_stringdata_qpdfview__PresentationView.stringdata)) |
---|
235 | return static_cast<void*>(const_cast< PresentationView*>(this)); |
---|
236 | return QGraphicsView::qt_metacast(_clname); |
---|
237 | } |
---|
238 | |
---|
239 | int qpdfview::PresentationView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
---|
240 | { |
---|
241 | _id = QGraphicsView::qt_metacall(_c, _id, _a); |
---|
242 | if (_id < 0) |
---|
243 | return _id; |
---|
244 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
245 | if (_id < 23) |
---|
246 | qt_static_metacall(this, _c, _id, _a); |
---|
247 | _id -= 23; |
---|
248 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
---|
249 | if (_id < 23) |
---|
250 | *reinterpret_cast<int*>(_a[0]) = -1; |
---|
251 | _id -= 23; |
---|
252 | } |
---|
253 | return _id; |
---|
254 | } |
---|
255 | |
---|
256 | // SIGNAL 0 |
---|
257 | void qpdfview::PresentationView::currentPageChanged(int _t1, bool _t2) |
---|
258 | { |
---|
259 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) }; |
---|
260 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
---|
261 | } |
---|
262 | |
---|
263 | // SIGNAL 2 |
---|
264 | void qpdfview::PresentationView::scaleModeChanged(ScaleMode _t1) |
---|
265 | { |
---|
266 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; |
---|
267 | QMetaObject::activate(this, &staticMetaObject, 2, _a); |
---|
268 | } |
---|
269 | |
---|
270 | // SIGNAL 3 |
---|
271 | void qpdfview::PresentationView::scaleFactorChanged(qreal _t1) |
---|
272 | { |
---|
273 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; |
---|
274 | QMetaObject::activate(this, &staticMetaObject, 3, _a); |
---|
275 | } |
---|
276 | |
---|
277 | // SIGNAL 4 |
---|
278 | void qpdfview::PresentationView::rotationChanged(Rotation _t1) |
---|
279 | { |
---|
280 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; |
---|
281 | QMetaObject::activate(this, &staticMetaObject, 4, _a); |
---|
282 | } |
---|
283 | |
---|
284 | // SIGNAL 5 |
---|
285 | void qpdfview::PresentationView::renderFlagsChanged(qpdfview::RenderFlags _t1) |
---|
286 | { |
---|
287 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; |
---|
288 | QMetaObject::activate(this, &staticMetaObject, 5, _a); |
---|
289 | } |
---|
290 | QT_END_MOC_NAMESPACE |
---|