/****************************************************************************
** Meta object code from reading C++ file 'com_deepin_daemon_calendar_scheduler.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.17)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include <memory>
#include "generated/com_deepin_daemon_calendar_scheduler.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'com_deepin_daemon_calendar_scheduler.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.17. 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___Scheduler_t {
    QByteArrayData data[39];
    char stringdata0[467];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata___Scheduler_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata___Scheduler_t qt_meta_stringdata___Scheduler = {
    {
QT_MOC_LITERAL(0, 0, 11), // "__Scheduler"
QT_MOC_LITERAL(1, 12, 11), // "JobsUpdated"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 16), // "QList<qlonglong>"
QT_MOC_LITERAL(4, 42, 3), // "Ids"
QT_MOC_LITERAL(5, 46, 9), // "CreateJob"
QT_MOC_LITERAL(6, 56, 28), // "QDBusPendingReply<qlonglong>"
QT_MOC_LITERAL(7, 85, 7), // "jobInfo"
QT_MOC_LITERAL(8, 93, 10), // "CreateType"
QT_MOC_LITERAL(9, 104, 8), // "typeInfo"
QT_MOC_LITERAL(10, 113, 14), // "DebugRemindJob"
QT_MOC_LITERAL(11, 128, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(12, 148, 2), // "id"
QT_MOC_LITERAL(13, 151, 20), // "DebugRemindJobQueued"
QT_MOC_LITERAL(14, 172, 9), // "DeleteJob"
QT_MOC_LITERAL(15, 182, 15), // "DeleteJobQueued"
QT_MOC_LITERAL(16, 198, 10), // "DeleteType"
QT_MOC_LITERAL(17, 209, 16), // "DeleteTypeQueued"
QT_MOC_LITERAL(18, 226, 6), // "GetJob"
QT_MOC_LITERAL(19, 233, 26), // "QDBusPendingReply<QString>"
QT_MOC_LITERAL(20, 260, 7), // "GetJobs"
QT_MOC_LITERAL(21, 268, 9), // "startYear"
QT_MOC_LITERAL(22, 278, 10), // "startMonth"
QT_MOC_LITERAL(23, 289, 8), // "startDay"
QT_MOC_LITERAL(24, 298, 7), // "endYear"
QT_MOC_LITERAL(25, 306, 8), // "endMonth"
QT_MOC_LITERAL(26, 315, 6), // "endDay"
QT_MOC_LITERAL(27, 322, 7), // "GetType"
QT_MOC_LITERAL(28, 330, 8), // "GetTypes"
QT_MOC_LITERAL(29, 339, 9), // "UpdateJob"
QT_MOC_LITERAL(30, 349, 15), // "UpdateJobQueued"
QT_MOC_LITERAL(31, 365, 10), // "UpdateType"
QT_MOC_LITERAL(32, 376, 16), // "UpdateTypeQueued"
QT_MOC_LITERAL(33, 393, 10), // "CallQueued"
QT_MOC_LITERAL(34, 404, 8), // "callName"
QT_MOC_LITERAL(35, 413, 4), // "args"
QT_MOC_LITERAL(36, 418, 21), // "onPendingCallFinished"
QT_MOC_LITERAL(37, 440, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(38, 465, 1) // "w"

    },
    "__Scheduler\0JobsUpdated\0\0QList<qlonglong>\0"
    "Ids\0CreateJob\0QDBusPendingReply<qlonglong>\0"
    "jobInfo\0CreateType\0typeInfo\0DebugRemindJob\0"
    "QDBusPendingReply<>\0id\0DebugRemindJobQueued\0"
    "DeleteJob\0DeleteJobQueued\0DeleteType\0"
    "DeleteTypeQueued\0GetJob\0"
    "QDBusPendingReply<QString>\0GetJobs\0"
    "startYear\0startMonth\0startDay\0endYear\0"
    "endMonth\0endDay\0GetType\0GetTypes\0"
    "UpdateJob\0UpdateJobQueued\0UpdateType\0"
    "UpdateTypeQueued\0CallQueued\0callName\0"
    "args\0onPendingCallFinished\0"
    "QDBusPendingCallWatcher*\0w"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data___Scheduler[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       5,    1,  112,    2, 0x0a /* Public */,
       8,    1,  115,    2, 0x0a /* Public */,
      10,    1,  118,    2, 0x0a /* Public */,
      13,    1,  121,    2, 0x0a /* Public */,
      14,    1,  124,    2, 0x0a /* Public */,
      15,    1,  127,    2, 0x0a /* Public */,
      16,    1,  130,    2, 0x0a /* Public */,
      17,    1,  133,    2, 0x0a /* Public */,
      18,    1,  136,    2, 0x0a /* Public */,
      20,    6,  139,    2, 0x0a /* Public */,
      27,    1,  152,    2, 0x0a /* Public */,
      28,    0,  155,    2, 0x0a /* Public */,
      29,    1,  156,    2, 0x0a /* Public */,
      30,    1,  159,    2, 0x0a /* Public */,
      31,    1,  162,    2, 0x0a /* Public */,
      32,    1,  165,    2, 0x0a /* Public */,
      33,    2,  168,    2, 0x0a /* Public */,
      36,    1,  173,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,

 // slots: parameters
    0x80000000 | 6, QMetaType::QString,    7,
    0x80000000 | 6, QMetaType::QString,    9,
    0x80000000 | 11, QMetaType::LongLong,   12,
    QMetaType::Void, QMetaType::LongLong,   12,
    0x80000000 | 11, QMetaType::LongLong,   12,
    QMetaType::Void, QMetaType::LongLong,   12,
    0x80000000 | 11, QMetaType::LongLong,   12,
    QMetaType::Void, QMetaType::LongLong,   12,
    0x80000000 | 19, QMetaType::LongLong,   12,
    0x80000000 | 19, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int,   21,   22,   23,   24,   25,   26,
    0x80000000 | 19, QMetaType::LongLong,   12,
    0x80000000 | 19,
    0x80000000 | 11, QMetaType::QString,    7,
    QMetaType::Void, QMetaType::QString,    7,
    0x80000000 | 11, QMetaType::QString,    9,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariantList,   34,   35,
    QMetaType::Void, 0x80000000 | 37,   38,

       0        // eod
};

void __Scheduler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<__Scheduler *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->JobsUpdated((*reinterpret_cast< const QList<qlonglong>(*)>(_a[1]))); break;
        case 1: { QDBusPendingReply<qlonglong> _r = _t->CreateJob((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<qlonglong>*>(_a[0]) = std::move(_r); }  break;
        case 2: { QDBusPendingReply<qlonglong> _r = _t->CreateType((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<qlonglong>*>(_a[0]) = std::move(_r); }  break;
        case 3: { QDBusPendingReply<> _r = _t->DebugRemindJob((*reinterpret_cast< qlonglong(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 4: _t->DebugRemindJobQueued((*reinterpret_cast< qlonglong(*)>(_a[1]))); break;
        case 5: { QDBusPendingReply<> _r = _t->DeleteJob((*reinterpret_cast< qlonglong(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 6: _t->DeleteJobQueued((*reinterpret_cast< qlonglong(*)>(_a[1]))); break;
        case 7: { QDBusPendingReply<> _r = _t->DeleteType((*reinterpret_cast< qlonglong(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 8: _t->DeleteTypeQueued((*reinterpret_cast< qlonglong(*)>(_a[1]))); break;
        case 9: { QDBusPendingReply<QString> _r = _t->GetJob((*reinterpret_cast< qlonglong(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 10: { QDBusPendingReply<QString> _r = _t->GetJobs((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5])),(*reinterpret_cast< int(*)>(_a[6])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 11: { QDBusPendingReply<QString> _r = _t->GetType((*reinterpret_cast< qlonglong(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 12: { QDBusPendingReply<QString> _r = _t->GetTypes();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 13: { QDBusPendingReply<> _r = _t->UpdateJob((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 14: _t->UpdateJobQueued((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 15: { QDBusPendingReply<> _r = _t->UpdateType((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 16: _t->UpdateTypeQueued((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 17: _t->CallQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<QVariant>(*)>(_a[2]))); break;
        case 18: _t->onPendingCallFinished((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<qlonglong> >(); break;
            }
            break;
        case 18:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusPendingCallWatcher* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (__Scheduler::*)(const QList<qlonglong> & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Scheduler::JobsUpdated)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject __Scheduler::staticMetaObject = { {
    QMetaObject::SuperData::link<DBusExtendedAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata___Scheduler.data,
    qt_meta_data___Scheduler,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *__Scheduler::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata___Scheduler.stringdata0))
        return static_cast<void*>(this);
    return DBusExtendedAbstractInterface::qt_metacast(_clname);
}

int __Scheduler::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = DBusExtendedAbstractInterface::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 19)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 19)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    }
    return _id;
}

// SIGNAL 0
void __Scheduler::JobsUpdated(const QList<qlonglong> & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
