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

#include "GuiView.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 'GuiView.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.0. 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_ZN3lyx8frontend7GuiViewE_t {};
} // unnamed namespace

template <> constexpr inline auto lyx::frontend::GuiView::qt_create_metaobjectdata<qt_meta_tag_ZN3lyx8frontend7GuiViewE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "lyx::frontend::GuiView",
        "closing",
        "",
        "triggerShowDialog",
        "qname",
        "qdata",
        "Inset*",
        "inset",
        "bufferViewChanged",
        "currentZoomChanged",
        "scriptKilled",
        "changeTrackingToggled",
        "dockWidgetVisibilityChanged",
        "colorsModelChanged",
        "setBusy",
        "clearMessage",
        "showStats",
        "updateWindowTitle",
        "GuiWorkArea*",
        "wa",
        "disableShellEscape",
        "onDockWidgetVisibilityChanged",
        "resetWindowTitle",
        "flatGroupBoxes",
        "const QObject*",
        "object",
        "flag",
        "checkCancelBackground",
        "statsPressed",
        "zoomSliderMoved",
        "zoomValueChanged",
        "zoomInPressed",
        "zoomOutPressed",
        "showZoomContextMenu",
        "showStatusBarContextMenu",
        "on_currentWorkAreaChanged",
        "onBufferViewChanged",
        "on_lastWorkAreaRemoved",
        "processingThreadStarted",
        "processingThreadFinished",
        "autoSaveThreadFinished",
        "doShowDialog",
        "updateStatusBarMessage",
        "str",
        "clearMessageText"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'closing'
        QtMocHelpers::SignalData<void(int)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Signal 'triggerShowDialog'
        QtMocHelpers::SignalData<void(QString const &, QString const &, Inset *)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 4 }, { QMetaType::QString, 5 }, { 0x80000000 | 6, 7 },
        }}),
        // Signal 'bufferViewChanged'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'currentZoomChanged'
        QtMocHelpers::SignalData<void(int)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Signal 'scriptKilled'
        QtMocHelpers::SignalData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'changeTrackingToggled'
        QtMocHelpers::SignalData<void(bool)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Signal 'dockWidgetVisibilityChanged'
        QtMocHelpers::SignalData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'colorsModelChanged'
        QtMocHelpers::SignalData<void() const>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setBusy'
        QtMocHelpers::SlotData<void(bool)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Slot 'clearMessage'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showStats'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'updateWindowTitle'
        QtMocHelpers::SlotData<void(GuiWorkArea *)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 18, 19 },
        }}),
        // Slot 'disableShellEscape'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onDockWidgetVisibilityChanged'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'resetWindowTitle'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'flatGroupBoxes'
        QtMocHelpers::SlotData<void(const QObject *, bool)>(23, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 24, 25 }, { QMetaType::Bool, 26 },
        }}),
        // Slot 'checkCancelBackground'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'statsPressed'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'zoomSliderMoved'
        QtMocHelpers::SlotData<void(int)>(29, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'zoomValueChanged'
        QtMocHelpers::SlotData<void(int)>(30, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'zoomInPressed'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'zoomOutPressed'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'showZoomContextMenu'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'showStatusBarContextMenu'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_currentWorkAreaChanged'
        QtMocHelpers::SlotData<void(GuiWorkArea *)>(35, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 18, 2 },
        }}),
        // Slot 'onBufferViewChanged'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_lastWorkAreaRemoved'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'processingThreadStarted'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'processingThreadFinished'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'autoSaveThreadFinished'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'doShowDialog'
        QtMocHelpers::SlotData<void(QString const &, QString const &, Inset *)>(41, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 4 }, { QMetaType::QString, 5 }, { 0x80000000 | 6, 7 },
        }}),
        // Slot 'updateStatusBarMessage'
        QtMocHelpers::SlotData<void(QString const &)>(42, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 43 },
        }}),
        // Slot 'clearMessageText'
        QtMocHelpers::SlotData<void()>(44, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<GuiView, qt_meta_tag_ZN3lyx8frontend7GuiViewE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject lyx::frontend::GuiView::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend7GuiViewE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend7GuiViewE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3lyx8frontend7GuiViewE_t>.metaTypes,
    nullptr
} };

void lyx::frontend::GuiView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<GuiView *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->closing((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 1: _t->triggerShowDialog((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<Inset*>>(_a[3]))); break;
        case 2: _t->bufferViewChanged(); break;
        case 3: _t->currentZoomChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 4: _t->scriptKilled(); break;
        case 5: _t->changeTrackingToggled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 6: _t->dockWidgetVisibilityChanged(); break;
        case 7: _t->colorsModelChanged(); break;
        case 8: _t->setBusy((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 9: _t->clearMessage(); break;
        case 10: _t->showStats(); break;
        case 11: _t->updateWindowTitle((*reinterpret_cast<std::add_pointer_t<GuiWorkArea*>>(_a[1]))); break;
        case 12: _t->disableShellEscape(); break;
        case 13: _t->onDockWidgetVisibilityChanged(); break;
        case 14: _t->resetWindowTitle(); break;
        case 15: _t->flatGroupBoxes((*reinterpret_cast<std::add_pointer_t<const QObject*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 16: _t->checkCancelBackground(); break;
        case 17: _t->statsPressed(); break;
        case 18: _t->zoomSliderMoved((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 19: _t->zoomValueChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 20: _t->zoomInPressed(); break;
        case 21: _t->zoomOutPressed(); break;
        case 22: _t->showZoomContextMenu(); break;
        case 23: _t->showStatusBarContextMenu(); break;
        case 24: _t->on_currentWorkAreaChanged((*reinterpret_cast<std::add_pointer_t<GuiWorkArea*>>(_a[1]))); break;
        case 25: _t->onBufferViewChanged(); break;
        case 26: _t->on_lastWorkAreaRemoved(); break;
        case 27: _t->processingThreadStarted(); break;
        case 28: _t->processingThreadFinished(); break;
        case 29: _t->autoSaveThreadFinished(); break;
        case 30: _t->doShowDialog((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<Inset*>>(_a[3]))); break;
        case 31: _t->updateStatusBarMessage((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 32: _t->clearMessageText(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (GuiView::*)(int )>(_a, &GuiView::closing, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (GuiView::*)(QString const & , QString const & , Inset * )>(_a, &GuiView::triggerShowDialog, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (GuiView::*)()>(_a, &GuiView::bufferViewChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (GuiView::*)(int )>(_a, &GuiView::currentZoomChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (GuiView::*)()>(_a, &GuiView::scriptKilled, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (GuiView::*)(bool )>(_a, &GuiView::changeTrackingToggled, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (GuiView::*)()>(_a, &GuiView::dockWidgetVisibilityChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (GuiView::*)() const>(_a, &GuiView::colorsModelChanged, 7))
            return;
    }
}

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

void *lyx::frontend::GuiView::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend7GuiViewE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "GuiBufferViewDelegate"))
        return static_cast< GuiBufferViewDelegate*>(this);
    if (!strcmp(_clname, "GuiBufferDelegate"))
        return static_cast< GuiBufferDelegate*>(this);
    return QMainWindow::qt_metacast(_clname);
}

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

// SIGNAL 0
void lyx::frontend::GuiView::closing(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void lyx::frontend::GuiView::triggerShowDialog(QString const & _t1, QString const & _t2, Inset * _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2, _t3);
}

// SIGNAL 2
void lyx::frontend::GuiView::bufferViewChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void lyx::frontend::GuiView::currentZoomChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void lyx::frontend::GuiView::scriptKilled()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void lyx::frontend::GuiView::changeTrackingToggled(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void lyx::frontend::GuiView::dockWidgetVisibilityChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void lyx::frontend::GuiView::colorsModelChanged()const
{
    QMetaObject::activate(const_cast< lyx::frontend::GuiView *>(this), &staticMetaObject, 7, nullptr);
}
namespace {
struct qt_meta_tag_ZN3lyx8frontend6SEMenuE_t {};
} // unnamed namespace

template <> constexpr inline auto lyx::frontend::SEMenu::qt_create_metaobjectdata<qt_meta_tag_ZN3lyx8frontend6SEMenuE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "lyx::frontend::SEMenu",
        "showMenu",
        "",
        "QPoint"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'showMenu'
        QtMocHelpers::SlotData<void(QPoint const &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<SEMenu, qt_meta_tag_ZN3lyx8frontend6SEMenuE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject lyx::frontend::SEMenu::staticMetaObject = { {
    QMetaObject::SuperData::link<QMenu::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend6SEMenuE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend6SEMenuE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3lyx8frontend6SEMenuE_t>.metaTypes,
    nullptr
} };

void lyx::frontend::SEMenu::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<SEMenu *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->showMenu((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        default: ;
        }
    }
}

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

void *lyx::frontend::SEMenu::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend6SEMenuE_t>.strings))
        return static_cast<void*>(this);
    return QMenu::qt_metacast(_clname);
}

int lyx::frontend::SEMenu::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QMenu::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 1;
    }
    return _id;
}
namespace {
struct qt_meta_tag_ZN3lyx8frontend18PressableSvgWidgetE_t {};
} // unnamed namespace

template <> constexpr inline auto lyx::frontend::PressableSvgWidget::qt_create_metaobjectdata<qt_meta_tag_ZN3lyx8frontend18PressableSvgWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "lyx::frontend::PressableSvgWidget",
        "pressed",
        ""
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'pressed'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<PressableSvgWidget, qt_meta_tag_ZN3lyx8frontend18PressableSvgWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject lyx::frontend::PressableSvgWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QSvgWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend18PressableSvgWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend18PressableSvgWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3lyx8frontend18PressableSvgWidgetE_t>.metaTypes,
    nullptr
} };

void lyx::frontend::PressableSvgWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<PressableSvgWidget *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->pressed(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (PressableSvgWidget::*)()>(_a, &PressableSvgWidget::pressed, 0))
            return;
    }
}

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

void *lyx::frontend::PressableSvgWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend18PressableSvgWidgetE_t>.strings))
        return static_cast<void*>(this);
    return QSvgWidget::qt_metacast(_clname);
}

int lyx::frontend::PressableSvgWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QSvgWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void lyx::frontend::PressableSvgWidget::pressed()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
