/****************************************************************************
** Meta object code from reading C++ file 'pdfviewer.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/pdfviewer.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 'pdfviewer.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_ZN9PdfViewerE_t {};
} // unnamed namespace

template <> constexpr inline auto PdfViewer::qt_create_metaobjectdata<qt_meta_tag_ZN9PdfViewerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "PdfViewer",
        "openDocAtLine",
        "",
        "sendFocusToEditor",
        "sendPaperSize",
        "backwardAvailable",
        "forwardAvailable",
        "scaleHasChanged",
        "openFile",
        "fn",
        "ec",
        "pc",
        "jumpToPdfFromSource",
        "sourceFile",
        "source_line",
        "source_col",
        "setKeyEditorFocus",
        "QKeySequence",
        "s",
        "setGSCommand",
        "c",
        "getScale",
        "connectActions",
        "disconnectActions",
        "slotHighlight",
        "gotoPage",
        "page",
        "checkPage",
        "value",
        "updateCurrentPage",
        "jumpToDest",
        "left",
        "top",
        "userZoom",
        "scaleDocumentZoom",
        "zoom",
        "searchDocument",
        "enableSearch",
        "pageUp",
        "pageDown",
        "fitWidth",
        "fitPage",
        "zoomIn",
        "zoomOut",
        "runExternalViewer",
        "printPdf",
        "slotItemClicked",
        "QListWidgetItem*",
        "item",
        "jumpToEditor",
        "QPointF",
        "pos",
        "searchForwards",
        "text",
        "ShowStructure",
        "ShowListPages",
        "ClickedOnStructure",
        "QModelIndex",
        "index",
        "historyBack",
        "historyForward",
        "clearHistory",
        "updateHistory",
        "setHpos",
        "jumptoHpos",
        "on_continuousMode_triggered",
        "checked",
        "on_twoPagesMode_triggered",
        "on_rotateLeft_triggered",
        "on_rotateRight_triggered",
        "on_presentation_triggered",
        "on_currentTab_continuousModeChanged",
        "continuousMode",
        "on_currentTab_twoPagesModeChanged",
        "twoPagesMode",
        "LayoutHasChanged",
        "scaleModified"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'openDocAtLine'
        QtMocHelpers::SignalData<void(const QString &, int, bool)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 }, { QMetaType::Int, 2 }, { QMetaType::Bool, 2 },
        }}),
        // Signal 'sendFocusToEditor'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sendPaperSize'
        QtMocHelpers::SignalData<void(const QString &)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Signal 'backwardAvailable'
        QtMocHelpers::SignalData<void(bool)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Signal 'forwardAvailable'
        QtMocHelpers::SignalData<void(bool)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Signal 'scaleHasChanged'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'openFile'
        QtMocHelpers::SlotData<void(QString, QString, QString)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 9 }, { QMetaType::QString, 10 }, { QMetaType::QString, 11 },
        }}),
        // Slot 'jumpToPdfFromSource'
        QtMocHelpers::SlotData<void(QString, int, int)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 13 }, { QMetaType::Int, 14 }, { QMetaType::Int, 15 },
        }}),
        // Slot 'setKeyEditorFocus'
        QtMocHelpers::SlotData<void(QKeySequence)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 17, 18 },
        }}),
        // Slot 'setGSCommand'
        QtMocHelpers::SlotData<void(QString)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 20 },
        }}),
        // Slot 'getScale'
        QtMocHelpers::SlotData<qreal()>(21, 2, QMC::AccessPublic, QMetaType::QReal),
        // Slot 'connectActions'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'disconnectActions'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotHighlight'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'gotoPage'
        QtMocHelpers::SlotData<void(int)>(25, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 26 },
        }}),
        // Slot 'checkPage'
        QtMocHelpers::SlotData<void(int)>(27, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 28 },
        }}),
        // Slot 'updateCurrentPage'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'jumpToDest'
        QtMocHelpers::SlotData<void(int, qreal, qreal)>(30, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 26 }, { QMetaType::QReal, 31 }, { QMetaType::QReal, 32 },
        }}),
        // Slot 'userZoom'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'scaleDocumentZoom'
        QtMocHelpers::SlotData<void(QString)>(34, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 35 },
        }}),
        // Slot 'searchDocument'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'enableSearch'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'pageUp'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'pageDown'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'fitWidth'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'fitPage'
        QtMocHelpers::SlotData<void()>(41, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'zoomIn'
        QtMocHelpers::SlotData<void()>(42, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'zoomOut'
        QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'runExternalViewer'
        QtMocHelpers::SlotData<void()>(44, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'printPdf'
        QtMocHelpers::SlotData<void()>(45, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotItemClicked'
        QtMocHelpers::SlotData<void(QListWidgetItem *)>(46, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 47, 48 },
        }}),
        // Slot 'jumpToEditor'
        QtMocHelpers::SlotData<void(int, const QPointF &)>(49, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 26 }, { 0x80000000 | 50, 51 },
        }}),
        // Slot 'searchForwards'
        QtMocHelpers::SlotData<void(const QString &)>(52, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 53 },
        }}),
        // Slot 'ShowStructure'
        QtMocHelpers::SlotData<void()>(54, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'ShowListPages'
        QtMocHelpers::SlotData<void()>(55, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'ClickedOnStructure'
        QtMocHelpers::SlotData<void(const QModelIndex &)>(56, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 57, 58 },
        }}),
        // Slot 'historyBack'
        QtMocHelpers::SlotData<void()>(59, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'historyForward'
        QtMocHelpers::SlotData<void()>(60, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'clearHistory'
        QtMocHelpers::SlotData<void()>(61, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateHistory'
        QtMocHelpers::SlotData<void(int)>(62, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 51 },
        }}),
        // Slot 'setHpos'
        QtMocHelpers::SlotData<void(int)>(63, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 51 },
        }}),
        // Slot 'jumptoHpos'
        QtMocHelpers::SlotData<void()>(64, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_continuousMode_triggered'
        QtMocHelpers::SlotData<void(bool)>(65, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 66 },
        }}),
        // Slot 'on_twoPagesMode_triggered'
        QtMocHelpers::SlotData<void(bool)>(67, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 66 },
        }}),
        // Slot 'on_rotateLeft_triggered'
        QtMocHelpers::SlotData<void()>(68, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_rotateRight_triggered'
        QtMocHelpers::SlotData<void()>(69, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_presentation_triggered'
        QtMocHelpers::SlotData<void()>(70, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_currentTab_continuousModeChanged'
        QtMocHelpers::SlotData<void(bool)>(71, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 72 },
        }}),
        // Slot 'on_currentTab_twoPagesModeChanged'
        QtMocHelpers::SlotData<void(bool)>(73, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 74 },
        }}),
        // Slot 'LayoutHasChanged'
        QtMocHelpers::SlotData<void()>(75, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'scaleModified'
        QtMocHelpers::SlotData<void()>(76, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<PdfViewer, qt_meta_tag_ZN9PdfViewerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject PdfViewer::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9PdfViewerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9PdfViewerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN9PdfViewerE_t>.metaTypes,
    nullptr
} };

void PdfViewer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<PdfViewer *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->openDocAtLine((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3]))); break;
        case 1: _t->sendFocusToEditor(); break;
        case 2: _t->sendPaperSize((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 3: _t->backwardAvailable((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 4: _t->forwardAvailable((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 5: _t->scaleHasChanged(); break;
        case 6: _t->openFile((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 7: _t->jumpToPdfFromSource((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 8: _t->setKeyEditorFocus((*reinterpret_cast<std::add_pointer_t<QKeySequence>>(_a[1]))); break;
        case 9: _t->setGSCommand((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 10: { qreal _r = _t->getScale();
            if (_a[0]) *reinterpret_cast<qreal*>(_a[0]) = std::move(_r); }  break;
        case 11: _t->connectActions(); break;
        case 12: _t->disconnectActions(); break;
        case 13: _t->slotHighlight(); break;
        case 14: _t->gotoPage((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 15: _t->checkPage((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 16: _t->updateCurrentPage(); break;
        case 17: _t->jumpToDest((*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 18: _t->userZoom(); break;
        case 19: _t->scaleDocumentZoom((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 20: _t->searchDocument(); break;
        case 21: _t->enableSearch(); break;
        case 22: _t->pageUp(); break;
        case 23: _t->pageDown(); break;
        case 24: _t->fitWidth(); break;
        case 25: _t->fitPage(); break;
        case 26: _t->zoomIn(); break;
        case 27: _t->zoomOut(); break;
        case 28: _t->runExternalViewer(); break;
        case 29: _t->printPdf(); break;
        case 30: _t->slotItemClicked((*reinterpret_cast<std::add_pointer_t<QListWidgetItem*>>(_a[1]))); break;
        case 31: _t->jumpToEditor((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QPointF>>(_a[2]))); break;
        case 32: _t->searchForwards((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 33: _t->ShowStructure(); break;
        case 34: _t->ShowListPages(); break;
        case 35: _t->ClickedOnStructure((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1]))); break;
        case 36: _t->historyBack(); break;
        case 37: _t->historyForward(); break;
        case 38: _t->clearHistory(); break;
        case 39: _t->updateHistory((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 40: _t->setHpos((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 41: _t->jumptoHpos(); break;
        case 42: _t->on_continuousMode_triggered((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 43: _t->on_twoPagesMode_triggered((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 44: _t->on_rotateLeft_triggered(); break;
        case 45: _t->on_rotateRight_triggered(); break;
        case 46: _t->on_presentation_triggered(); break;
        case 47: _t->on_currentTab_continuousModeChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 48: _t->on_currentTab_twoPagesModeChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 49: _t->LayoutHasChanged(); break;
        case 50: _t->scaleModified(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (PdfViewer::*)(const QString & , int , bool )>(_a, &PdfViewer::openDocAtLine, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (PdfViewer::*)()>(_a, &PdfViewer::sendFocusToEditor, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (PdfViewer::*)(const QString & )>(_a, &PdfViewer::sendPaperSize, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (PdfViewer::*)(bool )>(_a, &PdfViewer::backwardAvailable, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (PdfViewer::*)(bool )>(_a, &PdfViewer::forwardAvailable, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (PdfViewer::*)()>(_a, &PdfViewer::scaleHasChanged, 5))
            return;
    }
}

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

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

int PdfViewer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QMainWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 51)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 51;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 51)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 51;
    }
    return _id;
}

// SIGNAL 0
void PdfViewer::openDocAtLine(const QString & _t1, int _t2, bool _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2, _t3);
}

// SIGNAL 1
void PdfViewer::sendFocusToEditor()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

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

// SIGNAL 3
void PdfViewer::backwardAvailable(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void PdfViewer::forwardAvailable(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void PdfViewer::scaleHasChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}
QT_WARNING_POP
