/****************************************************************************
** Meta object code from reading C++ file 'EditWidgetIcons.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/EditWidgetIcons.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'EditWidgetIcons.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_EditWidgetIcons_t {
    QByteArrayData data[23];
    char stringdata0[352];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_EditWidgetIcons_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_EditWidgetIcons_t qt_meta_stringdata_EditWidgetIcons = {
    {
QT_MOC_LITERAL(0, 0, 15), // "EditWidgetIcons"
QT_MOC_LITERAL(1, 16, 16), // "messageEditEntry"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 26), // "MessageWidget::MessageType"
QT_MOC_LITERAL(4, 61, 23), // "messageEditEntryDismiss"
QT_MOC_LITERAL(5, 85, 13), // "widgetUpdated"
QT_MOC_LITERAL(6, 99, 6), // "setUrl"
QT_MOC_LITERAL(7, 106, 3), // "url"
QT_MOC_LITERAL(8, 110, 13), // "abortRequests"
QT_MOC_LITERAL(9, 124, 15), // "downloadFavicon"
QT_MOC_LITERAL(10, 140, 12), // "iconReceived"
QT_MOC_LITERAL(11, 153, 4), // "icon"
QT_MOC_LITERAL(12, 158, 21), // "addCustomIconFromFile"
QT_MOC_LITERAL(13, 180, 13), // "addCustomIcon"
QT_MOC_LITERAL(14, 194, 4), // "name"
QT_MOC_LITERAL(15, 199, 25), // "updateWidgetsDefaultIcons"
QT_MOC_LITERAL(16, 225, 7), // "checked"
QT_MOC_LITERAL(17, 233, 24), // "updateWidgetsCustomIcons"
QT_MOC_LITERAL(18, 258, 29), // "updateRadioButtonDefaultIcons"
QT_MOC_LITERAL(19, 288, 28), // "updateRadioButtonCustomIcons"
QT_MOC_LITERAL(20, 317, 18), // "confirmApplyIconTo"
QT_MOC_LITERAL(21, 336, 8), // "QAction*"
QT_MOC_LITERAL(22, 345, 6) // "action"

    },
    "EditWidgetIcons\0messageEditEntry\0\0"
    "MessageWidget::MessageType\0"
    "messageEditEntryDismiss\0widgetUpdated\0"
    "setUrl\0url\0abortRequests\0downloadFavicon\0"
    "iconReceived\0icon\0addCustomIconFromFile\0"
    "addCustomIcon\0name\0updateWidgetsDefaultIcons\0"
    "checked\0updateWidgetsCustomIcons\0"
    "updateRadioButtonDefaultIcons\0"
    "updateRadioButtonCustomIcons\0"
    "confirmApplyIconTo\0QAction*\0action"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_EditWidgetIcons[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   89,    2, 0x06 /* Public */,
       4,    0,   94,    2, 0x06 /* Public */,
       5,    0,   95,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,   96,    2, 0x0a /* Public */,
       8,    0,   99,    2, 0x0a /* Public */,
       9,    0,  100,    2, 0x08 /* Private */,
      10,    2,  101,    2, 0x08 /* Private */,
      12,    0,  106,    2, 0x08 /* Private */,
      13,    2,  107,    2, 0x08 /* Private */,
      13,    1,  112,    2, 0x28 /* Private | MethodCloned */,
      15,    1,  115,    2, 0x08 /* Private */,
      17,    1,  118,    2, 0x08 /* Private */,
      18,    0,  121,    2, 0x08 /* Private */,
      19,    0,  122,    2, 0x08 /* Private */,
      20,    1,  123,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QImage,    7,   11,
    QMetaType::Void,
    QMetaType::Bool, QMetaType::QImage, QMetaType::QString,   11,   14,
    QMetaType::Bool, QMetaType::QImage,   11,
    QMetaType::Void, QMetaType::Bool,   16,
    QMetaType::Void, QMetaType::Bool,   16,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 21,   22,

       0        // eod
};

void EditWidgetIcons::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<EditWidgetIcons *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->messageEditEntry((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< MessageWidget::MessageType(*)>(_a[2]))); break;
        case 1: _t->messageEditEntryDismiss(); break;
        case 2: _t->widgetUpdated(); break;
        case 3: _t->setUrl((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->abortRequests(); break;
        case 5: _t->downloadFavicon(); break;
        case 6: _t->iconReceived((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QImage(*)>(_a[2]))); break;
        case 7: _t->addCustomIconFromFile(); break;
        case 8: { bool _r = _t->addCustomIcon((*reinterpret_cast< const QImage(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 9: { bool _r = _t->addCustomIcon((*reinterpret_cast< const QImage(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 10: _t->updateWidgetsDefaultIcons((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: _t->updateWidgetsCustomIcons((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 12: _t->updateRadioButtonDefaultIcons(); break;
        case 13: _t->updateRadioButtonCustomIcons(); break;
        case 14: _t->confirmApplyIconTo((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 14:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (EditWidgetIcons::*)(QString , MessageWidget::MessageType );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditWidgetIcons::messageEditEntry)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (EditWidgetIcons::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditWidgetIcons::messageEditEntryDismiss)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (EditWidgetIcons::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditWidgetIcons::widgetUpdated)) {
                *result = 2;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject EditWidgetIcons::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_EditWidgetIcons.data,
    qt_meta_data_EditWidgetIcons,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int EditWidgetIcons::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 < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    }
    return _id;
}

// SIGNAL 0
void EditWidgetIcons::messageEditEntry(QString _t1, MessageWidget::MessageType _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void EditWidgetIcons::messageEditEntryDismiss()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void EditWidgetIcons::widgetUpdated()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
