/****************************************************************************
** Meta object code from reading C++ file 'view.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/view.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'view.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__View_t {
    QByteArrayData data[35];
    char stringdata0[520];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlatoWork__View_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlatoWork__View_t qt_meta_stringdata_KPlatoWork__View = {
    {
QT_MOC_LITERAL(0, 0, 16), // "KPlatoWork::View"
QT_MOC_LITERAL(1, 17, 29), // "currentScheduleManagerChanged"
QT_MOC_LITERAL(2, 47, 0), // ""
QT_MOC_LITERAL(3, 48, 16), // "ScheduleManager*"
QT_MOC_LITERAL(4, 65, 2), // "sm"
QT_MOC_LITERAL(5, 68, 20), // "openInternalDocument"
QT_MOC_LITERAL(6, 89, 8), // "KoStore*"
QT_MOC_LITERAL(7, 98, 18), // "sigUpdateReadWrite"
QT_MOC_LITERAL(8, 117, 12), // "viewDocument"
QT_MOC_LITERAL(9, 130, 9), // "Document*"
QT_MOC_LITERAL(10, 140, 3), // "doc"
QT_MOC_LITERAL(11, 144, 11), // "slotEditCut"
QT_MOC_LITERAL(12, 156, 12), // "slotEditCopy"
QT_MOC_LITERAL(13, 169, 13), // "slotEditPaste"
QT_MOC_LITERAL(14, 183, 13), // "slotConfigure"
QT_MOC_LITERAL(15, 197, 13), // "slotPopupMenu"
QT_MOC_LITERAL(16, 211, 8), // "menuname"
QT_MOC_LITERAL(17, 220, 3), // "pos"
QT_MOC_LITERAL(18, 224, 16), // "slotTaskProgress"
QT_MOC_LITERAL(19, 241, 18), // "slotTaskCompletion"
QT_MOC_LITERAL(20, 260, 18), // "slotCurrentChanged"
QT_MOC_LITERAL(21, 279, 5), // "index"
QT_MOC_LITERAL(22, 285, 19), // "slotProgressChanged"
QT_MOC_LITERAL(23, 305, 5), // "value"
QT_MOC_LITERAL(24, 311, 16), // "slotEditDocument"
QT_MOC_LITERAL(25, 328, 16), // "slotViewDocument"
QT_MOC_LITERAL(26, 345, 18), // "slotRemoveDocument"
QT_MOC_LITERAL(27, 364, 15), // "slotSendPackage"
QT_MOC_LITERAL(28, 380, 19), // "slotPackageSettings"
QT_MOC_LITERAL(29, 400, 19), // "slotTaskDescription"
QT_MOC_LITERAL(30, 420, 24), // "slotRemoveCurrentPackage"
QT_MOC_LITERAL(31, 445, 26), // "slotRemoveSelectedPackages"
QT_MOC_LITERAL(32, 472, 20), // "slotSelectionChanged"
QT_MOC_LITERAL(33, 493, 12), // "slotViewList"
QT_MOC_LITERAL(34, 506, 13) // "slotViewGantt"

    },
    "KPlatoWork::View\0currentScheduleManagerChanged\0"
    "\0ScheduleManager*\0sm\0openInternalDocument\0"
    "KoStore*\0sigUpdateReadWrite\0viewDocument\0"
    "Document*\0doc\0slotEditCut\0slotEditCopy\0"
    "slotEditPaste\0slotConfigure\0slotPopupMenu\0"
    "menuname\0pos\0slotTaskProgress\0"
    "slotTaskCompletion\0slotCurrentChanged\0"
    "index\0slotProgressChanged\0value\0"
    "slotEditDocument\0slotViewDocument\0"
    "slotRemoveDocument\0slotSendPackage\0"
    "slotPackageSettings\0slotTaskDescription\0"
    "slotRemoveCurrentPackage\0"
    "slotRemoveSelectedPackages\0"
    "slotSelectionChanged\0slotViewList\0"
    "slotViewGantt"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlatoWork__View[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  139,    2, 0x06 /* Public */,
       5,    1,  142,    2, 0x06 /* Public */,
       7,    1,  145,    2, 0x06 /* Public */,
       8,    1,  148,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    0,  151,    2, 0x0a /* Public */,
      12,    0,  152,    2, 0x0a /* Public */,
      13,    0,  153,    2, 0x0a /* Public */,
      14,    0,  154,    2, 0x0a /* Public */,
      15,    2,  155,    2, 0x0a /* Public */,
      18,    0,  160,    2, 0x0a /* Public */,
      19,    0,  161,    2, 0x0a /* Public */,
      20,    1,  162,    2, 0x09 /* Protected */,
      22,    1,  165,    2, 0x09 /* Protected */,
      24,    0,  168,    2, 0x09 /* Protected */,
      24,    1,  169,    2, 0x09 /* Protected */,
      25,    0,  172,    2, 0x09 /* Protected */,
      26,    0,  173,    2, 0x09 /* Protected */,
      27,    0,  174,    2, 0x09 /* Protected */,
      28,    0,  175,    2, 0x09 /* Protected */,
      29,    0,  176,    2, 0x09 /* Protected */,
      30,    0,  177,    2, 0x09 /* Protected */,
      31,    0,  178,    2, 0x09 /* Protected */,
      32,    0,  179,    2, 0x09 /* Protected */,
      33,    0,  180,    2, 0x09 /* Protected */,
      34,    0,  181,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, 0x80000000 | 9,   10,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QPoint,   16,   17,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   21,
    QMetaType::Void, QMetaType::Int,   23,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KPlatoWork::View::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        View *_t = static_cast<View *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->currentScheduleManagerChanged((*reinterpret_cast< ScheduleManager*(*)>(_a[1]))); break;
        case 1: _t->openInternalDocument((*reinterpret_cast< KoStore*(*)>(_a[1]))); break;
        case 2: _t->sigUpdateReadWrite((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->viewDocument((*reinterpret_cast< Document*(*)>(_a[1]))); break;
        case 4: _t->slotEditCut(); break;
        case 5: _t->slotEditCopy(); break;
        case 6: _t->slotEditPaste(); break;
        case 7: _t->slotConfigure(); break;
        case 8: _t->slotPopupMenu((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 9: _t->slotTaskProgress(); break;
        case 10: _t->slotTaskCompletion(); break;
        case 11: _t->slotCurrentChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->slotProgressChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->slotEditDocument(); break;
        case 14: _t->slotEditDocument((*reinterpret_cast< Document*(*)>(_a[1]))); break;
        case 15: _t->slotViewDocument(); break;
        case 16: _t->slotRemoveDocument(); break;
        case 17: _t->slotSendPackage(); break;
        case 18: _t->slotPackageSettings(); break;
        case 19: _t->slotTaskDescription(); break;
        case 20: _t->slotRemoveCurrentPackage(); break;
        case 21: _t->slotRemoveSelectedPackages(); break;
        case 22: _t->slotSelectionChanged(); break;
        case 23: _t->slotViewList(); break;
        case 24: _t->slotViewGantt(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (View::*_t)(ScheduleManager * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&View::currentScheduleManagerChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (View::*_t)(KoStore * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&View::openInternalDocument)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (View::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&View::sigUpdateReadWrite)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (View::*_t)(Document * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&View::viewDocument)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject KPlatoWork::View::staticMetaObject = {
    { &QStackedWidget::staticMetaObject, qt_meta_stringdata_KPlatoWork__View.data,
      qt_meta_data_KPlatoWork__View,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

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

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

// SIGNAL 2
void KPlatoWork::View::sigUpdateReadWrite(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KPlatoWork::View::viewDocument(Document * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
