1 | /**************************************************************************** |
---|
2 | ** Meta object code from reading C++ file 'rendertask.h' |
---|
3 | ** |
---|
4 | ** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.6) |
---|
5 | ** |
---|
6 | ** WARNING! All changes made in this file will be lost! |
---|
7 | *****************************************************************************/ |
---|
8 | |
---|
9 | #include "../sources/rendertask.h" |
---|
10 | #if !defined(Q_MOC_OUTPUT_REVISION) |
---|
11 | #error "The header file 'rendertask.h' doesn't include <QObject>." |
---|
12 | #elif Q_MOC_OUTPUT_REVISION != 63 |
---|
13 | #error "This file was generated using the moc from 4.8.6. It" |
---|
14 | #error "cannot be used with the include files from this version of Qt." |
---|
15 | #error "(The moc has changed too much.)" |
---|
16 | #endif |
---|
17 | |
---|
18 | QT_BEGIN_MOC_NAMESPACE |
---|
19 | static const uint qt_meta_data_qpdfview__RenderTask[] = { |
---|
20 | |
---|
21 | // content: |
---|
22 | 6, // revision |
---|
23 | 0, // classname |
---|
24 | 0, 0, // classinfo |
---|
25 | 5, 14, // methods |
---|
26 | 0, 0, // properties |
---|
27 | 0, 0, // enums/sets |
---|
28 | 0, 0, // constructors |
---|
29 | 0, // flags |
---|
30 | 2, // signalCount |
---|
31 | |
---|
32 | // signals: signature, parameters, type, tag, flags |
---|
33 | 22, 21, 21, 21, 0x05, |
---|
34 | 74, 33, 21, 21, 0x05, |
---|
35 | |
---|
36 | // slots: signature, parameters, type, tag, flags |
---|
37 | 149, 123, 21, 21, 0x0a, |
---|
38 | 185, 179, 21, 21, 0x0a, |
---|
39 | 198, 21, 21, 21, 0x2a, |
---|
40 | |
---|
41 | 0 // eod |
---|
42 | }; |
---|
43 | |
---|
44 | static const char qt_meta_stringdata_qpdfview__RenderTask[] = { |
---|
45 | "qpdfview::RenderTask\0\0finished()\0" |
---|
46 | "renderParam,rect,prefetch,image,cropRect\0" |
---|
47 | "imageReady(RenderParam,QRect,bool,QImage,QRectF)\0" |
---|
48 | "renderParam,rect,prefetch\0" |
---|
49 | "start(RenderParam,QRect,bool)\0force\0" |
---|
50 | "cancel(bool)\0cancel()\0" |
---|
51 | }; |
---|
52 | |
---|
53 | void qpdfview::RenderTask::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
---|
54 | { |
---|
55 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
56 | Q_ASSERT(staticMetaObject.cast(_o)); |
---|
57 | RenderTask *_t = static_cast<RenderTask *>(_o); |
---|
58 | switch (_id) { |
---|
59 | case 0: _t->finished(); break; |
---|
60 | case 1: _t->imageReady((*reinterpret_cast< const RenderParam(*)>(_a[1])),(*reinterpret_cast< const QRect(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< const QImage(*)>(_a[4])),(*reinterpret_cast< const QRectF(*)>(_a[5]))); break; |
---|
61 | case 2: _t->start((*reinterpret_cast< const RenderParam(*)>(_a[1])),(*reinterpret_cast< const QRect(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break; |
---|
62 | case 3: _t->cancel((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
63 | case 4: _t->cancel(); break; |
---|
64 | default: ; |
---|
65 | } |
---|
66 | } |
---|
67 | } |
---|
68 | |
---|
69 | const QMetaObjectExtraData qpdfview::RenderTask::staticMetaObjectExtraData = { |
---|
70 | 0, qt_static_metacall |
---|
71 | }; |
---|
72 | |
---|
73 | const QMetaObject qpdfview::RenderTask::staticMetaObject = { |
---|
74 | { &QObject::staticMetaObject, qt_meta_stringdata_qpdfview__RenderTask, |
---|
75 | qt_meta_data_qpdfview__RenderTask, &staticMetaObjectExtraData } |
---|
76 | }; |
---|
77 | |
---|
78 | #ifdef Q_NO_DATA_RELOCATION |
---|
79 | const QMetaObject &qpdfview::RenderTask::getStaticMetaObject() { return staticMetaObject; } |
---|
80 | #endif //Q_NO_DATA_RELOCATION |
---|
81 | |
---|
82 | const QMetaObject *qpdfview::RenderTask::metaObject() const |
---|
83 | { |
---|
84 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; |
---|
85 | } |
---|
86 | |
---|
87 | void *qpdfview::RenderTask::qt_metacast(const char *_clname) |
---|
88 | { |
---|
89 | if (!_clname) return 0; |
---|
90 | if (!strcmp(_clname, qt_meta_stringdata_qpdfview__RenderTask)) |
---|
91 | return static_cast<void*>(const_cast< RenderTask*>(this)); |
---|
92 | if (!strcmp(_clname, "QRunnable")) |
---|
93 | return static_cast< QRunnable*>(const_cast< RenderTask*>(this)); |
---|
94 | return QObject::qt_metacast(_clname); |
---|
95 | } |
---|
96 | |
---|
97 | int qpdfview::RenderTask::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
---|
98 | { |
---|
99 | _id = QObject::qt_metacall(_c, _id, _a); |
---|
100 | if (_id < 0) |
---|
101 | return _id; |
---|
102 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
103 | if (_id < 5) |
---|
104 | qt_static_metacall(this, _c, _id, _a); |
---|
105 | _id -= 5; |
---|
106 | } |
---|
107 | return _id; |
---|
108 | } |
---|
109 | |
---|
110 | // SIGNAL 0 |
---|
111 | void qpdfview::RenderTask::finished() |
---|
112 | { |
---|
113 | QMetaObject::activate(this, &staticMetaObject, 0, 0); |
---|
114 | } |
---|
115 | |
---|
116 | // SIGNAL 1 |
---|
117 | void qpdfview::RenderTask::imageReady(const RenderParam & _t1, const QRect & _t2, bool _t3, const QImage & _t4, const QRectF & _t5) |
---|
118 | { |
---|
119 | 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)), const_cast<void*>(reinterpret_cast<const void*>(&_t5)) }; |
---|
120 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
---|
121 | } |
---|
122 | QT_END_MOC_NAMESPACE |
---|