KIO
passworddialog.cpp
Go to the documentation of this file.
33 :KPasswordDialog( parent , enableKeep ? (ShowUsernameLine | ShowKeepPassword) : ShowUsernameLine )
void setUsername(const QString &)
QString i18n(const char *text)
void setModal(bool modal)
PasswordDialog(const QString &prompt, const QString &user, bool enableKeep=false, bool modal=true, QWidget *parent=0)
Create a password dialog.
Definition: passworddialog.cpp:31
bool keepPassword() const
void setKeepPassword(bool b)
int exec()
QString password() const
dialog for requesting login and password from the end user
Definition: passworddialog.h:37
void setUsernameReadOnly(bool readOnly)
bool isEmpty() const
QString username() const
void addCommentLine(const QString &label, const QString &comment)
static int getNameAndPassword(QString &user, QString &pass, bool *keep, const QString &prompt=QString(), bool readOnly=false, const QString &caption=QString(), const QString &comment=QString(), const QString &label=QString())
A convienence static method for obtaining authorization information from the end user.
Definition: passworddialog.cpp:45
void setPrompt(const QString &prompt)
void setCaption(const QString &c)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.