/****************************************************************************
** Meta object code from reading C++ file 'DatabaseSettingsWidgetBrowser.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/gui/dbsettings/DatabaseSettingsWidgetBrowser.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'DatabaseSettingsWidgetBrowser.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_DatabaseSettingsWidgetBrowser_t {
    QByteArrayData data[20];
    char stringdata0[309];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_DatabaseSettingsWidgetBrowser_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_DatabaseSettingsWidgetBrowser_t qt_meta_stringdata_DatabaseSettingsWidgetBrowser = {
    {
QT_MOC_LITERAL(0, 0, 29), // "DatabaseSettingsWidgetBrowser"
QT_MOC_LITERAL(1, 30, 10), // "initialize"
QT_MOC_LITERAL(2, 41, 0), // ""
QT_MOC_LITERAL(3, 42, 12), // "uninitialize"
QT_MOC_LITERAL(4, 55, 12), // "saveSettings"
QT_MOC_LITERAL(5, 68, 17), // "removeSelectedKey"
QT_MOC_LITERAL(6, 86, 18), // "toggleRemoveButton"
QT_MOC_LITERAL(7, 105, 14), // "QItemSelection"
QT_MOC_LITERAL(8, 120, 8), // "selected"
QT_MOC_LITERAL(9, 129, 19), // "updateSharedKeyList"
QT_MOC_LITERAL(10, 149, 26), // "removeSharedEncryptionKeys"
QT_MOC_LITERAL(11, 176, 23), // "removeStoredPermissions"
QT_MOC_LITERAL(12, 200, 29), // "convertAttributesToCustomData"
QT_MOC_LITERAL(13, 230, 17), // "refreshDatabaseID"
QT_MOC_LITERAL(14, 248, 9), // "editIndex"
QT_MOC_LITERAL(15, 258, 11), // "QModelIndex"
QT_MOC_LITERAL(16, 270, 5), // "index"
QT_MOC_LITERAL(17, 276, 12), // "editFinished"
QT_MOC_LITERAL(18, 289, 14), // "QStandardItem*"
QT_MOC_LITERAL(19, 304, 4) // "item"

    },
    "DatabaseSettingsWidgetBrowser\0initialize\0"
    "\0uninitialize\0saveSettings\0removeSelectedKey\0"
    "toggleRemoveButton\0QItemSelection\0"
    "selected\0updateSharedKeyList\0"
    "removeSharedEncryptionKeys\0"
    "removeStoredPermissions\0"
    "convertAttributesToCustomData\0"
    "refreshDatabaseID\0editIndex\0QModelIndex\0"
    "index\0editFinished\0QStandardItem*\0"
    "item"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_DatabaseSettingsWidgetBrowser[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   74,    2, 0x0a /* Public */,
       3,    0,   75,    2, 0x0a /* Public */,
       4,    0,   76,    2, 0x0a /* Public */,
       5,    0,   77,    2, 0x08 /* Private */,
       6,    1,   78,    2, 0x08 /* Private */,
       9,    0,   81,    2, 0x08 /* Private */,
      10,    0,   82,    2, 0x08 /* Private */,
      11,    0,   83,    2, 0x08 /* Private */,
      12,    0,   84,    2, 0x08 /* Private */,
      13,    0,   85,    2, 0x08 /* Private */,
      14,    1,   86,    2, 0x08 /* Private */,
      17,    1,   89,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 15,   16,
    QMetaType::Void, 0x80000000 | 18,   19,

       0        // eod
};

void DatabaseSettingsWidgetBrowser::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<DatabaseSettingsWidgetBrowser *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->initialize(); break;
        case 1: _t->uninitialize(); break;
        case 2: { bool _r = _t->saveSettings();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 3: _t->removeSelectedKey(); break;
        case 4: _t->toggleRemoveButton((*reinterpret_cast< const QItemSelection(*)>(_a[1]))); break;
        case 5: _t->updateSharedKeyList(); break;
        case 6: _t->removeSharedEncryptionKeys(); break;
        case 7: _t->removeStoredPermissions(); break;
        case 8: _t->convertAttributesToCustomData(); break;
        case 9: _t->refreshDatabaseID(); break;
        case 10: _t->editIndex((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 11: _t->editFinished((*reinterpret_cast< QStandardItem*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QItemSelection >(); break;
            }
            break;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject DatabaseSettingsWidgetBrowser::staticMetaObject = { {
    QMetaObject::SuperData::link<DatabaseSettingsWidget::staticMetaObject>(),
    qt_meta_stringdata_DatabaseSettingsWidgetBrowser.data,
    qt_meta_data_DatabaseSettingsWidgetBrowser,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *DatabaseSettingsWidgetBrowser::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_DatabaseSettingsWidgetBrowser.stringdata0))
        return static_cast<void*>(this);
    return DatabaseSettingsWidget::qt_metacast(_clname);
}

int DatabaseSettingsWidgetBrowser::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = DatabaseSettingsWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
