Obsolete Members for KNewPasswordWidget
The following members of class KNewPasswordWidget are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.
Properties
(since 5.31, deprecated in 6.0)
revealPasswordAvailable : bool
Public Functions
(since 5.31, deprecated in 6.0) bool | isRevealPasswordAvailable() const |
Public Slots
(since 5.31, deprecated in 6.0) void | setRevealPasswordAvailable(bool reveal) |
Property Documentation
[since 5.31, deprecated in 6.0]
revealPasswordAvailable : bool
This property is deprecated since 6.0. We strongly advise against using it in new code.
This property was introduced in 5.31.
Access functions:
bool | isRevealPasswordAvailable() const |
void | setRevealPasswordAvailable(bool reveal) |
Member Function Documentation
[since 5.31, 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.
This function was introduced in 5.31.
[slot, since 5.31, 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.
This function was introduced in 5.31.
See also isRevealPasswordAvailable().