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)
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)
QString password() const
dialog for requesting login and password from the end user
Definition: passworddialog.h:37
void setUsernameReadOnly(bool readOnly)
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)
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.