/****************************************************************************
** Meta object code from reading C++ file 'kpttaskgeneralpanel.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/calligraplan-3.1.0/src/libs/ui/kpttaskgeneralpanel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kpttaskgeneralpanel.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_KPlato__TaskGeneralPanelImpl_t {
    QByteArrayData data[36];
    char stringdata0[486];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__TaskGeneralPanelImpl_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__TaskGeneralPanelImpl_t qt_meta_stringdata_KPlato__TaskGeneralPanelImpl = {
    {
QT_MOC_LITERAL(0, 0, 28), // "KPlato::TaskGeneralPanelImpl"
QT_MOC_LITERAL(1, 29, 21), // "obligatedFieldsFilled"
QT_MOC_LITERAL(2, 51, 0), // ""
QT_MOC_LITERAL(3, 52, 21), // "schedulingTypeChanged"
QT_MOC_LITERAL(4, 74, 7), // "changed"
QT_MOC_LITERAL(5, 82, 17), // "setSchedulingType"
QT_MOC_LITERAL(6, 100, 4), // "type"
QT_MOC_LITERAL(7, 105, 12), // "changeLeader"
QT_MOC_LITERAL(8, 118, 17), // "setEstimationType"
QT_MOC_LITERAL(9, 136, 13), // "setOptimistic"
QT_MOC_LITERAL(10, 150, 5), // "value"
QT_MOC_LITERAL(11, 156, 14), // "setPessimistic"
QT_MOC_LITERAL(12, 171, 14), // "enableDateTime"
QT_MOC_LITERAL(13, 186, 12), // "scheduleType"
QT_MOC_LITERAL(14, 199, 21), // "estimationTypeChanged"
QT_MOC_LITERAL(15, 221, 11), // "setEstimate"
QT_MOC_LITERAL(16, 233, 8), // "duration"
QT_MOC_LITERAL(17, 242, 15), // "setEstimateType"
QT_MOC_LITERAL(18, 258, 20), // "checkAllFieldsFilled"
QT_MOC_LITERAL(19, 279, 16), // "startDateChanged"
QT_MOC_LITERAL(20, 296, 16), // "startTimeChanged"
QT_MOC_LITERAL(21, 313, 4), // "time"
QT_MOC_LITERAL(22, 318, 14), // "endDateChanged"
QT_MOC_LITERAL(23, 333, 14), // "endTimeChanged"
QT_MOC_LITERAL(24, 348, 19), // "scheduleTypeChanged"
QT_MOC_LITERAL(25, 368, 12), // "setStartTime"
QT_MOC_LITERAL(26, 381, 10), // "setEndTime"
QT_MOC_LITERAL(27, 392, 16), // "setStartDateTime"
QT_MOC_LITERAL(28, 409, 2), // "dt"
QT_MOC_LITERAL(29, 412, 14), // "setEndDateTime"
QT_MOC_LITERAL(30, 427, 12), // "setStartDate"
QT_MOC_LITERAL(31, 440, 4), // "date"
QT_MOC_LITERAL(32, 445, 10), // "setEndDate"
QT_MOC_LITERAL(33, 456, 11), // "setRisktype"
QT_MOC_LITERAL(34, 468, 1), // "r"
QT_MOC_LITERAL(35, 470, 15) // "calendarChanged"

    },
    "KPlato::TaskGeneralPanelImpl\0"
    "obligatedFieldsFilled\0\0schedulingTypeChanged\0"
    "changed\0setSchedulingType\0type\0"
    "changeLeader\0setEstimationType\0"
    "setOptimistic\0value\0setPessimistic\0"
    "enableDateTime\0scheduleType\0"
    "estimationTypeChanged\0setEstimate\0"
    "duration\0setEstimateType\0checkAllFieldsFilled\0"
    "startDateChanged\0startTimeChanged\0"
    "time\0endDateChanged\0endTimeChanged\0"
    "scheduleTypeChanged\0setStartTime\0"
    "setEndTime\0setStartDateTime\0dt\0"
    "setEndDateTime\0setStartDate\0date\0"
    "setEndDate\0setRisktype\0r\0calendarChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__TaskGeneralPanelImpl[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      26,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       3,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  144,    2, 0x06 /* Public */,
       3,    1,  147,    2, 0x06 /* Public */,
       4,    0,  150,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    1,  151,    2, 0x0a /* Public */,
       7,    0,  154,    2, 0x0a /* Public */,
       8,    1,  155,    2, 0x0a /* Public */,
       9,    1,  158,    2, 0x0a /* Public */,
      11,    1,  161,    2, 0x0a /* Public */,
      12,    1,  164,    2, 0x0a /* Public */,
      14,    1,  167,    2, 0x0a /* Public */,
      15,    1,  170,    2, 0x0a /* Public */,
      17,    1,  173,    2, 0x0a /* Public */,
      18,    0,  176,    2, 0x0a /* Public */,
      19,    0,  177,    2, 0x0a /* Public */,
      20,    1,  178,    2, 0x0a /* Public */,
      22,    0,  181,    2, 0x0a /* Public */,
      23,    1,  182,    2, 0x0a /* Public */,
      24,    1,  185,    2, 0x0a /* Public */,
      25,    1,  188,    2, 0x0a /* Public */,
      26,    1,  191,    2, 0x0a /* Public */,
      27,    1,  194,    2, 0x0a /* Public */,
      29,    1,  197,    2, 0x0a /* Public */,
      30,    1,  200,    2, 0x0a /* Public */,
      32,    1,  203,    2, 0x0a /* Public */,
      33,    1,  206,    2, 0x0a /* Public */,
      35,    1,  209,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    6,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    6,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int,   13,
    QMetaType::Void, QMetaType::Int,    6,
    QMetaType::Void, QMetaType::Double,   16,
    QMetaType::Void, QMetaType::Int,    6,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QTime,   21,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QTime,   21,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::QTime,   21,
    QMetaType::Void, QMetaType::QTime,   21,
    QMetaType::Void, QMetaType::QDateTime,   28,
    QMetaType::Void, QMetaType::QDateTime,   28,
    QMetaType::Void, QMetaType::QDate,   31,
    QMetaType::Void, QMetaType::QDate,   31,
    QMetaType::Void, QMetaType::Int,   34,
    QMetaType::Void, QMetaType::Int,    2,

       0        // eod
};

void KPlato::TaskGeneralPanelImpl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TaskGeneralPanelImpl *_t = static_cast<TaskGeneralPanelImpl *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->obligatedFieldsFilled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->schedulingTypeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->changed(); break;
        case 3: _t->setSchedulingType((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->changeLeader(); break;
        case 5: _t->setEstimationType((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->setOptimistic((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->setPessimistic((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->enableDateTime((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->estimationTypeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->setEstimate((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 11: _t->setEstimateType((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->checkAllFieldsFilled(); break;
        case 13: _t->startDateChanged(); break;
        case 14: _t->startTimeChanged((*reinterpret_cast< const QTime(*)>(_a[1]))); break;
        case 15: _t->endDateChanged(); break;
        case 16: _t->endTimeChanged((*reinterpret_cast< const QTime(*)>(_a[1]))); break;
        case 17: _t->scheduleTypeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 18: _t->setStartTime((*reinterpret_cast< const QTime(*)>(_a[1]))); break;
        case 19: _t->setEndTime((*reinterpret_cast< const QTime(*)>(_a[1]))); break;
        case 20: _t->setStartDateTime((*reinterpret_cast< const QDateTime(*)>(_a[1]))); break;
        case 21: _t->setEndDateTime((*reinterpret_cast< const QDateTime(*)>(_a[1]))); break;
        case 22: _t->setStartDate((*reinterpret_cast< const QDate(*)>(_a[1]))); break;
        case 23: _t->setEndDate((*reinterpret_cast< const QDate(*)>(_a[1]))); break;
        case 24: _t->setRisktype((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 25: _t->calendarChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (TaskGeneralPanelImpl::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskGeneralPanelImpl::obligatedFieldsFilled)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TaskGeneralPanelImpl::*_t)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskGeneralPanelImpl::schedulingTypeChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (TaskGeneralPanelImpl::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskGeneralPanelImpl::changed)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject KPlato::TaskGeneralPanelImpl::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KPlato__TaskGeneralPanelImpl.data,
      qt_meta_data_KPlato__TaskGeneralPanelImpl,  qt_static_metacall, nullptr, nullptr}
};


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

void *KPlato::TaskGeneralPanelImpl::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KPlato__TaskGeneralPanelImpl.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "Ui_TaskGeneralPanelBase"))
        return static_cast< Ui_TaskGeneralPanelBase*>(this);
    return QWidget::qt_metacast(_clname);
}

int KPlato::TaskGeneralPanelImpl::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 26)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 26;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 26)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 26;
    }
    return _id;
}

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

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

// SIGNAL 2
void KPlato::TaskGeneralPanelImpl::changed()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
struct qt_meta_stringdata_KPlato__TaskGeneralPanel_t {
    QByteArrayData data[6];
    char stringdata0[79];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__TaskGeneralPanel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__TaskGeneralPanel_t qt_meta_stringdata_KPlato__TaskGeneralPanel = {
    {
QT_MOC_LITERAL(0, 0, 24), // "KPlato::TaskGeneralPanel"
QT_MOC_LITERAL(1, 25, 21), // "estimationTypeChanged"
QT_MOC_LITERAL(2, 47, 0), // ""
QT_MOC_LITERAL(3, 48, 4), // "type"
QT_MOC_LITERAL(4, 53, 19), // "scheduleTypeChanged"
QT_MOC_LITERAL(5, 73, 5) // "value"

    },
    "KPlato::TaskGeneralPanel\0estimationTypeChanged\0"
    "\0type\0scheduleTypeChanged\0value"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__TaskGeneralPanel[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       2,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: name, argc, parameters, tag, flags
       1,    1,   24,    2, 0x0a /* Public */,
       4,    1,   27,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    5,

       0        // eod
};

void KPlato::TaskGeneralPanel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TaskGeneralPanel *_t = static_cast<TaskGeneralPanel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->estimationTypeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->scheduleTypeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject KPlato::TaskGeneralPanel::staticMetaObject = {
    { &TaskGeneralPanelImpl::staticMetaObject, qt_meta_stringdata_KPlato__TaskGeneralPanel.data,
      qt_meta_data_KPlato__TaskGeneralPanel,  qt_static_metacall, nullptr, nullptr}
};


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

void *KPlato::TaskGeneralPanel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KPlato__TaskGeneralPanel.stringdata0))
        return static_cast<void*>(this);
    return TaskGeneralPanelImpl::qt_metacast(_clname);
}

int KPlato::TaskGeneralPanel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = TaskGeneralPanelImpl::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 2;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
