/****************************************************************************
** Meta object code from reading C++ file 'Item.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/Item.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'Item.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__Item_t {
    QByteArrayData data[37];
    char stringdata0[407];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_FdoSecrets__Item_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_FdoSecrets__Item_t qt_meta_stringdata_FdoSecrets__Item = {
    {
QT_MOC_LITERAL(0, 0, 16), // "FdoSecrets::Item"
QT_MOC_LITERAL(1, 17, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 33, 27), // "org.freedesktop.Secret.Item"
QT_MOC_LITERAL(3, 61, 11), // "itemChanged"
QT_MOC_LITERAL(4, 73, 0), // ""
QT_MOC_LITERAL(5, 74, 17), // "itemAboutToDelete"
QT_MOC_LITERAL(6, 92, 8), // "doDelete"
QT_MOC_LITERAL(7, 101, 14), // "removeFromDBus"
QT_MOC_LITERAL(8, 116, 13), // "ensureBackend"
QT_MOC_LITERAL(9, 130, 10), // "DBusResult"
QT_MOC_LITERAL(10, 141, 14), // "ensureUnlocked"
QT_MOC_LITERAL(11, 156, 6), // "locked"
QT_MOC_LITERAL(12, 163, 13), // "DBUS_PROPERTY"
QT_MOC_LITERAL(13, 177, 13), // "DBusClientPtr"
QT_MOC_LITERAL(14, 191, 6), // "client"
QT_MOC_LITERAL(15, 198, 5), // "bool&"
QT_MOC_LITERAL(16, 204, 10), // "attributes"
QT_MOC_LITERAL(17, 215, 16), // "StringStringMap&"
QT_MOC_LITERAL(18, 232, 5), // "attrs"
QT_MOC_LITERAL(19, 238, 13), // "setAttributes"
QT_MOC_LITERAL(20, 252, 15), // "StringStringMap"
QT_MOC_LITERAL(21, 268, 5), // "label"
QT_MOC_LITERAL(22, 274, 8), // "QString&"
QT_MOC_LITERAL(23, 283, 8), // "setLabel"
QT_MOC_LITERAL(24, 292, 7), // "created"
QT_MOC_LITERAL(25, 300, 11), // "qulonglong&"
QT_MOC_LITERAL(26, 312, 8), // "modified"
QT_MOC_LITERAL(27, 321, 6), // "remove"
QT_MOC_LITERAL(28, 328, 12), // "PromptBase*&"
QT_MOC_LITERAL(29, 341, 6), // "prompt"
QT_MOC_LITERAL(30, 348, 9), // "getSecret"
QT_MOC_LITERAL(31, 358, 8), // "Session*"
QT_MOC_LITERAL(32, 367, 7), // "session"
QT_MOC_LITERAL(33, 375, 7), // "Secret&"
QT_MOC_LITERAL(34, 383, 6), // "secret"
QT_MOC_LITERAL(35, 390, 9), // "setSecret"
QT_MOC_LITERAL(36, 400, 6) // "Secret"

    },
    "FdoSecrets::Item\0D-Bus Interface\0"
    "org.freedesktop.Secret.Item\0itemChanged\0"
    "\0itemAboutToDelete\0doDelete\0removeFromDBus\0"
    "ensureBackend\0DBusResult\0ensureUnlocked\0"
    "locked\0DBUS_PROPERTY\0DBusClientPtr\0"
    "client\0bool&\0attributes\0StringStringMap&\0"
    "attrs\0setAttributes\0StringStringMap\0"
    "label\0QString&\0setLabel\0created\0"
    "qulonglong&\0modified\0remove\0PromptBase*&\0"
    "prompt\0getSecret\0Session*\0session\0"
    "Secret&\0secret\0setSecret\0Secret"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_FdoSecrets__Item[] = {

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

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    0,   96,    4, 0x06 /* Public */,
       5,    0,   97,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    0,   98,    4, 0x0a /* Public */,
       7,    0,   99,    4, 0x0a /* Public */,
       8,    0,  100,    4, 0x08 /* Private */,
      10,    0,  101,    4, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      11,    2,  102,   12, 0x02 /* Public */,
      16,    1,  107,   12, 0x02 /* Public */,
      19,    1,  110,    4, 0x02 /* Public */,
      21,    1,  113,   12, 0x02 /* Public */,
      23,    1,  116,    4, 0x02 /* Public */,
      24,    1,  119,   12, 0x02 /* Public */,
      26,    1,  122,   12, 0x02 /* Public */,
      27,    1,  125,    4, 0x02 /* Public */,
      30,    3,  128,    4, 0x02 /* Public */,
      35,    2,  135,    4, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Bool,
    QMetaType::Void,
    0x80000000 | 9,
    0x80000000 | 9,

 // methods: parameters
    0x80000000 | 9, 0x80000000 | 13, 0x80000000 | 15,   14,   11,
    0x80000000 | 9, 0x80000000 | 17,   18,
    0x80000000 | 9, 0x80000000 | 20,   18,
    0x80000000 | 9, 0x80000000 | 22,   21,
    0x80000000 | 9, QMetaType::QString,   21,
    0x80000000 | 9, 0x80000000 | 25,   24,
    0x80000000 | 9, 0x80000000 | 25,   26,
    0x80000000 | 9, 0x80000000 | 28,   29,
    0x80000000 | 9, 0x80000000 | 13, 0x80000000 | 31, 0x80000000 | 33,   14,   32,   34,
    0x80000000 | 9, 0x80000000 | 13, 0x80000000 | 36,   14,   34,

       0        // eod
};

void FdoSecrets::Item::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Item *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->itemChanged(); break;
        case 1: _t->itemAboutToDelete(); break;
        case 2: { bool _r = _t->doDelete();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 3: _t->removeFromDBus(); break;
        case 4: { DBusResult _r = _t->ensureBackend();
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        case 5: { DBusResult _r = _t->ensureUnlocked();
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        case 6: { DBusResult _r = _t->locked((*reinterpret_cast< const DBusClientPtr(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        case 7: { DBusResult _r = _t->attributes((*reinterpret_cast< StringStringMap(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        case 8: { DBusResult _r = _t->setAttributes((*reinterpret_cast< const StringStringMap(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        case 9: { DBusResult _r = _t->label((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        case 10: { DBusResult _r = _t->setLabel((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        case 11: { DBusResult _r = _t->created((*reinterpret_cast< qulonglong(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        case 12: { DBusResult _r = _t->modified((*reinterpret_cast< qulonglong(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        case 13: { DBusResult _r = _t->remove((*reinterpret_cast< PromptBase*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        case 14: { DBusResult _r = _t->getSecret((*reinterpret_cast< const DBusClientPtr(*)>(_a[1])),(*reinterpret_cast< Session*(*)>(_a[2])),(*reinterpret_cast< Secret(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< DBusResult*>(_a[0]) = std::move(_r); }  break;
        case 15: { DBusResult _r = _t->setSecret((*reinterpret_cast< const DBusClientPtr(*)>(_a[1])),(*reinterpret_cast< const Secret(*)>(_a[2])));
            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 (Item::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Item::itemChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (Item::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Item::itemAboutToDelete)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject FdoSecrets::Item::staticMetaObject = { {
    QMetaObject::SuperData::link<DBusObject::staticMetaObject>(),
    qt_meta_stringdata_FdoSecrets__Item.data,
    qt_meta_data_FdoSecrets__Item,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void FdoSecrets::Item::itemChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void FdoSecrets::Item::itemAboutToDelete()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
