Obsolete Members for KPasswordLineEdit
The following members of class KPasswordLineEdit are deprecated. We strongly advise against using them in new code.
Public Functions
- bool isRevealPasswordAvailable() const (deprecated in 6.0)
- void setRevealPasswordAvailable(bool reveal) (deprecated in 6.0)
Obsolete Member Function Documentation
[deprecated in 6.0] bool KPasswordLineEdit::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.
[deprecated in 6.0] void KPasswordLineEdit::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:
passwordLineEdit.setRevealPasswordAvailable(KAuthorized::authorize(QStringLiteral("lineedit_reveal_password")));
See also isRevealPasswordAvailable()