From 835e373b3eeaabcd0621ed6798ab500f37982fae Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Wed, 5 Apr 2023 14:13:39 -0400 Subject: xpdf-no-select-disable --- xpdf-qt/moc_XpdfWidget.cpp | 463 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 463 insertions(+) create mode 100644 xpdf-qt/moc_XpdfWidget.cpp (limited to 'xpdf-qt/moc_XpdfWidget.cpp') diff --git a/xpdf-qt/moc_XpdfWidget.cpp b/xpdf-qt/moc_XpdfWidget.cpp new file mode 100644 index 0000000..b0b2ea7 --- /dev/null +++ b/xpdf-qt/moc_XpdfWidget.cpp @@ -0,0 +1,463 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'XpdfWidget.h' +** +** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include +#include "XpdfWidget.h" +#include +#include +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'XpdfWidget.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 67 +#error "This file was generated using the moc from 5.15.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 +QT_WARNING_PUSH +QT_WARNING_DISABLE_DEPRECATED +struct qt_meta_stringdata_XpdfWidget_t { + QByteArrayData data[33]; + char stringdata0[321]; +}; +#define QT_MOC_LITERAL(idx, ofs, len) \ + Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ + qptrdiff(offsetof(qt_meta_stringdata_XpdfWidget_t, stringdata0) + ofs \ + - idx * sizeof(QByteArrayData)) \ + ) +static const qt_meta_stringdata_XpdfWidget_t qt_meta_stringdata_XpdfWidget = { + { +QT_MOC_LITERAL(0, 0, 10), // "XpdfWidget" +QT_MOC_LITERAL(1, 11, 10), // "pageChange" +QT_MOC_LITERAL(2, 22, 0), // "" +QT_MOC_LITERAL(3, 23, 7), // "pageNum" +QT_MOC_LITERAL(4, 31, 13), // "midPageChange" +QT_MOC_LITERAL(5, 45, 7), // "preLoad" +QT_MOC_LITERAL(6, 53, 8), // "postLoad" +QT_MOC_LITERAL(7, 62, 8), // "keyPress" +QT_MOC_LITERAL(8, 71, 10), // "QKeyEvent*" +QT_MOC_LITERAL(9, 82, 1), // "e" +QT_MOC_LITERAL(10, 84, 10), // "mousePress" +QT_MOC_LITERAL(11, 95, 12), // "QMouseEvent*" +QT_MOC_LITERAL(12, 108, 12), // "mouseRelease" +QT_MOC_LITERAL(13, 121, 10), // "mouseClick" +QT_MOC_LITERAL(14, 132, 16), // "mouseDoubleClick" +QT_MOC_LITERAL(15, 149, 16), // "mouseTripleClick" +QT_MOC_LITERAL(16, 166, 9), // "mouseMove" +QT_MOC_LITERAL(17, 176, 10), // "mouseWheel" +QT_MOC_LITERAL(18, 187, 12), // "QWheelEvent*" +QT_MOC_LITERAL(19, 200, 9), // "linkClick" +QT_MOC_LITERAL(20, 210, 8), // "linkType" +QT_MOC_LITERAL(21, 219, 4), // "dest" +QT_MOC_LITERAL(22, 224, 4), // "page" +QT_MOC_LITERAL(23, 229, 10), // "selectDone" +QT_MOC_LITERAL(24, 240, 9), // "paintDone" +QT_MOC_LITERAL(25, 250, 8), // "finished" +QT_MOC_LITERAL(26, 259, 7), // "resized" +QT_MOC_LITERAL(27, 267, 11), // "printStatus" +QT_MOC_LITERAL(28, 279, 8), // "nextPage" +QT_MOC_LITERAL(29, 288, 9), // "firstPage" +QT_MOC_LITERAL(30, 298, 8), // "lastPage" +QT_MOC_LITERAL(31, 307, 8), // "tileDone" +QT_MOC_LITERAL(32, 316, 4) // "tick" + + }, + "XpdfWidget\0pageChange\0\0pageNum\0" + "midPageChange\0preLoad\0postLoad\0keyPress\0" + "QKeyEvent*\0e\0mousePress\0QMouseEvent*\0" + "mouseRelease\0mouseClick\0mouseDoubleClick\0" + "mouseTripleClick\0mouseMove\0mouseWheel\0" + "QWheelEvent*\0linkClick\0linkType\0dest\0" + "page\0selectDone\0paintDone\0finished\0" + "resized\0printStatus\0nextPage\0firstPage\0" + "lastPage\0tileDone\0tick" +}; +#undef QT_MOC_LITERAL + +static const uint qt_meta_data_XpdfWidget[] = { + + // content: + 8, // revision + 0, // classname + 0, 0, // classinfo + 19, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 18, // signalCount + + // signals: name, argc, parameters, tag, flags + 1, 1, 109, 2, 0x06 /* Public */, + 4, 1, 112, 2, 0x06 /* Public */, + 5, 0, 115, 2, 0x06 /* Public */, + 6, 0, 116, 2, 0x06 /* Public */, + 7, 1, 117, 2, 0x06 /* Public */, + 10, 1, 120, 2, 0x06 /* Public */, + 12, 1, 123, 2, 0x06 /* Public */, + 13, 1, 126, 2, 0x06 /* Public */, + 14, 1, 129, 2, 0x06 /* Public */, + 15, 1, 132, 2, 0x06 /* Public */, + 16, 1, 135, 2, 0x06 /* Public */, + 17, 1, 138, 2, 0x06 /* Public */, + 19, 3, 141, 2, 0x06 /* Public */, + 23, 0, 148, 2, 0x06 /* Public */, + 24, 1, 149, 2, 0x06 /* Public */, + 26, 0, 152, 2, 0x06 /* Public */, + 27, 3, 153, 2, 0x06 /* Public */, + 31, 0, 160, 2, 0x06 /* Public */, + + // slots: name, argc, parameters, tag, flags + 32, 0, 161, 2, 0x08 /* Private */, + + // signals: parameters + QMetaType::Void, QMetaType::Int, 3, + QMetaType::Void, QMetaType::Int, 3, + QMetaType::Void, + QMetaType::Void, + QMetaType::Void, 0x80000000 | 8, 9, + QMetaType::Void, 0x80000000 | 11, 9, + QMetaType::Void, 0x80000000 | 11, 9, + QMetaType::Void, 0x80000000 | 11, 9, + QMetaType::Void, 0x80000000 | 11, 9, + QMetaType::Void, 0x80000000 | 11, 9, + QMetaType::Void, 0x80000000 | 11, 9, + QMetaType::Void, 0x80000000 | 18, 9, + QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::Int, 20, 21, 22, + QMetaType::Void, + QMetaType::Void, QMetaType::Bool, 25, + QMetaType::Void, + QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 28, 29, 30, + QMetaType::Void, + + // slots: parameters + QMetaType::Void, + + 0 // eod +}; + +void XpdfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + auto *_t = static_cast(_o); + Q_UNUSED(_t) + switch (_id) { + case 0: _t->pageChange((*reinterpret_cast< int(*)>(_a[1]))); break; + case 1: _t->midPageChange((*reinterpret_cast< int(*)>(_a[1]))); break; + case 2: _t->preLoad(); break; + case 3: _t->postLoad(); break; + case 4: _t->keyPress((*reinterpret_cast< QKeyEvent*(*)>(_a[1]))); break; + case 5: _t->mousePress((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break; + case 6: _t->mouseRelease((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break; + case 7: _t->mouseClick((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break; + case 8: _t->mouseDoubleClick((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break; + case 9: _t->mouseTripleClick((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break; + case 10: _t->mouseMove((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break; + case 11: _t->mouseWheel((*reinterpret_cast< QWheelEvent*(*)>(_a[1]))); break; + case 12: _t->linkClick((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; + case 13: _t->selectDone(); break; + case 14: _t->paintDone((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 15: _t->resized(); break; + case 16: _t->printStatus((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; + case 17: _t->tileDone(); break; + case 18: _t->tick(); break; + default: ; + } + } else if (_c == QMetaObject::IndexOfMethod) { + int *result = reinterpret_cast(_a[0]); + { + using _t = void (XpdfWidget::*)(int ); + if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XpdfWidget::pageChange)) { + *result = 0; + return; + } + } + { + using _t = void (XpdfWidget::*)(int ); + if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XpdfWidget::midPageChange)) { + *result = 1; + return; + } + } + { + using _t = void (XpdfWidget::*)(); + if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XpdfWidget::preLoad)) { + *result = 2; + return; + } + } + { + using _t = void (XpdfWidget::*)(); + if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XpdfWidget::postLoad)) { + *result = 3; + return; + } + } + { + using _t = void (XpdfWidget::*)(QKeyEvent * ); + if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XpdfWidget::keyPress)) { + *result = 4; + return; + } + } + { + using _t = void (XpdfWidget::*)(QMouseEvent * ); + if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XpdfWidget::mousePress)) { + *result = 5; + return; + } + } + { + using _t = void (XpdfWidget::*)(QMouseEvent * ); + if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XpdfWidget::mouseRelease)) { + *result = 6; + return; + } + } + { + using _t = void (XpdfWidget::*)(QMouseEvent * ); + if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XpdfWidget::mouseClick)) { + *result = 7; + return; + } + } + { + using _t = void (XpdfWidget::*)(QMouseEvent * ); + if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XpdfWidget::mouseDoubleClick)) { + *result = 8; + return; + } + } + { + using _t = void (XpdfWidget::*)(QMouseEvent * ); + if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XpdfWidget::mouseTripleClick)) { + *result = 9; + return; + } + } + { + using _t = void (XpdfWidget::*)(QMouseEvent * ); + if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XpdfWidget::mouseMove)) { + *result = 10; + return; + } + } + { + using _t = void (XpdfWidget::*)(QWheelEvent * ); + if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XpdfWidget::mouseWheel)) { + *result = 11; + return; + } + } + { + using _t = void (XpdfWidget::*)(const QString & , const QString & , int ); + if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XpdfWidget::linkClick)) { + *result = 12; + return; + } + } + { + using _t = void (XpdfWidget::*)(); + if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XpdfWidget::selectDone)) { + *result = 13; + return; + } + } + { + using _t = void (XpdfWidget::*)(bool ); + if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XpdfWidget::paintDone)) { + *result = 14; + return; + } + } + { + using _t = void (XpdfWidget::*)(); + if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XpdfWidget::resized)) { + *result = 15; + return; + } + } + { + using _t = void (XpdfWidget::*)(int , int , int ); + if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XpdfWidget::printStatus)) { + *result = 16; + return; + } + } + { + using _t = void (XpdfWidget::*)(); + if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XpdfWidget::tileDone)) { + *result = 17; + return; + } + } + } +} + +QT_INIT_METAOBJECT const QMetaObject XpdfWidget::staticMetaObject = { { + QMetaObject::SuperData::link(), + qt_meta_stringdata_XpdfWidget.data, + qt_meta_data_XpdfWidget, + qt_static_metacall, + nullptr, + nullptr +} }; + + +const QMetaObject *XpdfWidget::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; +} + +void *XpdfWidget::qt_metacast(const char *_clname) +{ + if (!_clname) return nullptr; + if (!strcmp(_clname, qt_meta_stringdata_XpdfWidget.stringdata0)) + return static_cast(this); + return QAbstractScrollArea::qt_metacast(_clname); +} + +int XpdfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QAbstractScrollArea::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 19) + qt_static_metacall(this, _c, _id, _a); + _id -= 19; + } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { + if (_id < 19) + *reinterpret_cast(_a[0]) = -1; + _id -= 19; + } + return _id; +} + +// SIGNAL 0 +void XpdfWidget::pageChange(int _t1) +{ + void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; + QMetaObject::activate(this, &staticMetaObject, 0, _a); +} + +// SIGNAL 1 +void XpdfWidget::midPageChange(int _t1) +{ + void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; + QMetaObject::activate(this, &staticMetaObject, 1, _a); +} + +// SIGNAL 2 +void XpdfWidget::preLoad() +{ + QMetaObject::activate(this, &staticMetaObject, 2, nullptr); +} + +// SIGNAL 3 +void XpdfWidget::postLoad() +{ + QMetaObject::activate(this, &staticMetaObject, 3, nullptr); +} + +// SIGNAL 4 +void XpdfWidget::keyPress(QKeyEvent * _t1) +{ + void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; + QMetaObject::activate(this, &staticMetaObject, 4, _a); +} + +// SIGNAL 5 +void XpdfWidget::mousePress(QMouseEvent * _t1) +{ + void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; + QMetaObject::activate(this, &staticMetaObject, 5, _a); +} + +// SIGNAL 6 +void XpdfWidget::mouseRelease(QMouseEvent * _t1) +{ + void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; + QMetaObject::activate(this, &staticMetaObject, 6, _a); +} + +// SIGNAL 7 +void XpdfWidget::mouseClick(QMouseEvent * _t1) +{ + void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; + QMetaObject::activate(this, &staticMetaObject, 7, _a); +} + +// SIGNAL 8 +void XpdfWidget::mouseDoubleClick(QMouseEvent * _t1) +{ + void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; + QMetaObject::activate(this, &staticMetaObject, 8, _a); +} + +// SIGNAL 9 +void XpdfWidget::mouseTripleClick(QMouseEvent * _t1) +{ + void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; + QMetaObject::activate(this, &staticMetaObject, 9, _a); +} + +// SIGNAL 10 +void XpdfWidget::mouseMove(QMouseEvent * _t1) +{ + void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; + QMetaObject::activate(this, &staticMetaObject, 10, _a); +} + +// SIGNAL 11 +void XpdfWidget::mouseWheel(QWheelEvent * _t1) +{ + void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; + QMetaObject::activate(this, &staticMetaObject, 11, _a); +} + +// SIGNAL 12 +void XpdfWidget::linkClick(const QString & _t1, const QString & _t2, int _t3) +{ + void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))), const_cast(reinterpret_cast(std::addressof(_t2))), const_cast(reinterpret_cast(std::addressof(_t3))) }; + QMetaObject::activate(this, &staticMetaObject, 12, _a); +} + +// SIGNAL 13 +void XpdfWidget::selectDone() +{ + QMetaObject::activate(this, &staticMetaObject, 13, nullptr); +} + +// SIGNAL 14 +void XpdfWidget::paintDone(bool _t1) +{ + void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; + QMetaObject::activate(this, &staticMetaObject, 14, _a); +} + +// SIGNAL 15 +void XpdfWidget::resized() +{ + QMetaObject::activate(this, &staticMetaObject, 15, nullptr); +} + +// SIGNAL 16 +void XpdfWidget::printStatus(int _t1, int _t2, int _t3) +{ + void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))), const_cast(reinterpret_cast(std::addressof(_t2))), const_cast(reinterpret_cast(std::addressof(_t3))) }; + QMetaObject::activate(this, &staticMetaObject, 16, _a); +} + +// SIGNAL 17 +void XpdfWidget::tileDone() +{ + QMetaObject::activate(this, &staticMetaObject, 17, nullptr); +} +QT_WARNING_POP +QT_END_MOC_NAMESPACE -- cgit v1.2.3