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

template <> constexpr inline auto RKWardMainWindow::qt_create_metaobjectdata<qt_meta_tag_ZN16RKWardMainWindowE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "RKWardMainWindow",
        "aboutToQuitRKWard",
        "",
        "tabForToolViewAdded",
        "QWidget*",
        "backendCreated",
        "setWorkspaceUnmodified",
        "askOpenWorkspace",
        "QUrl",
        "url",
        "slotNewDataFrame",
        "slotFileLoadLibs",
        "importData",
        "slotCloseAllEditors",
        "slotCancelAllCommands",
        "configureCarbonCopy",
        "slotSetStatusBarText",
        "text",
        "slotSetStatusReady",
        "slotConfigure",
        "doPostInit",
        "slotNewCommandEditor",
        "slotOpenCommandEditor",
        "encoding",
        "slotNewOutput",
        "slotOpenOutput",
        "slotCloseWindow",
        "slotCloseAllWindows",
        "slotDetachWindow",
        "setCaption",
        "dummy",
        "openUrlsFromCommandLineOrExternal",
        "no_warn_external",
        "urls",
        "triggerBackendRestart",
        "promptsave",
        "rApiMenu",
        "RKRApiMenu*",
        "partChanged",
        "KParts::Part*",
        "new_part"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'aboutToQuitRKWard'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'tabForToolViewAdded'
        QtMocHelpers::SignalData<void(QWidget *, QWidget *)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 2 }, { 0x80000000 | 4, 2 },
        }}),
        // Signal 'backendCreated'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setWorkspaceUnmodified'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'askOpenWorkspace'
        QtMocHelpers::SlotData<void(const QUrl &)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 },
        }}),
        // Slot 'askOpenWorkspace'
        QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Slot 'slotNewDataFrame'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotFileLoadLibs'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'importData'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotCloseAllEditors'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotCancelAllCommands'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'configureCarbonCopy'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotSetStatusBarText'
        QtMocHelpers::SlotData<void(const QString &)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 17 },
        }}),
        // Slot 'slotSetStatusReady'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotConfigure'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'doPostInit'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotNewCommandEditor'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotOpenCommandEditor'
        QtMocHelpers::SlotData<void(const QUrl &, const QString &)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 }, { QMetaType::QString, 23 },
        }}),
        // Slot 'slotOpenCommandEditor'
        QtMocHelpers::SlotData<void(const QUrl &)>(22, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 8, 9 },
        }}),
        // Slot 'slotOpenCommandEditor'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Slot 'slotNewOutput'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotOpenOutput'
        QtMocHelpers::SlotData<void(const QUrl &)>(25, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 },
        }}),
        // Slot 'slotOpenOutput'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Slot 'slotCloseWindow'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotCloseAllWindows'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotDetachWindow'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setCaption'
        QtMocHelpers::SlotData<void(const QString &)>(29, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Slot 'setCaption'
        QtMocHelpers::SlotData<void(const QString &, bool)>(29, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 30 }, { QMetaType::Bool, 2 },
        }}),
        // Slot 'openUrlsFromCommandLineOrExternal'
        QtMocHelpers::SlotData<void(bool, QStringList)>(31, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 32 }, { QMetaType::QStringList, 33 },
        }}),
        // Slot 'triggerBackendRestart'
        QtMocHelpers::SlotData<bool(bool)>(34, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::Bool, 35 },
        }}),
        // Slot 'triggerBackendRestart'
        QtMocHelpers::SlotData<bool()>(34, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Bool),
        // Slot 'rApiMenu'
        QtMocHelpers::SlotData<RKRApiMenu *()>(36, 2, QMC::AccessPublic, 0x80000000 | 37),
        // Slot 'partChanged'
        QtMocHelpers::SlotData<void(KParts::Part *)>(38, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 39, 40 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<RKWardMainWindow, qt_meta_tag_ZN16RKWardMainWindowE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject RKWardMainWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<KParts::MainWindow::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16RKWardMainWindowE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16RKWardMainWindowE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN16RKWardMainWindowE_t>.metaTypes,
    nullptr
} };

void RKWardMainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<RKWardMainWindow *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->aboutToQuitRKWard(); break;
        case 1: _t->tabForToolViewAdded((*reinterpret_cast<std::add_pointer_t<QWidget*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QWidget*>>(_a[2]))); break;
        case 2: _t->backendCreated(); break;
        case 3: _t->setWorkspaceUnmodified(); break;
        case 4: _t->askOpenWorkspace((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 5: _t->askOpenWorkspace(); break;
        case 6: _t->slotNewDataFrame(); break;
        case 7: _t->slotFileLoadLibs(); break;
        case 8: _t->importData(); break;
        case 9: _t->slotCloseAllEditors(); break;
        case 10: _t->slotCancelAllCommands(); break;
        case 11: _t->configureCarbonCopy(); break;
        case 12: _t->slotSetStatusBarText((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 13: _t->slotSetStatusReady(); break;
        case 14: _t->slotConfigure(); break;
        case 15: _t->doPostInit(); break;
        case 16: _t->slotNewCommandEditor(); break;
        case 17: _t->slotOpenCommandEditor((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 18: _t->slotOpenCommandEditor((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 19: _t->slotOpenCommandEditor(); break;
        case 20: _t->slotNewOutput(); break;
        case 21: _t->slotOpenOutput((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 22: _t->slotOpenOutput(); break;
        case 23: _t->slotCloseWindow(); break;
        case 24: _t->slotCloseAllWindows(); break;
        case 25: _t->slotDetachWindow(); break;
        case 26: _t->setCaption((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 27: _t->setCaption((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 28: _t->openUrlsFromCommandLineOrExternal((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[2]))); break;
        case 29: { bool _r = _t->triggerBackendRestart((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 30: { bool _r = _t->triggerBackendRestart();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 31: { RKRApiMenu* _r = _t->rApiMenu();
            if (_a[0]) *reinterpret_cast<RKRApiMenu**>(_a[0]) = std::move(_r); }  break;
        case 32: _t->partChanged((*reinterpret_cast<std::add_pointer_t<KParts::Part*>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 1:
            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< QWidget* >(); break;
            }
            break;
        case 32:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KParts::Part* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (RKWardMainWindow::*)()>(_a, &RKWardMainWindow::aboutToQuitRKWard, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (RKWardMainWindow::*)(QWidget * , QWidget * )>(_a, &RKWardMainWindow::tabForToolViewAdded, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (RKWardMainWindow::*)()>(_a, &RKWardMainWindow::backendCreated, 2))
            return;
    }
}

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

void *RKWardMainWindow::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16RKWardMainWindowE_t>.strings))
        return static_cast<void*>(this);
    return KParts::MainWindow::qt_metacast(_clname);
}

int RKWardMainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KParts::MainWindow::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 RKWardMainWindow::aboutToQuitRKWard()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void RKWardMainWindow::tabForToolViewAdded(QWidget * _t1, QWidget * _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2);
}

// SIGNAL 2
void RKWardMainWindow::backendCreated()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
QT_WARNING_POP
