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

template <> constexpr inline auto lyx::frontend::GuiWorkArea::qt_create_metaobjectdata<qt_meta_tag_ZN3lyx8frontend11GuiWorkAreaE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "lyx::frontend::GuiWorkArea",
        "titleChanged",
        "",
        "GuiWorkArea*",
        "busy",
        "bufferViewChanged",
        "compressKeySym",
        "KeySymbol",
        "sym",
        "KeyModifier",
        "mod",
        "isAutoRepeat",
        "preeditChanged",
        "QInputMethodEvent*",
        "ev",
        "keyCommandStateSet",
        "processKeySym",
        "key",
        "stopBlinkingCaret",
        "startBlinkingCaret",
        "onKeyCommandStateSet",
        "scrollTo",
        "value",
        "doubleClickTimeout",
        "toggleCaret",
        "close",
        "fixVerticalScrollBar",
        "flagPreedit",
        "receiveIMQueryResponse",
        "QVariant"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'titleChanged'
        QtMocHelpers::SignalData<void(GuiWorkArea *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'busy'
        QtMocHelpers::SignalData<void(bool)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Signal 'bufferViewChanged'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'compressKeySym'
        QtMocHelpers::SignalData<void(KeySymbol const &, KeyModifier, bool)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 }, { 0x80000000 | 9, 10 }, { QMetaType::Bool, 11 },
        }}),
        // Signal 'preeditChanged'
        QtMocHelpers::SignalData<void(QInputMethodEvent *)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 13, 14 },
        }}),
        // Signal 'keyCommandStateSet'
        QtMocHelpers::SignalData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'processKeySym'
        QtMocHelpers::SlotData<void(KeySymbol const &, KeyModifier)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 17 }, { 0x80000000 | 9, 10 },
        }}),
        // Slot 'stopBlinkingCaret'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'startBlinkingCaret'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onKeyCommandStateSet'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'scrollTo'
        QtMocHelpers::SlotData<void(int)>(21, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 22 },
        }}),
        // Slot 'doubleClickTimeout'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'toggleCaret'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'close'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'fixVerticalScrollBar'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'flagPreedit'
        QtMocHelpers::SlotData<void(QInputMethodEvent *)>(27, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 13, 14 },
        }}),
        // Slot 'receiveIMQueryResponse'
        QtMocHelpers::SlotData<void(QVariant)>(28, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 29, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<GuiWorkArea, qt_meta_tag_ZN3lyx8frontend11GuiWorkAreaE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject lyx::frontend::GuiWorkArea::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractScrollArea::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend11GuiWorkAreaE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend11GuiWorkAreaE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3lyx8frontend11GuiWorkAreaE_t>.metaTypes,
    nullptr
} };

void lyx::frontend::GuiWorkArea::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<GuiWorkArea *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->titleChanged((*reinterpret_cast<std::add_pointer_t<GuiWorkArea*>>(_a[1]))); break;
        case 1: _t->busy((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 2: _t->bufferViewChanged(); break;
        case 3: _t->compressKeySym((*reinterpret_cast<std::add_pointer_t<KeySymbol>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<KeyModifier>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3]))); break;
        case 4: _t->preeditChanged((*reinterpret_cast<std::add_pointer_t<QInputMethodEvent*>>(_a[1]))); break;
        case 5: _t->keyCommandStateSet(); break;
        case 6: _t->processKeySym((*reinterpret_cast<std::add_pointer_t<KeySymbol>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<KeyModifier>>(_a[2]))); break;
        case 7: _t->stopBlinkingCaret(); break;
        case 8: _t->startBlinkingCaret(); break;
        case 9: _t->onKeyCommandStateSet(); break;
        case 10: _t->scrollTo((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 11: _t->doubleClickTimeout(); break;
        case 12: _t->toggleCaret(); break;
        case 13: _t->close(); break;
        case 14: _t->fixVerticalScrollBar(); break;
        case 15: _t->flagPreedit((*reinterpret_cast<std::add_pointer_t<QInputMethodEvent*>>(_a[1]))); break;
        case 16: _t->receiveIMQueryResponse((*reinterpret_cast<std::add_pointer_t<QVariant>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< GuiWorkArea* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (GuiWorkArea::*)(GuiWorkArea * )>(_a, &GuiWorkArea::titleChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (GuiWorkArea::*)(bool )>(_a, &GuiWorkArea::busy, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (GuiWorkArea::*)()>(_a, &GuiWorkArea::bufferViewChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (GuiWorkArea::*)(KeySymbol const & , KeyModifier , bool )>(_a, &GuiWorkArea::compressKeySym, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (GuiWorkArea::*)(QInputMethodEvent * )>(_a, &GuiWorkArea::preeditChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (GuiWorkArea::*)()>(_a, &GuiWorkArea::keyCommandStateSet, 5))
            return;
    }
}

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

void *lyx::frontend::GuiWorkArea::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend11GuiWorkAreaE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "WorkArea"))
        return static_cast< WorkArea*>(this);
    return QAbstractScrollArea::qt_metacast(_clname);
}

int lyx::frontend::GuiWorkArea::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 < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    }
    return _id;
}

// SIGNAL 0
void lyx::frontend::GuiWorkArea::titleChanged(GuiWorkArea * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void lyx::frontend::GuiWorkArea::busy(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

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

// SIGNAL 3
void lyx::frontend::GuiWorkArea::compressKeySym(KeySymbol const & _t1, KeyModifier _t2, bool _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1, _t2, _t3);
}

// SIGNAL 4
void lyx::frontend::GuiWorkArea::preeditChanged(QInputMethodEvent * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void lyx::frontend::GuiWorkArea::keyCommandStateSet()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}
namespace {
struct qt_meta_tag_ZN3lyx8frontend15CompressorProxyE_t {};
} // unnamed namespace

template <> constexpr inline auto lyx::frontend::CompressorProxy::qt_create_metaobjectdata<qt_meta_tag_ZN3lyx8frontend15CompressorProxyE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "lyx::frontend::CompressorProxy",
        "signal",
        "",
        "KeySymbol",
        "sym",
        "KeyModifier",
        "mod",
        "slot",
        "isAutoRepeat"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'signal'
        QtMocHelpers::SignalData<void(KeySymbol const &, KeyModifier)>(1, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { 0x80000000 | 5, 6 },
        }}),
        // Slot 'slot'
        QtMocHelpers::SlotData<void(KeySymbol const &, KeyModifier, bool)>(7, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { 0x80000000 | 5, 6 }, { QMetaType::Bool, 8 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<CompressorProxy, qt_meta_tag_ZN3lyx8frontend15CompressorProxyE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject lyx::frontend::CompressorProxy::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend15CompressorProxyE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend15CompressorProxyE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3lyx8frontend15CompressorProxyE_t>.metaTypes,
    nullptr
} };

void lyx::frontend::CompressorProxy::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<CompressorProxy *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->signal((*reinterpret_cast<std::add_pointer_t<KeySymbol>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<KeyModifier>>(_a[2]))); break;
        case 1: _t->slot((*reinterpret_cast<std::add_pointer_t<KeySymbol>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<KeyModifier>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (CompressorProxy::*)(KeySymbol const & , KeyModifier )>(_a, &CompressorProxy::signal, 0))
            return;
    }
}

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

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

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

// SIGNAL 0
void lyx::frontend::CompressorProxy::signal(KeySymbol const & _t1, KeyModifier _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}
namespace {
struct qt_meta_tag_ZN3lyx8frontend16EmbeddedWorkAreaE_t {};
} // unnamed namespace

template <> constexpr inline auto lyx::frontend::EmbeddedWorkArea::qt_create_metaobjectdata<qt_meta_tag_ZN3lyx8frontend16EmbeddedWorkAreaE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "lyx::frontend::EmbeddedWorkArea"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<EmbeddedWorkArea, qt_meta_tag_ZN3lyx8frontend16EmbeddedWorkAreaE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject lyx::frontend::EmbeddedWorkArea::staticMetaObject = { {
    QMetaObject::SuperData::link<GuiWorkArea::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend16EmbeddedWorkAreaE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend16EmbeddedWorkAreaE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3lyx8frontend16EmbeddedWorkAreaE_t>.metaTypes,
    nullptr
} };

void lyx::frontend::EmbeddedWorkArea::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<EmbeddedWorkArea *>(_o);
    (void)_t;
    (void)_c;
    (void)_id;
    (void)_a;
}

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

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

int lyx::frontend::EmbeddedWorkArea::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = GuiWorkArea::qt_metacall(_c, _id, _a);
    return _id;
}
namespace {
struct qt_meta_tag_ZN3lyx8frontend11TabWorkAreaE_t {};
} // unnamed namespace

template <> constexpr inline auto lyx::frontend::TabWorkArea::qt_create_metaobjectdata<qt_meta_tag_ZN3lyx8frontend11TabWorkAreaE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "lyx::frontend::TabWorkArea",
        "currentWorkAreaChanged",
        "",
        "GuiWorkArea*",
        "lastWorkAreaRemoved",
        "closeCurrentBuffer",
        "hideCurrentTab",
        "closeTabsToRight",
        "closeTabsToLeft",
        "closeOtherTabs",
        "moveToStartCurrentTab",
        "moveToEndCurrentTab",
        "openEnclosingDirectory",
        "closeTab",
        "index",
        "moveTab",
        "fromIndex",
        "toIndex",
        "updateTabTexts",
        "on_currentTabChanged",
        "on_tabBarClicked",
        "showContextMenu",
        "QPoint",
        "pos",
        "mousePressEvent",
        "QMouseEvent*",
        "me",
        "mouseReleaseEvent",
        "mouseDoubleClickEvent",
        "event",
        "indexOfWorkArea",
        "w"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'currentWorkAreaChanged'
        QtMocHelpers::SignalData<void(GuiWorkArea *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'lastWorkAreaRemoved'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'closeCurrentBuffer'
        QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'hideCurrentTab'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'closeTabsToRight'
        QtMocHelpers::SlotData<bool()>(7, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'closeTabsToLeft'
        QtMocHelpers::SlotData<bool()>(8, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'closeOtherTabs'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'moveToStartCurrentTab'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'moveToEndCurrentTab'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'openEnclosingDirectory'
        QtMocHelpers::SlotData<bool()>(12, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'closeTab'
        QtMocHelpers::SlotData<void(int)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 14 },
        }}),
        // Slot 'moveTab'
        QtMocHelpers::SlotData<void(int, int)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 16 }, { QMetaType::Int, 17 },
        }}),
        // Slot 'updateTabTexts'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'on_currentTabChanged'
        QtMocHelpers::SlotData<void(int)>(19, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 14 },
        }}),
        // Slot 'on_tabBarClicked'
        QtMocHelpers::SlotData<void(int)>(20, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 14 },
        }}),
        // Slot 'showContextMenu'
        QtMocHelpers::SlotData<void(const QPoint &)>(21, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 22, 23 },
        }}),
        // Slot 'mousePressEvent'
        QtMocHelpers::SlotData<void(QMouseEvent *)>(24, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 25, 26 },
        }}),
        // Slot 'mouseReleaseEvent'
        QtMocHelpers::SlotData<void(QMouseEvent *)>(27, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 25, 26 },
        }}),
        // Slot 'mouseDoubleClickEvent'
        QtMocHelpers::SlotData<void(QMouseEvent *)>(28, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 25, 29 },
        }}),
        // Slot 'indexOfWorkArea'
        QtMocHelpers::SlotData<int(GuiWorkArea *) const>(30, 2, QMC::AccessPrivate, QMetaType::Int, {{
            { 0x80000000 | 3, 31 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<TabWorkArea, qt_meta_tag_ZN3lyx8frontend11TabWorkAreaE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject lyx::frontend::TabWorkArea::staticMetaObject = { {
    QMetaObject::SuperData::link<QTabWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend11TabWorkAreaE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend11TabWorkAreaE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3lyx8frontend11TabWorkAreaE_t>.metaTypes,
    nullptr
} };

void lyx::frontend::TabWorkArea::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<TabWorkArea *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->currentWorkAreaChanged((*reinterpret_cast<std::add_pointer_t<GuiWorkArea*>>(_a[1]))); break;
        case 1: _t->lastWorkAreaRemoved(); break;
        case 2: _t->closeCurrentBuffer(); break;
        case 3: _t->hideCurrentTab(); break;
        case 4: { bool _r = _t->closeTabsToRight();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 5: { bool _r = _t->closeTabsToLeft();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 6: _t->closeOtherTabs(); break;
        case 7: _t->moveToStartCurrentTab(); break;
        case 8: _t->moveToEndCurrentTab(); break;
        case 9: { bool _r = _t->openEnclosingDirectory();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 10: _t->closeTab((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 11: _t->moveTab((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 12: _t->updateTabTexts(); break;
        case 13: _t->on_currentTabChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 14: _t->on_tabBarClicked((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 15: _t->showContextMenu((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        case 16: _t->mousePressEvent((*reinterpret_cast<std::add_pointer_t<QMouseEvent*>>(_a[1]))); break;
        case 17: _t->mouseReleaseEvent((*reinterpret_cast<std::add_pointer_t<QMouseEvent*>>(_a[1]))); break;
        case 18: _t->mouseDoubleClickEvent((*reinterpret_cast<std::add_pointer_t<QMouseEvent*>>(_a[1]))); break;
        case 19: { int _r = _t->indexOfWorkArea((*reinterpret_cast<std::add_pointer_t<GuiWorkArea*>>(_a[1])));
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< GuiWorkArea* >(); break;
            }
            break;
        case 19:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< GuiWorkArea* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (TabWorkArea::*)(GuiWorkArea * )>(_a, &TabWorkArea::currentWorkAreaChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (TabWorkArea::*)()>(_a, &TabWorkArea::lastWorkAreaRemoved, 1))
            return;
    }
}

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

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

int lyx::frontend::TabWorkArea::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QTabWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 20)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 20;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 20)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 20;
    }
    return _id;
}

// SIGNAL 0
void lyx::frontend::TabWorkArea::currentWorkAreaChanged(GuiWorkArea * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void lyx::frontend::TabWorkArea::lastWorkAreaRemoved()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
namespace {
struct qt_meta_tag_ZN3lyx8frontend20GuiWorkAreaContainerE_t {};
} // unnamed namespace

template <> constexpr inline auto lyx::frontend::GuiWorkAreaContainer::qt_create_metaobjectdata<qt_meta_tag_ZN3lyx8frontend20GuiWorkAreaContainerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "lyx::frontend::GuiWorkAreaContainer",
        "updateDisplay",
        "",
        "reload",
        "ignore"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'updateDisplay'
        QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'reload'
        QtMocHelpers::SlotData<void() const>(3, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'ignore'
        QtMocHelpers::SlotData<void() const>(4, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<GuiWorkAreaContainer, qt_meta_tag_ZN3lyx8frontend20GuiWorkAreaContainerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject lyx::frontend::GuiWorkAreaContainer::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend20GuiWorkAreaContainerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend20GuiWorkAreaContainerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3lyx8frontend20GuiWorkAreaContainerE_t>.metaTypes,
    nullptr
} };

void lyx::frontend::GuiWorkAreaContainer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<GuiWorkAreaContainer *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->updateDisplay(); break;
        case 1: _t->reload(); break;
        case 2: _t->ignore(); break;
        default: ;
        }
    }
    (void)_a;
}

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

void *lyx::frontend::GuiWorkAreaContainer::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend20GuiWorkAreaContainerE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "Ui::WorkAreaUi"))
        return static_cast< Ui::WorkAreaUi*>(this);
    return QWidget::qt_metacast(_clname);
}

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