/****************************************************************************
** Meta object code from reading C++ file 'XpdfWidget.h'
**
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.10.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../xpdf-4.06/xpdf-qt/XpdfWidget.h"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'XpdfWidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.10.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN10XpdfWidgetE_t {};
} // unnamed namespace

template <> constexpr inline auto XpdfWidget::qt_create_metaobjectdata<qt_meta_tag_ZN10XpdfWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "XpdfWidget",
        "pageChange",
        "",
        "pageNum",
        "midPageChange",
        "preLoad",
        "postLoad",
        "keyPress",
        "QKeyEvent*",
        "e",
        "mousePress",
        "QMouseEvent*",
        "mouseRelease",
        "mouseClick",
        "mouseDoubleClick",
        "mouseTripleClick",
        "mouseMove",
        "mouseWheel",
        "QWheelEvent*",
        "linkClick",
        "linkType",
        "dest",
        "page",
        "selectDone",
        "paintDone",
        "finished",
        "resized",
        "printStatus",
        "nextPage",
        "firstPage",
        "lastPage",
        "tileDone",
        "tick"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'pageChange'
        QtMocHelpers::SignalData<void(int)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Signal 'midPageChange'
        QtMocHelpers::SignalData<void(int)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Signal 'preLoad'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'postLoad'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'keyPress'
        QtMocHelpers::SignalData<void(QKeyEvent *)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 },
        }}),
        // Signal 'mousePress'
        QtMocHelpers::SignalData<void(QMouseEvent *)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 9 },
        }}),
        // Signal 'mouseRelease'
        QtMocHelpers::SignalData<void(QMouseEvent *)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 9 },
        }}),
        // Signal 'mouseClick'
        QtMocHelpers::SignalData<void(QMouseEvent *)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 9 },
        }}),
        // Signal 'mouseDoubleClick'
        QtMocHelpers::SignalData<void(QMouseEvent *)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 9 },
        }}),
        // Signal 'mouseTripleClick'
        QtMocHelpers::SignalData<void(QMouseEvent *)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 9 },
        }}),
        // Signal 'mouseMove'
        QtMocHelpers::SignalData<void(QMouseEvent *)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 9 },
        }}),
        // Signal 'mouseWheel'
        QtMocHelpers::SignalData<void(QWheelEvent *)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 18, 9 },
        }}),
        // Signal 'linkClick'
        QtMocHelpers::SignalData<void(const QString &, const QString &, int)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 20 }, { QMetaType::QString, 21 }, { QMetaType::Int, 22 },
        }}),
        // Signal 'selectDone'
        QtMocHelpers::SignalData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'paintDone'
        QtMocHelpers::SignalData<void(bool)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 25 },
        }}),
        // Signal 'resized'
        QtMocHelpers::SignalData<void()>(26, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'printStatus'
        QtMocHelpers::SignalData<void(int, int, int)>(27, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 28 }, { QMetaType::Int, 29 }, { QMetaType::Int, 30 },
        }}),
        // Signal 'tileDone'
        QtMocHelpers::SignalData<void()>(31, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'tick'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<XpdfWidget, qt_meta_tag_ZN10XpdfWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject XpdfWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractScrollArea::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10XpdfWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10XpdfWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10XpdfWidgetE_t>.metaTypes,
    nullptr
} };

void XpdfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<XpdfWidget *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->pageChange((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 1: _t->midPageChange((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 2: _t->preLoad(); break;
        case 3: _t->postLoad(); break;
        case 4: _t->keyPress((*reinterpret_cast<std::add_pointer_t<QKeyEvent*>>(_a[1]))); break;
        case 5: _t->mousePress((*reinterpret_cast<std::add_pointer_t<QMouseEvent*>>(_a[1]))); break;
        case 6: _t->mouseRelease((*reinterpret_cast<std::add_pointer_t<QMouseEvent*>>(_a[1]))); break;
        case 7: _t->mouseClick((*reinterpret_cast<std::add_pointer_t<QMouseEvent*>>(_a[1]))); break;
        case 8: _t->mouseDoubleClick((*reinterpret_cast<std::add_pointer_t<QMouseEvent*>>(_a[1]))); break;
        case 9: _t->mouseTripleClick((*reinterpret_cast<std::add_pointer_t<QMouseEvent*>>(_a[1]))); break;
        case 10: _t->mouseMove((*reinterpret_cast<std::add_pointer_t<QMouseEvent*>>(_a[1]))); break;
        case 11: _t->mouseWheel((*reinterpret_cast<std::add_pointer_t<QWheelEvent*>>(_a[1]))); break;
        case 12: _t->linkClick((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 13: _t->selectDone(); break;
        case 14: _t->paintDone((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 15: _t->resized(); break;
        case 16: _t->printStatus((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 17: _t->tileDone(); break;
        case 18: _t->tick(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (XpdfWidget::*)(int )>(_a, &XpdfWidget::pageChange, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (XpdfWidget::*)(int )>(_a, &XpdfWidget::midPageChange, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (XpdfWidget::*)()>(_a, &XpdfWidget::preLoad, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (XpdfWidget::*)()>(_a, &XpdfWidget::postLoad, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (XpdfWidget::*)(QKeyEvent * )>(_a, &XpdfWidget::keyPress, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (XpdfWidget::*)(QMouseEvent * )>(_a, &XpdfWidget::mousePress, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (XpdfWidget::*)(QMouseEvent * )>(_a, &XpdfWidget::mouseRelease, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (XpdfWidget::*)(QMouseEvent * )>(_a, &XpdfWidget::mouseClick, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (XpdfWidget::*)(QMouseEvent * )>(_a, &XpdfWidget::mouseDoubleClick, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (XpdfWidget::*)(QMouseEvent * )>(_a, &XpdfWidget::mouseTripleClick, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (XpdfWidget::*)(QMouseEvent * )>(_a, &XpdfWidget::mouseMove, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (XpdfWidget::*)(QWheelEvent * )>(_a, &XpdfWidget::mouseWheel, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (XpdfWidget::*)(const QString & , const QString & , int )>(_a, &XpdfWidget::linkClick, 12))
            return;
        if (QtMocHelpers::indexOfMethod<void (XpdfWidget::*)()>(_a, &XpdfWidget::selectDone, 13))
            return;
        if (QtMocHelpers::indexOfMethod<void (XpdfWidget::*)(bool )>(_a, &XpdfWidget::paintDone, 14))
            return;
        if (QtMocHelpers::indexOfMethod<void (XpdfWidget::*)()>(_a, &XpdfWidget::resized, 15))
            return;
        if (QtMocHelpers::indexOfMethod<void (XpdfWidget::*)(int , int , int )>(_a, &XpdfWidget::printStatus, 16))
            return;
        if (QtMocHelpers::indexOfMethod<void (XpdfWidget::*)()>(_a, &XpdfWidget::tileDone, 17))
            return;
    }
}

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_staticMetaObjectStaticContent<qt_meta_tag_ZN10XpdfWidgetE_t>.strings))
        return static_cast<void*>(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;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 19)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 19;
    }
    return _id;
}

// SIGNAL 0
void XpdfWidget::pageChange(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void XpdfWidget::midPageChange(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// 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)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void XpdfWidget::mousePress(QMouseEvent * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void XpdfWidget::mouseRelease(QMouseEvent * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void XpdfWidget::mouseClick(QMouseEvent * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void XpdfWidget::mouseDoubleClick(QMouseEvent * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void XpdfWidget::mouseTripleClick(QMouseEvent * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}

// SIGNAL 10
void XpdfWidget::mouseMove(QMouseEvent * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 10, nullptr, _t1);
}

// SIGNAL 11
void XpdfWidget::mouseWheel(QWheelEvent * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 11, nullptr, _t1);
}

// SIGNAL 12
void XpdfWidget::linkClick(const QString & _t1, const QString & _t2, int _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 12, nullptr, _t1, _t2, _t3);
}

// SIGNAL 13
void XpdfWidget::selectDone()
{
    QMetaObject::activate(this, &staticMetaObject, 13, nullptr);
}

// SIGNAL 14
void XpdfWidget::paintDone(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 14, nullptr, _t1);
}

// SIGNAL 15
void XpdfWidget::resized()
{
    QMetaObject::activate(this, &staticMetaObject, 15, nullptr);
}

// SIGNAL 16
void XpdfWidget::printStatus(int _t1, int _t2, int _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 16, nullptr, _t1, _t2, _t3);
}

// SIGNAL 17
void XpdfWidget::tileDone()
{
    QMetaObject::activate(this, &staticMetaObject, 17, nullptr);
}
QT_WARNING_POP
