Obsolete Members for KNewPasswordWidget
The following members of class KNewPasswordWidget are deprecated. We strongly advise against using them in new code.
Properties
Public Functions
- bool isRevealPasswordAvailable() const (deprecated in 6.0)
Public Slots
- void setRevealPasswordAvailable(bool reveal) (deprecated in 6.0)
Obsolete Property Documentation
[deprecated in 6.0] revealPasswordAvailable : bool
This property is deprecated since 6.0. We strongly advise against using it in new code.
Access functions:
boolisRevealPasswordAvailable() constvoidsetRevealPasswordAvailable(boolreveal)
Obsolete Member Function Documentation
[deprecated in 6.0] bool KNewPasswordWidget::isRevealPasswordAvailable() const
This function is deprecated since 6.0. We strongly advise against using it in new code.
Whether the visibility trailing action in the line edit is visible.
Note: Getter function for property revealPasswordAvailable.
[slot, deprecated in 6.0] void KNewPasswordWidget::setRevealPasswordAvailable(bool reveal)
This function is deprecated since 6.0. We strongly advise against using it in new code.
Whether to show the visibility trailing action in the line edit. Default is true. This can be used to honor the lineedit_reveal_password kiosk key, for example:
passwordWidget.setRevealPasswordAvailable(KAuthorized::authorize(QStringLiteral("lineedit_reveal_password")));
Note: Setter function for property revealPasswordAvailable.
See also isRevealPasswordAvailable()