/****************************************************************************
** Meta object code from reading C++ file 'taskcompletiondialog.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/workpackage/taskcompletiondialog.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'taskcompletiondialog.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_KPlatoWork__TaskCompletionDialog_t {
    QByteArrayData data[3];
    char stringdata0[46];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlatoWork__TaskCompletionDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlatoWork__TaskCompletionDialog_t qt_meta_stringdata_KPlatoWork__TaskCompletionDialog = {
    {
QT_MOC_LITERAL(0, 0, 32), // "KPlatoWork::TaskCompletionDialog"
QT_MOC_LITERAL(1, 33, 11), // "slotChanged"
QT_MOC_LITERAL(2, 45, 0) // ""

    },
    "KPlatoWork::TaskCompletionDialog\0"
    "slotChanged\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlatoWork__TaskCompletionDialog[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   19,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    2,

       0        // eod
};

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

const QMetaObject KPlatoWork::TaskCompletionDialog::staticMetaObject = {
    { &KoDialog::staticMetaObject, qt_meta_stringdata_KPlatoWork__TaskCompletionDialog.data,
      qt_meta_data_KPlatoWork__TaskCompletionDialog,  qt_static_metacall, nullptr, nullptr}
};


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

void *KPlatoWork::TaskCompletionDialog::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KPlatoWork__TaskCompletionDialog.stringdata0))
        return static_cast<void*>(this);
    return KoDialog::qt_metacast(_clname);
}

int KPlatoWork::TaskCompletionDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KoDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
    return _id;
}
struct qt_meta_stringdata_KPlatoWork__TaskCompletionPanel_t {
    QByteArrayData data[21];
    char stringdata0[307];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlatoWork__TaskCompletionPanel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlatoWork__TaskCompletionPanel_t qt_meta_stringdata_KPlatoWork__TaskCompletionPanel = {
    {
QT_MOC_LITERAL(0, 0, 31), // "KPlatoWork::TaskCompletionPanel"
QT_MOC_LITERAL(1, 32, 7), // "changed"
QT_MOC_LITERAL(2, 40, 0), // ""
QT_MOC_LITERAL(3, 41, 11), // "slotChanged"
QT_MOC_LITERAL(4, 53, 18), // "slotStartedChanged"
QT_MOC_LITERAL(5, 72, 5), // "state"
QT_MOC_LITERAL(6, 78, 19), // "slotFinishedChanged"
QT_MOC_LITERAL(7, 98, 26), // "slotPercentFinishedChanged"
QT_MOC_LITERAL(8, 125, 5), // "value"
QT_MOC_LITERAL(9, 131, 20), // "slotStartTimeChanged"
QT_MOC_LITERAL(10, 152, 2), // "dt"
QT_MOC_LITERAL(11, 155, 21), // "slotFinishTimeChanged"
QT_MOC_LITERAL(12, 177, 12), // "slotAddEntry"
QT_MOC_LITERAL(13, 190, 16), // "slotEntryChanged"
QT_MOC_LITERAL(14, 207, 20), // "slotSelectionChanged"
QT_MOC_LITERAL(15, 228, 14), // "QItemSelection"
QT_MOC_LITERAL(16, 243, 3), // "sel"
QT_MOC_LITERAL(17, 247, 14), // "slotEntryAdded"
QT_MOC_LITERAL(18, 262, 4), // "date"
QT_MOC_LITERAL(19, 267, 19), // "slotEditmodeChanged"
QT_MOC_LITERAL(20, 287, 19) // "slotCalculateEffort"

    },
    "KPlatoWork::TaskCompletionPanel\0changed\0"
    "\0slotChanged\0slotStartedChanged\0state\0"
    "slotFinishedChanged\0slotPercentFinishedChanged\0"
    "value\0slotStartTimeChanged\0dt\0"
    "slotFinishTimeChanged\0slotAddEntry\0"
    "slotEntryChanged\0slotSelectionChanged\0"
    "QItemSelection\0sel\0slotEntryAdded\0"
    "date\0slotEditmodeChanged\0slotCalculateEffort"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlatoWork__TaskCompletionPanel[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       3,    0,   82,    2, 0x0a /* Public */,
       4,    1,   83,    2, 0x0a /* Public */,
       6,    1,   86,    2, 0x0a /* Public */,
       7,    1,   89,    2, 0x0a /* Public */,
       9,    1,   92,    2, 0x0a /* Public */,
      11,    1,   95,    2, 0x0a /* Public */,
      12,    0,   98,    2, 0x0a /* Public */,
      13,    0,   99,    2, 0x0a /* Public */,
      14,    1,  100,    2, 0x0a /* Public */,
      17,    1,  103,    2, 0x0a /* Public */,
      19,    1,  106,    2, 0x0a /* Public */,
      20,    0,  109,    2, 0x09 /* Protected */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void, QMetaType::Int,    8,
    QMetaType::Void, QMetaType::QDateTime,   10,
    QMetaType::Void, QMetaType::QDateTime,   10,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 15,   16,
    QMetaType::Void, QMetaType::QDate,   18,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,

       0        // eod
};

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

const QMetaObject KPlatoWork::TaskCompletionPanel::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KPlatoWork__TaskCompletionPanel.data,
      qt_meta_data_KPlatoWork__TaskCompletionPanel,  qt_static_metacall, nullptr, nullptr}
};


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

void *KPlatoWork::TaskCompletionPanel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KPlatoWork__TaskCompletionPanel.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "Ui::TaskCompletionPanel"))
        return static_cast< Ui::TaskCompletionPanel*>(this);
    return QWidget::qt_metacast(_clname);
}

int KPlatoWork::TaskCompletionPanel::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 < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    }
    return _id;
}

// SIGNAL 0
void KPlatoWork::TaskCompletionPanel::changed(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_KPlatoWork__CompletionEntryItemModel_t {
    QByteArrayData data[1];
    char stringdata0[37];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlatoWork__CompletionEntryItemModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlatoWork__CompletionEntryItemModel_t qt_meta_stringdata_KPlatoWork__CompletionEntryItemModel = {
    {
QT_MOC_LITERAL(0, 0, 36) // "KPlatoWork::CompletionEntryIt..."

    },
    "KPlatoWork::CompletionEntryItemModel"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlatoWork__CompletionEntryItemModel[] = {

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

       0        // eod
};

void KPlatoWork::CompletionEntryItemModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject KPlatoWork::CompletionEntryItemModel::staticMetaObject = {
    { &KPlato::CompletionEntryItemModel::staticMetaObject, qt_meta_stringdata_KPlatoWork__CompletionEntryItemModel.data,
      qt_meta_data_KPlatoWork__CompletionEntryItemModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlatoWork::CompletionEntryItemModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KPlato::CompletionEntryItemModel::qt_metacall(_c, _id, _a);
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
