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

template <> constexpr inline auto KileParser::ParserThread::qt_create_metaobjectdata<qt_meta_tag_ZN10KileParser12ParserThreadE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KileParser::ParserThread",
        "parsingComplete",
        "",
        "QUrl",
        "url",
        "KileParser::ParserOutput*",
        "output",
        "parsingQueueEmpty",
        "parsingStarted"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'parsingComplete'
        QtMocHelpers::SignalData<void(const QUrl &, KileParser::ParserOutput *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { 0x80000000 | 5, 6 },
        }}),
        // Signal 'parsingQueueEmpty'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'parsingStarted'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ParserThread, qt_meta_tag_ZN10KileParser12ParserThreadE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KileParser::ParserThread::staticMetaObject = { {
    QMetaObject::SuperData::link<QThread::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10KileParser12ParserThreadE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10KileParser12ParserThreadE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10KileParser12ParserThreadE_t>.metaTypes,
    nullptr
} };

void KileParser::ParserThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ParserThread *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->parsingComplete((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<KileParser::ParserOutput*>>(_a[2]))); break;
        case 1: _t->parsingQueueEmpty(); break;
        case 2: _t->parsingStarted(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ParserThread::*)(const QUrl & , KileParser::ParserOutput * )>(_a, &ParserThread::parsingComplete, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ParserThread::*)()>(_a, &ParserThread::parsingQueueEmpty, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (ParserThread::*)()>(_a, &ParserThread::parsingStarted, 2))
            return;
    }
}

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

void *KileParser::ParserThread::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10KileParser12ParserThreadE_t>.strings))
        return static_cast<void*>(this);
    return QThread::qt_metacast(_clname);
}

int KileParser::ParserThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QThread::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 KileParser::ParserThread::parsingComplete(const QUrl & _t1, KileParser::ParserOutput * _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void KileParser::ParserThread::parsingQueueEmpty()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void KileParser::ParserThread::parsingStarted()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
namespace {
struct qt_meta_tag_ZN10KileParser20DocumentParserThreadE_t {};
} // unnamed namespace

template <> constexpr inline auto KileParser::DocumentParserThread::qt_create_metaobjectdata<qt_meta_tag_ZN10KileParser20DocumentParserThreadE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KileParser::DocumentParserThread",
        "addDocument",
        "",
        "KileDocument::TextInfo*",
        "textInfo",
        "removeDocument",
        "QUrl",
        "url"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'addDocument'
        QtMocHelpers::SlotData<void(KileDocument::TextInfo *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'removeDocument'
        QtMocHelpers::SlotData<void(KileDocument::TextInfo *)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'removeDocument'
        QtMocHelpers::SlotData<void(const QUrl &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DocumentParserThread, qt_meta_tag_ZN10KileParser20DocumentParserThreadE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KileParser::DocumentParserThread::staticMetaObject = { {
    QMetaObject::SuperData::link<ParserThread::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10KileParser20DocumentParserThreadE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10KileParser20DocumentParserThreadE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10KileParser20DocumentParserThreadE_t>.metaTypes,
    nullptr
} };

void KileParser::DocumentParserThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DocumentParserThread *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->addDocument((*reinterpret_cast<std::add_pointer_t<KileDocument::TextInfo*>>(_a[1]))); break;
        case 1: _t->removeDocument((*reinterpret_cast<std::add_pointer_t<KileDocument::TextInfo*>>(_a[1]))); break;
        case 2: _t->removeDocument((*reinterpret_cast<std::add_pointer_t<QUrl>>(_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< KileDocument::TextInfo* >(); break;
            }
            break;
        case 1:
            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;
        }
    }
}

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

void *KileParser::DocumentParserThread::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10KileParser20DocumentParserThreadE_t>.strings))
        return static_cast<void*>(this);
    return ParserThread::qt_metacast(_clname);
}

int KileParser::DocumentParserThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ParserThread::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    }
    return _id;
}
namespace {
struct qt_meta_tag_ZN10KileParser18OutputParserThreadE_t {};
} // unnamed namespace

template <> constexpr inline auto KileParser::OutputParserThread::qt_create_metaobjectdata<qt_meta_tag_ZN10KileParser18OutputParserThreadE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KileParser::OutputParserThread",
        "addLaTeXLogFile",
        "",
        "logFile",
        "sourceFile",
        "texFileName",
        "selrow",
        "docrow",
        "removeFile",
        "fileName"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'addLaTeXLogFile'
        QtMocHelpers::SlotData<void(const QString &, const QString &, const QString &, int, int)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 4 }, { QMetaType::QString, 5 }, { QMetaType::Int, 6 },
            { QMetaType::Int, 7 },
        }}),
        // Slot 'addLaTeXLogFile'
        QtMocHelpers::SlotData<void(const QString &, const QString &, const QString &, int)>(1, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 4 }, { QMetaType::QString, 5 }, { QMetaType::Int, 6 },
        }}),
        // Slot 'addLaTeXLogFile'
        QtMocHelpers::SlotData<void(const QString &, const QString &, const QString &)>(1, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 4 }, { QMetaType::QString, 5 },
        }}),
        // Slot 'addLaTeXLogFile'
        QtMocHelpers::SlotData<void(const QString &, const QString &)>(1, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 4 },
        }}),
        // Slot 'removeFile'
        QtMocHelpers::SlotData<void(const QString &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 9 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<OutputParserThread, qt_meta_tag_ZN10KileParser18OutputParserThreadE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KileParser::OutputParserThread::staticMetaObject = { {
    QMetaObject::SuperData::link<ParserThread::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10KileParser18OutputParserThreadE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10KileParser18OutputParserThreadE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10KileParser18OutputParserThreadE_t>.metaTypes,
    nullptr
} };

void KileParser::OutputParserThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<OutputParserThread *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->addLaTeXLogFile((*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])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[5]))); break;
        case 1: _t->addLaTeXLogFile((*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])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[4]))); break;
        case 2: _t->addLaTeXLogFile((*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 3: _t->addLaTeXLogFile((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 4: _t->removeFile((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        default: ;
        }
    }
}

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

void *KileParser::OutputParserThread::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10KileParser18OutputParserThreadE_t>.strings))
        return static_cast<void*>(this);
    return ParserThread::qt_metacast(_clname);
}

int KileParser::OutputParserThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ParserThread::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 5)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 5;
    }
    return _id;
}
QT_WARNING_POP
