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

#include "../../../../alkimia-8.2.1/src/alkonlinequote.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 'alkonlinequote.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.9.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_ZN14AlkOnlineQuoteE_t {};
} // unnamed namespace

template <> constexpr inline auto AlkOnlineQuote::qt_create_metaobjectdata<qt_meta_tag_ZN14AlkOnlineQuoteE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "AlkOnlineQuote",
        "quote",
        "",
        "id",
        "symbol",
        "date",
        "price",
        "quotes",
        "AlkDatePriceMap",
        "prices",
        "failed",
        "status",
        "s",
        "error",
        "dataRangeChanged",
        "from",
        "to",
        "launch",
        "_symbol",
        "_id",
        "_source",
        "errors"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'quote'
        QtMocHelpers::SignalData<void(QString, QString, QDate, double)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 4 }, { QMetaType::QDate, 5 }, { QMetaType::Double, 6 },
        }}),
        // Signal 'quotes'
        QtMocHelpers::SignalData<void(const QString &, const QString &, const AlkDatePriceMap &)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 4 }, { 0x80000000 | 8, 9 },
        }}),
        // Signal 'failed'
        QtMocHelpers::SignalData<void(QString, QString)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 4 },
        }}),
        // Signal 'status'
        QtMocHelpers::SignalData<void(QString)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 12 },
        }}),
        // Signal 'error'
        QtMocHelpers::SignalData<void(QString)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 12 },
        }}),
        // Signal 'dataRangeChanged'
        QtMocHelpers::SignalData<void(const QDate &, const QDate &)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QDate, 15 }, { QMetaType::QDate, 16 },
        }}),
        // Slot 'launch'
        QtMocHelpers::SlotData<bool(const QString &, const QString &, const QString &)>(17, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 18 }, { QMetaType::QString, 19 }, { QMetaType::QString, 20 },
        }}),
        // Slot 'launch'
        QtMocHelpers::SlotData<bool(const QString &, const QString &)>(17, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Bool, {{
            { QMetaType::QString, 18 }, { QMetaType::QString, 19 },
        }}),
        // Slot 'errors'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<AlkOnlineQuote, qt_meta_tag_ZN14AlkOnlineQuoteE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject AlkOnlineQuote::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14AlkOnlineQuoteE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14AlkOnlineQuoteE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN14AlkOnlineQuoteE_t>.metaTypes,
    nullptr
} };

void AlkOnlineQuote::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<AlkOnlineQuote *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->quote((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast< std::add_pointer_t<QDate>>(_a[3])),(*reinterpret_cast< std::add_pointer_t<double>>(_a[4]))); break;
        case 1: _t->quotes((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast< std::add_pointer_t<AlkDatePriceMap>>(_a[3]))); break;
        case 2: _t->failed((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QString>>(_a[2]))); break;
        case 3: _t->status((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
        case 4: _t->error((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
        case 5: _t->dataRangeChanged((*reinterpret_cast< std::add_pointer_t<QDate>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QDate>>(_a[2]))); break;
        case 6: { bool _r = _t->launch((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast< std::add_pointer_t<QString>>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 7: { bool _r = _t->launch((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QString>>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 8: _t->errors(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (AlkOnlineQuote::*)(QString , QString , QDate , double )>(_a, &AlkOnlineQuote::quote, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (AlkOnlineQuote::*)(const QString & , const QString & , const AlkDatePriceMap & )>(_a, &AlkOnlineQuote::quotes, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (AlkOnlineQuote::*)(QString , QString )>(_a, &AlkOnlineQuote::failed, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (AlkOnlineQuote::*)(QString )>(_a, &AlkOnlineQuote::status, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (AlkOnlineQuote::*)(QString )>(_a, &AlkOnlineQuote::error, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (AlkOnlineQuote::*)(const QDate & , const QDate & )>(_a, &AlkOnlineQuote::dataRangeChanged, 5))
            return;
    }
}

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

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

int AlkOnlineQuote::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 < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 9;
    }
    return _id;
}

// SIGNAL 0
void AlkOnlineQuote::quote(QString _t1, QString _t2, QDate _t3, double _t4)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2, _t3, _t4);
}

// SIGNAL 1
void AlkOnlineQuote::quotes(const QString & _t1, const QString & _t2, const AlkDatePriceMap & _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2, _t3);
}

// SIGNAL 2
void AlkOnlineQuote::failed(QString _t1, QString _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2);
}

// SIGNAL 3
void AlkOnlineQuote::status(QString _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void AlkOnlineQuote::error(QString _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void AlkOnlineQuote::dataRangeChanged(const QDate & _t1, const QDate & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2);
}
QT_WARNING_POP
