/****************************************************************************
** Meta object code from reading C++ file 'panelmanager.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 "../../../../krusader-2.9.0/app/panelmanager.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 'panelmanager.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_ZN12PanelManagerE_t {};
} // unnamed namespace

template <> constexpr inline auto PanelManager::qt_create_metaobjectdata<qt_meta_tag_ZN12PanelManagerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "PanelManager",
        "D-Bus Interface",
        "org.krusader.PanelManager",
        "draggingTab",
        "",
        "PanelManager*",
        "from",
        "QMouseEvent*",
        "draggingTabFinished",
        "setActiveManager",
        "manager",
        "pathChanged",
        "ListPanel*",
        "panel",
        "newTab",
        "url",
        "newTabs",
        "urls",
        "slotNewTab",
        "QUrl",
        "setCurrent",
        "insertIndex",
        "slotNewTabButton",
        "slotDuplicateTab",
        "KrPanel*",
        "nextTo",
        "slotDuplicateTabLMB",
        "slotLockTab",
        "slotPinTab",
        "slotNextTab",
        "slotPreviousTab",
        "slotCloseTab",
        "index",
        "slotUndoCloseTab",
        "slotRecreatePanels",
        "slotCloseInactiveTabs",
        "slotCloseDuplicatedTabs",
        "slotCurrentTabChanged",
        "activate",
        "slotDraggingTab",
        "e",
        "slotDraggingTabFinished"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'draggingTab'
        QtMocHelpers::SignalData<void(PanelManager *, QMouseEvent *)>(3, 4, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 6 }, { 0x80000000 | 7, 4 },
        }}),
        // Signal 'draggingTabFinished'
        QtMocHelpers::SignalData<void(PanelManager *, QMouseEvent *)>(8, 4, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 6 }, { 0x80000000 | 7, 4 },
        }}),
        // Signal 'setActiveManager'
        QtMocHelpers::SignalData<void(PanelManager *)>(9, 4, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 10 },
        }}),
        // Signal 'pathChanged'
        QtMocHelpers::SignalData<void(ListPanel *)>(11, 4, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 12, 13 },
        }}),
        // Slot 'newTab'
        QtMocHelpers::SlotData<void(const QString &)>(14, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Void, {{
            { QMetaType::QString, 15 },
        }}),
        // Slot 'newTabs'
        QtMocHelpers::SlotData<void(const QStringList &)>(16, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Void, {{
            { QMetaType::QStringList, 17 },
        }}),
        // Slot 'slotNewTab'
        QtMocHelpers::SlotData<void(const QUrl &, bool, int)>(18, 4, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 19, 15 }, { QMetaType::Bool, 20 }, { QMetaType::Int, 21 },
        }}),
        // Slot 'slotNewTab'
        QtMocHelpers::SlotData<void(const QUrl &, bool)>(18, 4, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 19, 15 }, { QMetaType::Bool, 20 },
        }}),
        // Slot 'slotNewTab'
        QtMocHelpers::SlotData<void(const QUrl &)>(18, 4, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 19, 15 },
        }}),
        // Slot 'slotNewTabButton'
        QtMocHelpers::SlotData<void()>(22, 4, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotNewTab'
        QtMocHelpers::SlotData<void(int)>(18, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 21 },
        }}),
        // Slot 'slotNewTab'
        QtMocHelpers::SlotData<void()>(18, 4, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Slot 'slotDuplicateTab'
        QtMocHelpers::SlotData<void(const QUrl &, KrPanel *, int)>(23, 4, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 19, 15 }, { 0x80000000 | 24, 25 }, { QMetaType::Int, 21 },
        }}),
        // Slot 'slotDuplicateTab'
        QtMocHelpers::SlotData<void(const QUrl &, KrPanel *)>(23, 4, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 19, 15 }, { 0x80000000 | 24, 25 },
        }}),
        // Slot 'slotDuplicateTabLMB'
        QtMocHelpers::SlotData<void()>(26, 4, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotLockTab'
        QtMocHelpers::SlotData<void()>(27, 4, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotPinTab'
        QtMocHelpers::SlotData<void()>(28, 4, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotNextTab'
        QtMocHelpers::SlotData<void()>(29, 4, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotPreviousTab'
        QtMocHelpers::SlotData<void()>(30, 4, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotCloseTab'
        QtMocHelpers::SlotData<void()>(31, 4, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotCloseTab'
        QtMocHelpers::SlotData<void(int)>(31, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 32 },
        }}),
        // Slot 'slotUndoCloseTab'
        QtMocHelpers::SlotData<void()>(33, 4, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotRecreatePanels'
        QtMocHelpers::SlotData<void()>(34, 4, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotCloseInactiveTabs'
        QtMocHelpers::SlotData<void()>(35, 4, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotCloseDuplicatedTabs'
        QtMocHelpers::SlotData<void()>(36, 4, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotCurrentTabChanged'
        QtMocHelpers::SlotData<void(int)>(37, 4, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::Int, 32 },
        }}),
        // Slot 'activate'
        QtMocHelpers::SlotData<void()>(38, 4, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotDraggingTab'
        QtMocHelpers::SlotData<void(QMouseEvent *)>(39, 4, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 7, 40 },
        }}),
        // Slot 'slotDraggingTabFinished'
        QtMocHelpers::SlotData<void(QMouseEvent *)>(41, 4, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 7, 40 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
    });
    return QtMocHelpers::metaObjectData<PanelManager, qt_meta_tag_ZN12PanelManagerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject PanelManager::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12PanelManagerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12PanelManagerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12PanelManagerE_t>.metaTypes,
    nullptr
} };

void PanelManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<PanelManager *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->draggingTab((*reinterpret_cast<std::add_pointer_t<PanelManager*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QMouseEvent*>>(_a[2]))); break;
        case 1: _t->draggingTabFinished((*reinterpret_cast<std::add_pointer_t<PanelManager*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QMouseEvent*>>(_a[2]))); break;
        case 2: _t->setActiveManager((*reinterpret_cast<std::add_pointer_t<PanelManager*>>(_a[1]))); break;
        case 3: _t->pathChanged((*reinterpret_cast<std::add_pointer_t<ListPanel*>>(_a[1]))); break;
        case 4: _t->newTab((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 5: _t->newTabs((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 6: _t->slotNewTab((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 7: _t->slotNewTab((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 8: _t->slotNewTab((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 9: _t->slotNewTabButton(); break;
        case 10: _t->slotNewTab((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 11: _t->slotNewTab(); break;
        case 12: _t->slotDuplicateTab((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<KrPanel*>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 13: _t->slotDuplicateTab((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<KrPanel*>>(_a[2]))); break;
        case 14: _t->slotDuplicateTabLMB(); break;
        case 15: _t->slotLockTab(); break;
        case 16: _t->slotPinTab(); break;
        case 17: _t->slotNextTab(); break;
        case 18: _t->slotPreviousTab(); break;
        case 19: _t->slotCloseTab(); break;
        case 20: _t->slotCloseTab((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 21: _t->slotUndoCloseTab(); break;
        case 22: _t->slotRecreatePanels(); break;
        case 23: _t->slotCloseInactiveTabs(); break;
        case 24: _t->slotCloseDuplicatedTabs(); break;
        case 25: _t->slotCurrentTabChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 26: _t->activate(); break;
        case 27: _t->slotDraggingTab((*reinterpret_cast<std::add_pointer_t<QMouseEvent*>>(_a[1]))); break;
        case 28: _t->slotDraggingTabFinished((*reinterpret_cast<std::add_pointer_t<QMouseEvent*>>(_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< PanelManager* >(); 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< PanelManager* >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< PanelManager* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (PanelManager::*)(PanelManager * , QMouseEvent * )>(_a, &PanelManager::draggingTab, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (PanelManager::*)(PanelManager * , QMouseEvent * )>(_a, &PanelManager::draggingTabFinished, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (PanelManager::*)(PanelManager * )>(_a, &PanelManager::setActiveManager, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (PanelManager::*)(ListPanel * )>(_a, &PanelManager::pathChanged, 3))
            return;
    }
}

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

void *PanelManager::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12PanelManagerE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "AbstractPanelManager"))
        return static_cast< AbstractPanelManager*>(this);
    return QWidget::qt_metacast(_clname);
}

int PanelManager::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 29)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 29;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 29)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 29;
    }
    return _id;
}

// SIGNAL 0
void PanelManager::draggingTab(PanelManager * _t1, QMouseEvent * _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void PanelManager::draggingTabFinished(PanelManager * _t1, QMouseEvent * _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2);
}

// SIGNAL 2
void PanelManager::setActiveManager(PanelManager * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void PanelManager::pathChanged(ListPanel * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}
QT_WARNING_POP
