/****************************************************************************
** Meta object code from reading C++ file 'debugger.h'
**
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.11.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../kdbg/kdbg/debugger.h"
#include <QtGui/qtextcursor.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 'debugger.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. 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_ZN9KDebuggerE_t {};
} // unnamed namespace

template <> constexpr inline auto KDebugger::qt_create_metaobjectdata<qt_meta_tag_ZN9KDebuggerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KDebugger",
        "debuggerStarting",
        "",
        "activateFileLine",
        "file",
        "lineNo",
        "DbgAddr",
        "address",
        "updatePC",
        "filename",
        "frameNo",
        "executableUpdated",
        "updateStatusMessage",
        "updateUI",
        "breakpointsChanged",
        "registersChanged",
        "std::list<RegisterInfo>",
        "threadsChanged",
        "std::list<ThreadInfo>",
        "valuePopup",
        "disassembled",
        "line",
        "std::list<DisassembledCode>",
        "code",
        "disassFlavorChanged",
        "flavor",
        "target",
        "programStopped",
        "memoryDumpChanged",
        "std::list<MemoryDump>",
        "saveProgramSpecific",
        "KConfigBase*",
        "config",
        "restoreProgramSpecific",
        "programRun",
        "programRunAgain",
        "programStep",
        "programNext",
        "programStepi",
        "programNexti",
        "programFinish",
        "programKill",
        "programDetach",
        "programBreak",
        "setProgramCounter",
        "parse",
        "CmdQueueItem*",
        "cmd",
        "const char*",
        "output",
        "gdbExited",
        "slotInferiorRunning",
        "backgroundUpdate",
        "gotoFrame",
        "slotExpanding",
        "QTreeWidgetItem*",
        "slotDeleteWatch",
        "slotValuePopup",
        "slotDisassemble",
        "slotValueEdited",
        "VarTree*",
        "setThread",
        "shutdown"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'debuggerStarting'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'activateFileLine'
        QtMocHelpers::SignalData<void(const QString &, int, const DbgAddr &)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 4 }, { QMetaType::Int, 5 }, { 0x80000000 | 6, 7 },
        }}),
        // Signal 'updatePC'
        QtMocHelpers::SignalData<void(const QString &, int, const DbgAddr &, int)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 9 }, { QMetaType::Int, 5 }, { 0x80000000 | 6, 7 }, { QMetaType::Int, 10 },
        }}),
        // Signal 'executableUpdated'
        QtMocHelpers::SignalData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'updateStatusMessage'
        QtMocHelpers::SignalData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'updateUI'
        QtMocHelpers::SignalData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'breakpointsChanged'
        QtMocHelpers::SignalData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'registersChanged'
        QtMocHelpers::SignalData<void(const std::list<RegisterInfo> &)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 16, 2 },
        }}),
        // Signal 'threadsChanged'
        QtMocHelpers::SignalData<void(const std::list<ThreadInfo> &)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 18, 2 },
        }}),
        // Signal 'valuePopup'
        QtMocHelpers::SignalData<void(const QString &)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Signal 'disassembled'
        QtMocHelpers::SignalData<void(const QString &, int, const std::list<DisassembledCode> &)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 4 }, { QMetaType::Int, 21 }, { 0x80000000 | 22, 23 },
        }}),
        // Signal 'disassFlavorChanged'
        QtMocHelpers::SignalData<void(const QString &, const QString &)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 25 }, { QMetaType::QString, 26 },
        }}),
        // Signal 'programStopped'
        QtMocHelpers::SignalData<void()>(27, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'memoryDumpChanged'
        QtMocHelpers::SignalData<void(const QString &, const std::list<MemoryDump> &)>(28, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 }, { 0x80000000 | 29, 2 },
        }}),
        // Signal 'saveProgramSpecific'
        QtMocHelpers::SignalData<void(KConfigBase *)>(30, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 31, 32 },
        }}),
        // Signal 'restoreProgramSpecific'
        QtMocHelpers::SignalData<void(KConfigBase *)>(33, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 31, 32 },
        }}),
        // Slot 'programRun'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'programRunAgain'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'programStep'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'programNext'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'programStepi'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'programNexti'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'programFinish'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'programKill'
        QtMocHelpers::SlotData<void()>(41, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'programDetach'
        QtMocHelpers::SlotData<void()>(42, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'programBreak'
        QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setProgramCounter'
        QtMocHelpers::SlotData<void(const QString &, int, const DbgAddr &)>(44, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 }, { QMetaType::Int, 2 }, { 0x80000000 | 6, 2 },
        }}),
        // Slot 'parse'
        QtMocHelpers::SlotData<void(CmdQueueItem *, const char *)>(45, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 46, 47 }, { 0x80000000 | 48, 49 },
        }}),
        // Slot 'gdbExited'
        QtMocHelpers::SlotData<void()>(50, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotInferiorRunning'
        QtMocHelpers::SlotData<void()>(51, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'backgroundUpdate'
        QtMocHelpers::SlotData<void()>(52, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'gotoFrame'
        QtMocHelpers::SlotData<void(int)>(53, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'slotExpanding'
        QtMocHelpers::SlotData<void(QTreeWidgetItem *)>(54, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 55, 2 },
        }}),
        // Slot 'slotDeleteWatch'
        QtMocHelpers::SlotData<void()>(56, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotValuePopup'
        QtMocHelpers::SlotData<void(const QString &)>(57, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Slot 'slotDisassemble'
        QtMocHelpers::SlotData<void(const QString &, int)>(58, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::QString, 2 }, { QMetaType::Int, 2 },
        }}),
        // Slot 'slotValueEdited'
        QtMocHelpers::SlotData<void(VarTree *, const QString &)>(59, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 60, 2 }, { QMetaType::QString, 2 },
        }}),
        // Slot 'setThread'
        QtMocHelpers::SlotData<void(int)>(61, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'shutdown'
        QtMocHelpers::SlotData<void()>(62, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<KDebugger, qt_meta_tag_ZN9KDebuggerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KDebugger::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9KDebuggerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9KDebuggerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN9KDebuggerE_t>.metaTypes,
    nullptr
} };

void KDebugger::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<KDebugger *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->debuggerStarting(); break;
        case 1: _t->activateFileLine((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<DbgAddr>>(_a[3]))); break;
        case 2: _t->updatePC((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<DbgAddr>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[4]))); break;
        case 3: _t->executableUpdated(); break;
        case 4: _t->updateStatusMessage(); break;
        case 5: _t->updateUI(); break;
        case 6: _t->breakpointsChanged(); break;
        case 7: _t->registersChanged((*reinterpret_cast<std::add_pointer_t<std::list<RegisterInfo>>>(_a[1]))); break;
        case 8: _t->threadsChanged((*reinterpret_cast<std::add_pointer_t<std::list<ThreadInfo>>>(_a[1]))); break;
        case 9: _t->valuePopup((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 10: _t->disassembled((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<std::list<DisassembledCode>>>(_a[3]))); break;
        case 11: _t->disassFlavorChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 12: _t->programStopped(); break;
        case 13: _t->memoryDumpChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::list<MemoryDump>>>(_a[2]))); break;
        case 14: _t->saveProgramSpecific((*reinterpret_cast<std::add_pointer_t<KConfigBase*>>(_a[1]))); break;
        case 15: _t->restoreProgramSpecific((*reinterpret_cast<std::add_pointer_t<KConfigBase*>>(_a[1]))); break;
        case 16: _t->programRun(); break;
        case 17: _t->programRunAgain(); break;
        case 18: _t->programStep(); break;
        case 19: _t->programNext(); break;
        case 20: _t->programStepi(); break;
        case 21: _t->programNexti(); break;
        case 22: _t->programFinish(); break;
        case 23: _t->programKill(); break;
        case 24: _t->programDetach(); break;
        case 25: _t->programBreak(); break;
        case 26: _t->setProgramCounter((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<DbgAddr>>(_a[3]))); break;
        case 27: _t->parse((*reinterpret_cast<std::add_pointer_t<CmdQueueItem*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<const char*>>(_a[2]))); break;
        case 28: _t->gdbExited(); break;
        case 29: _t->slotInferiorRunning(); break;
        case 30: _t->backgroundUpdate(); break;
        case 31: _t->gotoFrame((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 32: _t->slotExpanding((*reinterpret_cast<std::add_pointer_t<QTreeWidgetItem*>>(_a[1]))); break;
        case 33: _t->slotDeleteWatch(); break;
        case 34: _t->slotValuePopup((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 35: _t->slotDisassemble((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 36: _t->slotValueEdited((*reinterpret_cast<std::add_pointer_t<VarTree*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 37: _t->setThread((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 38: _t->shutdown(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (KDebugger::*)()>(_a, &KDebugger::debuggerStarting, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (KDebugger::*)(const QString & , int , const DbgAddr & )>(_a, &KDebugger::activateFileLine, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (KDebugger::*)(const QString & , int , const DbgAddr & , int )>(_a, &KDebugger::updatePC, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (KDebugger::*)()>(_a, &KDebugger::executableUpdated, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (KDebugger::*)()>(_a, &KDebugger::updateStatusMessage, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (KDebugger::*)()>(_a, &KDebugger::updateUI, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (KDebugger::*)()>(_a, &KDebugger::breakpointsChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (KDebugger::*)(const std::list<RegisterInfo> & )>(_a, &KDebugger::registersChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (KDebugger::*)(const std::list<ThreadInfo> & )>(_a, &KDebugger::threadsChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (KDebugger::*)(const QString & )>(_a, &KDebugger::valuePopup, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (KDebugger::*)(const QString & , int , const std::list<DisassembledCode> & )>(_a, &KDebugger::disassembled, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (KDebugger::*)(const QString & , const QString & )>(_a, &KDebugger::disassFlavorChanged, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (KDebugger::*)()>(_a, &KDebugger::programStopped, 12))
            return;
        if (QtMocHelpers::indexOfMethod<void (KDebugger::*)(const QString & , const std::list<MemoryDump> & )>(_a, &KDebugger::memoryDumpChanged, 13))
            return;
        if (QtMocHelpers::indexOfMethod<void (KDebugger::*)(KConfigBase * )>(_a, &KDebugger::saveProgramSpecific, 14))
            return;
        if (QtMocHelpers::indexOfMethod<void (KDebugger::*)(KConfigBase * )>(_a, &KDebugger::restoreProgramSpecific, 15))
            return;
    }
}

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

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

int KDebugger::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 < 39)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 39;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 39)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 39;
    }
    return _id;
}

// SIGNAL 0
void KDebugger::debuggerStarting()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void KDebugger::activateFileLine(const QString & _t1, int _t2, const DbgAddr & _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2, _t3);
}

// SIGNAL 2
void KDebugger::updatePC(const QString & _t1, int _t2, const DbgAddr & _t3, int _t4)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2, _t3, _t4);
}

// SIGNAL 3
void KDebugger::executableUpdated()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void KDebugger::updateStatusMessage()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void KDebugger::updateUI()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void KDebugger::breakpointsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void KDebugger::registersChanged(const std::list<RegisterInfo> & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void KDebugger::threadsChanged(const std::list<ThreadInfo> & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void KDebugger::valuePopup(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}

// SIGNAL 10
void KDebugger::disassembled(const QString & _t1, int _t2, const std::list<DisassembledCode> & _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 10, nullptr, _t1, _t2, _t3);
}

// SIGNAL 11
void KDebugger::disassFlavorChanged(const QString & _t1, const QString & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 11, nullptr, _t1, _t2);
}

// SIGNAL 12
void KDebugger::programStopped()
{
    QMetaObject::activate(this, &staticMetaObject, 12, nullptr);
}

// SIGNAL 13
void KDebugger::memoryDumpChanged(const QString & _t1, const std::list<MemoryDump> & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 13, nullptr, _t1, _t2);
}

// SIGNAL 14
void KDebugger::saveProgramSpecific(KConfigBase * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 14, nullptr, _t1);
}

// SIGNAL 15
void KDebugger::restoreProgramSpecific(KConfigBase * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 15, nullptr, _t1);
}
QT_WARNING_POP
