/****************************************************************************
** Meta object code from reading C++ file 'PreviewWindow.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 "../../../../src/MainUI/PreviewWindow.h"
#include <QtGui/qtextcursor.h>
#include <QtGui/qscreen.h>
#include <QtNetwork/QSslPreSharedKeyAuthenticator>
#include <QtNetwork/QSslError>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'PreviewWindow.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_ZN13PreviewWindowE_t {};
} // unnamed namespace

template <> constexpr inline auto PreviewWindow::qt_create_metaobjectdata<qt_meta_tag_ZN13PreviewWindowE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "PreviewWindow",
        "Shown",
        "",
        "ZoomFactorChanged",
        "factor",
        "GoToPreviewLocationRequest",
        "RequestPreviewReload",
        "OpenUrlRequest",
        "QUrl",
        "url",
        "ScrollToFragmentRequest",
        "fragment",
        "UpdatePage",
        "filename",
        "text",
        "QList<ElementIndex>",
        "location",
        "UpdatePageDone",
        "DelayedScrollTo",
        "ScrollTo",
        "SetZoomFactor",
        "LinkClicked",
        "EmitGoToPreviewLocationRequest",
        "InspectPreviewPage",
        "SelectAllPreview",
        "CopyPreview",
        "ReloadPreview",
        "InspectorClosed",
        "setProgress",
        "setTitleText",
        "previewFloated",
        "wasFloated",
        "CycleCustomCSS",
        "PrintRendered",
        "PrintStarted",
        "PrintEnded",
        "SetFocusOnPreview"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'Shown'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'ZoomFactorChanged'
        QtMocHelpers::SignalData<void(float)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 4 },
        }}),
        // Signal 'GoToPreviewLocationRequest'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'RequestPreviewReload'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'OpenUrlRequest'
        QtMocHelpers::SignalData<void(const QUrl &)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 },
        }}),
        // Signal 'ScrollToFragmentRequest'
        QtMocHelpers::SignalData<void(const QString &)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 11 },
        }}),
        // Slot 'UpdatePage'
        QtMocHelpers::SlotData<bool(QString, QString, QList<ElementIndex>)>(12, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 13 }, { QMetaType::QString, 14 }, { 0x80000000 | 15, 16 },
        }}),
        // Slot 'UpdatePageDone'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'DelayedScrollTo'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'ScrollTo'
        QtMocHelpers::SlotData<void(QList<ElementIndex>)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 16 },
        }}),
        // Slot 'SetZoomFactor'
        QtMocHelpers::SlotData<void(float)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 4 },
        }}),
        // Slot 'LinkClicked'
        QtMocHelpers::SlotData<void(const QUrl &)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 },
        }}),
        // Slot 'EmitGoToPreviewLocationRequest'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'InspectPreviewPage'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'SelectAllPreview'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'CopyPreview'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'ReloadPreview'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'InspectorClosed'
        QtMocHelpers::SlotData<void(int)>(27, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'setProgress'
        QtMocHelpers::SlotData<void(int)>(28, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'setTitleText'
        QtMocHelpers::SlotData<void(const QString &)>(29, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 14 },
        }}),
        // Slot 'previewFloated'
        QtMocHelpers::SlotData<void(bool)>(30, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 31 },
        }}),
        // Slot 'CycleCustomCSS'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'PrintRendered'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'PrintStarted'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'PrintEnded'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'SetFocusOnPreview'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<PreviewWindow, qt_meta_tag_ZN13PreviewWindowE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject PreviewWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<QDockWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13PreviewWindowE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13PreviewWindowE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13PreviewWindowE_t>.metaTypes,
    nullptr
} };

void PreviewWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<PreviewWindow *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->Shown(); break;
        case 1: _t->ZoomFactorChanged((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 2: _t->GoToPreviewLocationRequest(); break;
        case 3: _t->RequestPreviewReload(); break;
        case 4: _t->OpenUrlRequest((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 5: _t->ScrollToFragmentRequest((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 6: { bool _r = _t->UpdatePage((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QList<ElementIndex>>>(_a[3])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 7: _t->UpdatePageDone(); break;
        case 8: _t->DelayedScrollTo(); break;
        case 9: _t->ScrollTo((*reinterpret_cast<std::add_pointer_t<QList<ElementIndex>>>(_a[1]))); break;
        case 10: _t->SetZoomFactor((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 11: _t->LinkClicked((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 12: _t->EmitGoToPreviewLocationRequest(); break;
        case 13: _t->InspectPreviewPage(); break;
        case 14: _t->SelectAllPreview(); break;
        case 15: _t->CopyPreview(); break;
        case 16: _t->ReloadPreview(); break;
        case 17: _t->InspectorClosed((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 18: _t->setProgress((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 19: _t->setTitleText((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 20: _t->previewFloated((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 21: _t->CycleCustomCSS(); break;
        case 22: _t->PrintRendered(); break;
        case 23: _t->PrintStarted(); break;
        case 24: _t->PrintEnded(); break;
        case 25: _t->SetFocusOnPreview(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (PreviewWindow::*)()>(_a, &PreviewWindow::Shown, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (PreviewWindow::*)(float )>(_a, &PreviewWindow::ZoomFactorChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (PreviewWindow::*)()>(_a, &PreviewWindow::GoToPreviewLocationRequest, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (PreviewWindow::*)()>(_a, &PreviewWindow::RequestPreviewReload, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (PreviewWindow::*)(const QUrl & )>(_a, &PreviewWindow::OpenUrlRequest, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (PreviewWindow::*)(const QString & )>(_a, &PreviewWindow::ScrollToFragmentRequest, 5))
            return;
    }
}

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

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

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

// SIGNAL 0
void PreviewWindow::Shown()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void PreviewWindow::ZoomFactorChanged(float _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void PreviewWindow::GoToPreviewLocationRequest()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

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

// SIGNAL 4
void PreviewWindow::OpenUrlRequest(const QUrl & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void PreviewWindow::ScrollToFragmentRequest(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}
QT_WARNING_POP
