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

template <> constexpr inline auto KileErrorHandler::qt_create_metaobjectdata<qt_meta_tag_ZN16KileErrorHandlerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KileErrorHandler",
        "showingErrorMessage",
        "",
        "QWidget*",
        "w",
        "currentLaTeXOutputHandlerChanged",
        "LaTeXOutputHandler*",
        "outputHandler",
        "handleSpawnedChildTool",
        "KileTool::Base*",
        "parent",
        "child",
        "handleLaTeXToolDone",
        "childToolSpawned",
        "printMessage",
        "message",
        "type",
        "tool",
        "OutputInfo",
        "outputInfo",
        "allowSelection",
        "scroll",
        "printProblem",
        "problem",
        "clearMessages",
        "jumpToFirstError",
        "jumpToProblem",
        "info",
        "currentOutputTabIndex",
        "setCurrentOutputTab",
        "i",
        "showMessagesOutput",
        "showErrorsOutput",
        "showWarningsOutput",
        "showBadBoxesOutput",
        "clearErrorOutput",
        "ViewLog",
        "NextError",
        "PreviousError",
        "NextWarning",
        "PreviousWarning",
        "NextBadBox",
        "PreviousBadBox",
        "setOutputActionsEnabled",
        "b",
        "handleProjectOpened",
        "KileProject*",
        "project",
        "updateCurrentLaTeXOutputHandler",
        "updateForCompilationResult"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'showingErrorMessage'
        QtMocHelpers::SignalData<void(QWidget *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'currentLaTeXOutputHandlerChanged'
        QtMocHelpers::SignalData<void(LaTeXOutputHandler *)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Slot 'handleSpawnedChildTool'
        QtMocHelpers::SlotData<void(KileTool::Base *, KileTool::Base *)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 10 }, { 0x80000000 | 9, 11 },
        }}),
        // Slot 'handleLaTeXToolDone'
        QtMocHelpers::SlotData<void(KileTool::Base *, int, bool)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 2 }, { QMetaType::Int, 2 }, { QMetaType::Bool, 13 },
        }}),
        // Slot 'printMessage'
        QtMocHelpers::SlotData<void(const QString &)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 15 },
        }}),
        // Slot 'printMessage'
        QtMocHelpers::SlotData<void(int, const QString &, const QString &, const OutputInfo &, bool, bool)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 16 }, { QMetaType::QString, 15 }, { QMetaType::QString, 17 }, { 0x80000000 | 18, 19 },
            { QMetaType::Bool, 20 }, { QMetaType::Bool, 21 },
        }}),
        // Slot 'printMessage'
        QtMocHelpers::SlotData<void(int, const QString &, const QString &, const OutputInfo &, bool)>(14, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::Int, 16 }, { QMetaType::QString, 15 }, { QMetaType::QString, 17 }, { 0x80000000 | 18, 19 },
            { QMetaType::Bool, 20 },
        }}),
        // Slot 'printMessage'
        QtMocHelpers::SlotData<void(int, const QString &, const QString &, const OutputInfo &)>(14, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::Int, 16 }, { QMetaType::QString, 15 }, { QMetaType::QString, 17 }, { 0x80000000 | 18, 19 },
        }}),
        // Slot 'printMessage'
        QtMocHelpers::SlotData<void(int, const QString &, const QString &)>(14, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::Int, 16 }, { QMetaType::QString, 15 }, { QMetaType::QString, 17 },
        }}),
        // Slot 'printMessage'
        QtMocHelpers::SlotData<void(int, const QString &)>(14, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::Int, 16 }, { QMetaType::QString, 15 },
        }}),
        // Slot 'printProblem'
        QtMocHelpers::SlotData<void(int, const QString &, const OutputInfo &)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 16 }, { QMetaType::QString, 23 }, { 0x80000000 | 18, 19 },
        }}),
        // Slot 'printProblem'
        QtMocHelpers::SlotData<void(int, const QString &)>(22, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::Int, 16 }, { QMetaType::QString, 23 },
        }}),
        // Slot 'clearMessages'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'jumpToFirstError'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'jumpToProblem'
        QtMocHelpers::SlotData<void(const OutputInfo &)>(26, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 18, 27 },
        }}),
        // Slot 'currentOutputTabIndex'
        QtMocHelpers::SlotData<int()>(28, 2, QMC::AccessPublic, QMetaType::Int),
        // Slot 'setCurrentOutputTab'
        QtMocHelpers::SlotData<void(int)>(29, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 30 },
        }}),
        // Slot 'showMessagesOutput'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showErrorsOutput'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showWarningsOutput'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showBadBoxesOutput'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'clearErrorOutput'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'ViewLog'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'NextError'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'PreviousError'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'NextWarning'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'PreviousWarning'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'NextBadBox'
        QtMocHelpers::SlotData<void()>(41, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'PreviousBadBox'
        QtMocHelpers::SlotData<void()>(42, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'setOutputActionsEnabled'
        QtMocHelpers::SlotData<void(bool)>(43, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 44 },
        }}),
        // Slot 'handleProjectOpened'
        QtMocHelpers::SlotData<void(KileProject *)>(45, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 46, 47 },
        }}),
        // Slot 'updateCurrentLaTeXOutputHandler'
        QtMocHelpers::SlotData<void()>(48, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateForCompilationResult'
        QtMocHelpers::SlotData<void()>(49, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<KileErrorHandler, qt_meta_tag_ZN16KileErrorHandlerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KileErrorHandler::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16KileErrorHandlerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16KileErrorHandlerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN16KileErrorHandlerE_t>.metaTypes,
    nullptr
} };

void KileErrorHandler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<KileErrorHandler *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->showingErrorMessage((*reinterpret_cast<std::add_pointer_t<QWidget*>>(_a[1]))); break;
        case 1: _t->currentLaTeXOutputHandlerChanged((*reinterpret_cast<std::add_pointer_t<LaTeXOutputHandler*>>(_a[1]))); break;
        case 2: _t->handleSpawnedChildTool((*reinterpret_cast<std::add_pointer_t<KileTool::Base*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<KileTool::Base*>>(_a[2]))); break;
        case 3: _t->handleLaTeXToolDone((*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 4: _t->printMessage((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 5: _t->printMessage((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<OutputInfo>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[5])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[6]))); break;
        case 6: _t->printMessage((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<OutputInfo>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[5]))); break;
        case 7: _t->printMessage((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<OutputInfo>>(_a[4]))); break;
        case 8: _t->printMessage((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 9: _t->printMessage((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 10: _t->printProblem((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<OutputInfo>>(_a[3]))); break;
        case 11: _t->printProblem((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 12: _t->clearMessages(); break;
        case 13: _t->jumpToFirstError(); break;
        case 14: _t->jumpToProblem((*reinterpret_cast<std::add_pointer_t<OutputInfo>>(_a[1]))); break;
        case 15: { int _r = _t->currentOutputTabIndex();
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 16: _t->setCurrentOutputTab((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 17: _t->showMessagesOutput(); break;
        case 18: _t->showErrorsOutput(); break;
        case 19: _t->showWarningsOutput(); break;
        case 20: _t->showBadBoxesOutput(); break;
        case 21: _t->clearErrorOutput(); break;
        case 22: _t->ViewLog(); break;
        case 23: _t->NextError(); break;
        case 24: _t->PreviousError(); break;
        case 25: _t->NextWarning(); break;
        case 26: _t->PreviousWarning(); break;
        case 27: _t->NextBadBox(); break;
        case 28: _t->PreviousBadBox(); break;
        case 29: _t->setOutputActionsEnabled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 30: _t->handleProjectOpened((*reinterpret_cast<std::add_pointer_t<KileProject*>>(_a[1]))); break;
        case 31: _t->updateCurrentLaTeXOutputHandler(); break;
        case 32: _t->updateForCompilationResult(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 3:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< OutputInfo >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 3:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< OutputInfo >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 3:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< OutputInfo >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 2:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< OutputInfo >(); 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< OutputInfo >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (KileErrorHandler::*)(QWidget * )>(_a, &KileErrorHandler::showingErrorMessage, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (KileErrorHandler::*)(LaTeXOutputHandler * )>(_a, &KileErrorHandler::currentLaTeXOutputHandlerChanged, 1))
            return;
    }
}

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

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

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

// SIGNAL 0
void KileErrorHandler::showingErrorMessage(QWidget * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void KileErrorHandler::currentLaTeXOutputHandlerChanged(LaTeXOutputHandler * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}
QT_WARNING_POP
