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

#include "../../src/kwidgetsaddons-5.39.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.2. 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[39];
    char stringdata0[444];
};
#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, 9), // "clickDate"
QT_MOC_LITERAL(27, 313, 10), // "selectDate"
QT_MOC_LITERAL(28, 324, 8), // "QAction*"
QT_MOC_LITERAL(29, 333, 8), // "editDate"
QT_MOC_LITERAL(30, 342, 9), // "enterDate"
QT_MOC_LITERAL(31, 352, 9), // "parseDate"
QT_MOC_LITERAL(32, 362, 11), // "minimumDate"
QT_MOC_LITERAL(33, 374, 11), // "maximumDate"
QT_MOC_LITERAL(34, 386, 8), // "EditDate"
QT_MOC_LITERAL(35, 395, 10), // "SelectDate"
QT_MOC_LITERAL(36, 406, 10), // "DatePicker"
QT_MOC_LITERAL(37, 417, 12), // "DateKeywords"
QT_MOC_LITERAL(38, 430, 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\0clickDate\0"
    "selectDate\0QAction*\0editDate\0enterDate\0"
    "parseDate\0minimumDate\0maximumDate\0"
    "EditDate\0SelectDate\0DatePicker\0"
    "DateKeywords\0WarnOnInvalid"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KDateComboBox[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      22,   14, // methods
       4,  196, // properties
       1,  212, // enums/sets
       0,    0, // constructors
       0,       // flags
       3,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  124,    2, 0x06 /* Public */,
       4,    1,  127,    2, 0x06 /* Public */,
       5,    1,  130,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,  133,    2, 0x0a /* Public */,
       7,    1,  136,    2, 0x0a /* Public */,
      10,    1,  139,    2, 0x0a /* Public */,
      13,    4,  142,    2, 0x0a /* Public */,
      13,    3,  151,    2, 0x2a /* Public | MethodCloned */,
      13,    2,  158,    2, 0x2a /* Public | MethodCloned */,
      18,    0,  163,    2, 0x0a /* Public */,
      19,    2,  164,    2, 0x0a /* Public */,
      19,    1,  169,    2, 0x2a /* Public | MethodCloned */,
      20,    0,  172,    2, 0x0a /* Public */,
      21,    2,  173,    2, 0x0a /* Public */,
      21,    1,  178,    2, 0x2a /* Public | MethodCloned */,
      22,    0,  181,    2, 0x0a /* Public */,
      23,    1,  182,    2, 0x0a /* Public */,
      26,    0,  185,    2, 0x08 /* Private */,
      27,    1,  186,    2, 0x08 /* Private */,
      29,    1,  189,    2, 0x08 /* Private */,
      30,    1,  192,    2, 0x08 /* Private */,
      31,    0,  195,    2, 0x08 /* Private */,

 // 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,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 28,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QDate,    2,
    QMetaType::Void,

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

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

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

 // enum data: key, value
      34, uint(KDateComboBox::EditDate),
      35, uint(KDateComboBox::SelectDate),
      36, uint(KDateComboBox::DatePicker),
      37, uint(KDateComboBox::DateKeywords),
      38, 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;
        case 17: _t->d->clickDate(); break;
        case 18: _t->d->selectDate((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 19: _t->d->editDate((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 20: _t->d->enterDate((*reinterpret_cast< const QDate(*)>(_a[1]))); break;
        case 21: _t->d->parseDate(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KDateComboBox::*_t)(const QDate & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KDateComboBox::dateEntered)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KDateComboBox::*_t)(const QDate & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KDateComboBox::dateChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KDateComboBox::*_t)(const QDate & );
            if (*reinterpret_cast<_t *>(func) == 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 < 22)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 22)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 22;
    }
#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
