/****************************************************************************
** Meta object code from reading C++ file 'kptintervaledit.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/kptintervaledit.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kptintervaledit.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__IntervalEditImpl_t {
    QByteArrayData data[8];
    char stringdata0[143];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__IntervalEditImpl_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__IntervalEditImpl_t qt_meta_stringdata_KPlato__IntervalEditImpl = {
    {
QT_MOC_LITERAL(0, 0, 24), // "KPlato::IntervalEditImpl"
QT_MOC_LITERAL(1, 25, 7), // "changed"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 16), // "slotClearClicked"
QT_MOC_LITERAL(4, 51, 22), // "slotAddIntervalClicked"
QT_MOC_LITERAL(5, 74, 25), // "slotRemoveIntervalClicked"
QT_MOC_LITERAL(6, 100, 28), // "slotIntervalSelectionChanged"
QT_MOC_LITERAL(7, 129, 13) // "enableButtons"

    },
    "KPlato::IntervalEditImpl\0changed\0\0"
    "slotClearClicked\0slotAddIntervalClicked\0"
    "slotRemoveIntervalClicked\0"
    "slotIntervalSelectionChanged\0enableButtons"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__IntervalEditImpl[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       3,    0,   45,    2, 0x09 /* Protected */,
       4,    0,   46,    2, 0x09 /* Protected */,
       5,    0,   47,    2, 0x09 /* Protected */,
       6,    0,   48,    2, 0x09 /* Protected */,
       7,    0,   49,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void,

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

       0        // eod
};

void KPlato::IntervalEditImpl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        IntervalEditImpl *_t = static_cast<IntervalEditImpl *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->changed(); break;
        case 1: _t->slotClearClicked(); break;
        case 2: _t->slotAddIntervalClicked(); break;
        case 3: _t->slotRemoveIntervalClicked(); break;
        case 4: _t->slotIntervalSelectionChanged(); break;
        case 5: _t->enableButtons(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (IntervalEditImpl::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&IntervalEditImpl::changed)) {
                *result = 0;
                return;
            }
        }
    }
    Q_UNUSED(_a);
}

const QMetaObject KPlato::IntervalEditImpl::staticMetaObject = {
    { &IntervalEditBase::staticMetaObject, qt_meta_stringdata_KPlato__IntervalEditImpl.data,
      qt_meta_data_KPlato__IntervalEditImpl,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void KPlato::IntervalEditImpl::changed()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
struct qt_meta_stringdata_KPlato__IntervalEdit_t {
    QByteArrayData data[1];
    char stringdata0[21];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__IntervalEdit_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__IntervalEdit_t qt_meta_stringdata_KPlato__IntervalEdit = {
    {
QT_MOC_LITERAL(0, 0, 20) // "KPlato::IntervalEdit"

    },
    "KPlato::IntervalEdit"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__IntervalEdit[] = {

 // 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 KPlato::IntervalEdit::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 KPlato::IntervalEdit::staticMetaObject = {
    { &IntervalEditImpl::staticMetaObject, qt_meta_stringdata_KPlato__IntervalEdit.data,
      qt_meta_data_KPlato__IntervalEdit,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlato::IntervalEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = IntervalEditImpl::qt_metacall(_c, _id, _a);
    return _id;
}
struct qt_meta_stringdata_KPlato__IntervalEditDialog_t {
    QByteArrayData data[6];
    char stringdata0[80];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__IntervalEditDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__IntervalEditDialog_t qt_meta_stringdata_KPlato__IntervalEditDialog = {
    {
QT_MOC_LITERAL(0, 0, 26), // "KPlato::IntervalEditDialog"
QT_MOC_LITERAL(1, 27, 11), // "slotChanged"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 19), // "slotCalendarRemoved"
QT_MOC_LITERAL(4, 60, 15), // "const Calendar*"
QT_MOC_LITERAL(5, 76, 3) // "cal"

    },
    "KPlato::IntervalEditDialog\0slotChanged\0"
    "\0slotCalendarRemoved\0const Calendar*\0"
    "cal"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__IntervalEditDialog[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   24,    2, 0x09 /* Protected */,
       3,    1,   25,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,    5,

       0        // eod
};

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

const QMetaObject KPlato::IntervalEditDialog::staticMetaObject = {
    { &KoDialog::staticMetaObject, qt_meta_stringdata_KPlato__IntervalEditDialog.data,
      qt_meta_data_KPlato__IntervalEditDialog,  qt_static_metacall, nullptr, nullptr}
};


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

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

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