/****************************************************************************
** Meta object code from reading C++ file 'tocpanelplugin.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 "../../../../../../cantor-26.04.1/src/panelplugins/tocpanel/tocpanelplugin.h"
#include <QtCore/qmetatype.h>
#include <QtCore/QList>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'tocpanelplugin.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_ZN25TableOfContentPanelPluginE_t {};
} // unnamed namespace

template <> constexpr inline auto TableOfContentPanelPlugin::qt_create_metaobjectdata<qt_meta_tag_ZN25TableOfContentPanelPluginE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "TableOfContentPanelPlugin",
        "requestScrollToHierarchyEntry",
        "",
        "handleDoubleClicked",
        "QModelIndex",
        "handleHierarchyChanges",
        "names",
        "searchStrings",
        "QList<int>",
        "depths",
        "handleHierarhyEntryNameChange",
        "name",
        "searchString",
        "deapth"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'requestScrollToHierarchyEntry'
        QtMocHelpers::SignalData<void(QString)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Slot 'handleDoubleClicked'
        QtMocHelpers::SlotData<void(const QModelIndex &)>(3, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 4, 2 },
        }}),
        // Slot 'handleHierarchyChanges'
        QtMocHelpers::SlotData<void(QStringList, QStringList, QList<int>)>(5, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QStringList, 6 }, { QMetaType::QStringList, 7 }, { 0x80000000 | 8, 9 },
        }}),
        // Slot 'handleHierarhyEntryNameChange'
        QtMocHelpers::SlotData<void(QString, QString, int)>(10, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 11 }, { QMetaType::QString, 12 }, { QMetaType::Int, 13 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<TableOfContentPanelPlugin, qt_meta_tag_ZN25TableOfContentPanelPluginE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject TableOfContentPanelPlugin::staticMetaObject = { {
    QMetaObject::SuperData::link<Cantor::PanelPlugin::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN25TableOfContentPanelPluginE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN25TableOfContentPanelPluginE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN25TableOfContentPanelPluginE_t>.metaTypes,
    nullptr
} };

void TableOfContentPanelPlugin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<TableOfContentPanelPlugin *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->requestScrollToHierarchyEntry((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 1: _t->handleDoubleClicked((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1]))); break;
        case 2: _t->handleHierarchyChanges((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QList<int>>>(_a[3]))); break;
        case 3: _t->handleHierarhyEntryNameChange((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 2:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<int> >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (TableOfContentPanelPlugin::*)(QString )>(_a, &TableOfContentPanelPlugin::requestScrollToHierarchyEntry, 0))
            return;
    }
}

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

void *TableOfContentPanelPlugin::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN25TableOfContentPanelPluginE_t>.strings))
        return static_cast<void*>(this);
    return Cantor::PanelPlugin::qt_metacast(_clname);
}

int TableOfContentPanelPlugin::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Cantor::PanelPlugin::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
    return _id;
}

// SIGNAL 0
void TableOfContentPanelPlugin::requestScrollToHierarchyEntry(QString _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}
QT_WARNING_POP
