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

template <> constexpr inline auto KileWidget::StructureView::qt_create_metaobjectdata<qt_meta_tag_ZN10KileWidget13StructureViewE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KileWidget::StructureView",
        "addItem",
        "",
        "title",
        "line",
        "column",
        "type",
        "level",
        "startline",
        "startcol",
        "pix",
        "folder",
        "slotConfigChanged"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'addItem'
        QtMocHelpers::SlotData<void(const QString &, uint, uint, int, int, uint, uint, const QString &, const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::UInt, 4 }, { QMetaType::UInt, 5 }, { QMetaType::Int, 6 },
            { QMetaType::Int, 7 }, { QMetaType::UInt, 8 }, { QMetaType::UInt, 9 }, { QMetaType::QString, 10 },
            { QMetaType::QString, 11 },
        }}),
        // Slot 'addItem'
        QtMocHelpers::SlotData<void(const QString &, uint, uint, int, int, uint, uint, const QString &)>(1, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::UInt, 4 }, { QMetaType::UInt, 5 }, { QMetaType::Int, 6 },
            { QMetaType::Int, 7 }, { QMetaType::UInt, 8 }, { QMetaType::UInt, 9 }, { QMetaType::QString, 10 },
        }}),
        // Slot 'slotConfigChanged'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<StructureView, qt_meta_tag_ZN10KileWidget13StructureViewE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KileWidget::StructureView::staticMetaObject = { {
    QMetaObject::SuperData::link<QTreeWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10KileWidget13StructureViewE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10KileWidget13StructureViewE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10KileWidget13StructureViewE_t>.metaTypes,
    nullptr
} };

void KileWidget::StructureView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<StructureView *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->addItem((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<uint>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<uint>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[5])),(*reinterpret_cast<std::add_pointer_t<uint>>(_a[6])),(*reinterpret_cast<std::add_pointer_t<uint>>(_a[7])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[8])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[9]))); break;
        case 1: _t->addItem((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<uint>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<uint>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[5])),(*reinterpret_cast<std::add_pointer_t<uint>>(_a[6])),(*reinterpret_cast<std::add_pointer_t<uint>>(_a[7])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[8]))); break;
        case 2: _t->slotConfigChanged(); break;
        default: ;
        }
    }
}

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

void *KileWidget::StructureView::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10KileWidget13StructureViewE_t>.strings))
        return static_cast<void*>(this);
    return QTreeWidget::qt_metacast(_clname);
}

int KileWidget::StructureView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QTreeWidget::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;
}
namespace {
struct qt_meta_tag_ZN10KileWidget15StructureWidgetE_t {};
} // unnamed namespace

template <> constexpr inline auto KileWidget::StructureWidget::qt_create_metaobjectdata<qt_meta_tag_ZN10KileWidget15StructureWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KileWidget::StructureWidget",
        "sendText",
        "",
        "setCursor",
        "QUrl",
        "fileOpen",
        "fileNew",
        "configChanged",
        "sectioningPopup",
        "KileWidget::StructureViewItem*",
        "item",
        "id",
        "slotClicked",
        "QTreeWidgetItem*",
        "slotDoubleClicked",
        "addDocumentInfo",
        "KileDocument::Info*",
        "closeDocumentInfo",
        "update",
        "clean",
        "updateReferences",
        "clear",
        "handleDocumentParsingStarted",
        "handleDocumentParsingCompleted"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'sendText'
        QtMocHelpers::SignalData<void(const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Signal 'setCursor'
        QtMocHelpers::SignalData<void(const QUrl &, int, int)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 2 }, { QMetaType::Int, 2 }, { QMetaType::Int, 2 },
        }}),
        // Signal 'fileOpen'
        QtMocHelpers::SignalData<void(const QUrl &, const QString &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 2 }, { QMetaType::QString, 2 },
        }}),
        // Signal 'fileNew'
        QtMocHelpers::SignalData<void(const QUrl &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 2 },
        }}),
        // Signal 'configChanged'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sectioningPopup'
        QtMocHelpers::SignalData<void(KileWidget::StructureViewItem *, int)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 10 }, { QMetaType::Int, 11 },
        }}),
        // Slot 'slotClicked'
        QtMocHelpers::SlotData<void(QTreeWidgetItem *)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 13, 2 },
        }}),
        // Slot 'slotDoubleClicked'
        QtMocHelpers::SlotData<void(QTreeWidgetItem *)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 13, 2 },
        }}),
        // Slot 'addDocumentInfo'
        QtMocHelpers::SlotData<void(KileDocument::Info *)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 16, 2 },
        }}),
        // Slot 'closeDocumentInfo'
        QtMocHelpers::SlotData<void(KileDocument::Info *)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 16, 2 },
        }}),
        // Slot 'update'
        QtMocHelpers::SlotData<void(KileDocument::Info *)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 16, 2 },
        }}),
        // Slot 'update'
        QtMocHelpers::SlotData<void(KileDocument::Info *, bool)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 16, 2 }, { QMetaType::Bool, 2 },
        }}),
        // Slot 'clean'
        QtMocHelpers::SlotData<void(KileDocument::Info *)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 16, 2 },
        }}),
        // Slot 'updateReferences'
        QtMocHelpers::SlotData<void(KileDocument::Info *)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 16, 2 },
        }}),
        // Slot 'clear'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'handleDocumentParsingStarted'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'handleDocumentParsingCompleted'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<StructureWidget, qt_meta_tag_ZN10KileWidget15StructureWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KileWidget::StructureWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QStackedWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10KileWidget15StructureWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10KileWidget15StructureWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10KileWidget15StructureWidgetE_t>.metaTypes,
    nullptr
} };

void KileWidget::StructureWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<StructureWidget *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->sendText((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 1: _t->setCursor((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 2: _t->fileOpen((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 3: _t->fileNew((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 4: _t->configChanged(); break;
        case 5: _t->sectioningPopup((*reinterpret_cast<std::add_pointer_t<KileWidget::StructureViewItem*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 6: _t->slotClicked((*reinterpret_cast<std::add_pointer_t<QTreeWidgetItem*>>(_a[1]))); break;
        case 7: _t->slotDoubleClicked((*reinterpret_cast<std::add_pointer_t<QTreeWidgetItem*>>(_a[1]))); break;
        case 8: _t->addDocumentInfo((*reinterpret_cast<std::add_pointer_t<KileDocument::Info*>>(_a[1]))); break;
        case 9: _t->closeDocumentInfo((*reinterpret_cast<std::add_pointer_t<KileDocument::Info*>>(_a[1]))); break;
        case 10: _t->update((*reinterpret_cast<std::add_pointer_t<KileDocument::Info*>>(_a[1]))); break;
        case 11: _t->update((*reinterpret_cast<std::add_pointer_t<KileDocument::Info*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 12: _t->clean((*reinterpret_cast<std::add_pointer_t<KileDocument::Info*>>(_a[1]))); break;
        case 13: _t->updateReferences((*reinterpret_cast<std::add_pointer_t<KileDocument::Info*>>(_a[1]))); break;
        case 14: _t->clear(); break;
        case 15: _t->handleDocumentParsingStarted(); break;
        case 16: _t->handleDocumentParsingCompleted(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KileDocument::Info* >(); break;
            }
            break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KileDocument::Info* >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KileDocument::Info* >(); break;
            }
            break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KileDocument::Info* >(); break;
            }
            break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KileDocument::Info* >(); break;
            }
            break;
        case 13:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KileDocument::Info* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (StructureWidget::*)(const QString & )>(_a, &StructureWidget::sendText, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (StructureWidget::*)(const QUrl & , int , int )>(_a, &StructureWidget::setCursor, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (StructureWidget::*)(const QUrl & , const QString & )>(_a, &StructureWidget::fileOpen, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (StructureWidget::*)(const QUrl & )>(_a, &StructureWidget::fileNew, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (StructureWidget::*)()>(_a, &StructureWidget::configChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (StructureWidget::*)(KileWidget::StructureViewItem * , int )>(_a, &StructureWidget::sectioningPopup, 5))
            return;
    }
}

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

void *KileWidget::StructureWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10KileWidget15StructureWidgetE_t>.strings))
        return static_cast<void*>(this);
    return QStackedWidget::qt_metacast(_clname);
}

int KileWidget::StructureWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QStackedWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    }
    return _id;
}

// SIGNAL 0
void KileWidget::StructureWidget::sendText(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void KileWidget::StructureWidget::setCursor(const QUrl & _t1, int _t2, int _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2, _t3);
}

// SIGNAL 2
void KileWidget::StructureWidget::fileOpen(const QUrl & _t1, const QString & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2);
}

// SIGNAL 3
void KileWidget::StructureWidget::fileNew(const QUrl & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void KileWidget::StructureWidget::configChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void KileWidget::StructureWidget::sectioningPopup(KileWidget::StructureViewItem * _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2);
}
QT_WARNING_POP
