Pages
API Documentation
On this page

Obsolete Members for KNewPasswordWidget

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

Properties

Public Functions

Public Slots

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:

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

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