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

#include <memory>
#include "webcredentials_adaptor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QSet>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'webcredentials_adaptor.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.2. 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_WebcredentialsAdaptor_t {
    QByteArrayData data[17];
    char stringdata0[1437];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_WebcredentialsAdaptor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_WebcredentialsAdaptor_t qt_meta_stringdata_WebcredentialsAdaptor = {
    {
QT_MOC_LITERAL(0, 0, 21), // "WebcredentialsAdaptor"
QT_MOC_LITERAL(1, 22, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 38, 39), // "com.canonical.indicators.webc..."
QT_MOC_LITERAL(3, 78, 19), // "D-Bus Introspection"
QT_MOC_LITERAL(4, 98, 1184), // "  <interface name=\"com.canon..."
QT_MOC_LITERAL(5, 1187, 16), // "ClearErrorStatus"
QT_MOC_LITERAL(6, 1204, 0), // ""
QT_MOC_LITERAL(7, 1205, 21), // "ReauthenticateAccount"
QT_MOC_LITERAL(8, 1227, 10), // "account_id"
QT_MOC_LITERAL(9, 1238, 16), // "extra_parameters"
QT_MOC_LITERAL(10, 1255, 14), // "RemoveFailures"
QT_MOC_LITERAL(11, 1270, 10), // "QSet<uint>"
QT_MOC_LITERAL(12, 1281, 11), // "account_ids"
QT_MOC_LITERAL(13, 1293, 13), // "ReportFailure"
QT_MOC_LITERAL(14, 1307, 12), // "notification"
QT_MOC_LITERAL(15, 1320, 11), // "ErrorStatus"
QT_MOC_LITERAL(16, 1332, 8) // "Failures"

    },
    "WebcredentialsAdaptor\0D-Bus Interface\0"
    "com.canonical.indicators.webcredentials\0"
    "D-Bus Introspection\0"
    "  <interface name=\"com.canonical.indicators.webcredentials\">\n    <m"
    "ethod name=\"ReportFailure\">\n      <annotation value=\"QVariantMap\""
    " name=\"org.qtproject.QtDBus.QtTypeName.In1\"/>\n      <arg direction="
    "\"in\" type=\"u\" name=\"account_id\"/>\n      <arg direction=\"in\" t"
    "ype=\"a{sv}\" name=\"notification\"/>\n    </method>\n    <method name"
    "=\"RemoveFailures\">\n      <annotation value=\"QSet&lt;uint&gt;\" nam"
    "e=\"org.qtproject.QtDBus.QtTypeName.In0\"/>\n      <arg direction=\"in"
    "\" type=\"au\" name=\"account_ids\"/>\n    </method>\n    <method name"
    "=\"ReauthenticateAccount\">\n      <annotation value=\"QVariantMap\" n"
    "ame=\"org.qtproject.QtDBus.QtTypeName.In1\"/>\n      <arg direction=\""
    "in\" type=\"u\" name=\"account_id\"/>\n      <arg direction=\"in\" typ"
    "e=\"a{sv}\" name=\"extra_parameters\"/>\n      <arg direction=\"out\" "
    "type=\"b\" name=\"reauthenticated\"/>\n    </method>\n    <method name"
    "=\"ClearErrorStatus\"/>\n    <property access=\"read\" type=\"au\" nam"
    "e=\"Failures\">\n      <annotation value=\"QSet&lt;uint&gt;\" name=\"o"
    "rg.qtproject.QtDBus.QtTypeName\"/>\n    </property>\n    <property acc"
    "ess=\"read\" type=\"b\" name=\"ErrorStatus\"/>\n  </interface>\n\0"
    "ClearErrorStatus\0\0ReauthenticateAccount\0"
    "account_id\0extra_parameters\0RemoveFailures\0"
    "QSet<uint>\0account_ids\0ReportFailure\0"
    "notification\0ErrorStatus\0Failures"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_WebcredentialsAdaptor[] = {

 // content:
       8,       // revision
       0,       // classname
       2,   14, // classinfo
       4,   18, // methods
       2,   52, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // classinfo: key, value
       1,    2,
       3,    4,

 // slots: name, argc, parameters, tag, flags
       5,    0,   38,    6, 0x0a /* Public */,
       7,    2,   39,    6, 0x0a /* Public */,
      10,    1,   44,    6, 0x0a /* Public */,
      13,    2,   47,    6, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Bool, QMetaType::UInt, QMetaType::QVariantMap,    8,    9,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, QMetaType::UInt, QMetaType::QVariantMap,    8,   14,

 // properties: name, type, flags
      15, QMetaType::Bool, 0x00095001,
      16, 0x80000000 | 11, 0x00095009,

       0        // eod
};

void WebcredentialsAdaptor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<WebcredentialsAdaptor *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->ClearErrorStatus(); break;
        case 1: { bool _r = _t->ReauthenticateAccount((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< const QVariantMap(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 2: _t->RemoveFailures((*reinterpret_cast< const QSet<uint>(*)>(_a[1]))); break;
        case 3: _t->ReportFailure((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< const QVariantMap(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QSet<uint> >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QSet<uint> >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<WebcredentialsAdaptor *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->errorStatus(); break;
        case 1: *reinterpret_cast< QSet<uint>*>(_v) = _t->failures(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject WebcredentialsAdaptor::staticMetaObject = { {
    QMetaObject::SuperData::link<QDBusAbstractAdaptor::staticMetaObject>(),
    qt_meta_stringdata_WebcredentialsAdaptor.data,
    qt_meta_data_WebcredentialsAdaptor,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int WebcredentialsAdaptor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDBusAbstractAdaptor::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
#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 -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
