/****************************************************************************
** Meta object code from reading C++ file 'databaseencryptedpasswordbackend.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.6.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../src/lib/autofill/passwordbackends/databaseencryptedpasswordbackend.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'databaseencryptedpasswordbackend.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.2. 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
struct qt_meta_stringdata_MasterPasswordDialog_t {
    QByteArrayData data[12];
    char stringdata0[168];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MasterPasswordDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MasterPasswordDialog_t qt_meta_stringdata_MasterPasswordDialog = {
    {
QT_MOC_LITERAL(0, 0, 20), // "MasterPasswordDialog"
QT_MOC_LITERAL(1, 21, 6), // "accept"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 6), // "reject"
QT_MOC_LITERAL(4, 36, 15), // "showSettingPage"
QT_MOC_LITERAL(5, 52, 25), // "showSetMasterPasswordPage"
QT_MOC_LITERAL(6, 78, 29), // "clearMasterPasswordAndConvert"
QT_MOC_LITERAL(7, 108, 13), // "forcedAskPass"
QT_MOC_LITERAL(8, 122, 17), // "samePasswordEntry"
QT_MOC_LITERAL(9, 140, 13), // "PasswordEntry"
QT_MOC_LITERAL(10, 154, 6), // "entry1"
QT_MOC_LITERAL(11, 161, 6) // "entry2"

    },
    "MasterPasswordDialog\0accept\0\0reject\0"
    "showSettingPage\0showSetMasterPasswordPage\0"
    "clearMasterPasswordAndConvert\0"
    "forcedAskPass\0samePasswordEntry\0"
    "PasswordEntry\0entry1\0entry2"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MasterPasswordDialog[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   49,    2, 0x0a /* Public */,
       3,    0,   50,    2, 0x0a /* Public */,
       4,    0,   51,    2, 0x0a /* Public */,
       5,    0,   52,    2, 0x0a /* Public */,
       6,    1,   53,    2, 0x0a /* Public */,
       6,    0,   56,    2, 0x2a /* Public | MethodCloned */,
       8,    2,   57,    2, 0x0a /* Public */,

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

       0        // eod
};

void MasterPasswordDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MasterPasswordDialog *_t = static_cast<MasterPasswordDialog *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->accept(); break;
        case 1: _t->reject(); break;
        case 2: _t->showSettingPage(); break;
        case 3: _t->showSetMasterPasswordPage(); break;
        case 4: _t->clearMasterPasswordAndConvert((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->clearMasterPasswordAndConvert(); break;
        case 6: { bool _r = _t->samePasswordEntry((*reinterpret_cast< const PasswordEntry(*)>(_a[1])),(*reinterpret_cast< const PasswordEntry(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< PasswordEntry >(); break;
            }
            break;
        }
    }
}

const QMetaObject MasterPasswordDialog::staticMetaObject = {
    { &QDialog::staticMetaObject, qt_meta_stringdata_MasterPasswordDialog.data,
      qt_meta_data_MasterPasswordDialog,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *MasterPasswordDialog::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_MasterPasswordDialog.stringdata0))
        return static_cast<void*>(const_cast< MasterPasswordDialog*>(this));
    return QDialog::qt_metacast(_clname);
}

int MasterPasswordDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    }
    return _id;
}
struct qt_meta_stringdata_AskMasterPassword_t {
    QByteArrayData data[3];
    char stringdata0[34];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_AskMasterPassword_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_AskMasterPassword_t qt_meta_stringdata_AskMasterPassword = {
    {
QT_MOC_LITERAL(0, 0, 17), // "AskMasterPassword"
QT_MOC_LITERAL(1, 18, 14), // "verifyPassword"
QT_MOC_LITERAL(2, 33, 0) // ""

    },
    "AskMasterPassword\0verifyPassword\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_AskMasterPassword[] = {

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

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

 // slots: parameters
    QMetaType::Void,

       0        // eod
};

void AskMasterPassword::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AskMasterPassword *_t = static_cast<AskMasterPassword *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->verifyPassword(); break;
        default: ;
        }
    }
    Q_UNUSED(_a);
}

const QMetaObject AskMasterPassword::staticMetaObject = {
    { &QDialog::staticMetaObject, qt_meta_stringdata_AskMasterPassword.data,
      qt_meta_data_AskMasterPassword,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *AskMasterPassword::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_AskMasterPassword.stringdata0))
        return static_cast<void*>(const_cast< AskMasterPassword*>(this));
    return QDialog::qt_metacast(_clname);
}

int AskMasterPassword::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
