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

#include <memory>
#include "../../src/global_util/dbus/authenticate_interface.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'authenticate_interface.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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___Authenticate_t {
    QByteArrayData data[27];
    char stringdata0[350];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata___Authenticate_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata___Authenticate_t qt_meta_stringdata___Authenticate = {
    {
QT_MOC_LITERAL(0, 0, 14), // "__Authenticate"
QT_MOC_LITERAL(1, 15, 12), // "LimitUpdated"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 3), // "in0"
QT_MOC_LITERAL(4, 33, 21), // "FrameworkStateChanged"
QT_MOC_LITERAL(5, 55, 5), // "value"
QT_MOC_LITERAL(6, 61, 22), // "SupportEncryptsChanged"
QT_MOC_LITERAL(7, 84, 21), // "SupportedFlagsChanged"
QT_MOC_LITERAL(8, 106, 12), // "Authenticate"
QT_MOC_LITERAL(9, 119, 26), // "QDBusPendingReply<QString>"
QT_MOC_LITERAL(10, 146, 8), // "username"
QT_MOC_LITERAL(11, 155, 9), // "authFlags"
QT_MOC_LITERAL(12, 165, 7), // "appType"
QT_MOC_LITERAL(13, 173, 9), // "GetLimits"
QT_MOC_LITERAL(14, 183, 14), // "PreOneKeyLogin"
QT_MOC_LITERAL(15, 198, 4), // "flag"
QT_MOC_LITERAL(16, 203, 10), // "CallQueued"
QT_MOC_LITERAL(17, 214, 8), // "callName"
QT_MOC_LITERAL(18, 223, 4), // "args"
QT_MOC_LITERAL(19, 228, 21), // "onPendingCallFinished"
QT_MOC_LITERAL(20, 250, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(21, 275, 1), // "w"
QT_MOC_LITERAL(22, 277, 17), // "onPropertyChanged"
QT_MOC_LITERAL(23, 295, 8), // "propName"
QT_MOC_LITERAL(24, 304, 14), // "FrameworkState"
QT_MOC_LITERAL(25, 319, 15), // "SupportEncrypts"
QT_MOC_LITERAL(26, 335, 14) // "SupportedFlags"

    },
    "__Authenticate\0LimitUpdated\0\0in0\0"
    "FrameworkStateChanged\0value\0"
    "SupportEncryptsChanged\0SupportedFlagsChanged\0"
    "Authenticate\0QDBusPendingReply<QString>\0"
    "username\0authFlags\0appType\0GetLimits\0"
    "PreOneKeyLogin\0flag\0CallQueued\0callName\0"
    "args\0onPendingCallFinished\0"
    "QDBusPendingCallWatcher*\0w\0onPropertyChanged\0"
    "propName\0FrameworkState\0SupportEncrypts\0"
    "SupportedFlags"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data___Authenticate[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      10,   14, // methods
       3,  102, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   64,    2, 0x06 /* Public */,
       4,    1,   67,    2, 0x06 /* Public */,
       6,    1,   70,    2, 0x06 /* Public */,
       7,    1,   73,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    3,   76,    2, 0x0a /* Public */,
      13,    1,   83,    2, 0x0a /* Public */,
      14,    1,   86,    2, 0x0a /* Public */,
      16,    2,   89,    2, 0x0a /* Public */,
      19,    1,   94,    2, 0x08 /* Private */,
      22,    2,   97,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::Int,    5,

 // slots: parameters
    0x80000000 | 9, QMetaType::QString, QMetaType::Int, QMetaType::Int,   10,   11,   12,
    0x80000000 | 9, QMetaType::QString,   10,
    0x80000000 | 9, QMetaType::Int,   15,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariantList,   17,   18,
    QMetaType::Void, 0x80000000 | 20,   21,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariant,   23,    5,

 // properties: name, type, flags
      24, QMetaType::Int, 0x00495001,
      25, QMetaType::QString, 0x00495001,
      26, QMetaType::Int, 0x00495001,

 // properties: notify_signal_id
       1,
       2,
       3,

       0        // eod
};

void __Authenticate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<__Authenticate *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->LimitUpdated((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->FrameworkStateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->SupportEncryptsChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->SupportedFlagsChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: { QDBusPendingReply<QString> _r = _t->Authenticate((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 5: { QDBusPendingReply<QString> _r = _t->GetLimits((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 6: { QDBusPendingReply<QString> _r = _t->PreOneKeyLogin((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 7: _t->CallQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<QVariant>(*)>(_a[2]))); break;
        case 8: _t->onPendingCallFinished((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 9: _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 8:
            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 (__Authenticate::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Authenticate::LimitUpdated)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (__Authenticate::*)(int ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Authenticate::FrameworkStateChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (__Authenticate::*)(const QString & ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Authenticate::SupportEncryptsChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (__Authenticate::*)(int ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Authenticate::SupportedFlagsChanged)) {
                *result = 3;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<__Authenticate *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->frameworkState(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->supportEncrypts(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->supportedFlags(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject __Authenticate::staticMetaObject = { {
    QMetaObject::SuperData::link<Dtk::Core::DDBusExtendedAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata___Authenticate.data,
    qt_meta_data___Authenticate,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *__Authenticate::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata___Authenticate.stringdata0))
        return static_cast<void*>(this);
    return Dtk::Core::DDBusExtendedAbstractInterface::qt_metacast(_clname);
}

int __Authenticate::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Dtk::Core::DDBusExtendedAbstractInterface::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
#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 __Authenticate::LimitUpdated(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 __Authenticate::FrameworkStateChanged(int _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Authenticate *>(this), &staticMetaObject, 1, _a);
}

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

// SIGNAL 3
void __Authenticate::SupportedFlagsChanged(int _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Authenticate *>(this), &staticMetaObject, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
