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

#include "../../src/kwidgetsaddons-5.43.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.9.4. 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[36];
    char stringdata0[689];
};
#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, 18), // "_k_passwordChanged"
QT_MOC_LITERAL(20, 358, 17), // "_k_toggleEchoMode"
QT_MOC_LITERAL(21, 376, 14), // "passwordStatus"
QT_MOC_LITERAL(22, 391, 14), // "PasswordStatus"
QT_MOC_LITERAL(23, 406, 19), // "allowEmptyPasswords"
QT_MOC_LITERAL(24, 426, 21), // "minimumPasswordLength"
QT_MOC_LITERAL(25, 448, 21), // "maximumPasswordLength"
QT_MOC_LITERAL(26, 470, 24), // "reasonablePasswordLength"
QT_MOC_LITERAL(27, 495, 28), // "passwordStrengthWarningLevel"
QT_MOC_LITERAL(28, 524, 22), // "backgroundWarningColor"
QT_MOC_LITERAL(29, 547, 28), // "passwordStrengthMeterVisible"
QT_MOC_LITERAL(30, 576, 23), // "revealPasswordAvailable"
QT_MOC_LITERAL(31, 600, 23), // "EmptyPasswordNotAllowed"
QT_MOC_LITERAL(32, 624, 16), // "PasswordTooShort"
QT_MOC_LITERAL(33, 641, 19), // "PasswordNotVerified"
QT_MOC_LITERAL(34, 661, 12), // "WeakPassword"
QT_MOC_LITERAL(35, 674, 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\0_k_passwordChanged\0_k_toggleEchoMode\0"
    "passwordStatus\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:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      11,   14, // methods
       9,   96, // properties
       1,  123, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

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

 // slots: name, argc, parameters, tag, flags
       3,    1,   70,    2, 0x0a /* Public */,
       5,    1,   73,    2, 0x0a /* Public */,
       7,    1,   76,    2, 0x0a /* Public */,
       9,    1,   79,    2, 0x0a /* Public */,
      11,    1,   82,    2, 0x0a /* Public */,
      13,    1,   85,    2, 0x0a /* Public */,
      15,    1,   88,    2, 0x0a /* Public */,
      17,    1,   91,    2, 0x0a /* Public */,
      19,    0,   94,    2, 0x08 /* Private */,
      20,    0,   95,    2, 0x08 /* Private */,

 // 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,
    QMetaType::Void,
    QMetaType::Void,

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

 // enums: name, flags, count, data
      22, 0x0,    5,  127,

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

       0        // eod
};

void KNewPasswordWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KNewPasswordWidget *_t = static_cast<KNewPasswordWidget *>(_o);
        Q_UNUSED(_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;
        case 9: _t->d->_k_passwordChanged(); break;
        case 10: _t->d->_k_toggleEchoMode(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (KNewPasswordWidget::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KNewPasswordWidget::passwordStatusChanged)) {
                *result = 0;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        KNewPasswordWidget *_t = static_cast<KNewPasswordWidget *>(_o);
        Q_UNUSED(_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) {
        KNewPasswordWidget *_t = static_cast<KNewPasswordWidget *>(_o);
        Q_UNUSED(_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
}

const QMetaObject KNewPasswordWidget::staticMetaObject = {
    { &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 < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 11;
    }
#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
