/****************************************************************************
** Meta object code from reading C++ file 'com_deepin_daemon_accounts.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_accounts.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_accounts.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___Accounts_t {
    QByteArrayData data[45];
    char stringdata0[623];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata___Accounts_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata___Accounts_t qt_meta_stringdata___Accounts = {
    {
QT_MOC_LITERAL(0, 0, 10), // "__Accounts"
QT_MOC_LITERAL(1, 11, 9), // "UserAdded"
QT_MOC_LITERAL(2, 21, 0), // ""
QT_MOC_LITERAL(3, 22, 3), // "in0"
QT_MOC_LITERAL(4, 26, 11), // "UserDeleted"
QT_MOC_LITERAL(5, 38, 17), // "AllowGuestChanged"
QT_MOC_LITERAL(6, 56, 5), // "value"
QT_MOC_LITERAL(7, 62, 16), // "GuestIconChanged"
QT_MOC_LITERAL(8, 79, 15), // "UserListChanged"
QT_MOC_LITERAL(9, 95, 17), // "AllowGuestAccount"
QT_MOC_LITERAL(10, 113, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(11, 133, 23), // "AllowGuestAccountQueued"
QT_MOC_LITERAL(12, 157, 18), // "CreateGuestAccount"
QT_MOC_LITERAL(13, 176, 26), // "QDBusPendingReply<QString>"
QT_MOC_LITERAL(14, 203, 10), // "CreateUser"
QT_MOC_LITERAL(15, 214, 34), // "QDBusPendingReply<QDBusObject..."
QT_MOC_LITERAL(16, 249, 3), // "in1"
QT_MOC_LITERAL(17, 253, 3), // "in2"
QT_MOC_LITERAL(18, 257, 10), // "DeleteUser"
QT_MOC_LITERAL(19, 268, 16), // "DeleteUserQueued"
QT_MOC_LITERAL(20, 285, 12), // "FindUserById"
QT_MOC_LITERAL(21, 298, 14), // "FindUserByName"
QT_MOC_LITERAL(22, 313, 9), // "GetGroups"
QT_MOC_LITERAL(23, 323, 30), // "QDBusPendingReply<QStringList>"
QT_MOC_LITERAL(24, 354, 15), // "GetPresetGroups"
QT_MOC_LITERAL(25, 370, 15), // "IsPasswordValid"
QT_MOC_LITERAL(26, 386, 35), // "QDBusPendingReply<bool,QStrin..."
QT_MOC_LITERAL(27, 422, 16), // "QDBusReply<bool>"
QT_MOC_LITERAL(28, 439, 8), // "QString&"
QT_MOC_LITERAL(29, 448, 4), // "out1"
QT_MOC_LITERAL(30, 453, 4), // "int&"
QT_MOC_LITERAL(31, 458, 4), // "out2"
QT_MOC_LITERAL(32, 463, 15), // "IsUsernameValid"
QT_MOC_LITERAL(33, 479, 12), // "RandUserIcon"
QT_MOC_LITERAL(34, 492, 10), // "CallQueued"
QT_MOC_LITERAL(35, 503, 8), // "callName"
QT_MOC_LITERAL(36, 512, 4), // "args"
QT_MOC_LITERAL(37, 517, 21), // "onPendingCallFinished"
QT_MOC_LITERAL(38, 539, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(39, 564, 1), // "w"
QT_MOC_LITERAL(40, 566, 17), // "onPropertyChanged"
QT_MOC_LITERAL(41, 584, 8), // "propName"
QT_MOC_LITERAL(42, 593, 10), // "AllowGuest"
QT_MOC_LITERAL(43, 604, 9), // "GuestIcon"
QT_MOC_LITERAL(44, 614, 8) // "UserList"

    },
    "__Accounts\0UserAdded\0\0in0\0UserDeleted\0"
    "AllowGuestChanged\0value\0GuestIconChanged\0"
    "UserListChanged\0AllowGuestAccount\0"
    "QDBusPendingReply<>\0AllowGuestAccountQueued\0"
    "CreateGuestAccount\0QDBusPendingReply<QString>\0"
    "CreateUser\0QDBusPendingReply<QDBusObjectPath>\0"
    "in1\0in2\0DeleteUser\0DeleteUserQueued\0"
    "FindUserById\0FindUserByName\0GetGroups\0"
    "QDBusPendingReply<QStringList>\0"
    "GetPresetGroups\0IsPasswordValid\0"
    "QDBusPendingReply<bool,QString,int>\0"
    "QDBusReply<bool>\0QString&\0out1\0int&\0"
    "out2\0IsUsernameValid\0RandUserIcon\0"
    "CallQueued\0callName\0args\0onPendingCallFinished\0"
    "QDBusPendingCallWatcher*\0w\0onPropertyChanged\0"
    "propName\0AllowGuest\0GuestIcon\0UserList"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data___Accounts[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      23,   14, // methods
       3,  212, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  129,    2, 0x06 /* Public */,
       4,    1,  132,    2, 0x06 /* Public */,
       5,    1,  135,    2, 0x06 /* Public */,
       7,    1,  138,    2, 0x06 /* Public */,
       8,    1,  141,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    1,  144,    2, 0x0a /* Public */,
      11,    1,  147,    2, 0x0a /* Public */,
      12,    0,  150,    2, 0x0a /* Public */,
      14,    3,  151,    2, 0x0a /* Public */,
      18,    2,  158,    2, 0x0a /* Public */,
      19,    2,  163,    2, 0x0a /* Public */,
      20,    1,  168,    2, 0x0a /* Public */,
      21,    1,  171,    2, 0x0a /* Public */,
      22,    0,  174,    2, 0x0a /* Public */,
      24,    1,  175,    2, 0x0a /* Public */,
      25,    1,  178,    2, 0x0a /* Public */,
      25,    3,  181,    2, 0x0a /* Public */,
      32,    1,  188,    2, 0x0a /* Public */,
      32,    3,  191,    2, 0x0a /* Public */,
      33,    0,  198,    2, 0x0a /* Public */,
      34,    2,  199,    2, 0x0a /* Public */,
      37,    1,  204,    2, 0x08 /* Private */,
      40,    2,  207,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::Bool,    6,
    QMetaType::Void, QMetaType::QString,    6,
    QMetaType::Void, QMetaType::QStringList,    6,

 // slots: parameters
    0x80000000 | 10, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    0x80000000 | 13,
    0x80000000 | 15, QMetaType::QString, QMetaType::QString, QMetaType::Int,    3,   16,   17,
    0x80000000 | 10, QMetaType::QString, QMetaType::Bool,    3,   16,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,    3,   16,
    0x80000000 | 13, QMetaType::QString,    3,
    0x80000000 | 13, QMetaType::QString,    3,
    0x80000000 | 23,
    0x80000000 | 23, QMetaType::Int,    3,
    0x80000000 | 26, QMetaType::QString,    3,
    0x80000000 | 27, QMetaType::QString, 0x80000000 | 28, 0x80000000 | 30,    3,   29,   31,
    0x80000000 | 26, QMetaType::QString,    3,
    0x80000000 | 27, QMetaType::QString, 0x80000000 | 28, 0x80000000 | 30,    3,   29,   31,
    0x80000000 | 13,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariantList,   35,   36,
    QMetaType::Void, 0x80000000 | 38,   39,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariant,   41,    6,

 // properties: name, type, flags
      42, QMetaType::Bool, 0x00495001,
      43, QMetaType::QString, 0x00495001,
      44, QMetaType::QStringList, 0x00495001,

 // properties: notify_signal_id
       2,
       3,
       4,

       0        // eod
};

void __Accounts::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<__Accounts *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->UserAdded((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->UserDeleted((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->AllowGuestChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->GuestIconChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->UserListChanged((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 5: { QDBusPendingReply<> _r = _t->AllowGuestAccount((*reinterpret_cast< bool(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 6: _t->AllowGuestAccountQueued((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: { QDBusPendingReply<QString> _r = _t->CreateGuestAccount();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 8: { QDBusPendingReply<QDBusObjectPath> _r = _t->CreateUser((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QDBusObjectPath>*>(_a[0]) = std::move(_r); }  break;
        case 9: { QDBusPendingReply<> _r = _t->DeleteUser((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 10: _t->DeleteUserQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 11: { QDBusPendingReply<QString> _r = _t->FindUserById((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 12: { QDBusPendingReply<QString> _r = _t->FindUserByName((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 13: { QDBusPendingReply<QStringList> _r = _t->GetGroups();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QStringList>*>(_a[0]) = std::move(_r); }  break;
        case 14: { QDBusPendingReply<QStringList> _r = _t->GetPresetGroups((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QStringList>*>(_a[0]) = std::move(_r); }  break;
        case 15: { QDBusPendingReply<bool,QString,int> _r = _t->IsPasswordValid((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool,QString,int>*>(_a[0]) = std::move(_r); }  break;
        case 16: { QDBusReply<bool> _r = _t->IsPasswordValid((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QDBusReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 17: { QDBusPendingReply<bool,QString,int> _r = _t->IsUsernameValid((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool,QString,int>*>(_a[0]) = std::move(_r); }  break;
        case 18: { QDBusReply<bool> _r = _t->IsUsernameValid((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QDBusReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 19: { QDBusPendingReply<QString> _r = _t->RandUserIcon();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 20: _t->CallQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<QVariant>(*)>(_a[2]))); break;
        case 21: _t->onPendingCallFinished((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 22: _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 21:
            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 (__Accounts::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Accounts::UserAdded)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (__Accounts::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Accounts::UserDeleted)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (__Accounts::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Accounts::AllowGuestChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (__Accounts::*)(const QString & ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Accounts::GuestIconChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (__Accounts::*)(const QStringList & ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Accounts::UserListChanged)) {
                *result = 4;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<__Accounts *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->allowGuest(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->guestIcon(); break;
        case 2: *reinterpret_cast< QStringList*>(_v) = _t->userList(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject __Accounts::staticMetaObject = { {
    QMetaObject::SuperData::link<DBusExtendedAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata___Accounts.data,
    qt_meta_data___Accounts,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

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

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

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

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

// SIGNAL 4
void __Accounts::UserListChanged(const QStringList & _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Accounts *>(this), &staticMetaObject, 4, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
