/****************************************************************************
** Meta object code from reading C++ file 'Filters.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 "plugins/CopyEngine/Ultracopier-Spec/Filters.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 'Filters.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_ZN7FiltersE_t {};
} // unnamed namespace

template <> constexpr inline auto Filters::qt_create_metaobjectdata<qt_meta_tag_ZN7FiltersE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Filters",
        "sendNewFilters",
        "",
        "std::vector<std::string>",
        "includeStrings",
        "includeOptions",
        "excludeStrings",
        "excludeOptions",
        "haveNewFilters",
        "on_remove_exclusion_clicked",
        "on_remove_inclusion_clicked",
        "on_add_exclusion_clicked",
        "on_buttonBox_clicked",
        "QAbstractButton*",
        "button",
        "on_add_inclusion_clicked",
        "on_edit_exclusion_clicked",
        "on_edit_inclusion_clicked"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'sendNewFilters'
        QtMocHelpers::SignalData<void(const std::vector<std::string> &, const std::vector<std::string> &, const std::vector<std::string> &, const std::vector<std::string> &) const>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { 0x80000000 | 3, 5 }, { 0x80000000 | 3, 6 }, { 0x80000000 | 3, 7 },
        }}),
        // Signal 'haveNewFilters'
        QtMocHelpers::SignalData<void() const>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'on_remove_exclusion_clicked'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_remove_inclusion_clicked'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_add_exclusion_clicked'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_buttonBox_clicked'
        QtMocHelpers::SlotData<void(QAbstractButton *)>(12, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 13, 14 },
        }}),
        // Slot 'on_add_inclusion_clicked'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_edit_exclusion_clicked'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_edit_inclusion_clicked'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Filters, qt_meta_tag_ZN7FiltersE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Filters::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7FiltersE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7FiltersE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN7FiltersE_t>.metaTypes,
    nullptr
} };

void Filters::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Filters *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->sendNewFilters((*reinterpret_cast<std::add_pointer_t<std::vector<std::string>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::vector<std::string>>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<std::vector<std::string>>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<std::vector<std::string>>>(_a[4]))); break;
        case 1: _t->haveNewFilters(); break;
        case 2: _t->on_remove_exclusion_clicked(); break;
        case 3: _t->on_remove_inclusion_clicked(); break;
        case 4: _t->on_add_exclusion_clicked(); break;
        case 5: _t->on_buttonBox_clicked((*reinterpret_cast<std::add_pointer_t<QAbstractButton*>>(_a[1]))); break;
        case 6: _t->on_add_inclusion_clicked(); break;
        case 7: _t->on_edit_exclusion_clicked(); break;
        case 8: _t->on_edit_inclusion_clicked(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAbstractButton* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Filters::*)(const std::vector<std::string> & , const std::vector<std::string> & , const std::vector<std::string> & , const std::vector<std::string> & ) const>(_a, &Filters::sendNewFilters, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (Filters::*)() const>(_a, &Filters::haveNewFilters, 1))
            return;
    }
}

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

void *Filters::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7FiltersE_t>.strings))
        return static_cast<void*>(this);
    return QDialog::qt_metacast(_clname);
}

int Filters::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDialog::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 Filters::sendNewFilters(const std::vector<std::string> & _t1, const std::vector<std::string> & _t2, const std::vector<std::string> & _t3, const std::vector<std::string> & _t4)const
{
    QMetaObject::activate<void>(const_cast< Filters *>(this), &staticMetaObject, 0, nullptr, _t1, _t2, _t3, _t4);
}

// SIGNAL 1
void Filters::haveNewFilters()const
{
    QMetaObject::activate(const_cast< Filters *>(this), &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
