/****************************************************************************
** Meta object code from reading C++ file 'kpttaskprogresspanel.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/kpttaskprogresspanel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kpttaskprogresspanel.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__TaskProgressPanelImpl_t {
    QByteArrayData data[23];
    char stringdata0[347];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__TaskProgressPanelImpl_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__TaskProgressPanelImpl_t qt_meta_stringdata_KPlato__TaskProgressPanelImpl = {
    {
QT_MOC_LITERAL(0, 0, 29), // "KPlato::TaskProgressPanelImpl"
QT_MOC_LITERAL(1, 30, 7), // "changed"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 11), // "slotChanged"
QT_MOC_LITERAL(4, 51, 19), // "slotEditmodeChanged"
QT_MOC_LITERAL(5, 71, 3), // "idx"
QT_MOC_LITERAL(6, 75, 18), // "slotStartedChanged"
QT_MOC_LITERAL(7, 94, 5), // "state"
QT_MOC_LITERAL(8, 100, 19), // "slotFinishedChanged"
QT_MOC_LITERAL(9, 120, 26), // "slotPercentFinishedChanged"
QT_MOC_LITERAL(10, 147, 5), // "value"
QT_MOC_LITERAL(11, 153, 20), // "slotStartTimeChanged"
QT_MOC_LITERAL(12, 174, 2), // "dt"
QT_MOC_LITERAL(13, 177, 21), // "slotFinishTimeChanged"
QT_MOC_LITERAL(14, 199, 16), // "slotEntryChanged"
QT_MOC_LITERAL(15, 216, 20), // "slotSelectionChanged"
QT_MOC_LITERAL(16, 237, 14), // "QItemSelection"
QT_MOC_LITERAL(17, 252, 3), // "sel"
QT_MOC_LITERAL(18, 256, 22), // "slotPrevWeekBtnClicked"
QT_MOC_LITERAL(19, 279, 22), // "slotNextWeekBtnClicked"
QT_MOC_LITERAL(20, 302, 19), // "slotCalculateEffort"
QT_MOC_LITERAL(21, 322, 19), // "slotFillWeekNumbers"
QT_MOC_LITERAL(22, 342, 4) // "year"

    },
    "KPlato::TaskProgressPanelImpl\0changed\0"
    "\0slotChanged\0slotEditmodeChanged\0idx\0"
    "slotStartedChanged\0state\0slotFinishedChanged\0"
    "slotPercentFinishedChanged\0value\0"
    "slotStartTimeChanged\0dt\0slotFinishTimeChanged\0"
    "slotEntryChanged\0slotSelectionChanged\0"
    "QItemSelection\0sel\0slotPrevWeekBtnClicked\0"
    "slotNextWeekBtnClicked\0slotCalculateEffort\0"
    "slotFillWeekNumbers\0year"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__TaskProgressPanelImpl[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       3,    0,   85,    2, 0x0a /* Public */,
       4,    1,   86,    2, 0x0a /* Public */,
       6,    1,   89,    2, 0x0a /* Public */,
       8,    1,   92,    2, 0x0a /* Public */,
       9,    1,   95,    2, 0x0a /* Public */,
      11,    1,   98,    2, 0x0a /* Public */,
      13,    1,  101,    2, 0x0a /* Public */,
      14,    0,  104,    2, 0x0a /* Public */,
      15,    1,  105,    2, 0x0a /* Public */,
      18,    0,  108,    2, 0x0a /* Public */,
      19,    0,  109,    2, 0x0a /* Public */,
      20,    0,  110,    2, 0x09 /* Protected */,
      21,    1,  111,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Void, QMetaType::Bool,    7,
    QMetaType::Void, QMetaType::Bool,    7,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::QDateTime,   12,
    QMetaType::Void, QMetaType::QDateTime,   12,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 16,   17,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   22,

       0        // eod
};

void KPlato::TaskProgressPanelImpl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TaskProgressPanelImpl *_t = static_cast<TaskProgressPanelImpl *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->changed(); break;
        case 1: _t->slotChanged(); break;
        case 2: _t->slotEditmodeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->slotStartedChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->slotFinishedChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->slotPercentFinishedChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->slotStartTimeChanged((*reinterpret_cast< const QDateTime(*)>(_a[1]))); break;
        case 7: _t->slotFinishTimeChanged((*reinterpret_cast< const QDateTime(*)>(_a[1]))); break;
        case 8: _t->slotEntryChanged(); break;
        case 9: _t->slotSelectionChanged((*reinterpret_cast< const QItemSelection(*)>(_a[1]))); break;
        case 10: _t->slotPrevWeekBtnClicked(); break;
        case 11: _t->slotNextWeekBtnClicked(); break;
        case 12: _t->slotCalculateEffort(); break;
        case 13: _t->slotFillWeekNumbers((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (TaskProgressPanelImpl::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskProgressPanelImpl::changed)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KPlato::TaskProgressPanelImpl::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KPlato__TaskProgressPanelImpl.data,
      qt_meta_data_KPlato__TaskProgressPanelImpl,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlato::TaskProgressPanelImpl::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 < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 14;
    }
    return _id;
}

// SIGNAL 0
void KPlato::TaskProgressPanelImpl::changed()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
struct qt_meta_stringdata_KPlato__TaskProgressPanel_t {
    QByteArrayData data[6];
    char stringdata0[85];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__TaskProgressPanel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__TaskProgressPanel_t qt_meta_stringdata_KPlato__TaskProgressPanel = {
    {
QT_MOC_LITERAL(0, 0, 25), // "KPlato::TaskProgressPanel"
QT_MOC_LITERAL(1, 26, 21), // "slotWeekNumberChanged"
QT_MOC_LITERAL(2, 48, 0), // ""
QT_MOC_LITERAL(3, 49, 15), // "slotAddResource"
QT_MOC_LITERAL(4, 65, 14), // "slotEntryAdded"
QT_MOC_LITERAL(5, 80, 4) // "date"

    },
    "KPlato::TaskProgressPanel\0"
    "slotWeekNumberChanged\0\0slotAddResource\0"
    "slotEntryAdded\0date"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__TaskProgressPanel[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   29,    2, 0x09 /* Protected */,
       3,    0,   32,    2, 0x09 /* Protected */,
       4,    1,   33,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QDate,    5,

       0        // eod
};

void KPlato::TaskProgressPanel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TaskProgressPanel *_t = static_cast<TaskProgressPanel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->slotWeekNumberChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->slotAddResource(); break;
        case 2: _t->slotEntryAdded((*reinterpret_cast< const QDate(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject KPlato::TaskProgressPanel::staticMetaObject = {
    { &TaskProgressPanelImpl::staticMetaObject, qt_meta_stringdata_KPlato__TaskProgressPanel.data,
      qt_meta_data_KPlato__TaskProgressPanel,  qt_static_metacall, nullptr, nullptr}
};


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

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

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