/****************************************************************************
** Meta object code from reading C++ file 'Service.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 "../../../../../keepassxc/src/fdosecrets/objects/Service.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'Service.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_FdoSecrets__Service_t {
    QByteArrayData data[67];
    char stringdata0[945];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_FdoSecrets__Service_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_FdoSecrets__Service_t qt_meta_stringdata_FdoSecrets__Service = {
    {
QT_MOC_LITERAL(0, 0, 19), // "FdoSecrets::Service"
QT_MOC_LITERAL(1, 20, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 36, 30), // "org.freedesktop.Secret.Service"
QT_MOC_LITERAL(3, 67, 17), // "collectionCreated"
QT_MOC_LITERAL(4, 85, 0), // ""
QT_MOC_LITERAL(5, 86, 11), // "Collection*"
QT_MOC_LITERAL(6, 98, 10), // "collection"
QT_MOC_LITERAL(7, 109, 17), // "collectionDeleted"
QT_MOC_LITERAL(8, 127, 17), // "collectionChanged"
QT_MOC_LITERAL(9, 145, 26), // "doneUnlockDatabaseInDialog"
QT_MOC_LITERAL(10, 172, 8), // "accepted"
QT_MOC_LITERAL(11, 181, 15), // "DatabaseWidget*"
QT_MOC_LITERAL(12, 197, 8), // "dbWidget"
QT_MOC_LITERAL(13, 206, 14), // "doLockDatabase"
QT_MOC_LITERAL(14, 221, 15), // "doCloseDatabase"
QT_MOC_LITERAL(15, 237, 13), // "doNewDatabase"
QT_MOC_LITERAL(16, 251, 26), // "doSwitchToDatabaseSettings"
QT_MOC_LITERAL(17, 278, 24), // "doUnlockDatabaseInDialog"
QT_MOC_LITERAL(18, 303, 27), // "doUnlockAnyDatabaseInDialog"
QT_MOC_LITERAL(19, 331, 18), // "ensureDefaultAlias"
QT_MOC_LITERAL(20, 350, 30), // "onDatabaseUnlockDialogFinished"
QT_MOC_LITERAL(21, 381, 19), // "onDatabaseTabOpened"
QT_MOC_LITERAL(22, 401, 10), // "emitSignal"
QT_MOC_LITERAL(23, 412, 27), // "monitorDatabaseExposedGroup"
QT_MOC_LITERAL(24, 440, 27), // "onCollectionAliasAboutToAdd"
QT_MOC_LITERAL(25, 468, 5), // "alias"
QT_MOC_LITERAL(26, 474, 22), // "onCollectionAliasAdded"
QT_MOC_LITERAL(27, 497, 24), // "onCollectionAliasRemoved"
QT_MOC_LITERAL(28, 522, 11), // "openSession"
QT_MOC_LITERAL(29, 534, 10), // "DBusResult"
QT_MOC_LITERAL(30, 545, 13), // "DBusClientPtr"
QT_MOC_LITERAL(31, 559, 6), // "client"
QT_MOC_LITERAL(32, 566, 9), // "algorithm"
QT_MOC_LITERAL(33, 576, 5), // "input"
QT_MOC_LITERAL(34, 582, 9), // "QVariant&"
QT_MOC_LITERAL(35, 592, 6), // "output"
QT_MOC_LITERAL(36, 599, 9), // "Session*&"
QT_MOC_LITERAL(37, 609, 6), // "result"
QT_MOC_LITERAL(38, 616, 16), // "createCollection"
QT_MOC_LITERAL(39, 633, 10), // "properties"
QT_MOC_LITERAL(40, 644, 12), // "Collection*&"
QT_MOC_LITERAL(41, 657, 12), // "PromptBase*&"
QT_MOC_LITERAL(42, 670, 6), // "prompt"
QT_MOC_LITERAL(43, 677, 11), // "searchItems"
QT_MOC_LITERAL(44, 689, 15), // "StringStringMap"
QT_MOC_LITERAL(45, 705, 10), // "attributes"
QT_MOC_LITERAL(46, 716, 13), // "QList<Item*>&"
QT_MOC_LITERAL(47, 730, 8), // "unlocked"
QT_MOC_LITERAL(48, 739, 6), // "locked"
QT_MOC_LITERAL(49, 746, 6), // "unlock"
QT_MOC_LITERAL(50, 753, 18), // "QList<DBusObject*>"
QT_MOC_LITERAL(51, 772, 7), // "objects"
QT_MOC_LITERAL(52, 780, 19), // "QList<DBusObject*>&"
QT_MOC_LITERAL(53, 800, 4), // "lock"
QT_MOC_LITERAL(54, 805, 10), // "getSecrets"
QT_MOC_LITERAL(55, 816, 12), // "QList<Item*>"
QT_MOC_LITERAL(56, 829, 5), // "items"
QT_MOC_LITERAL(57, 835, 8), // "Session*"
QT_MOC_LITERAL(58, 844, 7), // "session"
QT_MOC_LITERAL(59, 852, 14), // "ItemSecretMap&"
QT_MOC_LITERAL(60, 867, 7), // "secrets"
QT_MOC_LITERAL(61, 875, 9), // "readAlias"
QT_MOC_LITERAL(62, 885, 4), // "name"
QT_MOC_LITERAL(63, 890, 8), // "setAlias"
QT_MOC_LITERAL(64, 899, 11), // "collections"
QT_MOC_LITERAL(65, 911, 13), // "DBUS_PROPERTY"
QT_MOC_LITERAL(66, 925, 19) // "QList<Collection*>&"

    },
    "FdoSecrets::Service\0D-Bus Interface\0"
    "org.freedesktop.Secret.Service\0"
    "collectionCreated\0\0Collection*\0"
    "collection\0collectionDeleted\0"
    "collectionChanged\0doneUnlockDatabaseInDialog\0"
    "accepted\0DatabaseWidget*\0dbWidget\0"
    "doLockDatabase\0doCloseDatabase\0"
    "doNewDatabase\0doSwitchToDatabaseSettings\0"
    "doUnlockDatabaseInDialog\0"
    "doUnlockAnyDatabaseInDialog\0"
    "ensureDefaultAlias\0onDatabaseUnlockDialogFinished\0"
    "onDatabaseTabOpened\0emitSignal\0"
    "monitorDatabaseExposedGroup\0"
    "onCollectionAliasAboutToAdd\0alias\0"
    "onCollectionAliasAdded\0onCollectionAliasRemoved\0"
    "openSession\0DBusResult\0DBusClientPtr\0"
    "client\0algorithm\0input\0QVariant&\0"
    "output\0Session*&\0result\0createCollection\0"
    "properties\0Collection*&\0PromptBase*&\0"
    "prompt\0searchItems\0StringStringMap\0"
    "attributes\0QList<Item*>&\0unlocked\0"
    "locked\0unlock\0QList<DBusObject*>\0"
    "objects\0QList<DBusObject*>&\0lock\0"
    "getSecrets\0QList<Item*>\0items\0Session*\0"
    "session\0ItemSecretMap&\0secrets\0readAlias\0"
    "name\0setAlias\0collections\0DBUS_PROPERTY\0"
    "QList<Collection*>&"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_FdoSecrets__Service[] = {

 // content:
       8,       // revision
       0,       // classname
       1,   14, // classinfo
      26,   16, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    1,  146,    4, 0x06 /* Public */,
       7,    1,  149,    4, 0x06 /* Public */,
       8,    1,  152,    4, 0x06 /* Public */,
       9,    2,  155,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      13,    1,  160,    4, 0x0a /* Public */,
      14,    1,  163,    4, 0x0a /* Public */,
      15,    0,  166,    4, 0x0a /* Public */,
      16,    1,  167,    4, 0x0a /* Public */,
      17,    1,  170,    4, 0x0a /* Public */,
      18,    0,  173,    4, 0x0a /* Public */,
      19,    0,  174,    4, 0x08 /* Private */,
      20,    2,  175,    4, 0x08 /* Private */,
      21,    2,  180,    4, 0x08 /* Private */,
      23,    1,  185,    4, 0x08 /* Private */,
      24,    1,  188,    4, 0x08 /* Private */,
      26,    1,  191,    4, 0x08 /* Private */,
      27,    1,  194,    4, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      28,    5,  197,    4, 0x02 /* Public */,
      38,    4,  208,    4, 0x02 /* Public */,
      43,    4,  217,    4, 0x02 /* Public */,
      49,    4,  226,    4, 0x02 /* Public */,
      53,    3,  235,    4, 0x02 /* Public */,
      54,    4,  242,    4, 0x02 /* Public */,
      61,    2,  251,    4, 0x02 /* Public */,
      63,    2,  256,    4, 0x02 /* Public */,
      64,    1,  261,   65, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, QMetaType::Bool, 0x80000000 | 11,   10,   12,

 // slots: parameters
    QMetaType::Bool, 0x80000000 | 11,   12,
    QMetaType::Bool, 0x80000000 | 11,   12,
    0x80000000 | 5,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool, 0x80000000 | 11,   10,   12,
    QMetaType::Void, 0x80000000 | 11, QMetaType::Bool,   12,   22,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, QMetaType::QString,   25,
    QMetaType::Void, QMetaType::QString,   25,
    QMetaType::Void, QMetaType::QString,   25,

 // methods: parameters
    0x80000000 | 29, 0x80000000 | 30, QMetaType::QString, QMetaType::QVariant, 0x80000000 | 34, 0x80000000 | 36,   31,   32,   33,   35,   37,
    0x80000000 | 29, QMetaType::QVariantMap, QMetaType::QString, 0x80000000 | 40, 0x80000000 | 41,   39,   25,    6,   42,
    0x80000000 | 29, 0x80000000 | 30, 0x80000000 | 44, 0x80000000 | 46, 0x80000000 | 46,   31,   45,   47,   48,
    0x80000000 | 29, 0x80000000 | 30, 0x80000000 | 50, 0x80000000 | 52, 0x80000000 | 41,   31,   51,   47,   42,
    0x80000000 | 29, 0x80000000 | 50, 0x80000000 | 52, 0x80000000 | 41,   51,   48,   42,
    0x80000000 | 29, 0x80000000 | 30, 0x80000000 | 55, 0x80000000 | 57, 0x80000000 | 59,   31,   56,   58,   60,
    0x80000000 | 29, QMetaType::QString, 0x80000000 | 40,   62,    6,
    0x80000000 | 29, QMetaType::QString, 0x80000000 | 5,   62,    6,
    0x80000000 | 29, 0x80000000 | 66,   64,

       0        // eod
};

void FdoSecrets::Service::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Service *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->collectionCreated((*reinterpret_cast< Collection*(*)>(_a[1]))); break;
        case 1: _t->collectionDeleted((*reinterpret_cast< Collection*(*)>(_a[1]))); break;
        case 2: _t->collectionChanged((*reinterpret_cast< Collection*(*)>(_a[1]))); break;
        case 3: _t->doneUnlockDatabaseInDialog((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< DatabaseWidget*(*)>(_a[2]))); break;
        case 4: { bool _r = _t->doLockDatabase((*reinterpret_cast< DatabaseWidget*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 5: { bool _r = _t->doCloseDatabase((*reinterpret_cast< DatabaseWidget*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 6: { Collection* _r = _t->doNewDatabase();
            if (_a[0]) *reinterpret_cast< Collection**>(_a[0]) = std::move(_r); }  break;
        case 7: _t->doSwitchToDatabaseSettings((*reinterpret_cast< DatabaseWidget*(*)>(_a[1]))); break;
        case 8: _t->doUnlockDatabaseInDialog((*reinterpret_cast< DatabaseWidget*(*)>(_a[1]))); break;
        case 9: _t->doUnlockAnyDatabaseInDialog(); break;
        case 10: _t->ensureDefaultAlias(); break;
        case 11: _t->onDatabaseUnlockDialogFinished((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< DatabaseWidget*(*)>(_a[2]))); break;
        case 12: _t->onDatabaseTabOpened((*reinterpret_cast< DatabaseWidget*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 13: _t->monitorDatabaseExposedGroup((*reinterpret_cast< DatabaseWidget*(*)>(_a[1]))); break;
        case 14: _t->onCollectionAliasAboutToAdd((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 15: _t->onCollectionAliasAdded((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 16: _t->onCollectionAliasRemoved((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 17: { DBusResult _r = _t->openSession((*reinterpret_cast< const DBusClientPtr(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QVariant(*)>(_a[3])),(*reinterpret_cast< QVariant(*)>(_a[4])),(*reinterpret_cast< Session*(*)>(_a[5])));
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        case 18: { DBusResult _r = _t->createCollection((*reinterpret_cast< const QVariantMap(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< Collection*(*)>(_a[3])),(*reinterpret_cast< PromptBase*(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        case 19: { DBusResult _r = _t->searchItems((*reinterpret_cast< const DBusClientPtr(*)>(_a[1])),(*reinterpret_cast< const StringStringMap(*)>(_a[2])),(*reinterpret_cast< QList<Item*>(*)>(_a[3])),(*reinterpret_cast< QList<Item*>(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        case 20: { DBusResult _r = _t->unlock((*reinterpret_cast< const DBusClientPtr(*)>(_a[1])),(*reinterpret_cast< const QList<DBusObject*>(*)>(_a[2])),(*reinterpret_cast< QList<DBusObject*>(*)>(_a[3])),(*reinterpret_cast< PromptBase*(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        case 21: { DBusResult _r = _t->lock((*reinterpret_cast< const QList<DBusObject*>(*)>(_a[1])),(*reinterpret_cast< QList<DBusObject*>(*)>(_a[2])),(*reinterpret_cast< PromptBase*(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        case 22: { DBusResult _r = _t->getSecrets((*reinterpret_cast< const DBusClientPtr(*)>(_a[1])),(*reinterpret_cast< const QList<Item*>(*)>(_a[2])),(*reinterpret_cast< Session*(*)>(_a[3])),(*reinterpret_cast< ItemSecretMap(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        case 23: { DBusResult _r = _t->readAlias((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< Collection*(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        case 24: { DBusResult _r = _t->setAlias((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< Collection*(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        case 25: { DBusResult _r = _t->collections((*reinterpret_cast< QList<Collection*>(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 20:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<DBusObject*> >(); break;
            }
            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< QList<DBusObject*> >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (Service::*)(Collection * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Service::collectionCreated)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (Service::*)(Collection * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Service::collectionDeleted)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (Service::*)(Collection * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Service::collectionChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (Service::*)(bool , DatabaseWidget * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Service::doneUnlockDatabaseInDialog)) {
                *result = 3;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject FdoSecrets::Service::staticMetaObject = { {
    QMetaObject::SuperData::link<DBusObject::staticMetaObject>(),
    qt_meta_stringdata_FdoSecrets__Service.data,
    qt_meta_data_FdoSecrets__Service,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *FdoSecrets::Service::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_FdoSecrets__Service.stringdata0))
        return static_cast<void*>(this);
    return DBusObject::qt_metacast(_clname);
}

int FdoSecrets::Service::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = DBusObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 26)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 26;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 26)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 26;
    }
    return _id;
}

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

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

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

// SIGNAL 3
void FdoSecrets::Service::doneUnlockDatabaseInDialog(bool _t1, DatabaseWidget * _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, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
