/****************************************************************************
** Meta object code from reading C++ file 'kileviewmanager.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 "../../../../kile-2.9.94/src/kileviewmanager.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 'kileviewmanager.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_ZN8KileView20DocumentViewerWindowE_t {};
} // unnamed namespace

template <> constexpr inline auto KileView::DocumentViewerWindow::qt_create_metaobjectdata<qt_meta_tag_ZN8KileView20DocumentViewerWindowE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KileView::DocumentViewerWindow",
        "visibilityChanged",
        "",
        "shown"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'visibilityChanged'
        QtMocHelpers::SignalData<void(bool)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DocumentViewerWindow, qt_meta_tag_ZN8KileView20DocumentViewerWindowE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KileView::DocumentViewerWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<KMainWindow::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8KileView20DocumentViewerWindowE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8KileView20DocumentViewerWindowE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN8KileView20DocumentViewerWindowE_t>.metaTypes,
    nullptr
} };

void KileView::DocumentViewerWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DocumentViewerWindow *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->visibilityChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (DocumentViewerWindow::*)(bool )>(_a, &DocumentViewerWindow::visibilityChanged, 0))
            return;
    }
}

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

void *KileView::DocumentViewerWindow::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8KileView20DocumentViewerWindowE_t>.strings))
        return static_cast<void*>(this);
    return KMainWindow::qt_metacast(_clname);
}

int KileView::DocumentViewerWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KMainWindow::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 KileView::DocumentViewerWindow::visibilityChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}
namespace {
struct qt_meta_tag_ZN8KileView7ManagerE_t {};
} // unnamed namespace

template <> constexpr inline auto KileView::Manager::qt_create_metaobjectdata<qt_meta_tag_ZN8KileView7ManagerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KileView::Manager",
        "activateView",
        "",
        "QWidget*",
        "startQuickPreview",
        "currentViewChanged",
        "textViewActivated",
        "KTextEditor::View*",
        "view",
        "textViewCreated",
        "textViewClosed",
        "wasActiveView",
        "updateModeStatus",
        "updateCaption",
        "informationMessage",
        "cursorPositionChanged",
        "KTextEditor::Cursor",
        "newPosition",
        "viewModeChanged",
        "KTextEditor::View::ViewMode",
        "selectionChanged",
        "documentViewerWindowVisibilityChanged",
        "shown",
        "switchToTextView",
        "QUrl",
        "url",
        "requestFocus",
        "KTextEditor::Document*",
        "doc",
        "removeView",
        "updateStructure",
        "parse",
        "KileDocument::Info*",
        "docinfo",
        "gotoNextView",
        "gotoPrevView",
        "reflectDocumentModificationStatus",
        "KTextEditor::Document::ModifiedOnDiskReason",
        "reason",
        "convertSelectionToLaTeX",
        "pasteAsLaTeX",
        "quickPreviewPopup",
        "moveTabLeft",
        "widget",
        "moveTabRight",
        "setDocumentViewerVisible",
        "b",
        "handleCursorPositionChanged",
        "pos",
        "tabContext",
        "QPoint",
        "closeTab",
        "index",
        "currentTabChanged",
        "handleCursorPositionChangedTimeout",
        "testCanDecodeURLs",
        "const QDragEnterEvent*",
        "e",
        "bool&",
        "accept",
        "const QDragMoveEvent*",
        "replaceLoadedURL",
        "w",
        "QDropEvent*",
        "onTextEditorPopupMenuRequest",
        "updateTabTexts",
        "changedDoc",
        "handleActivatedSourceReference",
        "absFileName",
        "line",
        "col",
        "showCursorPositionInDocumentViewer",
        "synchronizeViewWithCursorActionToggled"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'activateView'
        QtMocHelpers::SignalData<void(QWidget *, bool)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 }, { QMetaType::Bool, 2 },
        }}),
        // Signal 'startQuickPreview'
        QtMocHelpers::SignalData<void(int)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Signal 'currentViewChanged'
        QtMocHelpers::SignalData<void(QWidget *)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'textViewActivated'
        QtMocHelpers::SignalData<void(KTextEditor::View *)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Signal 'textViewCreated'
        QtMocHelpers::SignalData<void(KTextEditor::View *)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Signal 'textViewClosed'
        QtMocHelpers::SignalData<void(KTextEditor::View *, bool)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 }, { QMetaType::Bool, 11 },
        }}),
        // Signal 'updateModeStatus'
        QtMocHelpers::SignalData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'updateCaption'
        QtMocHelpers::SignalData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'informationMessage'
        QtMocHelpers::SignalData<void(KTextEditor::View *, const QString &)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 2 }, { QMetaType::QString, 2 },
        }}),
        // Signal 'cursorPositionChanged'
        QtMocHelpers::SignalData<void(KTextEditor::View *, const KTextEditor::Cursor &)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 }, { 0x80000000 | 16, 17 },
        }}),
        // Signal 'viewModeChanged'
        QtMocHelpers::SignalData<void(KTextEditor::View *, KTextEditor::View::ViewMode)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 2 }, { 0x80000000 | 19, 2 },
        }}),
        // Signal 'selectionChanged'
        QtMocHelpers::SignalData<void(KTextEditor::View *)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Signal 'documentViewerWindowVisibilityChanged'
        QtMocHelpers::SignalData<void(bool)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 22 },
        }}),
        // Slot 'switchToTextView'
        QtMocHelpers::SlotData<KTextEditor::View *(const QUrl &, bool)>(23, 2, QMC::AccessPublic, 0x80000000 | 7, {{
            { 0x80000000 | 24, 25 }, { QMetaType::Bool, 26 },
        }}),
        // Slot 'switchToTextView'
        QtMocHelpers::SlotData<KTextEditor::View *(const QUrl &)>(23, 2, QMC::AccessPublic | QMC::MethodCloned, 0x80000000 | 7, {{
            { 0x80000000 | 24, 25 },
        }}),
        // Slot 'switchToTextView'
        QtMocHelpers::SlotData<KTextEditor::View *(KTextEditor::Document *, bool)>(23, 2, QMC::AccessPublic, 0x80000000 | 7, {{
            { 0x80000000 | 27, 28 }, { QMetaType::Bool, 26 },
        }}),
        // Slot 'switchToTextView'
        QtMocHelpers::SlotData<KTextEditor::View *(KTextEditor::Document *)>(23, 2, QMC::AccessPublic | QMC::MethodCloned, 0x80000000 | 7, {{
            { 0x80000000 | 27, 28 },
        }}),
        // Slot 'switchToTextView'
        QtMocHelpers::SlotData<void(KTextEditor::View *, bool)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 }, { QMetaType::Bool, 26 },
        }}),
        // Slot 'switchToTextView'
        QtMocHelpers::SlotData<void(KTextEditor::View *)>(23, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Slot 'removeView'
        QtMocHelpers::SlotData<void(KTextEditor::View *)>(29, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Slot 'updateStructure'
        QtMocHelpers::SlotData<void(bool, KileDocument::Info *)>(30, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 31 }, { 0x80000000 | 32, 33 },
        }}),
        // Slot 'updateStructure'
        QtMocHelpers::SlotData<void(bool)>(30, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::Bool, 31 },
        }}),
        // Slot 'updateStructure'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Slot 'gotoNextView'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'gotoPrevView'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'reflectDocumentModificationStatus'
        QtMocHelpers::SlotData<void(KTextEditor::Document *, bool, KTextEditor::Document::ModifiedOnDiskReason)>(36, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 27, 2 }, { QMetaType::Bool, 2 }, { 0x80000000 | 37, 38 },
        }}),
        // Slot 'convertSelectionToLaTeX'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'pasteAsLaTeX'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'quickPreviewPopup'
        QtMocHelpers::SlotData<void()>(41, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'moveTabLeft'
        QtMocHelpers::SlotData<void(QWidget *)>(42, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 43 },
        }}),
        // Slot 'moveTabLeft'
        QtMocHelpers::SlotData<void()>(42, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Slot 'moveTabRight'
        QtMocHelpers::SlotData<void(QWidget *)>(44, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 43 },
        }}),
        // Slot 'moveTabRight'
        QtMocHelpers::SlotData<void()>(44, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Slot 'setDocumentViewerVisible'
        QtMocHelpers::SlotData<void(bool)>(45, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 46 },
        }}),
        // Slot 'handleCursorPositionChanged'
        QtMocHelpers::SlotData<void(KTextEditor::View *, const KTextEditor::Cursor &)>(47, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 }, { 0x80000000 | 16, 48 },
        }}),
        // Slot 'tabContext'
        QtMocHelpers::SlotData<void(const QPoint &)>(49, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 50, 48 },
        }}),
        // Slot 'closeTab'
        QtMocHelpers::SlotData<void(int)>(51, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 52 },
        }}),
        // Slot 'currentTabChanged'
        QtMocHelpers::SlotData<void(int)>(53, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 52 },
        }}),
        // Slot 'handleCursorPositionChangedTimeout'
        QtMocHelpers::SlotData<void()>(54, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'testCanDecodeURLs'
        QtMocHelpers::SlotData<void(const QDragEnterEvent *, bool &)>(55, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 56, 57 }, { 0x80000000 | 58, 59 },
        }}),
        // Slot 'testCanDecodeURLs'
        QtMocHelpers::SlotData<void(const QDragMoveEvent *, bool &)>(55, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 60, 57 }, { 0x80000000 | 58, 59 },
        }}),
        // Slot 'replaceLoadedURL'
        QtMocHelpers::SlotData<void(QWidget *, QDropEvent *)>(61, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 3, 62 }, { 0x80000000 | 63, 57 },
        }}),
        // Slot 'onTextEditorPopupMenuRequest'
        QtMocHelpers::SlotData<void()>(64, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'updateTabTexts'
        QtMocHelpers::SlotData<void(KTextEditor::Document *)>(65, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 27, 66 },
        }}),
        // Slot 'handleActivatedSourceReference'
        QtMocHelpers::SlotData<void(const QString &, int, int)>(67, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::QString, 68 }, { QMetaType::Int, 69 }, { QMetaType::Int, 70 },
        }}),
        // Slot 'showCursorPositionInDocumentViewer'
        QtMocHelpers::SlotData<void()>(71, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'synchronizeViewWithCursorActionToggled'
        QtMocHelpers::SlotData<void(bool)>(72, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::Bool, 46 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Manager, qt_meta_tag_ZN8KileView7ManagerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KileView::Manager::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8KileView7ManagerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8KileView7ManagerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN8KileView7ManagerE_t>.metaTypes,
    nullptr
} };

void KileView::Manager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Manager *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->activateView((*reinterpret_cast<std::add_pointer_t<QWidget*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 1: _t->startQuickPreview((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 2: _t->currentViewChanged((*reinterpret_cast<std::add_pointer_t<QWidget*>>(_a[1]))); break;
        case 3: _t->textViewActivated((*reinterpret_cast<std::add_pointer_t<KTextEditor::View*>>(_a[1]))); break;
        case 4: _t->textViewCreated((*reinterpret_cast<std::add_pointer_t<KTextEditor::View*>>(_a[1]))); break;
        case 5: _t->textViewClosed((*reinterpret_cast<std::add_pointer_t<KTextEditor::View*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 6: _t->updateModeStatus(); break;
        case 7: _t->updateCaption(); break;
        case 8: _t->informationMessage((*reinterpret_cast<std::add_pointer_t<KTextEditor::View*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 9: _t->cursorPositionChanged((*reinterpret_cast<std::add_pointer_t<KTextEditor::View*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<KTextEditor::Cursor>>(_a[2]))); break;
        case 10: _t->viewModeChanged((*reinterpret_cast<std::add_pointer_t<KTextEditor::View*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<KTextEditor::View::ViewMode>>(_a[2]))); break;
        case 11: _t->selectionChanged((*reinterpret_cast<std::add_pointer_t<KTextEditor::View*>>(_a[1]))); break;
        case 12: _t->documentViewerWindowVisibilityChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 13: { KTextEditor::View* _r = _t->switchToTextView((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])));
            if (_a[0]) *reinterpret_cast<KTextEditor::View**>(_a[0]) = std::move(_r); }  break;
        case 14: { KTextEditor::View* _r = _t->switchToTextView((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])));
            if (_a[0]) *reinterpret_cast<KTextEditor::View**>(_a[0]) = std::move(_r); }  break;
        case 15: { KTextEditor::View* _r = _t->switchToTextView((*reinterpret_cast<std::add_pointer_t<KTextEditor::Document*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])));
            if (_a[0]) *reinterpret_cast<KTextEditor::View**>(_a[0]) = std::move(_r); }  break;
        case 16: { KTextEditor::View* _r = _t->switchToTextView((*reinterpret_cast<std::add_pointer_t<KTextEditor::Document*>>(_a[1])));
            if (_a[0]) *reinterpret_cast<KTextEditor::View**>(_a[0]) = std::move(_r); }  break;
        case 17: _t->switchToTextView((*reinterpret_cast<std::add_pointer_t<KTextEditor::View*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 18: _t->switchToTextView((*reinterpret_cast<std::add_pointer_t<KTextEditor::View*>>(_a[1]))); break;
        case 19: _t->removeView((*reinterpret_cast<std::add_pointer_t<KTextEditor::View*>>(_a[1]))); break;
        case 20: _t->updateStructure((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<KileDocument::Info*>>(_a[2]))); break;
        case 21: _t->updateStructure((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 22: _t->updateStructure(); break;
        case 23: _t->gotoNextView(); break;
        case 24: _t->gotoPrevView(); break;
        case 25: _t->reflectDocumentModificationStatus((*reinterpret_cast<std::add_pointer_t<KTextEditor::Document*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<KTextEditor::Document::ModifiedOnDiskReason>>(_a[3]))); break;
        case 26: _t->convertSelectionToLaTeX(); break;
        case 27: _t->pasteAsLaTeX(); break;
        case 28: _t->quickPreviewPopup(); break;
        case 29: _t->moveTabLeft((*reinterpret_cast<std::add_pointer_t<QWidget*>>(_a[1]))); break;
        case 30: _t->moveTabLeft(); break;
        case 31: _t->moveTabRight((*reinterpret_cast<std::add_pointer_t<QWidget*>>(_a[1]))); break;
        case 32: _t->moveTabRight(); break;
        case 33: _t->setDocumentViewerVisible((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 34: _t->handleCursorPositionChanged((*reinterpret_cast<std::add_pointer_t<KTextEditor::View*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<KTextEditor::Cursor>>(_a[2]))); break;
        case 35: _t->tabContext((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        case 36: _t->closeTab((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 37: _t->currentTabChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 38: _t->handleCursorPositionChangedTimeout(); break;
        case 39: _t->testCanDecodeURLs((*reinterpret_cast<std::add_pointer_t<const QDragEnterEvent*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool&>>(_a[2]))); break;
        case 40: _t->testCanDecodeURLs((*reinterpret_cast<std::add_pointer_t<const QDragMoveEvent*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool&>>(_a[2]))); break;
        case 41: _t->replaceLoadedURL((*reinterpret_cast<std::add_pointer_t<QWidget*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QDropEvent*>>(_a[2]))); break;
        case 42: _t->onTextEditorPopupMenuRequest(); break;
        case 43: _t->updateTabTexts((*reinterpret_cast<std::add_pointer_t<KTextEditor::Document*>>(_a[1]))); break;
        case 44: _t->handleActivatedSourceReference((*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 45: _t->showCursorPositionInDocumentViewer(); break;
        case 46: _t->synchronizeViewWithCursorActionToggled((*reinterpret_cast<std::add_pointer_t<bool>>(_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< QWidget* >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QWidget* >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KTextEditor::View* >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KTextEditor::View* >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KTextEditor::View* >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KTextEditor::View* >(); break;
            }
            break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KTextEditor::View* >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KTextEditor::View* >(); break;
            }
            break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KTextEditor::View* >(); break;
            }
            break;
        case 15:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KTextEditor::Document* >(); break;
            }
            break;
        case 16:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KTextEditor::Document* >(); break;
            }
            break;
        case 17:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KTextEditor::View* >(); break;
            }
            break;
        case 18:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KTextEditor::View* >(); 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< KTextEditor::View* >(); break;
            }
            break;
        case 25:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KTextEditor::Document* >(); break;
            }
            break;
        case 29:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QWidget* >(); break;
            }
            break;
        case 31:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QWidget* >(); break;
            }
            break;
        case 34:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KTextEditor::View* >(); break;
            }
            break;
        case 41:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QWidget* >(); break;
            }
            break;
        case 43:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KTextEditor::Document* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Manager::*)(QWidget * , bool )>(_a, &Manager::activateView, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (Manager::*)(int )>(_a, &Manager::startQuickPreview, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (Manager::*)(QWidget * )>(_a, &Manager::currentViewChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (Manager::*)(KTextEditor::View * )>(_a, &Manager::textViewActivated, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (Manager::*)(KTextEditor::View * )>(_a, &Manager::textViewCreated, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (Manager::*)(KTextEditor::View * , bool )>(_a, &Manager::textViewClosed, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (Manager::*)()>(_a, &Manager::updateModeStatus, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (Manager::*)()>(_a, &Manager::updateCaption, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (Manager::*)(KTextEditor::View * , const QString & )>(_a, &Manager::informationMessage, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (Manager::*)(KTextEditor::View * , const KTextEditor::Cursor & )>(_a, &Manager::cursorPositionChanged, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (Manager::*)(KTextEditor::View * , KTextEditor::View::ViewMode )>(_a, &Manager::viewModeChanged, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (Manager::*)(KTextEditor::View * )>(_a, &Manager::selectionChanged, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (Manager::*)(bool )>(_a, &Manager::documentViewerWindowVisibilityChanged, 12))
            return;
    }
}

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

void *KileView::Manager::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8KileView7ManagerE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int KileView::Manager::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 < 47)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 47;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 47)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 47;
    }
    return _id;
}

// SIGNAL 0
void KileView::Manager::activateView(QWidget * _t1, bool _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void KileView::Manager::startQuickPreview(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void KileView::Manager::currentViewChanged(QWidget * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void KileView::Manager::textViewActivated(KTextEditor::View * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void KileView::Manager::textViewCreated(KTextEditor::View * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void KileView::Manager::textViewClosed(KTextEditor::View * _t1, bool _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2);
}

// SIGNAL 6
void KileView::Manager::updateModeStatus()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void KileView::Manager::updateCaption()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void KileView::Manager::informationMessage(KTextEditor::View * _t1, const QString & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1, _t2);
}

// SIGNAL 9
void KileView::Manager::cursorPositionChanged(KTextEditor::View * _t1, const KTextEditor::Cursor & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1, _t2);
}

// SIGNAL 10
void KileView::Manager::viewModeChanged(KTextEditor::View * _t1, KTextEditor::View::ViewMode _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 10, nullptr, _t1, _t2);
}

// SIGNAL 11
void KileView::Manager::selectionChanged(KTextEditor::View * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 11, nullptr, _t1);
}

// SIGNAL 12
void KileView::Manager::documentViewerWindowVisibilityChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 12, nullptr, _t1);
}
namespace {
struct qt_meta_tag_ZN8KileView10DropWidgetE_t {};
} // unnamed namespace

template <> constexpr inline auto KileView::DropWidget::qt_create_metaobjectdata<qt_meta_tag_ZN8KileView10DropWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KileView::DropWidget",
        "testCanDecode",
        "",
        "const QDragEnterEvent*",
        "bool&",
        "receivedDropEvent",
        "QDropEvent*",
        "mouseDoubleClick"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'testCanDecode'
        QtMocHelpers::SignalData<void(const QDragEnterEvent *, bool &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 }, { 0x80000000 | 4, 2 },
        }}),
        // Signal 'receivedDropEvent'
        QtMocHelpers::SignalData<void(QDropEvent *)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 2 },
        }}),
        // Signal 'mouseDoubleClick'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DropWidget, qt_meta_tag_ZN8KileView10DropWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KileView::DropWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8KileView10DropWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8KileView10DropWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN8KileView10DropWidgetE_t>.metaTypes,
    nullptr
} };

void KileView::DropWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DropWidget *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->testCanDecode((*reinterpret_cast<std::add_pointer_t<const QDragEnterEvent*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool&>>(_a[2]))); break;
        case 1: _t->receivedDropEvent((*reinterpret_cast<std::add_pointer_t<QDropEvent*>>(_a[1]))); break;
        case 2: _t->mouseDoubleClick(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (DropWidget::*)(const QDragEnterEvent * , bool & )>(_a, &DropWidget::testCanDecode, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (DropWidget::*)(QDropEvent * )>(_a, &DropWidget::receivedDropEvent, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (DropWidget::*)()>(_a, &DropWidget::mouseDoubleClick, 2))
            return;
    }
}

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

void *KileView::DropWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8KileView10DropWidgetE_t>.strings))
        return static_cast<void*>(this);
    return QWidget::qt_metacast(_clname);
}

int KileView::DropWidget::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;
}

// SIGNAL 0
void KileView::DropWidget::testCanDecode(const QDragEnterEvent * _t1, bool & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void KileView::DropWidget::receivedDropEvent(QDropEvent * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void KileView::DropWidget::mouseDoubleClick()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
QT_WARNING_POP
