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

template <> constexpr inline auto KileTool::Manager::qt_create_metaobjectdata<qt_meta_tag_ZN8KileTool7ManagerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KileTool::Manager",
        "requestGUIState",
        "",
        "jumpToFirstError",
        "toolStarted",
        "previewDone",
        "childToolSpawned",
        "KileTool::Base*",
        "run",
        "tool",
        "stopLivePreview",
        "runImmediately",
        "Base*",
        "insertAtTop",
        "block",
        "parent",
        "runNextInQueue",
        "enableClear",
        "started",
        "done",
        "result",
        "stop",
        "stopActionDestroyed",
        "runChildNext",
        "toolScheduledAfterParsingDestroyed",
        "handleDocumentParsingComplete",
        "currentLaTeXOutputHandlerChanged",
        "LaTeXOutputHandler*",
        "handler",
        "bibliographyBackendSelectedByUser",
        "buildBibliographyBackendSelection",
        "resetAutodetectedBibliographyBackend"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'requestGUIState'
        QtMocHelpers::SignalData<void(const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Signal 'jumpToFirstError'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'toolStarted'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'previewDone'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'childToolSpawned'
        QtMocHelpers::SignalData<void(KileTool::Base *, KileTool::Base *)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 2 }, { 0x80000000 | 7, 2 },
        }}),
        // Slot 'run'
        QtMocHelpers::SlotData<void(KileTool::Base *)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 9 },
        }}),
        // Slot 'stopLivePreview'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'runImmediately'
        QtMocHelpers::SlotData<int(Base *, bool, bool, Base *)>(11, 2, QMC::AccessPrivate, QMetaType::Int, {{
            { 0x80000000 | 12, 9 }, { QMetaType::Bool, 13 }, { QMetaType::Bool, 14 }, { 0x80000000 | 12, 15 },
        }}),
        // Slot 'runImmediately'
        QtMocHelpers::SlotData<int(Base *, bool, bool)>(11, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Int, {{
            { 0x80000000 | 12, 9 }, { QMetaType::Bool, 13 }, { QMetaType::Bool, 14 },
        }}),
        // Slot 'runImmediately'
        QtMocHelpers::SlotData<int(Base *, bool)>(11, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Int, {{
            { 0x80000000 | 12, 9 }, { QMetaType::Bool, 13 },
        }}),
        // Slot 'runImmediately'
        QtMocHelpers::SlotData<int(Base *)>(11, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Int, {{
            { 0x80000000 | 12, 9 },
        }}),
        // Slot 'runNextInQueue'
        QtMocHelpers::SlotData<int()>(16, 2, QMC::AccessPrivate, QMetaType::Int),
        // Slot 'enableClear'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'started'
        QtMocHelpers::SlotData<void(KileTool::Base *)>(18, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 7, 9 },
        }}),
        // Slot 'done'
        QtMocHelpers::SlotData<void(KileTool::Base *, int)>(19, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 7, 9 }, { QMetaType::Int, 20 },
        }}),
        // Slot 'stop'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'stopActionDestroyed'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'runChildNext'
        QtMocHelpers::SlotData<int(Base *, Base *, bool)>(23, 2, QMC::AccessPrivate, QMetaType::Int, {{
            { 0x80000000 | 12, 15 }, { 0x80000000 | 12, 9 }, { QMetaType::Bool, 14 },
        }}),
        // Slot 'runChildNext'
        QtMocHelpers::SlotData<int(Base *, Base *)>(23, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Int, {{
            { 0x80000000 | 12, 15 }, { 0x80000000 | 12, 9 },
        }}),
        // Slot 'toolScheduledAfterParsingDestroyed'
        QtMocHelpers::SlotData<void(KileTool::Base *)>(24, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 7, 9 },
        }}),
        // Slot 'handleDocumentParsingComplete'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'currentLaTeXOutputHandlerChanged'
        QtMocHelpers::SlotData<void(LaTeXOutputHandler *)>(26, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 27, 28 },
        }}),
        // Slot 'bibliographyBackendSelectedByUser'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'buildBibliographyBackendSelection'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'resetAutodetectedBibliographyBackend'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Manager, qt_meta_tag_ZN8KileTool7ManagerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KileTool::Manager::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8KileTool7ManagerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8KileTool7ManagerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN8KileTool7ManagerE_t>.metaTypes,
    nullptr
} };

void KileTool::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->requestGUIState((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 1: _t->jumpToFirstError(); break;
        case 2: _t->toolStarted(); break;
        case 3: _t->previewDone(); break;
        case 4: _t->childToolSpawned((*reinterpret_cast<std::add_pointer_t<KileTool::Base*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<KileTool::Base*>>(_a[2]))); break;
        case 5: _t->run((*reinterpret_cast<std::add_pointer_t<KileTool::Base*>>(_a[1]))); break;
        case 6: _t->stopLivePreview(); break;
        case 7: { int _r = _t->runImmediately((*reinterpret_cast<std::add_pointer_t<Base*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<Base*>>(_a[4])));
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 8: { int _r = _t->runImmediately((*reinterpret_cast<std::add_pointer_t<Base*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3])));
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 9: { int _r = _t->runImmediately((*reinterpret_cast<std::add_pointer_t<Base*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])));
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 10: { int _r = _t->runImmediately((*reinterpret_cast<std::add_pointer_t<Base*>>(_a[1])));
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 11: { int _r = _t->runNextInQueue();
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 12: _t->enableClear(); break;
        case 13: _t->started((*reinterpret_cast<std::add_pointer_t<KileTool::Base*>>(_a[1]))); break;
        case 14: _t->done((*reinterpret_cast<std::add_pointer_t<KileTool::Base*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 15: _t->stop(); break;
        case 16: _t->stopActionDestroyed(); break;
        case 17: { int _r = _t->runChildNext((*reinterpret_cast<std::add_pointer_t<Base*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Base*>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3])));
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 18: { int _r = _t->runChildNext((*reinterpret_cast<std::add_pointer_t<Base*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Base*>>(_a[2])));
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 19: _t->toolScheduledAfterParsingDestroyed((*reinterpret_cast<std::add_pointer_t<KileTool::Base*>>(_a[1]))); break;
        case 20: _t->handleDocumentParsingComplete(); break;
        case 21: _t->currentLaTeXOutputHandlerChanged((*reinterpret_cast<std::add_pointer_t<LaTeXOutputHandler*>>(_a[1]))); break;
        case 22: _t->bibliographyBackendSelectedByUser(); break;
        case 23: _t->buildBibliographyBackendSelection(); break;
        case 24: _t->resetAutodetectedBibliographyBackend(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 4:
            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;
        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< KileTool::Base* >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 3:
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Base* >(); 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< Base* >(); 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< Base* >(); 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< Base* >(); 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 17:
            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< Base* >(); break;
            }
            break;
        case 18:
            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< Base* >(); 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< KileTool::Base* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Manager::*)(const QString & )>(_a, &Manager::requestGUIState, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (Manager::*)()>(_a, &Manager::jumpToFirstError, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (Manager::*)()>(_a, &Manager::toolStarted, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (Manager::*)()>(_a, &Manager::previewDone, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (Manager::*)(KileTool::Base * , KileTool::Base * )>(_a, &Manager::childToolSpawned, 4))
            return;
    }
}

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

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

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

// SIGNAL 0
void KileTool::Manager::requestGUIState(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

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

// SIGNAL 2
void KileTool::Manager::toolStarted()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void KileTool::Manager::previewDone()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void KileTool::Manager::childToolSpawned(KileTool::Base * _t1, KileTool::Base * _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1, _t2);
}
QT_WARNING_POP
