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

template <> constexpr inline auto lyx::frontend::GuiProgress::qt_create_metaobjectdata<qt_meta_tag_ZN3lyx8frontend11GuiProgressE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "lyx::frontend::GuiProgress",
        "processStarted",
        "",
        "processFinished",
        "appendMessage",
        "appendError",
        "clearMessages",
        "appendLyXErrMessage",
        "text",
        "clearMessageText",
        "updateStatusBarMessage",
        "triggerFlush",
        "warning",
        "title",
        "message",
        "toggleWarning",
        "msg",
        "formatted",
        "error",
        "details",
        "information",
        "doProcessStarted",
        "doProcessFinished",
        "doAppendMessage",
        "doAppendError",
        "doClearMessages",
        "doWarning",
        "doToggleWarning",
        "doError",
        "doInformation",
        "updateWithLyXErr",
        "startFlushing"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'processStarted'
        QtMocHelpers::SignalData<void(QString const &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Signal 'processFinished'
        QtMocHelpers::SignalData<void(QString const &)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Signal 'appendMessage'
        QtMocHelpers::SignalData<void(QString const &)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Signal 'appendError'
        QtMocHelpers::SignalData<void(QString const &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Signal 'clearMessages'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'appendLyXErrMessage'
        QtMocHelpers::SignalData<void(QString const &)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 8 },
        }}),
        // Signal 'clearMessageText'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'updateStatusBarMessage'
        QtMocHelpers::SignalData<void(QString const &)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Signal 'triggerFlush'
        QtMocHelpers::SignalData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'warning'
        QtMocHelpers::SignalData<void(QString const &, QString const &)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 13 }, { QMetaType::QString, 14 },
        }}),
        // Signal 'toggleWarning'
        QtMocHelpers::SignalData<void(QString const &, QString const &, QString const &)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 13 }, { QMetaType::QString, 16 }, { QMetaType::QString, 17 },
        }}),
        // Signal 'error'
        QtMocHelpers::SignalData<void(QString const &, QString const &, QString const &)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 13 }, { QMetaType::QString, 14 }, { QMetaType::QString, 19 },
        }}),
        // Signal 'error'
        QtMocHelpers::SignalData<void(QString const &, QString const &)>(18, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 13 }, { QMetaType::QString, 14 },
        }}),
        // Signal 'information'
        QtMocHelpers::SignalData<void(QString const &, QString const &)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 13 }, { QMetaType::QString, 14 },
        }}),
        // Slot 'doProcessStarted'
        QtMocHelpers::SlotData<void(QString const &)>(21, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Slot 'doProcessFinished'
        QtMocHelpers::SlotData<void(QString const &)>(22, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Slot 'doAppendMessage'
        QtMocHelpers::SlotData<void(QString const &)>(23, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Slot 'doAppendError'
        QtMocHelpers::SlotData<void(QString const &)>(24, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Slot 'doClearMessages'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'doWarning'
        QtMocHelpers::SlotData<void(QString const &, QString const &)>(26, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 2 }, { QMetaType::QString, 2 },
        }}),
        // Slot 'doToggleWarning'
        QtMocHelpers::SlotData<void(QString const &, QString const &, QString const &)>(27, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 13 }, { QMetaType::QString, 16 }, { QMetaType::QString, 17 },
        }}),
        // Slot 'doError'
        QtMocHelpers::SlotData<void(QString const &, QString const &, QString const &)>(28, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 2 }, { QMetaType::QString, 2 }, { QMetaType::QString, 2 },
        }}),
        // Slot 'doInformation'
        QtMocHelpers::SlotData<void(QString const &, QString const &)>(29, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 2 }, { QMetaType::QString, 2 },
        }}),
        // Slot 'updateWithLyXErr'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'startFlushing'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<GuiProgress, qt_meta_tag_ZN3lyx8frontend11GuiProgressE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject lyx::frontend::GuiProgress::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend11GuiProgressE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend11GuiProgressE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3lyx8frontend11GuiProgressE_t>.metaTypes,
    nullptr
} };

void lyx::frontend::GuiProgress::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<GuiProgress *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->processStarted((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 1: _t->processFinished((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 2: _t->appendMessage((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 3: _t->appendError((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 4: _t->clearMessages(); break;
        case 5: _t->appendLyXErrMessage((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 6: _t->clearMessageText(); break;
        case 7: _t->updateStatusBarMessage((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 8: _t->triggerFlush(); break;
        case 9: _t->warning((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 10: _t->toggleWarning((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 11: _t->error((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 12: _t->error((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 13: _t->information((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 14: _t->doProcessStarted((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 15: _t->doProcessFinished((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 16: _t->doAppendMessage((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 17: _t->doAppendError((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 18: _t->doClearMessages(); break;
        case 19: _t->doWarning((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 20: _t->doToggleWarning((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 21: _t->doError((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 22: _t->doInformation((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 23: _t->updateWithLyXErr(); break;
        case 24: _t->startFlushing(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (GuiProgress::*)(QString const & )>(_a, &GuiProgress::processStarted, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (GuiProgress::*)(QString const & )>(_a, &GuiProgress::processFinished, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (GuiProgress::*)(QString const & )>(_a, &GuiProgress::appendMessage, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (GuiProgress::*)(QString const & )>(_a, &GuiProgress::appendError, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (GuiProgress::*)()>(_a, &GuiProgress::clearMessages, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (GuiProgress::*)(QString const & )>(_a, &GuiProgress::appendLyXErrMessage, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (GuiProgress::*)()>(_a, &GuiProgress::clearMessageText, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (GuiProgress::*)(QString const & )>(_a, &GuiProgress::updateStatusBarMessage, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (GuiProgress::*)()>(_a, &GuiProgress::triggerFlush, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (GuiProgress::*)(QString const & , QString const & )>(_a, &GuiProgress::warning, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (GuiProgress::*)(QString const & , QString const & , QString const & )>(_a, &GuiProgress::toggleWarning, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (GuiProgress::*)(QString const & , QString const & , QString const & )>(_a, &GuiProgress::error, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (GuiProgress::*)(QString const & , QString const & )>(_a, &GuiProgress::information, 13))
            return;
    }
}

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

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

int lyx::frontend::GuiProgress::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)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 25;
    }
    return _id;
}

// SIGNAL 0
void lyx::frontend::GuiProgress::processStarted(QString const & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void lyx::frontend::GuiProgress::processFinished(QString const & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void lyx::frontend::GuiProgress::appendMessage(QString const & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void lyx::frontend::GuiProgress::appendError(QString const & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void lyx::frontend::GuiProgress::clearMessages()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void lyx::frontend::GuiProgress::appendLyXErrMessage(QString const & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void lyx::frontend::GuiProgress::clearMessageText()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void lyx::frontend::GuiProgress::updateStatusBarMessage(QString const & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void lyx::frontend::GuiProgress::triggerFlush()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void lyx::frontend::GuiProgress::warning(QString const & _t1, QString const & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1, _t2);
}

// SIGNAL 10
void lyx::frontend::GuiProgress::toggleWarning(QString const & _t1, QString const & _t2, QString const & _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 10, nullptr, _t1, _t2, _t3);
}

// SIGNAL 11
void lyx::frontend::GuiProgress::error(QString const & _t1, QString const & _t2, QString const & _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 11, nullptr, _t1, _t2, _t3);
}

// SIGNAL 13
void lyx::frontend::GuiProgress::information(QString const & _t1, QString const & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 13, nullptr, _t1, _t2);
}
QT_WARNING_POP
