/****************************************************************************
** Meta object code from reading C++ file 'EntryPreviewWidget.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/EntryPreviewWidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'EntryPreviewWidget.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_EntryPreviewWidget_t {
    QByteArrayData data[37];
    char stringdata0[532];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_EntryPreviewWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_EntryPreviewWidget_t qt_meta_stringdata_EntryPreviewWidget = {
    {
QT_MOC_LITERAL(0, 0, 18), // "EntryPreviewWidget"
QT_MOC_LITERAL(1, 19, 17), // "entryUrlActivated"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 6), // "Entry*"
QT_MOC_LITERAL(4, 45, 5), // "entry"
QT_MOC_LITERAL(5, 51, 17), // "copyTextRequested"
QT_MOC_LITERAL(6, 69, 4), // "text"
QT_MOC_LITERAL(7, 74, 8), // "setEntry"
QT_MOC_LITERAL(8, 83, 13), // "selectedEntry"
QT_MOC_LITERAL(9, 97, 8), // "setGroup"
QT_MOC_LITERAL(10, 106, 6), // "Group*"
QT_MOC_LITERAL(11, 113, 13), // "selectedGroup"
QT_MOC_LITERAL(12, 127, 15), // "setDatabaseMode"
QT_MOC_LITERAL(13, 143, 20), // "DatabaseWidget::Mode"
QT_MOC_LITERAL(14, 164, 4), // "mode"
QT_MOC_LITERAL(15, 169, 7), // "refresh"
QT_MOC_LITERAL(16, 177, 5), // "clear"
QT_MOC_LITERAL(17, 183, 21), // "updateEntryHeaderLine"
QT_MOC_LITERAL(18, 205, 15), // "updateEntryTotp"
QT_MOC_LITERAL(19, 221, 21), // "updateEntryGeneralTab"
QT_MOC_LITERAL(20, 243, 22), // "updateEntryAdvancedTab"
QT_MOC_LITERAL(21, 266, 22), // "updateEntryAutotypeTab"
QT_MOC_LITERAL(22, 289, 18), // "setUsernameVisible"
QT_MOC_LITERAL(23, 308, 5), // "state"
QT_MOC_LITERAL(24, 314, 18), // "setPasswordVisible"
QT_MOC_LITERAL(25, 333, 20), // "setEntryNotesVisible"
QT_MOC_LITERAL(26, 354, 20), // "setGroupNotesVisible"
QT_MOC_LITERAL(27, 375, 15), // "setNotesVisible"
QT_MOC_LITERAL(28, 391, 10), // "QTextEdit*"
QT_MOC_LITERAL(29, 402, 11), // "notesWidget"
QT_MOC_LITERAL(30, 414, 5), // "notes"
QT_MOC_LITERAL(31, 420, 21), // "updateGroupHeaderLine"
QT_MOC_LITERAL(32, 442, 21), // "updateGroupGeneralTab"
QT_MOC_LITERAL(33, 464, 21), // "updateGroupSharingTab"
QT_MOC_LITERAL(34, 486, 15), // "updateTotpLabel"
QT_MOC_LITERAL(35, 502, 16), // "updateTabIndexes"
QT_MOC_LITERAL(36, 519, 12) // "openEntryUrl"

    },
    "EntryPreviewWidget\0entryUrlActivated\0"
    "\0Entry*\0entry\0copyTextRequested\0text\0"
    "setEntry\0selectedEntry\0setGroup\0Group*\0"
    "selectedGroup\0setDatabaseMode\0"
    "DatabaseWidget::Mode\0mode\0refresh\0"
    "clear\0updateEntryHeaderLine\0updateEntryTotp\0"
    "updateEntryGeneralTab\0updateEntryAdvancedTab\0"
    "updateEntryAutotypeTab\0setUsernameVisible\0"
    "state\0setPasswordVisible\0setEntryNotesVisible\0"
    "setGroupNotesVisible\0setNotesVisible\0"
    "QTextEdit*\0notesWidget\0notes\0"
    "updateGroupHeaderLine\0updateGroupGeneralTab\0"
    "updateGroupSharingTab\0updateTotpLabel\0"
    "updateTabIndexes\0openEntryUrl"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_EntryPreviewWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  129,    2, 0x06 /* Public */,
       5,    1,  132,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    1,  135,    2, 0x0a /* Public */,
       9,    1,  138,    2, 0x0a /* Public */,
      12,    1,  141,    2, 0x0a /* Public */,
      15,    0,  144,    2, 0x0a /* Public */,
      16,    0,  145,    2, 0x0a /* Public */,
      17,    0,  146,    2, 0x08 /* Private */,
      18,    0,  147,    2, 0x08 /* Private */,
      19,    0,  148,    2, 0x08 /* Private */,
      20,    0,  149,    2, 0x08 /* Private */,
      21,    0,  150,    2, 0x08 /* Private */,
      22,    1,  151,    2, 0x08 /* Private */,
      24,    1,  154,    2, 0x08 /* Private */,
      25,    1,  157,    2, 0x08 /* Private */,
      26,    1,  160,    2, 0x08 /* Private */,
      27,    3,  163,    2, 0x08 /* Private */,
      31,    0,  170,    2, 0x08 /* Private */,
      32,    0,  171,    2, 0x08 /* Private */,
      33,    0,  172,    2, 0x08 /* Private */,
      34,    0,  173,    2, 0x08 /* Private */,
      35,    0,  174,    2, 0x08 /* Private */,
      36,    0,  175,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::QString,    6,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    8,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   23,
    QMetaType::Void, QMetaType::Bool,   23,
    QMetaType::Void, QMetaType::Bool,   23,
    QMetaType::Void, QMetaType::Bool,   23,
    QMetaType::Void, 0x80000000 | 28, QMetaType::QString, QMetaType::Bool,   29,   30,   23,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void EntryPreviewWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<EntryPreviewWidget *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->entryUrlActivated((*reinterpret_cast< Entry*(*)>(_a[1]))); break;
        case 1: _t->copyTextRequested((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->setEntry((*reinterpret_cast< Entry*(*)>(_a[1]))); break;
        case 3: _t->setGroup((*reinterpret_cast< Group*(*)>(_a[1]))); break;
        case 4: _t->setDatabaseMode((*reinterpret_cast< DatabaseWidget::Mode(*)>(_a[1]))); break;
        case 5: _t->refresh(); break;
        case 6: _t->clear(); break;
        case 7: _t->updateEntryHeaderLine(); break;
        case 8: _t->updateEntryTotp(); break;
        case 9: _t->updateEntryGeneralTab(); break;
        case 10: _t->updateEntryAdvancedTab(); break;
        case 11: _t->updateEntryAutotypeTab(); break;
        case 12: _t->setUsernameVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 13: _t->setPasswordVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 14: _t->setEntryNotesVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 15: _t->setGroupNotesVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 16: _t->setNotesVisible((*reinterpret_cast< QTextEdit*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 17: _t->updateGroupHeaderLine(); break;
        case 18: _t->updateGroupGeneralTab(); break;
        case 19: _t->updateGroupSharingTab(); break;
        case 20: _t->updateTotpLabel(); break;
        case 21: _t->updateTabIndexes(); break;
        case 22: _t->openEntryUrl(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Entry* >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Entry* >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Group* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (EntryPreviewWidget::*)(Entry * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EntryPreviewWidget::entryUrlActivated)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (EntryPreviewWidget::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EntryPreviewWidget::copyTextRequested)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject EntryPreviewWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_EntryPreviewWidget.data,
    qt_meta_data_EntryPreviewWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int EntryPreviewWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 23)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 23;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 23)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 23;
    }
    return _id;
}

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

// SIGNAL 1
void EntryPreviewWidget::copyTextRequested(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
