/****************************************************************************
** Meta object code from reading C++ file 'com_deepin_deepinid.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_deepinid.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'com_deepin_deepinid.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___deepinid_t {
    QByteArrayData data[39];
    char stringdata0[504];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata___deepinid_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata___deepinid_t qt_meta_stringdata___deepinid = {
    {
QT_MOC_LITERAL(0, 0, 10), // "__deepinid"
QT_MOC_LITERAL(1, 11, 5), // "Error"
QT_MOC_LITERAL(2, 17, 0), // ""
QT_MOC_LITERAL(3, 18, 3), // "in0"
QT_MOC_LITERAL(4, 22, 3), // "in1"
QT_MOC_LITERAL(5, 26, 21), // "DeviceUnlockedChanged"
QT_MOC_LITERAL(6, 48, 5), // "value"
QT_MOC_LITERAL(7, 54, 17), // "HardwareIDChanged"
QT_MOC_LITERAL(8, 72, 14), // "IsLoginChanged"
QT_MOC_LITERAL(9, 87, 18), // "MachineNameChanged"
QT_MOC_LITERAL(10, 106, 15), // "UserInfoChanged"
QT_MOC_LITERAL(11, 122, 11), // "GetHardware"
QT_MOC_LITERAL(12, 134, 31), // "QDBusPendingReply<HardwareInfo>"
QT_MOC_LITERAL(13, 166, 8), // "GetToken"
QT_MOC_LITERAL(14, 175, 26), // "QDBusPendingReply<QString>"
QT_MOC_LITERAL(15, 202, 5), // "Login"
QT_MOC_LITERAL(16, 208, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(17, 228, 11), // "LoginQueued"
QT_MOC_LITERAL(18, 240, 6), // "Logout"
QT_MOC_LITERAL(19, 247, 12), // "LogoutQueued"
QT_MOC_LITERAL(20, 260, 12), // "RevokeAccess"
QT_MOC_LITERAL(21, 273, 18), // "RevokeAccessQueued"
QT_MOC_LITERAL(22, 292, 8), // "SetToken"
QT_MOC_LITERAL(23, 301, 14), // "SetTokenQueued"
QT_MOC_LITERAL(24, 316, 12), // "UnlockDevice"
QT_MOC_LITERAL(25, 329, 18), // "UnlockDeviceQueued"
QT_MOC_LITERAL(26, 348, 10), // "CallQueued"
QT_MOC_LITERAL(27, 359, 8), // "callName"
QT_MOC_LITERAL(28, 368, 4), // "args"
QT_MOC_LITERAL(29, 373, 21), // "onPendingCallFinished"
QT_MOC_LITERAL(30, 395, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(31, 420, 1), // "w"
QT_MOC_LITERAL(32, 422, 17), // "onPropertyChanged"
QT_MOC_LITERAL(33, 440, 8), // "propName"
QT_MOC_LITERAL(34, 449, 14), // "DeviceUnlocked"
QT_MOC_LITERAL(35, 464, 10), // "HardwareID"
QT_MOC_LITERAL(36, 475, 7), // "IsLogin"
QT_MOC_LITERAL(37, 483, 11), // "MachineName"
QT_MOC_LITERAL(38, 495, 8) // "UserInfo"

    },
    "__deepinid\0Error\0\0in0\0in1\0"
    "DeviceUnlockedChanged\0value\0"
    "HardwareIDChanged\0IsLoginChanged\0"
    "MachineNameChanged\0UserInfoChanged\0"
    "GetHardware\0QDBusPendingReply<HardwareInfo>\0"
    "GetToken\0QDBusPendingReply<QString>\0"
    "Login\0QDBusPendingReply<>\0LoginQueued\0"
    "Logout\0LogoutQueued\0RevokeAccess\0"
    "RevokeAccessQueued\0SetToken\0SetTokenQueued\0"
    "UnlockDevice\0UnlockDeviceQueued\0"
    "CallQueued\0callName\0args\0onPendingCallFinished\0"
    "QDBusPendingCallWatcher*\0w\0onPropertyChanged\0"
    "propName\0DeviceUnlocked\0HardwareID\0"
    "IsLogin\0MachineName\0UserInfo"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data___deepinid[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      21,   14, // methods
       5,  172, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    2,  119,    2, 0x06 /* Public */,
       5,    1,  124,    2, 0x06 /* Public */,
       7,    1,  127,    2, 0x06 /* Public */,
       8,    1,  130,    2, 0x06 /* Public */,
       9,    1,  133,    2, 0x06 /* Public */,
      10,    1,  136,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    0,  139,    2, 0x0a /* Public */,
      13,    0,  140,    2, 0x0a /* Public */,
      15,    0,  141,    2, 0x0a /* Public */,
      17,    0,  142,    2, 0x0a /* Public */,
      18,    0,  143,    2, 0x0a /* Public */,
      19,    0,  144,    2, 0x0a /* Public */,
      20,    1,  145,    2, 0x0a /* Public */,
      21,    1,  148,    2, 0x0a /* Public */,
      22,    1,  151,    2, 0x0a /* Public */,
      23,    1,  154,    2, 0x0a /* Public */,
      24,    0,  157,    2, 0x0a /* Public */,
      25,    0,  158,    2, 0x0a /* Public */,
      26,    2,  159,    2, 0x0a /* Public */,
      29,    1,  164,    2, 0x08 /* Private */,
      32,    2,  167,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::QString,    3,    4,
    QMetaType::Void, QMetaType::Bool,    6,
    QMetaType::Void, QMetaType::QString,    6,
    QMetaType::Void, QMetaType::Bool,    6,
    QMetaType::Void, QMetaType::QString,    6,
    QMetaType::Void, QMetaType::QVariantMap,    6,

 // slots: parameters
    0x80000000 | 12,
    0x80000000 | 14,
    0x80000000 | 16,
    QMetaType::Void,
    0x80000000 | 16,
    QMetaType::Void,
    0x80000000 | 16, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    3,
    0x80000000 | 16, QMetaType::QVariantMap,    3,
    QMetaType::Void, QMetaType::QVariantMap,    3,
    0x80000000 | 16,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariantList,   27,   28,
    QMetaType::Void, 0x80000000 | 30,   31,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariant,   33,    6,

 // properties: name, type, flags
      34, QMetaType::Bool, 0x00495001,
      35, QMetaType::QString, 0x00495001,
      36, QMetaType::Bool, 0x00495001,
      37, QMetaType::QString, 0x00495001,
      38, QMetaType::QVariantMap, 0x00495001,

 // properties: notify_signal_id
       1,
       2,
       3,
       4,
       5,

       0        // eod
};

void __deepinid::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<__deepinid *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->Error((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 1: _t->DeviceUnlockedChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->HardwareIDChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->IsLoginChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->MachineNameChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->UserInfoChanged((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        case 6: { QDBusPendingReply<HardwareInfo> _r = _t->GetHardware();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<HardwareInfo>*>(_a[0]) = std::move(_r); }  break;
        case 7: { QDBusPendingReply<QString> _r = _t->GetToken();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 8: { QDBusPendingReply<> _r = _t->Login();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 9: _t->LoginQueued(); break;
        case 10: { QDBusPendingReply<> _r = _t->Logout();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 11: _t->LogoutQueued(); break;
        case 12: { QDBusPendingReply<> _r = _t->RevokeAccess((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 13: _t->RevokeAccessQueued((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 14: { QDBusPendingReply<> _r = _t->SetToken((*reinterpret_cast< const QVariantMap(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 15: _t->SetTokenQueued((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        case 16: { QDBusPendingReply<> _r = _t->UnlockDevice();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 17: _t->UnlockDeviceQueued(); break;
        case 18: _t->CallQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<QVariant>(*)>(_a[2]))); break;
        case 19: _t->onPendingCallFinished((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 20: _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 19:
            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 (__deepinid::*)(int , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__deepinid::Error)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (__deepinid::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__deepinid::DeviceUnlockedChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (__deepinid::*)(const QString & ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__deepinid::HardwareIDChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (__deepinid::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__deepinid::IsLoginChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (__deepinid::*)(const QString & ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__deepinid::MachineNameChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (__deepinid::*)(const QVariantMap & ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__deepinid::UserInfoChanged)) {
                *result = 5;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<__deepinid *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->deviceUnlocked(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->hardwareID(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->isLogin(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->machineName(); break;
        case 4: *reinterpret_cast< QVariantMap*>(_v) = _t->userInfo(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject __deepinid::staticMetaObject = { {
    QMetaObject::SuperData::link<DBusExtendedAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata___deepinid.data,
    qt_meta_data___deepinid,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int __deepinid::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 < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    }
#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 -= 5;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 5;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void __deepinid::Error(int _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void __deepinid::DeviceUnlockedChanged(bool _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __deepinid *>(this), &staticMetaObject, 1, _a);
}

// SIGNAL 2
void __deepinid::HardwareIDChanged(const QString & _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __deepinid *>(this), &staticMetaObject, 2, _a);
}

// SIGNAL 3
void __deepinid::IsLoginChanged(bool _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __deepinid *>(this), &staticMetaObject, 3, _a);
}

// SIGNAL 4
void __deepinid::MachineNameChanged(const QString & _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __deepinid *>(this), &staticMetaObject, 4, _a);
}

// SIGNAL 5
void __deepinid::UserInfoChanged(const QVariantMap & _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __deepinid *>(this), &staticMetaObject, 5, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
