/****************************************************************************
** Meta object code from reading C++ file 'Collection.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/Collection.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'Collection.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__Collection_t {
    QByteArrayData data[58];
    char stringdata0[694];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_FdoSecrets__Collection_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_FdoSecrets__Collection_t qt_meta_stringdata_FdoSecrets__Collection = {
    {
QT_MOC_LITERAL(0, 0, 22), // "FdoSecrets::Collection"
QT_MOC_LITERAL(1, 23, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 39, 33), // "org.freedesktop.Secret.Collec..."
QT_MOC_LITERAL(3, 73, 11), // "itemCreated"
QT_MOC_LITERAL(4, 85, 0), // ""
QT_MOC_LITERAL(5, 86, 5), // "Item*"
QT_MOC_LITERAL(6, 92, 4), // "item"
QT_MOC_LITERAL(7, 97, 11), // "itemDeleted"
QT_MOC_LITERAL(8, 109, 11), // "itemChanged"
QT_MOC_LITERAL(9, 121, 17), // "collectionChanged"
QT_MOC_LITERAL(10, 139, 23), // "collectionAboutToDelete"
QT_MOC_LITERAL(11, 163, 21), // "collectionLockChanged"
QT_MOC_LITERAL(12, 185, 9), // "newLocked"
QT_MOC_LITERAL(13, 195, 15), // "aliasAboutToAdd"
QT_MOC_LITERAL(14, 211, 5), // "alias"
QT_MOC_LITERAL(15, 217, 10), // "aliasAdded"
QT_MOC_LITERAL(16, 228, 12), // "aliasRemoved"
QT_MOC_LITERAL(17, 241, 20), // "doneUnlockCollection"
QT_MOC_LITERAL(18, 262, 8), // "accepted"
QT_MOC_LITERAL(19, 271, 6), // "doLock"
QT_MOC_LITERAL(20, 278, 8), // "doDelete"
QT_MOC_LITERAL(21, 287, 8), // "doUnlock"
QT_MOC_LITERAL(22, 296, 13), // "doDeleteEntry"
QT_MOC_LITERAL(23, 310, 6), // "Entry*"
QT_MOC_LITERAL(24, 317, 5), // "entry"
QT_MOC_LITERAL(25, 323, 9), // "doNewItem"
QT_MOC_LITERAL(26, 333, 13), // "DBusClientPtr"
QT_MOC_LITERAL(27, 347, 6), // "client"
QT_MOC_LITERAL(28, 354, 8), // "itemPath"
QT_MOC_LITERAL(29, 363, 14), // "removeFromDBus"
QT_MOC_LITERAL(30, 378, 13), // "reloadBackend"
QT_MOC_LITERAL(31, 392, 21), // "onDatabaseLockChanged"
QT_MOC_LITERAL(32, 414, 29), // "onDatabaseExposedGroupChanged"
QT_MOC_LITERAL(33, 444, 21), // "reloadBackendOrDelete"
QT_MOC_LITERAL(34, 466, 5), // "items"
QT_MOC_LITERAL(35, 472, 10), // "DBusResult"
QT_MOC_LITERAL(36, 483, 13), // "DBUS_PROPERTY"
QT_MOC_LITERAL(37, 497, 13), // "QList<Item*>&"
QT_MOC_LITERAL(38, 511, 5), // "label"
QT_MOC_LITERAL(39, 517, 8), // "QString&"
QT_MOC_LITERAL(40, 526, 8), // "setLabel"
QT_MOC_LITERAL(41, 535, 6), // "locked"
QT_MOC_LITERAL(42, 542, 5), // "bool&"
QT_MOC_LITERAL(43, 548, 7), // "created"
QT_MOC_LITERAL(44, 556, 11), // "qulonglong&"
QT_MOC_LITERAL(45, 568, 8), // "modified"
QT_MOC_LITERAL(46, 577, 6), // "remove"
QT_MOC_LITERAL(47, 584, 12), // "PromptBase*&"
QT_MOC_LITERAL(48, 597, 6), // "prompt"
QT_MOC_LITERAL(49, 604, 11), // "searchItems"
QT_MOC_LITERAL(50, 616, 15), // "StringStringMap"
QT_MOC_LITERAL(51, 632, 10), // "attributes"
QT_MOC_LITERAL(52, 643, 10), // "createItem"
QT_MOC_LITERAL(53, 654, 10), // "properties"
QT_MOC_LITERAL(54, 665, 6), // "Secret"
QT_MOC_LITERAL(55, 672, 6), // "secret"
QT_MOC_LITERAL(56, 679, 7), // "replace"
QT_MOC_LITERAL(57, 687, 6) // "Item*&"

    },
    "FdoSecrets::Collection\0D-Bus Interface\0"
    "org.freedesktop.Secret.Collection\0"
    "itemCreated\0\0Item*\0item\0itemDeleted\0"
    "itemChanged\0collectionChanged\0"
    "collectionAboutToDelete\0collectionLockChanged\0"
    "newLocked\0aliasAboutToAdd\0alias\0"
    "aliasAdded\0aliasRemoved\0doneUnlockCollection\0"
    "accepted\0doLock\0doDelete\0doUnlock\0"
    "doDeleteEntry\0Entry*\0entry\0doNewItem\0"
    "DBusClientPtr\0client\0itemPath\0"
    "removeFromDBus\0reloadBackend\0"
    "onDatabaseLockChanged\0"
    "onDatabaseExposedGroupChanged\0"
    "reloadBackendOrDelete\0items\0DBusResult\0"
    "DBUS_PROPERTY\0QList<Item*>&\0label\0"
    "QString&\0setLabel\0locked\0bool&\0created\0"
    "qulonglong&\0modified\0remove\0PromptBase*&\0"
    "prompt\0searchItems\0StringStringMap\0"
    "attributes\0createItem\0properties\0"
    "Secret\0secret\0replace\0Item*&"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_FdoSecrets__Collection[] = {

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

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    1,  161,    4, 0x06 /* Public */,
       7,    1,  164,    4, 0x06 /* Public */,
       8,    1,  167,    4, 0x06 /* Public */,
       9,    0,  170,    4, 0x06 /* Public */,
      10,    0,  171,    4, 0x06 /* Public */,
      11,    1,  172,    4, 0x06 /* Public */,
      13,    1,  175,    4, 0x06 /* Public */,
      15,    1,  178,    4, 0x06 /* Public */,
      16,    1,  181,    4, 0x06 /* Public */,
      17,    1,  184,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      19,    0,  187,    4, 0x0a /* Public */,
      20,    0,  188,    4, 0x0a /* Public */,
      21,    0,  189,    4, 0x0a /* Public */,
      22,    1,  190,    4, 0x0a /* Public */,
      25,    2,  193,    4, 0x0a /* Public */,
      29,    0,  198,    4, 0x0a /* Public */,
      30,    0,  199,    4, 0x0a /* Public */,
      31,    0,  200,    4, 0x08 /* Private */,
      32,    0,  201,    4, 0x08 /* Private */,
      33,    0,  202,    4, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      34,    1,  203,   36, 0x02 /* Public */,
      38,    1,  206,   36, 0x02 /* Public */,
      40,    1,  209,    4, 0x02 /* Public */,
      41,    1,  212,   36, 0x02 /* Public */,
      43,    1,  215,   36, 0x02 /* Public */,
      45,    1,  218,   36, 0x02 /* Public */,
      46,    1,  221,    4, 0x02 /* Public */,
      49,    3,  224,    4, 0x02 /* Public */,
      52,    5,  231,    4, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   12,
    QMetaType::Void, QMetaType::QString,   14,
    QMetaType::Void, QMetaType::QString,   14,
    QMetaType::Void, QMetaType::QString,   14,
    QMetaType::Void, QMetaType::Bool,   18,

 // slots: parameters
    QMetaType::Bool,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Bool, 0x80000000 | 23,   24,
    0x80000000 | 5, 0x80000000 | 26, QMetaType::QString,   27,   28,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    0x80000000 | 35, 0x80000000 | 37,   34,
    0x80000000 | 35, 0x80000000 | 39,   38,
    0x80000000 | 35, QMetaType::QString,   38,
    0x80000000 | 35, 0x80000000 | 42,   41,
    0x80000000 | 35, 0x80000000 | 44,   43,
    0x80000000 | 35, 0x80000000 | 44,   45,
    0x80000000 | 35, 0x80000000 | 47,   48,
    0x80000000 | 35, 0x80000000 | 26, 0x80000000 | 50, 0x80000000 | 37,   27,   51,   34,
    0x80000000 | 35, QMetaType::QVariantMap, 0x80000000 | 54, QMetaType::Bool, 0x80000000 | 57, 0x80000000 | 47,   53,   55,   56,    6,   48,

       0        // eod
};

void FdoSecrets::Collection::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Collection *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->itemCreated((*reinterpret_cast< Item*(*)>(_a[1]))); break;
        case 1: _t->itemDeleted((*reinterpret_cast< Item*(*)>(_a[1]))); break;
        case 2: _t->itemChanged((*reinterpret_cast< Item*(*)>(_a[1]))); break;
        case 3: _t->collectionChanged(); break;
        case 4: _t->collectionAboutToDelete(); break;
        case 5: _t->collectionLockChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->aliasAboutToAdd((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: _t->aliasAdded((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->aliasRemoved((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->doneUnlockCollection((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: { bool _r = _t->doLock();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 11: { bool _r = _t->doDelete();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 12: _t->doUnlock(); break;
        case 13: { bool _r = _t->doDeleteEntry((*reinterpret_cast< Entry*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 14: { Item* _r = _t->doNewItem((*reinterpret_cast< const DBusClientPtr(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< Item**>(_a[0]) = std::move(_r); }  break;
        case 15: _t->removeFromDBus(); break;
        case 16: { bool _r = _t->reloadBackend();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 17: _t->onDatabaseLockChanged(); break;
        case 18: _t->onDatabaseExposedGroupChanged(); break;
        case 19: _t->reloadBackendOrDelete(); break;
        case 20: { DBusResult _r = _t->items((*reinterpret_cast< QList<Item*>(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        case 21: { DBusResult _r = _t->label((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        case 22: { DBusResult _r = _t->setLabel((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        case 23: { DBusResult _r = _t->locked((*reinterpret_cast< bool(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        case 24: { DBusResult _r = _t->created((*reinterpret_cast< qulonglong(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        case 25: { DBusResult _r = _t->modified((*reinterpret_cast< qulonglong(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        case 26: { DBusResult _r = _t->remove((*reinterpret_cast< PromptBase*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        case 27: { DBusResult _r = _t->searchItems((*reinterpret_cast< const DBusClientPtr(*)>(_a[1])),(*reinterpret_cast< const StringStringMap(*)>(_a[2])),(*reinterpret_cast< QList<Item*>(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        case 28: { DBusResult _r = _t->createItem((*reinterpret_cast< const QVariantMap(*)>(_a[1])),(*reinterpret_cast< const Secret(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< Item*(*)>(_a[4])),(*reinterpret_cast< PromptBase*(*)>(_a[5])));
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (Collection::*)(Item * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Collection::itemCreated)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (Collection::*)(Item * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Collection::itemDeleted)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (Collection::*)(Item * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Collection::itemChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (Collection::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Collection::collectionChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (Collection::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Collection::collectionAboutToDelete)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (Collection::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Collection::collectionLockChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (Collection::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Collection::aliasAboutToAdd)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (Collection::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Collection::aliasAdded)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (Collection::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Collection::aliasRemoved)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (Collection::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Collection::doneUnlockCollection)) {
                *result = 9;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject FdoSecrets::Collection::staticMetaObject = { {
    QMetaObject::SuperData::link<DBusObject::staticMetaObject>(),
    qt_meta_stringdata_FdoSecrets__Collection.data,
    qt_meta_data_FdoSecrets__Collection,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int FdoSecrets::Collection::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 < 29)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 29;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 29)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 29;
    }
    return _id;
}

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

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

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

// SIGNAL 3
void FdoSecrets::Collection::collectionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void FdoSecrets::Collection::collectionAboutToDelete()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

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

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

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

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

// SIGNAL 9
void FdoSecrets::Collection::doneUnlockCollection(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
