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

#include "../../../texmaker-6.0.1/src/pageitem.h"
#include <QtGui/qtextcursor.h>
#include <QtGui/qscreen.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 'pageitem.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. 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_ZN8PageItemE_t {};
} // unnamed namespace

template <> constexpr inline auto PageItem::qt_create_metaobjectdata<qt_meta_tag_ZN8PageItemE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "PageItem",
        "imageReady",
        "",
        "QImage",
        "image",
        "prefetch",
        "linkClicked",
        "page",
        "left",
        "top",
        "url",
        "wantNumWords",
        "wantPngExport",
        "wantCheckGrammar",
        "syncpage",
        "QPointF",
        "wantNumPageWords",
        "wantOpenLocation",
        "refresh",
        "clearHighlight",
        "startRender",
        "cancelRender",
        "on_render_finished",
        "on_imageReady",
        "jumpToSourceFromPdf",
        "requestNumWords",
        "requestPngExport",
        "requestCheckGrammar",
        "requestPageWords",
        "requestOpenLocation"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'imageReady'
        QtMocHelpers::SignalData<void(QImage, bool)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { QMetaType::Bool, 5 },
        }}),
        // Signal 'linkClicked'
        QtMocHelpers::SignalData<void(int, qreal, qreal)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 7 }, { QMetaType::QReal, 8 }, { QMetaType::QReal, 9 },
        }}),
        // Signal 'linkClicked'
        QtMocHelpers::SignalData<void(const QString &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 10 },
        }}),
        // Signal 'wantNumWords'
        QtMocHelpers::SignalData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'wantPngExport'
        QtMocHelpers::SignalData<void(int)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Signal 'wantCheckGrammar'
        QtMocHelpers::SignalData<void(int)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Signal 'syncpage'
        QtMocHelpers::SignalData<void(int, const QPointF &)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 }, { 0x80000000 | 15, 2 },
        }}),
        // Signal 'wantNumPageWords'
        QtMocHelpers::SignalData<void(int)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Signal 'wantOpenLocation'
        QtMocHelpers::SignalData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'refresh'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'clearHighlight'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'startRender'
        QtMocHelpers::SlotData<void(bool)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Slot 'startRender'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Slot 'cancelRender'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'on_render_finished'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'on_imageReady'
        QtMocHelpers::SlotData<void(QImage, bool)>(23, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { QMetaType::Bool, 5 },
        }}),
        // Slot 'jumpToSourceFromPdf'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'requestNumWords'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'requestPngExport'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'requestCheckGrammar'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'requestPageWords'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'requestOpenLocation'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<PageItem, qt_meta_tag_ZN8PageItemE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject PageItem::staticMetaObject = { {
    QMetaObject::SuperData::link<QGraphicsObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8PageItemE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8PageItemE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN8PageItemE_t>.metaTypes,
    nullptr
} };

void PageItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<PageItem *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->imageReady((*reinterpret_cast<std::add_pointer_t<QImage>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 1: _t->linkClicked((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<qreal>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<qreal>>(_a[3]))); break;
        case 2: _t->linkClicked((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 3: _t->wantNumWords(); break;
        case 4: _t->wantPngExport((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 5: _t->wantCheckGrammar((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 6: _t->syncpage((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QPointF>>(_a[2]))); break;
        case 7: _t->wantNumPageWords((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 8: _t->wantOpenLocation(); break;
        case 9: _t->refresh(); break;
        case 10: _t->clearHighlight(); break;
        case 11: _t->startRender((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 12: _t->startRender(); break;
        case 13: _t->cancelRender(); break;
        case 14: _t->on_render_finished(); break;
        case 15: _t->on_imageReady((*reinterpret_cast<std::add_pointer_t<QImage>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 16: _t->jumpToSourceFromPdf(); break;
        case 17: _t->requestNumWords(); break;
        case 18: _t->requestPngExport(); break;
        case 19: _t->requestCheckGrammar(); break;
        case 20: _t->requestPageWords(); break;
        case 21: _t->requestOpenLocation(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (PageItem::*)(QImage , bool )>(_a, &PageItem::imageReady, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (PageItem::*)(int , qreal , qreal )>(_a, &PageItem::linkClicked, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (PageItem::*)(const QString & )>(_a, &PageItem::linkClicked, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (PageItem::*)()>(_a, &PageItem::wantNumWords, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (PageItem::*)(int )>(_a, &PageItem::wantPngExport, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (PageItem::*)(int )>(_a, &PageItem::wantCheckGrammar, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (PageItem::*)(int , const QPointF & )>(_a, &PageItem::syncpage, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (PageItem::*)(int )>(_a, &PageItem::wantNumPageWords, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (PageItem::*)()>(_a, &PageItem::wantOpenLocation, 8))
            return;
    }
}

const QMetaObject *PageItem::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *PageItem::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8PageItemE_t>.strings))
        return static_cast<void*>(this);
    return QGraphicsObject::qt_metacast(_clname);
}

int 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 < 22)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 22)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 22;
    }
    return _id;
}

// SIGNAL 0
void PageItem::imageReady(QImage _t1, bool _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void PageItem::linkClicked(int _t1, qreal _t2, qreal _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2, _t3);
}

// SIGNAL 2
void PageItem::linkClicked(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void PageItem::wantNumWords()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void PageItem::wantPngExport(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void PageItem::wantCheckGrammar(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void PageItem::syncpage(int _t1, const QPointF & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1, _t2);
}

// SIGNAL 7
void PageItem::wantNumPageWords(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void PageItem::wantOpenLocation()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}
QT_WARNING_POP
