KWidgetsAddons
kpassworddialog.h
68 ShowKeepPassword = 0x01,
73 ShowUsernameLine = 0x02,
77 UsernameReadOnly = 0x04,
82 ShowAnonymousLoginCheckBox = 0x08,
87 ShowDomainLine = 0x10,
92 DomainReadOnly = 0x20,
130 explicit KPasswordDialog(QWidget *parent = nullptr, const KPasswordDialogFlags &flags = KPasswordDialog::NoFlags);
262 * This require the flag ShowUsernameLine to be set in the constructoe, and not the flag UsernameReadOnly
299 * dlg->setRevealPasswordAvailable(KAuthorized::authorize(QStringLiteral("lineedit_reveal_password")));
303 [[deprecated("Use setRevealPasswordMode instead.")]] void setRevealPasswordAvailable(bool reveal);
341 * @param keep true if the "remember password" checkbox was checked, false otherwise. false if ShowKeepPassword was not set in the constructor
A dialog for requesting a password and optionally a login from the end user.
Definition kpassworddialog.h:55
void gotUsernameAndPassword(const QString &username, const QString &password, bool keep)
emitted when the dialog has been accepted, and ShowUsernameLine was set on the constructor
@ FatalError
Error preventing further attempts, will result in disabling most of the interface.
Definition kpassworddialog.h:115
void gotPassword(const QString &password, bool keep)
emitted when the dialog has been accepted
virtual void accept()
Q_SIGNALSQ_SIGNALS
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.