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

#include "../../src/kwidgetsaddons-5.43.0/src/kdatecombobox.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kdatecombobox.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_KDateComboBox_t {
    QByteArrayData data[33];
    char stringdata0[385];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KDateComboBox_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KDateComboBox_t qt_meta_stringdata_KDateComboBox = {
    {
QT_MOC_LITERAL(0, 0, 13), // "KDateComboBox"
QT_MOC_LITERAL(1, 14, 11), // "dateEntered"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 4), // "date"
QT_MOC_LITERAL(4, 32, 11), // "dateChanged"
QT_MOC_LITERAL(5, 44, 10), // "dateEdited"
QT_MOC_LITERAL(6, 55, 7), // "setDate"
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, 12), // "setDateRange"
QT_MOC_LITERAL(14, 147, 7), // "minDate"
QT_MOC_LITERAL(15, 155, 7), // "maxDate"
QT_MOC_LITERAL(16, 163, 10), // "minWarnMsg"
QT_MOC_LITERAL(17, 174, 10), // "maxWarnMsg"
QT_MOC_LITERAL(18, 185, 14), // "resetDateRange"
QT_MOC_LITERAL(19, 200, 14), // "setMinimumDate"
QT_MOC_LITERAL(20, 215, 16), // "resetMinimumDate"
QT_MOC_LITERAL(21, 232, 14), // "setMaximumDate"
QT_MOC_LITERAL(22, 247, 16), // "resetMaximumDate"
QT_MOC_LITERAL(23, 264, 10), // "setDateMap"
QT_MOC_LITERAL(24, 275, 19), // "QMap<QDate,QString>"
QT_MOC_LITERAL(25, 295, 7), // "dateMap"
QT_MOC_LITERAL(26, 303, 11), // "minimumDate"
QT_MOC_LITERAL(27, 315, 11), // "maximumDate"
QT_MOC_LITERAL(28, 327, 8), // "EditDate"
QT_MOC_LITERAL(29, 336, 10), // "SelectDate"
QT_MOC_LITERAL(30, 347, 10), // "DatePicker"
QT_MOC_LITERAL(31, 358, 12), // "DateKeywords"
QT_MOC_LITERAL(32, 371, 13) // "WarnOnInvalid"

    },
    "KDateComboBox\0dateEntered\0\0date\0"
    "dateChanged\0dateEdited\0setDate\0"
    "setOptions\0Options\0options\0setDisplayFormat\0"
    "QLocale::FormatType\0format\0setDateRange\0"
    "minDate\0maxDate\0minWarnMsg\0maxWarnMsg\0"
    "resetDateRange\0setMinimumDate\0"
    "resetMinimumDate\0setMaximumDate\0"
    "resetMaximumDate\0setDateMap\0"
    "QMap<QDate,QString>\0dateMap\0minimumDate\0"
    "maximumDate\0EditDate\0SelectDate\0"
    "DatePicker\0DateKeywords\0WarnOnInvalid"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KDateComboBox[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      17,   14, // methods
       4,  160, // properties
       1,  176, // enums/sets
       0,    0, // constructors
       0,       // flags
       3,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   99,    2, 0x06 /* Public */,
       4,    1,  102,    2, 0x06 /* Public */,
       5,    1,  105,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,  108,    2, 0x0a /* Public */,
       7,    1,  111,    2, 0x0a /* Public */,
      10,    1,  114,    2, 0x0a /* Public */,
      13,    4,  117,    2, 0x0a /* Public */,
      13,    3,  126,    2, 0x2a /* Public | MethodCloned */,
      13,    2,  133,    2, 0x2a /* Public | MethodCloned */,
      18,    0,  138,    2, 0x0a /* Public */,
      19,    2,  139,    2, 0x0a /* Public */,
      19,    1,  144,    2, 0x2a /* Public | MethodCloned */,
      20,    0,  147,    2, 0x0a /* Public */,
      21,    2,  148,    2, 0x0a /* Public */,
      21,    1,  153,    2, 0x2a /* Public | MethodCloned */,
      22,    0,  156,    2, 0x0a /* Public */,
      23,    1,  157,    2, 0x0a /* Public */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::QDate,    3,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, QMetaType::QDate, QMetaType::QDate, QMetaType::QString, QMetaType::QString,   14,   15,   16,   17,
    QMetaType::Void, QMetaType::QDate, QMetaType::QDate, QMetaType::QString,   14,   15,   16,
    QMetaType::Void, QMetaType::QDate, QMetaType::QDate,   14,   15,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QDate, QMetaType::QString,   14,   16,
    QMetaType::Void, QMetaType::QDate,   14,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QDate, QMetaType::QString,   15,   17,
    QMetaType::Void, QMetaType::QDate,   15,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 24,   25,

 // properties: name, type, flags
       3, QMetaType::QDate, 0x00595103,
      26, QMetaType::QDate, 0x00095107,
      27, QMetaType::QDate, 0x00095107,
       9, 0x80000000 | 8, 0x0009510b,

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

 // enums: name, flags, count, data
       8, 0x1,    5,  180,

 // enum data: key, value
      28, uint(KDateComboBox::EditDate),
      29, uint(KDateComboBox::SelectDate),
      30, uint(KDateComboBox::DatePicker),
      31, uint(KDateComboBox::DateKeywords),
      32, uint(KDateComboBox::WarnOnInvalid),

       0        // eod
};

void KDateComboBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KDateComboBox *_t = static_cast<KDateComboBox *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->dateEntered((*reinterpret_cast< const QDate(*)>(_a[1]))); break;
        case 1: _t->dateChanged((*reinterpret_cast< const QDate(*)>(_a[1]))); break;
        case 2: _t->dateEdited((*reinterpret_cast< const QDate(*)>(_a[1]))); break;
        case 3: _t->setDate((*reinterpret_cast< const QDate(*)>(_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->setDateRange((*reinterpret_cast< const QDate(*)>(_a[1])),(*reinterpret_cast< const QDate(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4]))); break;
        case 7: _t->setDateRange((*reinterpret_cast< const QDate(*)>(_a[1])),(*reinterpret_cast< const QDate(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 8: _t->setDateRange((*reinterpret_cast< const QDate(*)>(_a[1])),(*reinterpret_cast< const QDate(*)>(_a[2]))); break;
        case 9: _t->resetDateRange(); break;
        case 10: _t->setMinimumDate((*reinterpret_cast< const QDate(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 11: _t->setMinimumDate((*reinterpret_cast< const QDate(*)>(_a[1]))); break;
        case 12: _t->resetMinimumDate(); break;
        case 13: _t->setMaximumDate((*reinterpret_cast< const QDate(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 14: _t->setMaximumDate((*reinterpret_cast< const QDate(*)>(_a[1]))); break;
        case 15: _t->resetMaximumDate(); break;
        case 16: _t->setDateMap((*reinterpret_cast< QMap<QDate,QString>(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (KDateComboBox::*_t)(const QDate & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KDateComboBox::dateEntered)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KDateComboBox::*_t)(const QDate & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KDateComboBox::dateChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KDateComboBox::*_t)(const QDate & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KDateComboBox::dateEdited)) {
                *result = 2;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        KDateComboBox *_t = static_cast<KDateComboBox *>(_o);
        Q_UNUSED(_t)
        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: *reinterpret_cast<int*>(_v) = QFlag(_t->options()); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        KDateComboBox *_t = static_cast<KDateComboBox *>(_o);
        Q_UNUSED(_t)
        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(QFlag(*reinterpret_cast<int*>(_v))); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
        KDateComboBox *_t = static_cast<KDateComboBox *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 1: _t->resetMinimumDate(); break;
        case 2: _t->resetMaximumDate(); break;
        default: break;
        }
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KDateComboBox::staticMetaObject = {
    { &QComboBox::staticMetaObject, qt_meta_stringdata_KDateComboBox.data,
      qt_meta_data_KDateComboBox,  qt_static_metacall, nullptr, nullptr}
};


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_meta_stringdata_KDateComboBox.stringdata0))
        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;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 17)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 17;
    }
#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 -= 4;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 4;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void KDateComboBox::dateEntered(const QDate & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KDateComboBox::dateChanged(const QDate & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KDateComboBox::dateEdited(const QDate & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
