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

#include <memory>
#include "../../../../kwidgetsaddons-5.116.0/src/knewpasswordwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'knewpasswordwidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.17. 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_KNewPasswordWidget_t {
    QByteArrayData data[34];
    char stringdata0[652];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KNewPasswordWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KNewPasswordWidget_t qt_meta_stringdata_KNewPasswordWidget = {
    {
QT_MOC_LITERAL(0, 0, 18), // "KNewPasswordWidget"
QT_MOC_LITERAL(1, 19, 21), // "passwordStatusChanged"
QT_MOC_LITERAL(2, 41, 0), // ""
QT_MOC_LITERAL(3, 42, 22), // "setAllowEmptyPasswords"
QT_MOC_LITERAL(4, 65, 7), // "allowed"
QT_MOC_LITERAL(5, 73, 24), // "setMinimumPasswordLength"
QT_MOC_LITERAL(6, 98, 9), // "minLength"
QT_MOC_LITERAL(7, 108, 24), // "setMaximumPasswordLength"
QT_MOC_LITERAL(8, 133, 9), // "maxLength"
QT_MOC_LITERAL(9, 143, 27), // "setReasonablePasswordLength"
QT_MOC_LITERAL(10, 171, 16), // "reasonableLength"
QT_MOC_LITERAL(11, 188, 31), // "setPasswordStrengthWarningLevel"
QT_MOC_LITERAL(12, 220, 12), // "warningLevel"
QT_MOC_LITERAL(13, 233, 25), // "setBackgroundWarningColor"
QT_MOC_LITERAL(14, 259, 5), // "color"
QT_MOC_LITERAL(15, 265, 31), // "setPasswordStrengthMeterVisible"
QT_MOC_LITERAL(16, 297, 7), // "visible"
QT_MOC_LITERAL(17, 305, 26), // "setRevealPasswordAvailable"
QT_MOC_LITERAL(18, 332, 6), // "reveal"
QT_MOC_LITERAL(19, 339, 14), // "passwordStatus"
QT_MOC_LITERAL(20, 354, 14), // "PasswordStatus"
QT_MOC_LITERAL(21, 369, 19), // "allowEmptyPasswords"
QT_MOC_LITERAL(22, 389, 21), // "minimumPasswordLength"
QT_MOC_LITERAL(23, 411, 21), // "maximumPasswordLength"
QT_MOC_LITERAL(24, 433, 24), // "reasonablePasswordLength"
QT_MOC_LITERAL(25, 458, 28), // "passwordStrengthWarningLevel"
QT_MOC_LITERAL(26, 487, 22), // "backgroundWarningColor"
QT_MOC_LITERAL(27, 510, 28), // "passwordStrengthMeterVisible"
QT_MOC_LITERAL(28, 539, 23), // "revealPasswordAvailable"
QT_MOC_LITERAL(29, 563, 23), // "EmptyPasswordNotAllowed"
QT_MOC_LITERAL(30, 587, 16), // "PasswordTooShort"
QT_MOC_LITERAL(31, 604, 19), // "PasswordNotVerified"
QT_MOC_LITERAL(32, 624, 12), // "WeakPassword"
QT_MOC_LITERAL(33, 637, 14) // "StrongPassword"

    },
    "KNewPasswordWidget\0passwordStatusChanged\0"
    "\0setAllowEmptyPasswords\0allowed\0"
    "setMinimumPasswordLength\0minLength\0"
    "setMaximumPasswordLength\0maxLength\0"
    "setReasonablePasswordLength\0"
    "reasonableLength\0setPasswordStrengthWarningLevel\0"
    "warningLevel\0setBackgroundWarningColor\0"
    "color\0setPasswordStrengthMeterVisible\0"
    "visible\0setRevealPasswordAvailable\0"
    "reveal\0passwordStatus\0PasswordStatus\0"
    "allowEmptyPasswords\0minimumPasswordLength\0"
    "maximumPasswordLength\0reasonablePasswordLength\0"
    "passwordStrengthWarningLevel\0"
    "backgroundWarningColor\0"
    "passwordStrengthMeterVisible\0"
    "revealPasswordAvailable\0EmptyPasswordNotAllowed\0"
    "PasswordTooShort\0PasswordNotVerified\0"
    "WeakPassword\0StrongPassword"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KNewPasswordWidget[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       9,   14, // methods
       9,   84, // properties
       1,  111, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   59,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       3,    1,   60,    2, 0x0a /* Public */,
       5,    1,   63,    2, 0x0a /* Public */,
       7,    1,   66,    2, 0x0a /* Public */,
       9,    1,   69,    2, 0x0a /* Public */,
      11,    1,   72,    2, 0x0a /* Public */,
      13,    1,   75,    2, 0x0a /* Public */,
      15,    1,   78,    2, 0x0a /* Public */,
      17,    1,   81,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    4,
    QMetaType::Void, QMetaType::Int,    6,
    QMetaType::Void, QMetaType::Int,    8,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int,   12,
    QMetaType::Void, QMetaType::QColor,   14,
    QMetaType::Void, QMetaType::Bool,   16,
    QMetaType::Void, QMetaType::Bool,   18,

 // properties: name, type, flags
      19, 0x80000000 | 20, 0x00095009,
      21, QMetaType::Bool, 0x00095103,
      22, QMetaType::Int, 0x00095103,
      23, QMetaType::Int, 0x00095103,
      24, QMetaType::Int, 0x00095103,
      25, QMetaType::Int, 0x00095103,
      26, QMetaType::QColor, 0x00095103,
      27, QMetaType::Bool, 0x00095103,
      28, QMetaType::Bool, 0x00095103,

 // enums: name, alias, flags, count, data
      20,   20, 0x0,    5,  116,

 // enum data: key, value
      29, uint(KNewPasswordWidget::EmptyPasswordNotAllowed),
      30, uint(KNewPasswordWidget::PasswordTooShort),
      31, uint(KNewPasswordWidget::PasswordNotVerified),
      32, uint(KNewPasswordWidget::WeakPassword),
      33, uint(KNewPasswordWidget::StrongPassword),

       0        // eod
};

void KNewPasswordWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<KNewPasswordWidget *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->passwordStatusChanged(); break;
        case 1: _t->setAllowEmptyPasswords((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->setMinimumPasswordLength((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->setMaximumPasswordLength((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->setReasonablePasswordLength((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->setPasswordStrengthWarningLevel((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->setBackgroundWarningColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 7: _t->setPasswordStrengthMeterVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->setRevealPasswordAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (KNewPasswordWidget::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KNewPasswordWidget::passwordStatusChanged)) {
                *result = 0;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<KNewPasswordWidget *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< PasswordStatus*>(_v) = _t->passwordStatus(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->allowEmptyPasswords(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->minimumPasswordLength(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->maximumPasswordLength(); break;
        case 4: *reinterpret_cast< int*>(_v) = _t->reasonablePasswordLength(); break;
        case 5: *reinterpret_cast< int*>(_v) = _t->passwordStrengthWarningLevel(); break;
        case 6: *reinterpret_cast< QColor*>(_v) = _t->backgroundWarningColor(); break;
        case 7: *reinterpret_cast< bool*>(_v) = _t->isPasswordStrengthMeterVisible(); break;
        case 8: *reinterpret_cast< bool*>(_v) = _t->isRevealPasswordAvailable(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<KNewPasswordWidget *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setAllowEmptyPasswords(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setMinimumPasswordLength(*reinterpret_cast< int*>(_v)); break;
        case 3: _t->setMaximumPasswordLength(*reinterpret_cast< int*>(_v)); break;
        case 4: _t->setReasonablePasswordLength(*reinterpret_cast< int*>(_v)); break;
        case 5: _t->setPasswordStrengthWarningLevel(*reinterpret_cast< int*>(_v)); break;
        case 6: _t->setBackgroundWarningColor(*reinterpret_cast< QColor*>(_v)); break;
        case 7: _t->setPasswordStrengthMeterVisible(*reinterpret_cast< bool*>(_v)); break;
        case 8: _t->setRevealPasswordAvailable(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject KNewPasswordWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_KNewPasswordWidget.data,
    qt_meta_data_KNewPasswordWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int KNewPasswordWidget::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 < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 9;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 9;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void KNewPasswordWidget::passwordStatusChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
