/****************************************************************************
** Meta object code from reading C++ file 'ktimecombobox.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/ktimecombobox.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 'ktimecombobox.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_ZN13KTimeComboBoxE_t {};
} // unnamed namespace

template <> constexpr inline auto KTimeComboBox::qt_create_metaobjectdata<qt_meta_tag_ZN13KTimeComboBoxE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KTimeComboBox",
        "timeEntered",
        "",
        "time",
        "timeChanged",
        "timeEdited",
        "setTime",
        "setOptions",
        "Options",
        "options",
        "setDisplayFormat",
        "QLocale::FormatType",
        "format",
        "setMinimumTime",
        "minTime",
        "minWarnMsg",
        "setMaximumTime",
        "maxTime",
        "maxWarnMsg",
        "setTimeListInterval",
        "minutes",
        "setTimeList",
        "QList<QTime>",
        "timeList",
        "minimumTime",
        "maximumTime",
        "timeListInterval",
        "Option",
        "EditTime",
        "SelectTime",
        "ForceTime",
        "WarnOnInvalid"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'timeEntered'
        QtMocHelpers::SignalData<void(const QTime &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QTime, 3 },
        }}),
        // Signal 'timeChanged'
        QtMocHelpers::SignalData<void(const QTime &)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QTime, 3 },
        }}),
        // Signal 'timeEdited'
        QtMocHelpers::SignalData<void(const QTime &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QTime, 3 },
        }}),
        // Slot 'setTime'
        QtMocHelpers::SlotData<void(const QTime &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QTime, 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 'setMinimumTime'
        QtMocHelpers::SlotData<void(const QTime &, const QString &)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QTime, 14 }, { QMetaType::QString, 15 },
        }}),
        // Slot 'setMinimumTime'
        QtMocHelpers::SlotData<void(const QTime &)>(13, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QTime, 14 },
        }}),
        // Slot 'setMaximumTime'
        QtMocHelpers::SlotData<void(const QTime &, const QString &)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QTime, 17 }, { QMetaType::QString, 18 },
        }}),
        // Slot 'setMaximumTime'
        QtMocHelpers::SlotData<void(const QTime &)>(16, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QTime, 17 },
        }}),
        // Slot 'setTimeListInterval'
        QtMocHelpers::SlotData<void(int)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 20 },
        }}),
        // Slot 'setTimeList'
        QtMocHelpers::SlotData<void(QList<QTime>, const QString &, const QString &)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 22, 23 }, { QMetaType::QString, 15 }, { QMetaType::QString, 18 },
        }}),
        // Slot 'setTimeList'
        QtMocHelpers::SlotData<void(QList<QTime>, const QString &)>(21, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 22, 23 }, { QMetaType::QString, 15 },
        }}),
        // Slot 'setTimeList'
        QtMocHelpers::SlotData<void(QList<QTime>)>(21, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 22, 23 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'time'
        QtMocHelpers::PropertyData<QTime>(3, QMetaType::QTime, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::User, 1),
        // property 'minimumTime'
        QtMocHelpers::PropertyData<QTime>(24, QMetaType::QTime, QMC::DefaultPropertyFlags | QMC::Writable | QMC::Resettable | QMC::StdCppSet),
        // property 'maximumTime'
        QtMocHelpers::PropertyData<QTime>(25, QMetaType::QTime, QMC::DefaultPropertyFlags | QMC::Writable | QMC::Resettable | QMC::StdCppSet),
        // property 'timeListInterval'
        QtMocHelpers::PropertyData<int>(26, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | 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, 27, QMC::EnumIsFlag).add({
            {   28, Option::EditTime },
            {   29, Option::SelectTime },
            {   30, Option::ForceTime },
            {   31, Option::WarnOnInvalid },
        }),
    };
    return QtMocHelpers::metaObjectData<KTimeComboBox, qt_meta_tag_ZN13KTimeComboBoxE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KTimeComboBox::staticMetaObject = { {
    QMetaObject::SuperData::link<QComboBox::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13KTimeComboBoxE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13KTimeComboBoxE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13KTimeComboBoxE_t>.metaTypes,
    nullptr
} };

void KTimeComboBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<KTimeComboBox *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->timeEntered((*reinterpret_cast<std::add_pointer_t<QTime>>(_a[1]))); break;
        case 1: _t->timeChanged((*reinterpret_cast<std::add_pointer_t<QTime>>(_a[1]))); break;
        case 2: _t->timeEdited((*reinterpret_cast<std::add_pointer_t<QTime>>(_a[1]))); break;
        case 3: _t->setTime((*reinterpret_cast<std::add_pointer_t<QTime>>(_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->setMinimumTime((*reinterpret_cast<std::add_pointer_t<QTime>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 7: _t->setMinimumTime((*reinterpret_cast<std::add_pointer_t<QTime>>(_a[1]))); break;
        case 8: _t->setMaximumTime((*reinterpret_cast<std::add_pointer_t<QTime>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 9: _t->setMaximumTime((*reinterpret_cast<std::add_pointer_t<QTime>>(_a[1]))); break;
        case 10: _t->setTimeListInterval((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 11: _t->setTimeList((*reinterpret_cast<std::add_pointer_t<QList<QTime>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 12: _t->setTimeList((*reinterpret_cast<std::add_pointer_t<QList<QTime>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 13: _t->setTimeList((*reinterpret_cast<std::add_pointer_t<QList<QTime>>>(_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<QTime> >(); break;
            }
            break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<QTime> >(); break;
            }
            break;
        case 13:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<QTime> >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (KTimeComboBox::*)(const QTime & )>(_a, &KTimeComboBox::timeEntered, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (KTimeComboBox::*)(const QTime & )>(_a, &KTimeComboBox::timeChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (KTimeComboBox::*)(const QTime & )>(_a, &KTimeComboBox::timeEdited, 2))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QTime*>(_v) = _t->time(); break;
        case 1: *reinterpret_cast<QTime*>(_v) = _t->minimumTime(); break;
        case 2: *reinterpret_cast<QTime*>(_v) = _t->maximumTime(); break;
        case 3: *reinterpret_cast<int*>(_v) = _t->timeListInterval(); break;
        case 4: QtMocHelpers::assignFlags<Options>(_v, _t->options()); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setTime(*reinterpret_cast<QTime*>(_v)); break;
        case 1: _t->setMinimumTime(*reinterpret_cast<QTime*>(_v)); break;
        case 2: _t->setMaximumTime(*reinterpret_cast<QTime*>(_v)); break;
        case 3: _t->setTimeListInterval(*reinterpret_cast<int*>(_v)); break;
        case 4: _t->setOptions(*reinterpret_cast<Options*>(_v)); break;
        default: break;
        }
    }
    if (_c == QMetaObject::ResetProperty) {
        switch (_id) {
        case 1: _t->resetMinimumTime(); break;
        case 2: _t->resetMaximumTime(); break;
        default: break;
        }
    }
}

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

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

int KTimeComboBox::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 < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
    return _id;
}

// SIGNAL 0
void KTimeComboBox::timeEntered(const QTime & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void KTimeComboBox::timeChanged(const QTime & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void KTimeComboBox::timeEdited(const QTime & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}
QT_WARNING_POP
