/**************************************************************************** ** Meta object code from reading C++ file 'pageitem.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #include "../sources/pageitem.h" #include #include #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'pageitem.h' doesn't include ." #elif Q_MOC_OUTPUT_REVISION != 67 #error "This file was generated using the moc from 5.3.2. It" #error "cannot be used with the include files from this version of Qt." #error "(The moc has changed too much.)" #endif QT_BEGIN_MOC_NAMESPACE struct qt_meta_stringdata_qpdfview__PageItem_t { QByteArrayData data[33]; char stringdata[475]; }; #define QT_MOC_LITERAL(idx, ofs, len) \ Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ qptrdiff(offsetof(qt_meta_stringdata_qpdfview__PageItem_t, stringdata) + ofs \ - idx * sizeof(QByteArrayData)) \ ) static const qt_meta_stringdata_qpdfview__PageItem_t qt_meta_stringdata_qpdfview__PageItem = { { QT_MOC_LITERAL(0, 0, 18), QT_MOC_LITERAL(1, 19, 15), QT_MOC_LITERAL(2, 35, 0), QT_MOC_LITERAL(3, 36, 11), QT_MOC_LITERAL(4, 48, 6), QT_MOC_LITERAL(5, 55, 4), QT_MOC_LITERAL(6, 60, 4), QT_MOC_LITERAL(7, 65, 3), QT_MOC_LITERAL(8, 69, 8), QT_MOC_LITERAL(9, 78, 3), QT_MOC_LITERAL(10, 82, 17), QT_MOC_LITERAL(11, 100, 18), QT_MOC_LITERAL(12, 119, 15), QT_MOC_LITERAL(13, 135, 4), QT_MOC_LITERAL(14, 140, 11), QT_MOC_LITERAL(15, 152, 7), QT_MOC_LITERAL(16, 160, 19), QT_MOC_LITERAL(17, 180, 17), QT_MOC_LITERAL(18, 198, 11), QT_MOC_LITERAL(19, 210, 8), QT_MOC_LITERAL(20, 219, 12), QT_MOC_LITERAL(21, 232, 21), QT_MOC_LITERAL(22, 254, 18), QT_MOC_LITERAL(23, 273, 18), QT_MOC_LITERAL(24, 292, 21), QT_MOC_LITERAL(25, 314, 11), QT_MOC_LITERAL(26, 326, 23), QT_MOC_LITERAL(27, 350, 20), QT_MOC_LITERAL(28, 371, 17), QT_MOC_LITERAL(29, 389, 17), QT_MOC_LITERAL(30, 407, 20), QT_MOC_LITERAL(31, 428, 22), QT_MOC_LITERAL(32, 451, 23) }, "qpdfview::PageItem\0cropRectChanged\0\0" "linkClicked\0newTab\0page\0left\0top\0" "fileName\0url\0rubberBandStarted\0" "rubberBandFinished\0zoomToSelection\0" "rect\0wasModified\0refresh\0keepObsoletePixmaps\0" "dropCachedPixmaps\0startRender\0prefetch\0" "cancelRender\0showAnnotationOverlay\0" "Model::Annotation*\0selectedAnnotation\0" "hideAnnotationOverlay\0deleteLater\0" "updateAnnotationOverlay\0showFormFieldOverlay\0" "Model::FormField*\0selectedFormField\0" "hideFormFieldOverlay\0updateFormFieldOverlay\0" "loadInteractiveElements" }; #undef QT_MOC_LITERAL static const uint qt_meta_data_qpdfview__PageItem[] = { // content: 7, // revision 0, // classname 0, 0, // classinfo 25, 14, // methods 0, 0, // properties 0, 0, // enums/sets 0, 0, // constructors 0, // flags 10, // signalCount // signals: name, argc, parameters, tag, flags 1, 0, 139, 2, 0x06 /* Public */, 3, 4, 140, 2, 0x06 /* Public */, 3, 3, 149, 2, 0x26 /* Public | MethodCloned */, 3, 2, 156, 2, 0x26 /* Public | MethodCloned */, 3, 3, 161, 2, 0x06 /* Public */, 3, 1, 168, 2, 0x06 /* Public */, 10, 0, 171, 2, 0x06 /* Public */, 11, 0, 172, 2, 0x06 /* Public */, 12, 2, 173, 2, 0x06 /* Public */, 14, 0, 178, 2, 0x06 /* Public */, // slots: name, argc, parameters, tag, flags 15, 2, 179, 2, 0x0a /* Public */, 15, 1, 184, 2, 0x2a /* Public | MethodCloned */, 15, 0, 187, 2, 0x2a /* Public | MethodCloned */, 18, 1, 188, 2, 0x0a /* Public */, 18, 0, 191, 2, 0x2a /* Public | MethodCloned */, 20, 0, 192, 2, 0x0a /* Public */, 21, 1, 193, 2, 0x09 /* Protected */, 24, 1, 196, 2, 0x09 /* Protected */, 24, 0, 199, 2, 0x29 /* Protected | MethodCloned */, 26, 0, 200, 2, 0x09 /* Protected */, 27, 1, 201, 2, 0x09 /* Protected */, 30, 1, 204, 2, 0x09 /* Protected */, 30, 0, 207, 2, 0x29 /* Protected | MethodCloned */, 31, 0, 208, 2, 0x09 /* Protected */, 32, 0, 209, 2, 0x08 /* Private */, // signals: parameters QMetaType::Void, QMetaType::Void, QMetaType::Bool, QMetaType::Int, QMetaType::QReal, QMetaType::QReal, 4, 5, 6, 7, QMetaType::Void, QMetaType::Bool, QMetaType::Int, QMetaType::QReal, 4, 5, 6, QMetaType::Void, QMetaType::Bool, QMetaType::Int, 4, 5, QMetaType::Void, QMetaType::Bool, QMetaType::QString, QMetaType::Int, 4, 8, 5, QMetaType::Void, QMetaType::QString, 9, QMetaType::Void, QMetaType::Void, QMetaType::Void, QMetaType::Int, QMetaType::QRectF, 5, 13, QMetaType::Void, // slots: parameters QMetaType::Void, QMetaType::Bool, QMetaType::Bool, 16, 17, QMetaType::Void, QMetaType::Bool, 16, QMetaType::Void, QMetaType::Int, QMetaType::Bool, 19, QMetaType::Int, QMetaType::Void, QMetaType::Void, 0x80000000 | 22, 23, QMetaType::Void, QMetaType::Bool, 25, QMetaType::Void, QMetaType::Void, QMetaType::Void, 0x80000000 | 28, 29, QMetaType::Void, QMetaType::Bool, 25, QMetaType::Void, QMetaType::Void, QMetaType::Void, 0 // eod }; void qpdfview::PageItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) { if (_c == QMetaObject::InvokeMetaMethod) { PageItem *_t = static_cast(_o); switch (_id) { case 0: _t->cropRectChanged(); break; 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; case 2: _t->linkClicked((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< qreal(*)>(_a[3]))); break; case 3: _t->linkClicked((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; case 4: _t->linkClicked((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; case 5: _t->linkClicked((*reinterpret_cast< const QString(*)>(_a[1]))); break; case 6: _t->rubberBandStarted(); break; case 7: _t->rubberBandFinished(); break; case 8: _t->zoomToSelection((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QRectF(*)>(_a[2]))); break; case 9: _t->wasModified(); break; case 10: _t->refresh((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; case 11: _t->refresh((*reinterpret_cast< bool(*)>(_a[1]))); break; case 12: _t->refresh(); break; case 13: { int _r = _t->startRender((*reinterpret_cast< bool(*)>(_a[1]))); if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; } break; case 14: { int _r = _t->startRender(); if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; } break; case 15: _t->cancelRender(); break; case 16: _t->showAnnotationOverlay((*reinterpret_cast< Model::Annotation*(*)>(_a[1]))); break; case 17: _t->hideAnnotationOverlay((*reinterpret_cast< bool(*)>(_a[1]))); break; case 18: _t->hideAnnotationOverlay(); break; case 19: _t->updateAnnotationOverlay(); break; case 20: _t->showFormFieldOverlay((*reinterpret_cast< Model::FormField*(*)>(_a[1]))); break; case 21: _t->hideFormFieldOverlay((*reinterpret_cast< bool(*)>(_a[1]))); break; case 22: _t->hideFormFieldOverlay(); break; case 23: _t->updateFormFieldOverlay(); break; case 24: _t->loadInteractiveElements(); break; default: ; } } else if (_c == QMetaObject::IndexOfMethod) { int *result = reinterpret_cast(_a[0]); void **func = reinterpret_cast(_a[1]); { typedef void (PageItem::*_t)(); if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PageItem::cropRectChanged)) { *result = 0; } } { typedef void (PageItem::*_t)(bool , int , qreal , qreal ); if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PageItem::linkClicked)) { *result = 1; } } { typedef void (PageItem::*_t)(bool , const QString & , int ); if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PageItem::linkClicked)) { *result = 4; } } { typedef void (PageItem::*_t)(const QString & ); if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PageItem::linkClicked)) { *result = 5; } } { typedef void (PageItem::*_t)(); if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PageItem::rubberBandStarted)) { *result = 6; } } { typedef void (PageItem::*_t)(); if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PageItem::rubberBandFinished)) { *result = 7; } } { typedef void (PageItem::*_t)(int , const QRectF & ); if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PageItem::zoomToSelection)) { *result = 8; } } { typedef void (PageItem::*_t)(); if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PageItem::wasModified)) { *result = 9; } } } } const QMetaObject qpdfview::PageItem::staticMetaObject = { { &QGraphicsObject::staticMetaObject, qt_meta_stringdata_qpdfview__PageItem.data, qt_meta_data_qpdfview__PageItem, qt_static_metacall, 0, 0} }; const QMetaObject *qpdfview::PageItem::metaObject() const { return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; } void *qpdfview::PageItem::qt_metacast(const char *_clname) { if (!_clname) return 0; if (!strcmp(_clname, qt_meta_stringdata_qpdfview__PageItem.stringdata)) return static_cast(const_cast< PageItem*>(this)); return QGraphicsObject::qt_metacast(_clname); } int qpdfview::PageItem::qt_metacall(QMetaObject::Call _c, int _id, void **_a) { _id = QGraphicsObject::qt_metacall(_c, _id, _a); if (_id < 0) return _id; if (_c == QMetaObject::InvokeMetaMethod) { if (_id < 25) qt_static_metacall(this, _c, _id, _a); _id -= 25; } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { if (_id < 25) *reinterpret_cast(_a[0]) = -1; _id -= 25; } return _id; } // SIGNAL 0 void qpdfview::PageItem::cropRectChanged() { QMetaObject::activate(this, &staticMetaObject, 0, 0); } // SIGNAL 1 void qpdfview::PageItem::linkClicked(bool _t1, int _t2, qreal _t3, qreal _t4) { void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)), const_cast(reinterpret_cast(&_t4)) }; QMetaObject::activate(this, &staticMetaObject, 1, _a); } // SIGNAL 4 void qpdfview::PageItem::linkClicked(bool _t1, const QString & _t2, int _t3) { void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)) }; QMetaObject::activate(this, &staticMetaObject, 4, _a); } // SIGNAL 5 void qpdfview::PageItem::linkClicked(const QString & _t1) { void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; QMetaObject::activate(this, &staticMetaObject, 5, _a); } // SIGNAL 6 void qpdfview::PageItem::rubberBandStarted() { QMetaObject::activate(this, &staticMetaObject, 6, 0); } // SIGNAL 7 void qpdfview::PageItem::rubberBandFinished() { QMetaObject::activate(this, &staticMetaObject, 7, 0); } // SIGNAL 8 void qpdfview::PageItem::zoomToSelection(int _t1, const QRectF & _t2) { void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; QMetaObject::activate(this, &staticMetaObject, 8, _a); } // SIGNAL 9 void qpdfview::PageItem::wasModified() { QMetaObject::activate(this, &staticMetaObject, 9, 0); } QT_END_MOC_NAMESPACE