Obsolete Members for KPasswordDialog
The following members of class KPasswordDialog 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 KPasswordDialog::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 KPasswordDialog::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 @c true. This can be used to honor the lineedit_reveal_password kiosk key, for example:
dlg->setRevealPasswordAvailable(KAuthorized::authorize(QStringLiteral("lineedit_reveal_password")));
See also isRevealPasswordAvailable()