/****************************************************************************
** Meta object code from reading C++ file 'com_deepin_lastoresessionhelper.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_lastoresessionhelper.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'com_deepin_lastoresessionhelper.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___LastoreSessionHelper_t {
    QByteArrayData data[24];
    char stringdata0[402];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata___LastoreSessionHelper_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata___LastoreSessionHelper_t qt_meta_stringdata___LastoreSessionHelper = {
    {
QT_MOC_LITERAL(0, 0, 22), // "__LastoreSessionHelper"
QT_MOC_LITERAL(1, 23, 25), // "SourceCheckEnabledChanged"
QT_MOC_LITERAL(2, 49, 0), // ""
QT_MOC_LITERAL(3, 50, 5), // "value"
QT_MOC_LITERAL(4, 56, 26), // "CheckPrepareDistUpgradeJob"
QT_MOC_LITERAL(5, 83, 39), // "QDBusPendingReply<bool,QDBusO..."
QT_MOC_LITERAL(6, 123, 16), // "QDBusReply<bool>"
QT_MOC_LITERAL(7, 140, 16), // "QDBusObjectPath&"
QT_MOC_LITERAL(8, 157, 4), // "out1"
QT_MOC_LITERAL(9, 162, 21), // "IsDiskSpaceSufficient"
QT_MOC_LITERAL(10, 184, 23), // "QDBusPendingReply<bool>"
QT_MOC_LITERAL(11, 208, 21), // "SetSourceCheckEnabled"
QT_MOC_LITERAL(12, 230, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(13, 250, 3), // "in0"
QT_MOC_LITERAL(14, 254, 27), // "SetSourceCheckEnabledQueued"
QT_MOC_LITERAL(15, 282, 10), // "CallQueued"
QT_MOC_LITERAL(16, 293, 8), // "callName"
QT_MOC_LITERAL(17, 302, 4), // "args"
QT_MOC_LITERAL(18, 307, 21), // "onPendingCallFinished"
QT_MOC_LITERAL(19, 329, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(20, 354, 1), // "w"
QT_MOC_LITERAL(21, 356, 17), // "onPropertyChanged"
QT_MOC_LITERAL(22, 374, 8), // "propName"
QT_MOC_LITERAL(23, 383, 18) // "SourceCheckEnabled"

    },
    "__LastoreSessionHelper\0SourceCheckEnabledChanged\0"
    "\0value\0CheckPrepareDistUpgradeJob\0"
    "QDBusPendingReply<bool,QDBusObjectPath>\0"
    "QDBusReply<bool>\0QDBusObjectPath&\0"
    "out1\0IsDiskSpaceSufficient\0"
    "QDBusPendingReply<bool>\0SetSourceCheckEnabled\0"
    "QDBusPendingReply<>\0in0\0"
    "SetSourceCheckEnabledQueued\0CallQueued\0"
    "callName\0args\0onPendingCallFinished\0"
    "QDBusPendingCallWatcher*\0w\0onPropertyChanged\0"
    "propName\0SourceCheckEnabled"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data___LastoreSessionHelper[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       4,    0,   62,    2, 0x0a /* Public */,
       4,    1,   63,    2, 0x0a /* Public */,
       9,    0,   66,    2, 0x0a /* Public */,
      11,    1,   67,    2, 0x0a /* Public */,
      14,    1,   70,    2, 0x0a /* Public */,
      15,    2,   73,    2, 0x0a /* Public */,
      18,    1,   78,    2, 0x08 /* Private */,
      21,    2,   81,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    3,

 // slots: parameters
    0x80000000 | 5,
    0x80000000 | 6, 0x80000000 | 7,    8,
    0x80000000 | 10,
    0x80000000 | 12, QMetaType::Bool,   13,
    QMetaType::Void, QMetaType::Bool,   13,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariantList,   16,   17,
    QMetaType::Void, 0x80000000 | 19,   20,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariant,   22,    3,

 // properties: name, type, flags
      23, QMetaType::Bool, 0x00495001,

 // properties: notify_signal_id
       0,

       0        // eod
};

void __LastoreSessionHelper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<__LastoreSessionHelper *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->SourceCheckEnabledChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: { QDBusPendingReply<bool,QDBusObjectPath> _r = _t->CheckPrepareDistUpgradeJob();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool,QDBusObjectPath>*>(_a[0]) = std::move(_r); }  break;
        case 2: { QDBusReply<bool> _r = _t->CheckPrepareDistUpgradeJob((*reinterpret_cast< QDBusObjectPath(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 3: { QDBusPendingReply<bool> _r = _t->IsDiskSpaceSufficient();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 4: { QDBusPendingReply<> _r = _t->SetSourceCheckEnabled((*reinterpret_cast< bool(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 5: _t->SetSourceCheckEnabledQueued((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->CallQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<QVariant>(*)>(_a[2]))); break;
        case 7: _t->onPendingCallFinished((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 8: _t->onPropertyChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 7:
            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 (__LastoreSessionHelper::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__LastoreSessionHelper::SourceCheckEnabledChanged)) {
                *result = 0;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<__LastoreSessionHelper *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->sourceCheckEnabled(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject __LastoreSessionHelper::staticMetaObject = { {
    QMetaObject::SuperData::link<DBusExtendedAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata___LastoreSessionHelper.data,
    qt_meta_data___LastoreSessionHelper,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int __LastoreSessionHelper::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 < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 1;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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