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

#include <memory>
#include "../../../../kwidgetsaddons-5.116.0/src/ktimecombobox.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'ktimecombobox.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.17. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_KTimeComboBox_t {
    QByteArrayData data[32];
    char stringdata0[356];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KTimeComboBox_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KTimeComboBox_t qt_meta_stringdata_KTimeComboBox = {
    {
QT_MOC_LITERAL(0, 0, 13), // "KTimeComboBox"
QT_MOC_LITERAL(1, 14, 11), // "timeEntered"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 4), // "time"
QT_MOC_LITERAL(4, 32, 11), // "timeChanged"
QT_MOC_LITERAL(5, 44, 10), // "timeEdited"
QT_MOC_LITERAL(6, 55, 7), // "setTime"
QT_MOC_LITERAL(7, 63, 10), // "setOptions"
QT_MOC_LITERAL(8, 74, 7), // "Options"
QT_MOC_LITERAL(9, 82, 7), // "options"
QT_MOC_LITERAL(10, 90, 16), // "setDisplayFormat"
QT_MOC_LITERAL(11, 107, 19), // "QLocale::FormatType"
QT_MOC_LITERAL(12, 127, 6), // "format"
QT_MOC_LITERAL(13, 134, 14), // "setMinimumTime"
QT_MOC_LITERAL(14, 149, 7), // "minTime"
QT_MOC_LITERAL(15, 157, 10), // "minWarnMsg"
QT_MOC_LITERAL(16, 168, 14), // "setMaximumTime"
QT_MOC_LITERAL(17, 183, 7), // "maxTime"
QT_MOC_LITERAL(18, 191, 10), // "maxWarnMsg"
QT_MOC_LITERAL(19, 202, 19), // "setTimeListInterval"
QT_MOC_LITERAL(20, 222, 7), // "minutes"
QT_MOC_LITERAL(21, 230, 11), // "setTimeList"
QT_MOC_LITERAL(22, 242, 12), // "QList<QTime>"
QT_MOC_LITERAL(23, 255, 8), // "timeList"
QT_MOC_LITERAL(24, 264, 11), // "minimumTime"
QT_MOC_LITERAL(25, 276, 11), // "maximumTime"
QT_MOC_LITERAL(26, 288, 16), // "timeListInterval"
QT_MOC_LITERAL(27, 305, 6), // "Option"
QT_MOC_LITERAL(28, 312, 8), // "EditTime"
QT_MOC_LITERAL(29, 321, 10), // "SelectTime"
QT_MOC_LITERAL(30, 332, 9), // "ForceTime"
QT_MOC_LITERAL(31, 342, 13) // "WarnOnInvalid"

    },
    "KTimeComboBox\0timeEntered\0\0time\0"
    "timeChanged\0timeEdited\0setTime\0"
    "setOptions\0Options\0options\0setDisplayFormat\0"
    "QLocale::FormatType\0format\0setMinimumTime\0"
    "minTime\0minWarnMsg\0setMaximumTime\0"
    "maxTime\0maxWarnMsg\0setTimeListInterval\0"
    "minutes\0setTimeList\0QList<QTime>\0"
    "timeList\0minimumTime\0maximumTime\0"
    "timeListInterval\0Option\0EditTime\0"
    "SelectTime\0ForceTime\0WarnOnInvalid"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KTimeComboBox[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      14,   14, // methods
       5,  136, // properties
       1,  156, // enums/sets
       0,    0, // constructors
       0,       // flags
       3,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   84,    2, 0x06 /* Public */,
       4,    1,   87,    2, 0x06 /* Public */,
       5,    1,   90,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,   93,    2, 0x0a /* Public */,
       7,    1,   96,    2, 0x0a /* Public */,
      10,    1,   99,    2, 0x0a /* Public */,
      13,    2,  102,    2, 0x0a /* Public */,
      13,    1,  107,    2, 0x2a /* Public | MethodCloned */,
      16,    2,  110,    2, 0x0a /* Public */,
      16,    1,  115,    2, 0x2a /* Public | MethodCloned */,
      19,    1,  118,    2, 0x0a /* Public */,
      21,    3,  121,    2, 0x0a /* Public */,
      21,    2,  128,    2, 0x2a /* Public | MethodCloned */,
      21,    1,  133,    2, 0x2a /* Public | MethodCloned */,

 // signals: parameters
    QMetaType::Void, QMetaType::QTime,    3,
    QMetaType::Void, QMetaType::QTime,    3,
    QMetaType::Void, QMetaType::QTime,    3,

 // slots: parameters
    QMetaType::Void, QMetaType::QTime,    3,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, QMetaType::QTime, QMetaType::QString,   14,   15,
    QMetaType::Void, QMetaType::QTime,   14,
    QMetaType::Void, QMetaType::QTime, QMetaType::QString,   17,   18,
    QMetaType::Void, QMetaType::QTime,   17,
    QMetaType::Void, QMetaType::Int,   20,
    QMetaType::Void, 0x80000000 | 22, QMetaType::QString, QMetaType::QString,   23,   15,   18,
    QMetaType::Void, 0x80000000 | 22, QMetaType::QString,   23,   15,
    QMetaType::Void, 0x80000000 | 22,   23,

 // properties: name, type, flags
       3, QMetaType::QTime, 0x00595103,
      24, QMetaType::QTime, 0x00095107,
      25, QMetaType::QTime, 0x00095107,
      26, QMetaType::Int, 0x00095103,
       9, 0x80000000 | 8, 0x0009510b,

 // properties: notify_signal_id
       1,
       0,
       0,
       0,
       0,

 // enums: name, alias, flags, count, data
       8,   27, 0x1,    4,  161,

 // enum data: key, value
      28, uint(KTimeComboBox::EditTime),
      29, uint(KTimeComboBox::SelectTime),
      30, uint(KTimeComboBox::ForceTime),
      31, uint(KTimeComboBox::WarnOnInvalid),

       0        // eod
};

void KTimeComboBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<KTimeComboBox *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->timeEntered((*reinterpret_cast< const QTime(*)>(_a[1]))); break;
        case 1: _t->timeChanged((*reinterpret_cast< const QTime(*)>(_a[1]))); break;
        case 2: _t->timeEdited((*reinterpret_cast< const QTime(*)>(_a[1]))); break;
        case 3: _t->setTime((*reinterpret_cast< const QTime(*)>(_a[1]))); break;
        case 4: _t->setOptions((*reinterpret_cast< Options(*)>(_a[1]))); break;
        case 5: _t->setDisplayFormat((*reinterpret_cast< QLocale::FormatType(*)>(_a[1]))); break;
        case 6: _t->setMinimumTime((*reinterpret_cast< const QTime(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 7: _t->setMinimumTime((*reinterpret_cast< const QTime(*)>(_a[1]))); break;
        case 8: _t->setMaximumTime((*reinterpret_cast< const QTime(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 9: _t->setMaximumTime((*reinterpret_cast< const QTime(*)>(_a[1]))); break;
        case 10: _t->setTimeListInterval((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->setTimeList((*reinterpret_cast< QList<QTime>(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 12: _t->setTimeList((*reinterpret_cast< QList<QTime>(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 13: _t->setTimeList((*reinterpret_cast< QList<QTime>(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QTime> >(); break;
            }
            break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QTime> >(); break;
            }
            break;
        case 13:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QTime> >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (KTimeComboBox::*)(const QTime & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KTimeComboBox::timeEntered)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (KTimeComboBox::*)(const QTime & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KTimeComboBox::timeChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (KTimeComboBox::*)(const QTime & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KTimeComboBox::timeEdited)) {
                *result = 2;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<KTimeComboBox *>(_o);
        (void)_t;
        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: *reinterpret_cast<int*>(_v) = QFlag(_t->options()); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<KTimeComboBox *>(_o);
        (void)_t;
        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(QFlag(*reinterpret_cast<int*>(_v))); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
        KTimeComboBox *_t = static_cast<KTimeComboBox *>(_o);
        (void)_t;
        switch (_id) {
        case 1: _t->resetMinimumTime(); break;
        case 2: _t->resetMaximumTime(); break;
        default: break;
        }
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject KTimeComboBox::staticMetaObject = { {
    QMetaObject::SuperData::link<QComboBox::staticMetaObject>(),
    qt_meta_stringdata_KTimeComboBox.data,
    qt_meta_data_KTimeComboBox,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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_meta_stringdata_KTimeComboBox.stringdata0))
        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;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 5;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void KTimeComboBox::timeEntered(const QTime & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KTimeComboBox::timeChanged(const QTime & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KTimeComboBox::timeEdited(const QTime & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
