/****************************************************************************
** Meta object code from reading C++ file 'Navbar.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 "../../../../../../src/ui/main/Navbar.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 'Navbar.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_ZN6NavbarE_t {};
} // unnamed namespace

template <> constexpr inline auto Navbar::qt_create_metaobjectdata<qt_meta_tag_ZN6NavbarE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Navbar",
        "sigSearch",
        "",
        "sigSave",
        "sigSaveAll",
        "sigReload",
        "sigRename",
        "sigSettings",
        "sigSync",
        "sigExport",
        "sigCsvExport",
        "sigAbout",
        "sigLike",
        "sigFilterChanged",
        "QList<Filter*>",
        "setActiveWidget",
        "MainWidgets",
        "widget",
        "setFilterWidgetEnabled",
        "enabled",
        "onDonated",
        "donated"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'sigSearch'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sigSave'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sigSaveAll'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sigReload'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sigRename'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sigSettings'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sigSync'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sigExport'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sigCsvExport'
        QtMocHelpers::SignalData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sigAbout'
        QtMocHelpers::SignalData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sigLike'
        QtMocHelpers::SignalData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sigFilterChanged'
        QtMocHelpers::SignalData<void(QVector<Filter*>, QString)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 14, 2 }, { QMetaType::QString, 2 },
        }}),
        // Slot 'setActiveWidget'
        QtMocHelpers::SlotData<void(MainWidgets)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 16, 17 },
        }}),
        // Slot 'setFilterWidgetEnabled'
        QtMocHelpers::SlotData<void(bool)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 19 },
        }}),
        // Slot 'onDonated'
        QtMocHelpers::SlotData<void(bool)>(20, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 21 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Navbar, qt_meta_tag_ZN6NavbarE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Navbar::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6NavbarE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6NavbarE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN6NavbarE_t>.metaTypes,
    nullptr
} };

void Navbar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Navbar *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->sigSearch(); break;
        case 1: _t->sigSave(); break;
        case 2: _t->sigSaveAll(); break;
        case 3: _t->sigReload(); break;
        case 4: _t->sigRename(); break;
        case 5: _t->sigSettings(); break;
        case 6: _t->sigSync(); break;
        case 7: _t->sigExport(); break;
        case 8: _t->sigCsvExport(); break;
        case 9: _t->sigAbout(); break;
        case 10: _t->sigLike(); break;
        case 11: _t->sigFilterChanged((*reinterpret_cast<std::add_pointer_t<QList<Filter*>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 12: _t->setActiveWidget((*reinterpret_cast<std::add_pointer_t<MainWidgets>>(_a[1]))); break;
        case 13: _t->setFilterWidgetEnabled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 14: _t->onDonated((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); 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< QList<Filter*> >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Navbar::*)()>(_a, &Navbar::sigSearch, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (Navbar::*)()>(_a, &Navbar::sigSave, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (Navbar::*)()>(_a, &Navbar::sigSaveAll, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (Navbar::*)()>(_a, &Navbar::sigReload, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (Navbar::*)()>(_a, &Navbar::sigRename, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (Navbar::*)()>(_a, &Navbar::sigSettings, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (Navbar::*)()>(_a, &Navbar::sigSync, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (Navbar::*)()>(_a, &Navbar::sigExport, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (Navbar::*)()>(_a, &Navbar::sigCsvExport, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (Navbar::*)()>(_a, &Navbar::sigAbout, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (Navbar::*)()>(_a, &Navbar::sigLike, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (Navbar::*)(QVector<Filter*> , QString )>(_a, &Navbar::sigFilterChanged, 11))
            return;
    }
}

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

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

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

// SIGNAL 0
void Navbar::sigSearch()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void Navbar::sigSave()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void Navbar::sigSaveAll()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void Navbar::sigReload()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void Navbar::sigRename()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void Navbar::sigSettings()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void Navbar::sigSync()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void Navbar::sigExport()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void Navbar::sigCsvExport()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void Navbar::sigAbout()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void Navbar::sigLike()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void Navbar::sigFilterChanged(QVector<Filter*> _t1, QString _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 11, nullptr, _t1, _t2);
}
QT_WARNING_POP
