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

#include "../../../../kleopatra-26.07.80/src/view/tabwidget.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 'tabwidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.12.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_ZN4Kleo9TabWidgetE_t {};
} // unnamed namespace

template <> constexpr inline auto Kleo::TabWidget::qt_create_metaobjectdata<qt_meta_tag_ZN4Kleo9TabWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Kleo::TabWidget",
        "viewAdded",
        "",
        "QAbstractItemView*",
        "view",
        "viewAboutToBeRemoved",
        "currentViewChanged",
        "stringFilterChanged",
        "filter",
        "keyFilterChanged",
        "std::shared_ptr<Kleo::KeyFilter>",
        "enableChangeStringFilter",
        "enable",
        "enableChangeKeyFilter",
        "setKeyFilter",
        "setStringFilter"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'viewAdded'
        QtMocHelpers::SignalData<void(QAbstractItemView *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'viewAboutToBeRemoved'
        QtMocHelpers::SignalData<void(QAbstractItemView *)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'currentViewChanged'
        QtMocHelpers::SignalData<void(QAbstractItemView *)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'stringFilterChanged'
        QtMocHelpers::SignalData<void(const QString &)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 8 },
        }}),
        // Signal 'keyFilterChanged'
        QtMocHelpers::SignalData<void(const std::shared_ptr<Kleo::KeyFilter> &)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 8 },
        }}),
        // Signal 'enableChangeStringFilter'
        QtMocHelpers::SignalData<void(bool)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 12 },
        }}),
        // Signal 'enableChangeKeyFilter'
        QtMocHelpers::SignalData<void(bool)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 12 },
        }}),
        // Slot 'setKeyFilter'
        QtMocHelpers::SlotData<void(const std::shared_ptr<Kleo::KeyFilter> &)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 8 },
        }}),
        // Slot 'setStringFilter'
        QtMocHelpers::SlotData<void(const QString &)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 8 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<TabWidget, qt_meta_tag_ZN4Kleo9TabWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Kleo::TabWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4Kleo9TabWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4Kleo9TabWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN4Kleo9TabWidgetE_t>.metaTypes,
    nullptr
} };

void Kleo::TabWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<TabWidget *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->viewAdded((*reinterpret_cast<std::add_pointer_t<QAbstractItemView*>>(_a[1]))); break;
        case 1: _t->viewAboutToBeRemoved((*reinterpret_cast<std::add_pointer_t<QAbstractItemView*>>(_a[1]))); break;
        case 2: _t->currentViewChanged((*reinterpret_cast<std::add_pointer_t<QAbstractItemView*>>(_a[1]))); break;
        case 3: _t->stringFilterChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 4: _t->keyFilterChanged((*reinterpret_cast<std::add_pointer_t<std::shared_ptr<Kleo::KeyFilter>>>(_a[1]))); break;
        case 5: _t->enableChangeStringFilter((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 6: _t->enableChangeKeyFilter((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 7: _t->setKeyFilter((*reinterpret_cast<std::add_pointer_t<std::shared_ptr<Kleo::KeyFilter>>>(_a[1]))); break;
        case 8: _t->setStringFilter((*reinterpret_cast<std::add_pointer_t<QString>>(_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< QAbstractItemView* >(); 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< QAbstractItemView* >(); 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< QAbstractItemView* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (TabWidget::*)(QAbstractItemView * )>(_a, &TabWidget::viewAdded, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (TabWidget::*)(QAbstractItemView * )>(_a, &TabWidget::viewAboutToBeRemoved, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (TabWidget::*)(QAbstractItemView * )>(_a, &TabWidget::currentViewChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (TabWidget::*)(const QString & )>(_a, &TabWidget::stringFilterChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (TabWidget::*)(const std::shared_ptr<Kleo::KeyFilter> & )>(_a, &TabWidget::keyFilterChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (TabWidget::*)(bool )>(_a, &TabWidget::enableChangeStringFilter, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (TabWidget::*)(bool )>(_a, &TabWidget::enableChangeKeyFilter, 6))
            return;
    }
}

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

void *Kleo::TabWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4Kleo9TabWidgetE_t>.strings))
        return static_cast<void*>(this);
    return QWidget::qt_metacast(_clname);
}

int Kleo::TabWidget::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 < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
    return _id;
}

// SIGNAL 0
void Kleo::TabWidget::viewAdded(QAbstractItemView * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void Kleo::TabWidget::viewAboutToBeRemoved(QAbstractItemView * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void Kleo::TabWidget::currentViewChanged(QAbstractItemView * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void Kleo::TabWidget::stringFilterChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void Kleo::TabWidget::keyFilterChanged(const std::shared_ptr<Kleo::KeyFilter> & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void Kleo::TabWidget::enableChangeStringFilter(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void Kleo::TabWidget::enableChangeKeyFilter(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}
QT_WARNING_POP
