/****************************************************************************
** Meta object code from reading C++ file 'kptresourcedialog.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/kptresourcedialog.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kptresourcedialog.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__ResourceDialogImpl_t {
    QByteArrayData data[18];
    char stringdata0[258];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__ResourceDialogImpl_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__ResourceDialogImpl_t qt_meta_stringdata_KPlato__ResourceDialogImpl = {
    {
QT_MOC_LITERAL(0, 0, 26), // "KPlato::ResourceDialogImpl"
QT_MOC_LITERAL(1, 27, 7), // "changed"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 9), // "calculate"
QT_MOC_LITERAL(4, 46, 11), // "slotChanged"
QT_MOC_LITERAL(5, 58, 15), // "slotTypeChanged"
QT_MOC_LITERAL(6, 74, 21), // "slotCalculationNeeded"
QT_MOC_LITERAL(7, 96, 18), // "slotChooseResource"
QT_MOC_LITERAL(8, 115, 17), // "setCurrentIndexes"
QT_MOC_LITERAL(9, 133, 15), // "QModelIndexList"
QT_MOC_LITERAL(10, 149, 3), // "lst"
QT_MOC_LITERAL(11, 153, 24), // "slotAvailableFromChanged"
QT_MOC_LITERAL(12, 178, 2), // "dt"
QT_MOC_LITERAL(13, 181, 25), // "slotAvailableUntilChanged"
QT_MOC_LITERAL(14, 207, 22), // "slotUseRequiredChanged"
QT_MOC_LITERAL(15, 230, 5), // "state"
QT_MOC_LITERAL(16, 236, 15), // "slotTeamChanged"
QT_MOC_LITERAL(17, 252, 5) // "index"

    },
    "KPlato::ResourceDialogImpl\0changed\0\0"
    "calculate\0slotChanged\0slotTypeChanged\0"
    "slotCalculationNeeded\0slotChooseResource\0"
    "setCurrentIndexes\0QModelIndexList\0lst\0"
    "slotAvailableFromChanged\0dt\0"
    "slotAvailableUntilChanged\0"
    "slotUseRequiredChanged\0state\0"
    "slotTeamChanged\0index"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__ResourceDialogImpl[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   69,    2, 0x06 /* Public */,
       3,    0,   70,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    0,   71,    2, 0x0a /* Public */,
       5,    1,   72,    2, 0x0a /* Public */,
       6,    1,   75,    2, 0x0a /* Public */,
       7,    0,   78,    2, 0x0a /* Public */,
       8,    1,   79,    2, 0x0a /* Public */,
      11,    1,   82,    2, 0x09 /* Protected */,
      13,    1,   85,    2, 0x09 /* Protected */,
      14,    1,   88,    2, 0x09 /* Protected */,
      16,    1,   91,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, QMetaType::QDateTime,   12,
    QMetaType::Void, QMetaType::QDateTime,   12,
    QMetaType::Void, QMetaType::Int,   15,
    QMetaType::Void, QMetaType::QModelIndex,   17,

       0        // eod
};

void KPlato::ResourceDialogImpl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ResourceDialogImpl *_t = static_cast<ResourceDialogImpl *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->changed(); break;
        case 1: _t->calculate(); break;
        case 2: _t->slotChanged(); break;
        case 3: _t->slotTypeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->slotCalculationNeeded((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->slotChooseResource(); break;
        case 6: _t->setCurrentIndexes((*reinterpret_cast< const QModelIndexList(*)>(_a[1]))); break;
        case 7: _t->slotAvailableFromChanged((*reinterpret_cast< const QDateTime(*)>(_a[1]))); break;
        case 8: _t->slotAvailableUntilChanged((*reinterpret_cast< const QDateTime(*)>(_a[1]))); break;
        case 9: _t->slotUseRequiredChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->slotTeamChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (ResourceDialogImpl::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResourceDialogImpl::changed)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ResourceDialogImpl::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResourceDialogImpl::calculate)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject KPlato::ResourceDialogImpl::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KPlato__ResourceDialogImpl.data,
      qt_meta_data_KPlato__ResourceDialogImpl,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

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

// SIGNAL 1
void KPlato::ResourceDialogImpl::calculate()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
struct qt_meta_stringdata_KPlato__ResourceDialog_t {
    QByteArrayData data[13];
    char stringdata0[182];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__ResourceDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__ResourceDialog_t qt_meta_stringdata_KPlato__ResourceDialog = {
    {
QT_MOC_LITERAL(0, 0, 22), // "KPlato::ResourceDialog"
QT_MOC_LITERAL(1, 23, 14), // "enableButtonOk"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 21), // "slotCalculationNeeded"
QT_MOC_LITERAL(4, 61, 6), // "slotOk"
QT_MOC_LITERAL(5, 68, 19), // "slotCalendarChanged"
QT_MOC_LITERAL(6, 88, 17), // "slotButtonClicked"
QT_MOC_LITERAL(7, 106, 6), // "button"
QT_MOC_LITERAL(8, 113, 18), // "slotAccountChanged"
QT_MOC_LITERAL(9, 132, 4), // "name"
QT_MOC_LITERAL(10, 137, 19), // "slotResourceRemoved"
QT_MOC_LITERAL(11, 157, 15), // "const Resource*"
QT_MOC_LITERAL(12, 173, 8) // "resource"

    },
    "KPlato::ResourceDialog\0enableButtonOk\0"
    "\0slotCalculationNeeded\0slotOk\0"
    "slotCalendarChanged\0slotButtonClicked\0"
    "button\0slotAccountChanged\0name\0"
    "slotResourceRemoved\0const Resource*\0"
    "resource"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__ResourceDialog[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   49,    2, 0x09 /* Protected */,
       3,    0,   50,    2, 0x09 /* Protected */,
       4,    0,   51,    2, 0x09 /* Protected */,
       5,    1,   52,    2, 0x09 /* Protected */,
       6,    1,   55,    2, 0x09 /* Protected */,
       8,    1,   58,    2, 0x09 /* Protected */,
      10,    1,   61,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, 0x80000000 | 11,   12,

       0        // eod
};

void KPlato::ResourceDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ResourceDialog *_t = static_cast<ResourceDialog *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->enableButtonOk(); break;
        case 1: _t->slotCalculationNeeded(); break;
        case 2: _t->slotOk(); break;
        case 3: _t->slotCalendarChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->slotButtonClicked((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->slotAccountChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: _t->slotResourceRemoved((*reinterpret_cast< const Resource*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject KPlato::ResourceDialog::staticMetaObject = {
    { &KoDialog::staticMetaObject, qt_meta_stringdata_KPlato__ResourceDialog.data,
      qt_meta_data_KPlato__ResourceDialog,  qt_static_metacall, nullptr, nullptr}
};


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

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

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