/****************************************************************************
** Meta object code from reading C++ file 'polkitqt1-authority.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 "../../../../polkit-qt-1-0.201.1/core/polkitqt1-authority.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'polkitqt1-authority.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_PolkitQt1__Authority_t {
    QByteArrayData data[35];
    char stringdata0[689];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PolkitQt1__Authority_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PolkitQt1__Authority_t qt_meta_stringdata_PolkitQt1__Authority = {
    {
QT_MOC_LITERAL(0, 0, 20), // "PolkitQt1::Authority"
QT_MOC_LITERAL(1, 21, 13), // "configChanged"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 19), // "consoleKitDBChanged"
QT_MOC_LITERAL(4, 56, 26), // "checkAuthorizationFinished"
QT_MOC_LITERAL(5, 83, 28), // "PolkitQt1::Authority::Result"
QT_MOC_LITERAL(6, 112, 24), // "enumerateActionsFinished"
QT_MOC_LITERAL(7, 137, 34), // "PolkitQt1::ActionDescription:..."
QT_MOC_LITERAL(8, 172, 35), // "registerAuthenticationAgentFi..."
QT_MOC_LITERAL(9, 208, 37), // "unregisterAuthenticationAgent..."
QT_MOC_LITERAL(10, 246, 35), // "authenticationAgentResponseFi..."
QT_MOC_LITERAL(11, 282, 40), // "enumerateTemporaryAuthorizati..."
QT_MOC_LITERAL(12, 323, 39), // "PolkitQt1::TemporaryAuthoriza..."
QT_MOC_LITERAL(13, 363, 37), // "revokeTemporaryAuthorizations..."
QT_MOC_LITERAL(14, 401, 36), // "revokeTemporaryAuthorizationF..."
QT_MOC_LITERAL(15, 438, 10), // "dbusFilter"
QT_MOC_LITERAL(16, 449, 12), // "QDBusMessage"
QT_MOC_LITERAL(17, 462, 7), // "message"
QT_MOC_LITERAL(18, 470, 6), // "Result"
QT_MOC_LITERAL(19, 477, 7), // "Unknown"
QT_MOC_LITERAL(20, 485, 3), // "Yes"
QT_MOC_LITERAL(21, 489, 2), // "No"
QT_MOC_LITERAL(22, 492, 9), // "Challenge"
QT_MOC_LITERAL(23, 502, 9), // "ErrorCode"
QT_MOC_LITERAL(24, 512, 6), // "E_None"
QT_MOC_LITERAL(25, 519, 14), // "E_GetAuthority"
QT_MOC_LITERAL(26, 534, 13), // "E_CheckFailed"
QT_MOC_LITERAL(27, 548, 14), // "E_WrongSubject"
QT_MOC_LITERAL(28, 563, 15), // "E_UnknownResult"
QT_MOC_LITERAL(29, 579, 12), // "E_EnumFailed"
QT_MOC_LITERAL(30, 592, 16), // "E_RegisterFailed"
QT_MOC_LITERAL(31, 609, 18), // "E_UnregisterFailed"
QT_MOC_LITERAL(32, 628, 23), // "E_CookieOrIdentityEmpty"
QT_MOC_LITERAL(33, 652, 21), // "E_AgentResponseFailed"
QT_MOC_LITERAL(34, 674, 14) // "E_RevokeFailed"

    },
    "PolkitQt1::Authority\0configChanged\0\0"
    "consoleKitDBChanged\0checkAuthorizationFinished\0"
    "PolkitQt1::Authority::Result\0"
    "enumerateActionsFinished\0"
    "PolkitQt1::ActionDescription::List\0"
    "registerAuthenticationAgentFinished\0"
    "unregisterAuthenticationAgentFinished\0"
    "authenticationAgentResponseFinished\0"
    "enumerateTemporaryAuthorizationsFinished\0"
    "PolkitQt1::TemporaryAuthorization::List\0"
    "revokeTemporaryAuthorizationsFinished\0"
    "revokeTemporaryAuthorizationFinished\0"
    "dbusFilter\0QDBusMessage\0message\0Result\0"
    "Unknown\0Yes\0No\0Challenge\0ErrorCode\0"
    "E_None\0E_GetAuthority\0E_CheckFailed\0"
    "E_WrongSubject\0E_UnknownResult\0"
    "E_EnumFailed\0E_RegisterFailed\0"
    "E_UnregisterFailed\0E_CookieOrIdentityEmpty\0"
    "E_AgentResponseFailed\0E_RevokeFailed"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PolkitQt1__Authority[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      11,   14, // methods
       0,    0, // properties
       2,   98, // enums/sets
       0,    0, // constructors
       0,       // flags
      10,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   69,    2, 0x06 /* Public */,
       3,    0,   70,    2, 0x06 /* Public */,
       4,    1,   71,    2, 0x06 /* Public */,
       6,    1,   74,    2, 0x06 /* Public */,
       8,    1,   77,    2, 0x06 /* Public */,
       9,    1,   80,    2, 0x06 /* Public */,
      10,    1,   83,    2, 0x06 /* Public */,
      11,    1,   86,    2, 0x06 /* Public */,
      13,    1,   89,    2, 0x06 /* Public */,
      14,    1,   92,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    1,   95,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5,    2,
    QMetaType::Void, 0x80000000 | 7,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, 0x80000000 | 12,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 16,   17,

 // enums: name, alias, flags, count, data
      18,   18, 0x0,    4,  108,
      23,   23, 0x0,   11,  116,

 // enum data: key, value
      19, uint(PolkitQt1::Authority::Unknown),
      20, uint(PolkitQt1::Authority::Yes),
      21, uint(PolkitQt1::Authority::No),
      22, uint(PolkitQt1::Authority::Challenge),
      24, uint(PolkitQt1::Authority::E_None),
      25, uint(PolkitQt1::Authority::E_GetAuthority),
      26, uint(PolkitQt1::Authority::E_CheckFailed),
      27, uint(PolkitQt1::Authority::E_WrongSubject),
      28, uint(PolkitQt1::Authority::E_UnknownResult),
      29, uint(PolkitQt1::Authority::E_EnumFailed),
      30, uint(PolkitQt1::Authority::E_RegisterFailed),
      31, uint(PolkitQt1::Authority::E_UnregisterFailed),
      32, uint(PolkitQt1::Authority::E_CookieOrIdentityEmpty),
      33, uint(PolkitQt1::Authority::E_AgentResponseFailed),
      34, uint(PolkitQt1::Authority::E_RevokeFailed),

       0        // eod
};

void PolkitQt1::Authority::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Authority *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->configChanged(); break;
        case 1: _t->consoleKitDBChanged(); break;
        case 2: _t->checkAuthorizationFinished((*reinterpret_cast< PolkitQt1::Authority::Result(*)>(_a[1]))); break;
        case 3: _t->enumerateActionsFinished((*reinterpret_cast< PolkitQt1::ActionDescription::List(*)>(_a[1]))); break;
        case 4: _t->registerAuthenticationAgentFinished((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->unregisterAuthenticationAgentFinished((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->authenticationAgentResponseFinished((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->enumerateTemporaryAuthorizationsFinished((*reinterpret_cast< PolkitQt1::TemporaryAuthorization::List(*)>(_a[1]))); break;
        case 8: _t->revokeTemporaryAuthorizationsFinished((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->revokeTemporaryAuthorizationFinished((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: _t->d->dbusFilter((*reinterpret_cast< const QDBusMessage(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< PolkitQt1::ActionDescription::List >(); break;
            }
            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< PolkitQt1::TemporaryAuthorization::List >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (Authority::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Authority::configChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (Authority::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Authority::consoleKitDBChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (Authority::*)(PolkitQt1::Authority::Result );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Authority::checkAuthorizationFinished)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (Authority::*)(PolkitQt1::ActionDescription::List );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Authority::enumerateActionsFinished)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (Authority::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Authority::registerAuthenticationAgentFinished)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (Authority::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Authority::unregisterAuthenticationAgentFinished)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (Authority::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Authority::authenticationAgentResponseFinished)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (Authority::*)(PolkitQt1::TemporaryAuthorization::List );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Authority::enumerateTemporaryAuthorizationsFinished)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (Authority::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Authority::revokeTemporaryAuthorizationsFinished)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (Authority::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Authority::revokeTemporaryAuthorizationFinished)) {
                *result = 9;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject PolkitQt1::Authority::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_PolkitQt1__Authority.data,
    qt_meta_data_PolkitQt1__Authority,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *PolkitQt1::Authority::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_PolkitQt1__Authority.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int PolkitQt1::Authority::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
    return _id;
}

// SIGNAL 0
void PolkitQt1::Authority::configChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void PolkitQt1::Authority::consoleKitDBChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

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

// SIGNAL 3
void PolkitQt1::Authority::enumerateActionsFinished(PolkitQt1::ActionDescription::List _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

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

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

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

// SIGNAL 7
void PolkitQt1::Authority::enumerateTemporaryAuthorizationsFinished(PolkitQt1::TemporaryAuthorization::List _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

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

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