/****************************************************************************
** Meta object code from reading C++ file 'kptmainprojectpanel.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/kptmainprojectpanel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kptmainprojectpanel.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__MainProjectPanel_t {
    QByteArrayData data[16];
    char stringdata0[269];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__MainProjectPanel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__MainProjectPanel_t qt_meta_stringdata_KPlato__MainProjectPanel = {
    {
QT_MOC_LITERAL(0, 0, 24), // "KPlato::MainProjectPanel"
QT_MOC_LITERAL(1, 25, 21), // "obligatedFieldsFilled"
QT_MOC_LITERAL(2, 47, 0), // ""
QT_MOC_LITERAL(3, 48, 7), // "changed"
QT_MOC_LITERAL(4, 56, 23), // "loadResourceAssignments"
QT_MOC_LITERAL(5, 80, 3), // "url"
QT_MOC_LITERAL(6, 84, 24), // "clearResourceAssignments"
QT_MOC_LITERAL(7, 109, 24), // "slotCheckAllFieldsFilled"
QT_MOC_LITERAL(8, 134, 16), // "slotChooseLeader"
QT_MOC_LITERAL(9, 151, 20), // "slotStartDateClicked"
QT_MOC_LITERAL(10, 172, 18), // "slotEndDateClicked"
QT_MOC_LITERAL(11, 191, 14), // "enableDateTime"
QT_MOC_LITERAL(12, 206, 17), // "openResourcesFile"
QT_MOC_LITERAL(13, 224, 17), // "openProjectsPlace"
QT_MOC_LITERAL(14, 242, 12), // "loadProjects"
QT_MOC_LITERAL(15, 255, 13) // "clearProjects"

    },
    "KPlato::MainProjectPanel\0obligatedFieldsFilled\0"
    "\0changed\0loadResourceAssignments\0url\0"
    "clearResourceAssignments\0"
    "slotCheckAllFieldsFilled\0slotChooseLeader\0"
    "slotStartDateClicked\0slotEndDateClicked\0"
    "enableDateTime\0openResourcesFile\0"
    "openProjectsPlace\0loadProjects\0"
    "clearProjects"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__MainProjectPanel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   79,    2, 0x06 /* Public */,
       3,    0,   82,    2, 0x06 /* Public */,
       4,    1,   83,    2, 0x06 /* Public */,
       6,    0,   86,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    0,   87,    2, 0x0a /* Public */,
       8,    0,   88,    2, 0x0a /* Public */,
       9,    0,   89,    2, 0x0a /* Public */,
      10,    0,   90,    2, 0x0a /* Public */,
      11,    0,   91,    2, 0x0a /* Public */,
      12,    0,   92,    2, 0x08 /* Private */,
      13,    0,   93,    2, 0x08 /* Private */,
      14,    0,   94,    2, 0x08 /* Private */,
      15,    0,   95,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KPlato::MainProjectPanel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MainProjectPanel *_t = static_cast<MainProjectPanel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->obligatedFieldsFilled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->changed(); break;
        case 2: _t->loadResourceAssignments((*reinterpret_cast< QUrl(*)>(_a[1]))); break;
        case 3: _t->clearResourceAssignments(); break;
        case 4: _t->slotCheckAllFieldsFilled(); break;
        case 5: _t->slotChooseLeader(); break;
        case 6: _t->slotStartDateClicked(); break;
        case 7: _t->slotEndDateClicked(); break;
        case 8: _t->enableDateTime(); break;
        case 9: _t->openResourcesFile(); break;
        case 10: _t->openProjectsPlace(); break;
        case 11: _t->loadProjects(); break;
        case 12: _t->clearProjects(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (MainProjectPanel::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainProjectPanel::obligatedFieldsFilled)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (MainProjectPanel::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainProjectPanel::changed)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (MainProjectPanel::*_t)(QUrl );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainProjectPanel::loadResourceAssignments)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (MainProjectPanel::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainProjectPanel::clearResourceAssignments)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject KPlato::MainProjectPanel::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KPlato__MainProjectPanel.data,
      qt_meta_data_KPlato__MainProjectPanel,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlato::MainProjectPanel::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)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 13;
    }
    return _id;
}

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

// SIGNAL 1
void KPlato::MainProjectPanel::changed()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void KPlato::MainProjectPanel::loadResourceAssignments(QUrl _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KPlato::MainProjectPanel::clearResourceAssignments()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
