/****************************************************************************
** Meta object code from reading C++ file 'kdatecombobox.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 "../../../../kwidgetsaddons-6.26.0/src/kdatecombobox.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 'kdatecombobox.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_ZN13KDateComboBoxE_t {};
} // unnamed namespace

template <> constexpr inline auto KDateComboBox::qt_create_metaobjectdata<qt_meta_tag_ZN13KDateComboBoxE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KDateComboBox",
        "dateEntered",
        "",
        "date",
        "dateChanged",
        "dateEdited",
        "setDate",
        "setOptions",
        "Options",
        "options",
        "setDisplayFormat",
        "QLocale::FormatType",
        "format",
        "setDateRange",
        "minDate",
        "maxDate",
        "minWarnMsg",
        "maxWarnMsg",
        "resetDateRange",
        "setMinimumDate",
        "resetMinimumDate",
        "setMaximumDate",
        "resetMaximumDate",
        "setDateMap",
        "QMap<QDate,QString>",
        "dateMap",
        "minimumDate",
        "maximumDate",
        "Option",
        "EditDate",
        "SelectDate",
        "DatePicker",
        "DateKeywords",
        "WarnOnInvalid"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'dateEntered'
        QtMocHelpers::SignalData<void(const QDate &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QDate, 3 },
        }}),
        // Signal 'dateChanged'
        QtMocHelpers::SignalData<void(const QDate &)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QDate, 3 },
        }}),
        // Signal 'dateEdited'
        QtMocHelpers::SignalData<void(const QDate &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QDate, 3 },
        }}),
        // Slot 'setDate'
        QtMocHelpers::SlotData<void(const QDate &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QDate, 3 },
        }}),
        // Slot 'setOptions'
        QtMocHelpers::SlotData<void(Options)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 },
        }}),
        // Slot 'setDisplayFormat'
        QtMocHelpers::SlotData<void(QLocale::FormatType)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 12 },
        }}),
        // Slot 'setDateRange'
        QtMocHelpers::SlotData<void(const QDate &, const QDate &, const QString &, const QString &)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QDate, 14 }, { QMetaType::QDate, 15 }, { QMetaType::QString, 16 }, { QMetaType::QString, 17 },
        }}),
        // Slot 'setDateRange'
        QtMocHelpers::SlotData<void(const QDate &, const QDate &, const QString &)>(13, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QDate, 14 }, { QMetaType::QDate, 15 }, { QMetaType::QString, 16 },
        }}),
        // Slot 'setDateRange'
        QtMocHelpers::SlotData<void(const QDate &, const QDate &)>(13, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QDate, 14 }, { QMetaType::QDate, 15 },
        }}),
        // Slot 'resetDateRange'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setMinimumDate'
        QtMocHelpers::SlotData<void(const QDate &, const QString &)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QDate, 14 }, { QMetaType::QString, 16 },
        }}),
        // Slot 'setMinimumDate'
        QtMocHelpers::SlotData<void(const QDate &)>(19, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QDate, 14 },
        }}),
        // Slot 'resetMinimumDate'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setMaximumDate'
        QtMocHelpers::SlotData<void(const QDate &, const QString &)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QDate, 15 }, { QMetaType::QString, 17 },
        }}),
        // Slot 'setMaximumDate'
        QtMocHelpers::SlotData<void(const QDate &)>(21, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QDate, 15 },
        }}),
        // Slot 'resetMaximumDate'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setDateMap'
        QtMocHelpers::SlotData<void(QMap<QDate,QString>)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 24, 25 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'date'
        QtMocHelpers::PropertyData<QDate>(3, QMetaType::QDate, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::User, 1),
        // property 'minimumDate'
        QtMocHelpers::PropertyData<QDate>(26, QMetaType::QDate, QMC::DefaultPropertyFlags | QMC::Writable | QMC::Resettable | QMC::StdCppSet),
        // property 'maximumDate'
        QtMocHelpers::PropertyData<QDate>(27, QMetaType::QDate, QMC::DefaultPropertyFlags | QMC::Writable | QMC::Resettable | QMC::StdCppSet),
        // property 'options'
        QtMocHelpers::PropertyData<Options>(9, 0x80000000 | 8, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
    };
    QtMocHelpers::UintData qt_enums {
        // flag 'Options'
        QtMocHelpers::EnumData<Options>(8, 28, QMC::EnumIsFlag).add({
            {   29, Option::EditDate },
            {   30, Option::SelectDate },
            {   31, Option::DatePicker },
            {   32, Option::DateKeywords },
            {   33, Option::WarnOnInvalid },
        }),
    };
    return QtMocHelpers::metaObjectData<KDateComboBox, qt_meta_tag_ZN13KDateComboBoxE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KDateComboBox::staticMetaObject = { {
    QMetaObject::SuperData::link<QComboBox::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13KDateComboBoxE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13KDateComboBoxE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13KDateComboBoxE_t>.metaTypes,
    nullptr
} };

void KDateComboBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<KDateComboBox *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->dateEntered((*reinterpret_cast<std::add_pointer_t<QDate>>(_a[1]))); break;
        case 1: _t->dateChanged((*reinterpret_cast<std::add_pointer_t<QDate>>(_a[1]))); break;
        case 2: _t->dateEdited((*reinterpret_cast<std::add_pointer_t<QDate>>(_a[1]))); break;
        case 3: _t->setDate((*reinterpret_cast<std::add_pointer_t<QDate>>(_a[1]))); break;
        case 4: _t->setOptions((*reinterpret_cast<std::add_pointer_t<Options>>(_a[1]))); break;
        case 5: _t->setDisplayFormat((*reinterpret_cast<std::add_pointer_t<QLocale::FormatType>>(_a[1]))); break;
        case 6: _t->setDateRange((*reinterpret_cast<std::add_pointer_t<QDate>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QDate>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4]))); break;
        case 7: _t->setDateRange((*reinterpret_cast<std::add_pointer_t<QDate>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QDate>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 8: _t->setDateRange((*reinterpret_cast<std::add_pointer_t<QDate>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QDate>>(_a[2]))); break;
        case 9: _t->resetDateRange(); break;
        case 10: _t->setMinimumDate((*reinterpret_cast<std::add_pointer_t<QDate>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 11: _t->setMinimumDate((*reinterpret_cast<std::add_pointer_t<QDate>>(_a[1]))); break;
        case 12: _t->resetMinimumDate(); break;
        case 13: _t->setMaximumDate((*reinterpret_cast<std::add_pointer_t<QDate>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 14: _t->setMaximumDate((*reinterpret_cast<std::add_pointer_t<QDate>>(_a[1]))); break;
        case 15: _t->resetMaximumDate(); break;
        case 16: _t->setDateMap((*reinterpret_cast<std::add_pointer_t<QMap<QDate,QString>>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (KDateComboBox::*)(const QDate & )>(_a, &KDateComboBox::dateEntered, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (KDateComboBox::*)(const QDate & )>(_a, &KDateComboBox::dateChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (KDateComboBox::*)(const QDate & )>(_a, &KDateComboBox::dateEdited, 2))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QDate*>(_v) = _t->date(); break;
        case 1: *reinterpret_cast<QDate*>(_v) = _t->minimumDate(); break;
        case 2: *reinterpret_cast<QDate*>(_v) = _t->maximumDate(); break;
        case 3: QtMocHelpers::assignFlags<Options>(_v, _t->options()); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setDate(*reinterpret_cast<QDate*>(_v)); break;
        case 1: _t->setMinimumDate(*reinterpret_cast<QDate*>(_v)); break;
        case 2: _t->setMaximumDate(*reinterpret_cast<QDate*>(_v)); break;
        case 3: _t->setOptions(*reinterpret_cast<Options*>(_v)); break;
        default: break;
        }
    }
    if (_c == QMetaObject::ResetProperty) {
        switch (_id) {
        case 1: _t->resetMinimumDate(); break;
        case 2: _t->resetMaximumDate(); break;
        default: break;
        }
    }
}

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

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

int KDateComboBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QComboBox::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 17)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 17;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
    return _id;
}

// SIGNAL 0
void KDateComboBox::dateEntered(const QDate & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void KDateComboBox::dateChanged(const QDate & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void KDateComboBox::dateEdited(const QDate & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}
QT_WARNING_POP
