/****************************************************************************
** Meta object code from reading C++ file 'EditEntryWidget.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/entry/EditEntryWidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'EditEntryWidget.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_EditEntryWidget_t {
    QByteArrayData data[65];
    char stringdata0[1028];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_EditEntryWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_EditEntryWidget_t qt_meta_stringdata_EditEntryWidget = {
    {
QT_MOC_LITERAL(0, 0, 15), // "EditEntryWidget"
QT_MOC_LITERAL(1, 16, 12), // "editFinished"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 8), // "accepted"
QT_MOC_LITERAL(4, 39, 21), // "historyEntryActivated"
QT_MOC_LITERAL(5, 61, 6), // "Entry*"
QT_MOC_LITERAL(6, 68, 5), // "entry"
QT_MOC_LITERAL(7, 74, 11), // "acceptEntry"
QT_MOC_LITERAL(8, 86, 11), // "commitEntry"
QT_MOC_LITERAL(9, 98, 6), // "cancel"
QT_MOC_LITERAL(10, 105, 25), // "updateFaviconButtonEnable"
QT_MOC_LITERAL(11, 131, 3), // "url"
QT_MOC_LITERAL(12, 135, 15), // "insertAttribute"
QT_MOC_LITERAL(13, 151, 20), // "editCurrentAttribute"
QT_MOC_LITERAL(14, 172, 22), // "removeCurrentAttribute"
QT_MOC_LITERAL(15, 195, 22), // "updateCurrentAttribute"
QT_MOC_LITERAL(16, 218, 23), // "protectCurrentAttribute"
QT_MOC_LITERAL(17, 242, 5), // "state"
QT_MOC_LITERAL(18, 248, 32), // "toggleCurrentAttributeVisibility"
QT_MOC_LITERAL(19, 281, 21), // "updateAutoTypeEnabled"
QT_MOC_LITERAL(20, 303, 16), // "openAutotypeHelp"
QT_MOC_LITERAL(21, 320, 19), // "insertAutoTypeAssoc"
QT_MOC_LITERAL(22, 340, 19), // "removeAutoTypeAssoc"
QT_MOC_LITERAL(23, 360, 16), // "loadCurrentAssoc"
QT_MOC_LITERAL(24, 377, 11), // "QModelIndex"
QT_MOC_LITERAL(25, 389, 7), // "current"
QT_MOC_LITERAL(26, 397, 17), // "clearCurrentAssoc"
QT_MOC_LITERAL(27, 415, 17), // "applyCurrentAssoc"
QT_MOC_LITERAL(28, 433, 16), // "showHistoryEntry"
QT_MOC_LITERAL(29, 450, 19), // "restoreHistoryEntry"
QT_MOC_LITERAL(30, 470, 18), // "deleteHistoryEntry"
QT_MOC_LITERAL(31, 489, 23), // "deleteAllHistoryEntries"
QT_MOC_LITERAL(32, 513, 25), // "emitHistoryEntryActivated"
QT_MOC_LITERAL(33, 539, 5), // "index"
QT_MOC_LITERAL(34, 545, 18), // "histEntryActivated"
QT_MOC_LITERAL(35, 564, 20), // "updateHistoryButtons"
QT_MOC_LITERAL(36, 585, 8), // "previous"
QT_MOC_LITERAL(37, 594, 15), // "useExpiryPreset"
QT_MOC_LITERAL(38, 610, 8), // "QAction*"
QT_MOC_LITERAL(39, 619, 6), // "action"
QT_MOC_LITERAL(40, 626, 15), // "toggleHideNotes"
QT_MOC_LITERAL(41, 642, 7), // "visible"
QT_MOC_LITERAL(42, 650, 9), // "pickColor"
QT_MOC_LITERAL(43, 660, 18), // "toKeeAgentSettings"
QT_MOC_LITERAL(44, 679, 17), // "KeeAgentSettings&"
QT_MOC_LITERAL(45, 697, 8), // "settings"
QT_MOC_LITERAL(46, 706, 19), // "setSSHAgentSettings"
QT_MOC_LITERAL(47, 726, 14), // "updateSSHAgent"
QT_MOC_LITERAL(48, 741, 24), // "updateSSHAgentAttachment"
QT_MOC_LITERAL(49, 766, 25), // "updateSSHAgentAttachments"
QT_MOC_LITERAL(50, 792, 21), // "updateSSHAgentKeyInfo"
QT_MOC_LITERAL(51, 814, 10), // "updateTotp"
QT_MOC_LITERAL(52, 825, 16), // "browsePrivateKey"
QT_MOC_LITERAL(53, 842, 13), // "addKeyToAgent"
QT_MOC_LITERAL(54, 856, 18), // "removeKeyFromAgent"
QT_MOC_LITERAL(55, 875, 10), // "clearAgent"
QT_MOC_LITERAL(56, 886, 17), // "decryptPrivateKey"
QT_MOC_LITERAL(57, 904, 13), // "copyPublicKey"
QT_MOC_LITERAL(58, 918, 21), // "updateBrowserModified"
QT_MOC_LITERAL(59, 940, 13), // "updateBrowser"
QT_MOC_LITERAL(60, 954, 9), // "insertURL"
QT_MOC_LITERAL(61, 964, 16), // "removeCurrentURL"
QT_MOC_LITERAL(62, 981, 14), // "editCurrentURL"
QT_MOC_LITERAL(63, 996, 16), // "updateCurrentURL"
QT_MOC_LITERAL(64, 1013, 14) // "entryURLEdited"

    },
    "EditEntryWidget\0editFinished\0\0accepted\0"
    "historyEntryActivated\0Entry*\0entry\0"
    "acceptEntry\0commitEntry\0cancel\0"
    "updateFaviconButtonEnable\0url\0"
    "insertAttribute\0editCurrentAttribute\0"
    "removeCurrentAttribute\0updateCurrentAttribute\0"
    "protectCurrentAttribute\0state\0"
    "toggleCurrentAttributeVisibility\0"
    "updateAutoTypeEnabled\0openAutotypeHelp\0"
    "insertAutoTypeAssoc\0removeAutoTypeAssoc\0"
    "loadCurrentAssoc\0QModelIndex\0current\0"
    "clearCurrentAssoc\0applyCurrentAssoc\0"
    "showHistoryEntry\0restoreHistoryEntry\0"
    "deleteHistoryEntry\0deleteAllHistoryEntries\0"
    "emitHistoryEntryActivated\0index\0"
    "histEntryActivated\0updateHistoryButtons\0"
    "previous\0useExpiryPreset\0QAction*\0"
    "action\0toggleHideNotes\0visible\0pickColor\0"
    "toKeeAgentSettings\0KeeAgentSettings&\0"
    "settings\0setSSHAgentSettings\0"
    "updateSSHAgent\0updateSSHAgentAttachment\0"
    "updateSSHAgentAttachments\0"
    "updateSSHAgentKeyInfo\0updateTotp\0"
    "browsePrivateKey\0addKeyToAgent\0"
    "removeKeyFromAgent\0clearAgent\0"
    "decryptPrivateKey\0copyPublicKey\0"
    "updateBrowserModified\0updateBrowser\0"
    "insertURL\0removeCurrentURL\0editCurrentURL\0"
    "updateCurrentURL\0entryURLEdited"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_EditEntryWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  259,    2, 0x06 /* Public */,
       4,    1,  262,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    0,  265,    2, 0x08 /* Private */,
       8,    0,  266,    2, 0x08 /* Private */,
       9,    0,  267,    2, 0x08 /* Private */,
      10,    1,  268,    2, 0x08 /* Private */,
      12,    0,  271,    2, 0x08 /* Private */,
      13,    0,  272,    2, 0x08 /* Private */,
      14,    0,  273,    2, 0x08 /* Private */,
      15,    0,  274,    2, 0x08 /* Private */,
      16,    1,  275,    2, 0x08 /* Private */,
      18,    0,  278,    2, 0x08 /* Private */,
      19,    0,  279,    2, 0x08 /* Private */,
      20,    0,  280,    2, 0x08 /* Private */,
      21,    0,  281,    2, 0x08 /* Private */,
      22,    0,  282,    2, 0x08 /* Private */,
      23,    1,  283,    2, 0x08 /* Private */,
      26,    0,  286,    2, 0x08 /* Private */,
      27,    0,  287,    2, 0x08 /* Private */,
      28,    0,  288,    2, 0x08 /* Private */,
      29,    0,  289,    2, 0x08 /* Private */,
      30,    0,  290,    2, 0x08 /* Private */,
      31,    0,  291,    2, 0x08 /* Private */,
      32,    1,  292,    2, 0x08 /* Private */,
      34,    1,  295,    2, 0x08 /* Private */,
      35,    2,  298,    2, 0x08 /* Private */,
      37,    1,  303,    2, 0x08 /* Private */,
      40,    1,  306,    2, 0x08 /* Private */,
      42,    0,  309,    2, 0x08 /* Private */,
      43,    1,  310,    2, 0x08 /* Private */,
      46,    0,  313,    2, 0x08 /* Private */,
      47,    0,  314,    2, 0x08 /* Private */,
      48,    0,  315,    2, 0x08 /* Private */,
      49,    0,  316,    2, 0x08 /* Private */,
      50,    0,  317,    2, 0x08 /* Private */,
      51,    0,  318,    2, 0x08 /* Private */,
      52,    0,  319,    2, 0x08 /* Private */,
      53,    0,  320,    2, 0x08 /* Private */,
      54,    0,  321,    2, 0x08 /* Private */,
      55,    0,  322,    2, 0x08 /* Private */,
      56,    0,  323,    2, 0x08 /* Private */,
      57,    0,  324,    2, 0x08 /* Private */,
      58,    0,  325,    2, 0x08 /* Private */,
      59,    0,  326,    2, 0x08 /* Private */,
      60,    0,  327,    2, 0x08 /* Private */,
      61,    0,  328,    2, 0x08 /* Private */,
      62,    0,  329,    2, 0x08 /* Private */,
      63,    0,  330,    2, 0x08 /* Private */,
      64,    1,  331,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, 0x80000000 | 5,    6,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   11,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   17,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 24,   25,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 24,   33,
    QMetaType::Void, 0x80000000 | 24,   33,
    QMetaType::Void, 0x80000000 | 24, 0x80000000 | 24,   25,   36,
    QMetaType::Void, 0x80000000 | 38,   39,
    QMetaType::Void, QMetaType::Bool,   41,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 44,   45,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   11,

       0        // eod
};

void EditEntryWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<EditEntryWidget *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->editFinished((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->historyEntryActivated((*reinterpret_cast< Entry*(*)>(_a[1]))); break;
        case 2: _t->acceptEntry(); break;
        case 3: { bool _r = _t->commitEntry();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 4: _t->cancel(); break;
        case 5: _t->updateFaviconButtonEnable((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: _t->insertAttribute(); break;
        case 7: _t->editCurrentAttribute(); break;
        case 8: _t->removeCurrentAttribute(); break;
        case 9: _t->updateCurrentAttribute(); break;
        case 10: _t->protectCurrentAttribute((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: _t->toggleCurrentAttributeVisibility(); break;
        case 12: _t->updateAutoTypeEnabled(); break;
        case 13: _t->openAutotypeHelp(); break;
        case 14: _t->insertAutoTypeAssoc(); break;
        case 15: _t->removeAutoTypeAssoc(); break;
        case 16: _t->loadCurrentAssoc((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 17: _t->clearCurrentAssoc(); break;
        case 18: _t->applyCurrentAssoc(); break;
        case 19: _t->showHistoryEntry(); break;
        case 20: _t->restoreHistoryEntry(); break;
        case 21: _t->deleteHistoryEntry(); break;
        case 22: _t->deleteAllHistoryEntries(); break;
        case 23: _t->emitHistoryEntryActivated((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 24: _t->histEntryActivated((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 25: _t->updateHistoryButtons((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 26: _t->useExpiryPreset((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 27: _t->toggleHideNotes((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 28: _t->pickColor(); break;
        case 29: _t->toKeeAgentSettings((*reinterpret_cast< KeeAgentSettings(*)>(_a[1]))); break;
        case 30: _t->setSSHAgentSettings(); break;
        case 31: _t->updateSSHAgent(); break;
        case 32: _t->updateSSHAgentAttachment(); break;
        case 33: _t->updateSSHAgentAttachments(); break;
        case 34: _t->updateSSHAgentKeyInfo(); break;
        case 35: _t->updateTotp(); break;
        case 36: _t->browsePrivateKey(); break;
        case 37: _t->addKeyToAgent(); break;
        case 38: _t->removeKeyFromAgent(); break;
        case 39: _t->clearAgent(); break;
        case 40: _t->decryptPrivateKey(); break;
        case 41: _t->copyPublicKey(); break;
        case 42: _t->updateBrowserModified(); break;
        case 43: _t->updateBrowser(); break;
        case 44: _t->insertURL(); break;
        case 45: _t->removeCurrentURL(); break;
        case 46: _t->editCurrentURL(); break;
        case 47: _t->updateCurrentURL(); break;
        case 48: _t->entryURLEdited((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (EditEntryWidget::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditEntryWidget::editFinished)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (EditEntryWidget::*)(Entry * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditEntryWidget::historyEntryActivated)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject EditEntryWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<EditWidget::staticMetaObject>(),
    qt_meta_stringdata_EditEntryWidget.data,
    qt_meta_data_EditEntryWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

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

// SIGNAL 1
void EditEntryWidget::historyEntryActivated(Entry * _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
