/****************************************************************************
** Meta object code from reading C++ file 'abstractnotesprovider.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 "../../../../buho-4.0.2/src/providers/abstractnotesprovider.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 'abstractnotesprovider.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_ZN21AbstractNotesProviderE_t {};
} // unnamed namespace

template <> constexpr inline auto AbstractNotesProvider::qt_create_metaobjectdata<qt_meta_tag_ZN21AbstractNotesProviderE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "AbstractNotesProvider",
        "noteReady",
        "",
        "FMH::MODEL",
        "note",
        "bookletReady",
        "booklet",
        "notesReady",
        "FMH::MODEL_LIST",
        "notes",
        "bookletsReady",
        "booklets",
        "noteInserted",
        "bookletInserted",
        "noteUpdated",
        "bookletUpdated",
        "noteRemoved",
        "bookletRemoved",
        "responseReady",
        "array",
        "responseError"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'noteReady'
        QtMocHelpers::SignalData<void(FMH::MODEL)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'bookletReady'
        QtMocHelpers::SignalData<void(FMH::MODEL)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 6 },
        }}),
        // Signal 'notesReady'
        QtMocHelpers::SignalData<void(FMH::MODEL_LIST)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 },
        }}),
        // Signal 'bookletsReady'
        QtMocHelpers::SignalData<void(FMH::MODEL_LIST)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 11 },
        }}),
        // Signal 'noteInserted'
        QtMocHelpers::SignalData<void(FMH::MODEL)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'bookletInserted'
        QtMocHelpers::SignalData<void(FMH::MODEL)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 6 },
        }}),
        // Signal 'noteUpdated'
        QtMocHelpers::SignalData<void(FMH::MODEL)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'bookletUpdated'
        QtMocHelpers::SignalData<void(FMH::MODEL)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 6 },
        }}),
        // Signal 'noteRemoved'
        QtMocHelpers::SignalData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'bookletRemoved'
        QtMocHelpers::SignalData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'responseReady'
        QtMocHelpers::SignalData<void(QByteArray)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QByteArray, 19 },
        }}),
        // Signal 'responseError'
        QtMocHelpers::SignalData<void(QString)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<AbstractNotesProvider, qt_meta_tag_ZN21AbstractNotesProviderE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject AbstractNotesProvider::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN21AbstractNotesProviderE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN21AbstractNotesProviderE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN21AbstractNotesProviderE_t>.metaTypes,
    nullptr
} };

void AbstractNotesProvider::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<AbstractNotesProvider *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->noteReady((*reinterpret_cast<std::add_pointer_t<FMH::MODEL>>(_a[1]))); break;
        case 1: _t->bookletReady((*reinterpret_cast<std::add_pointer_t<FMH::MODEL>>(_a[1]))); break;
        case 2: _t->notesReady((*reinterpret_cast<std::add_pointer_t<FMH::MODEL_LIST>>(_a[1]))); break;
        case 3: _t->bookletsReady((*reinterpret_cast<std::add_pointer_t<FMH::MODEL_LIST>>(_a[1]))); break;
        case 4: _t->noteInserted((*reinterpret_cast<std::add_pointer_t<FMH::MODEL>>(_a[1]))); break;
        case 5: _t->bookletInserted((*reinterpret_cast<std::add_pointer_t<FMH::MODEL>>(_a[1]))); break;
        case 6: _t->noteUpdated((*reinterpret_cast<std::add_pointer_t<FMH::MODEL>>(_a[1]))); break;
        case 7: _t->bookletUpdated((*reinterpret_cast<std::add_pointer_t<FMH::MODEL>>(_a[1]))); break;
        case 8: _t->noteRemoved(); break;
        case 9: _t->bookletRemoved(); break;
        case 10: _t->responseReady((*reinterpret_cast<std::add_pointer_t<QByteArray>>(_a[1]))); break;
        case 11: _t->responseError((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (AbstractNotesProvider::*)(FMH::MODEL )>(_a, &AbstractNotesProvider::noteReady, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractNotesProvider::*)(FMH::MODEL )>(_a, &AbstractNotesProvider::bookletReady, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractNotesProvider::*)(FMH::MODEL_LIST )>(_a, &AbstractNotesProvider::notesReady, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractNotesProvider::*)(FMH::MODEL_LIST )>(_a, &AbstractNotesProvider::bookletsReady, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractNotesProvider::*)(FMH::MODEL )>(_a, &AbstractNotesProvider::noteInserted, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractNotesProvider::*)(FMH::MODEL )>(_a, &AbstractNotesProvider::bookletInserted, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractNotesProvider::*)(FMH::MODEL )>(_a, &AbstractNotesProvider::noteUpdated, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractNotesProvider::*)(FMH::MODEL )>(_a, &AbstractNotesProvider::bookletUpdated, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractNotesProvider::*)()>(_a, &AbstractNotesProvider::noteRemoved, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractNotesProvider::*)()>(_a, &AbstractNotesProvider::bookletRemoved, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractNotesProvider::*)(QByteArray )>(_a, &AbstractNotesProvider::responseReady, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractNotesProvider::*)(QString )>(_a, &AbstractNotesProvider::responseError, 11))
            return;
    }
}

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

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

int AbstractNotesProvider::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 12;
    }
    return _id;
}

// SIGNAL 0
void AbstractNotesProvider::noteReady(FMH::MODEL _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void AbstractNotesProvider::bookletReady(FMH::MODEL _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void AbstractNotesProvider::notesReady(FMH::MODEL_LIST _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void AbstractNotesProvider::bookletsReady(FMH::MODEL_LIST _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void AbstractNotesProvider::noteInserted(FMH::MODEL _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void AbstractNotesProvider::bookletInserted(FMH::MODEL _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void AbstractNotesProvider::noteUpdated(FMH::MODEL _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void AbstractNotesProvider::bookletUpdated(FMH::MODEL _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

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

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

// SIGNAL 10
void AbstractNotesProvider::responseReady(QByteArray _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 10, nullptr, _t1);
}

// SIGNAL 11
void AbstractNotesProvider::responseError(QString _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 11, nullptr, _t1);
}
QT_WARNING_POP
