Pages
API Documentation
On this page

Obsolete Members for KPasswordLineEdit

The following members of class KPasswordLineEdit are deprecated. We strongly advise against using them in new code.

Public Functions

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()

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.