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

template <> constexpr inline auto KileTool::LivePreviewManager::qt_create_metaobjectdata<qt_meta_tag_ZN8KileTool18LivePreviewManagerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KileTool::LivePreviewManager",
        "livePreviewSuccessful",
        "",
        "livePreviewRunning",
        "livePreviewStopped",
        "handleTextChanged",
        "KTextEditor::Document*",
        "doc",
        "handleDocumentSavedOrUploaded",
        "savedAs",
        "handleMasterDocumentChanged",
        "recompileLivePreview",
        "refreshLivePreview",
        "showCursorPositionInDocumentViewer",
        "handleDocumentModificationTimerTimeout",
        "removeLaTeXInfo",
        "KileDocument::TextInfo*",
        "info",
        "removeProject",
        "KileProject*",
        "project",
        "toolDestroyed",
        "toolDone",
        "KileTool::Base*",
        "base",
        "i",
        "childToolSpawned",
        "childToolDone",
        "handleTextViewActivated",
        "KTextEditor::View*",
        "view",
        "clearPreview",
        "forceCompilation",
        "handleTextViewClosed",
        "wasActiveView",
        "handleDocumentOpened",
        "handleProjectOpened",
        "handleProjectItemAdded",
        "KileProjectItem*",
        "item",
        "handleProjectItemRemoved",
        "handleDocumentSavedAs",
        "handleSpawnedChildTool",
        "parent",
        "child",
        "previewForCurrentDocumentActionTriggered",
        "b",
        "livePreviewToolActionTriggered"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'livePreviewSuccessful'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'livePreviewRunning'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'livePreviewStopped'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'handleTextChanged'
        QtMocHelpers::SlotData<void(KTextEditor::Document *)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Slot 'handleDocumentSavedOrUploaded'
        QtMocHelpers::SlotData<void(KTextEditor::Document *, bool)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 }, { QMetaType::Bool, 9 },
        }}),
        // Slot 'handleMasterDocumentChanged'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'recompileLivePreview'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'refreshLivePreview'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showCursorPositionInDocumentViewer'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'handleDocumentModificationTimerTimeout'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'removeLaTeXInfo'
        QtMocHelpers::SlotData<void(KileDocument::TextInfo *)>(15, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 16, 17 },
        }}),
        // Slot 'removeProject'
        QtMocHelpers::SlotData<void(KileProject *)>(18, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 19, 20 },
        }}),
        // Slot 'toolDestroyed'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'toolDone'
        QtMocHelpers::SlotData<void(KileTool::Base *, int, bool)>(22, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 23, 24 }, { QMetaType::Int, 25 }, { QMetaType::Bool, 26 },
        }}),
        // Slot 'childToolDone'
        QtMocHelpers::SlotData<void(KileTool::Base *, int, bool)>(27, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 23, 24 }, { QMetaType::Int, 25 }, { QMetaType::Bool, 26 },
        }}),
        // Slot 'handleTextViewActivated'
        QtMocHelpers::SlotData<void(KTextEditor::View *, bool, bool)>(28, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 29, 30 }, { QMetaType::Bool, 31 }, { QMetaType::Bool, 32 },
        }}),
        // Slot 'handleTextViewActivated'
        QtMocHelpers::SlotData<void(KTextEditor::View *, bool)>(28, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 29, 30 }, { QMetaType::Bool, 31 },
        }}),
        // Slot 'handleTextViewActivated'
        QtMocHelpers::SlotData<void(KTextEditor::View *)>(28, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 29, 30 },
        }}),
        // Slot 'handleTextViewClosed'
        QtMocHelpers::SlotData<void(KTextEditor::View *, bool)>(33, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 29, 30 }, { QMetaType::Bool, 34 },
        }}),
        // Slot 'handleDocumentOpened'
        QtMocHelpers::SlotData<void(KileDocument::TextInfo *)>(35, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 16, 17 },
        }}),
        // Slot 'handleProjectOpened'
        QtMocHelpers::SlotData<void(KileProject *)>(36, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 19, 20 },
        }}),
        // Slot 'handleProjectItemAdded'
        QtMocHelpers::SlotData<void(KileProject *, KileProjectItem *)>(37, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 19, 20 }, { 0x80000000 | 38, 39 },
        }}),
        // Slot 'handleProjectItemRemoved'
        QtMocHelpers::SlotData<void(KileProject *, KileProjectItem *)>(40, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 19, 20 }, { 0x80000000 | 38, 39 },
        }}),
        // Slot 'handleDocumentSavedAs'
        QtMocHelpers::SlotData<void(KTextEditor::View *, KileDocument::TextInfo *)>(41, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 29, 2 }, { 0x80000000 | 16, 2 },
        }}),
        // Slot 'handleSpawnedChildTool'
        QtMocHelpers::SlotData<void(KileTool::Base *, KileTool::Base *)>(42, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 23, 43 }, { 0x80000000 | 23, 44 },
        }}),
        // Slot 'previewForCurrentDocumentActionTriggered'
        QtMocHelpers::SlotData<void(bool)>(45, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 46 },
        }}),
        // Slot 'livePreviewToolActionTriggered'
        QtMocHelpers::SlotData<void()>(47, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<LivePreviewManager, qt_meta_tag_ZN8KileTool18LivePreviewManagerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KileTool::LivePreviewManager::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8KileTool18LivePreviewManagerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8KileTool18LivePreviewManagerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN8KileTool18LivePreviewManagerE_t>.metaTypes,
    nullptr
} };

void KileTool::LivePreviewManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<LivePreviewManager *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->livePreviewSuccessful(); break;
        case 1: _t->livePreviewRunning(); break;
        case 2: _t->livePreviewStopped(); break;
        case 3: _t->handleTextChanged((*reinterpret_cast<std::add_pointer_t<KTextEditor::Document*>>(_a[1]))); break;
        case 4: _t->handleDocumentSavedOrUploaded((*reinterpret_cast<std::add_pointer_t<KTextEditor::Document*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 5: _t->handleMasterDocumentChanged(); break;
        case 6: _t->recompileLivePreview(); break;
        case 7: _t->refreshLivePreview(); break;
        case 8: _t->showCursorPositionInDocumentViewer(); break;
        case 9: _t->handleDocumentModificationTimerTimeout(); break;
        case 10: _t->removeLaTeXInfo((*reinterpret_cast<std::add_pointer_t<KileDocument::TextInfo*>>(_a[1]))); break;
        case 11: _t->removeProject((*reinterpret_cast<std::add_pointer_t<KileProject*>>(_a[1]))); break;
        case 12: _t->toolDestroyed(); break;
        case 13: _t->toolDone((*reinterpret_cast<std::add_pointer_t<KileTool::Base*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3]))); break;
        case 14: _t->childToolDone((*reinterpret_cast<std::add_pointer_t<KileTool::Base*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3]))); break;
        case 15: _t->handleTextViewActivated((*reinterpret_cast<std::add_pointer_t<KTextEditor::View*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3]))); break;
        case 16: _t->handleTextViewActivated((*reinterpret_cast<std::add_pointer_t<KTextEditor::View*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 17: _t->handleTextViewActivated((*reinterpret_cast<std::add_pointer_t<KTextEditor::View*>>(_a[1]))); break;
        case 18: _t->handleTextViewClosed((*reinterpret_cast<std::add_pointer_t<KTextEditor::View*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 19: _t->handleDocumentOpened((*reinterpret_cast<std::add_pointer_t<KileDocument::TextInfo*>>(_a[1]))); break;
        case 20: _t->handleProjectOpened((*reinterpret_cast<std::add_pointer_t<KileProject*>>(_a[1]))); break;
        case 21: _t->handleProjectItemAdded((*reinterpret_cast<std::add_pointer_t<KileProject*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<KileProjectItem*>>(_a[2]))); break;
        case 22: _t->handleProjectItemRemoved((*reinterpret_cast<std::add_pointer_t<KileProject*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<KileProjectItem*>>(_a[2]))); break;
        case 23: _t->handleDocumentSavedAs((*reinterpret_cast<std::add_pointer_t<KTextEditor::View*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<KileDocument::TextInfo*>>(_a[2]))); break;
        case 24: _t->handleSpawnedChildTool((*reinterpret_cast<std::add_pointer_t<KileTool::Base*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<KileTool::Base*>>(_a[2]))); break;
        case 25: _t->previewForCurrentDocumentActionTriggered((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 26: _t->livePreviewToolActionTriggered(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); 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::Document* >(); 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::Document* >(); 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< KileDocument::TextInfo* >(); 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< KileProject* >(); break;
            }
            break;
        case 13:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KileTool::Base* >(); break;
            }
            break;
        case 14:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KileTool::Base* >(); 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::View* >(); 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::View* >(); 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< KileDocument::TextInfo* >(); break;
            }
            break;
        case 20:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KileProject* >(); break;
            }
            break;
        case 21:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KileProject* >(); break;
            case 1:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KileProjectItem* >(); break;
            }
            break;
        case 22:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KileProject* >(); break;
            case 1:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KileProjectItem* >(); break;
            }
            break;
        case 23:
            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;
            case 1:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KileDocument::TextInfo* >(); break;
            }
            break;
        case 24:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KileTool::Base* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (LivePreviewManager::*)()>(_a, &LivePreviewManager::livePreviewSuccessful, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (LivePreviewManager::*)()>(_a, &LivePreviewManager::livePreviewRunning, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (LivePreviewManager::*)()>(_a, &LivePreviewManager::livePreviewStopped, 2))
            return;
    }
}

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

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

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

// SIGNAL 0
void KileTool::LivePreviewManager::livePreviewSuccessful()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void KileTool::LivePreviewManager::livePreviewRunning()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void KileTool::LivePreviewManager::livePreviewStopped()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
QT_WARNING_POP
