#include <passdlg.h>
Inheritance diagram for KIO::PasswordDialog:

Public Methods | |
| PasswordDialog (const QString &prompt, const QString &user, bool enableKeep=false, bool modal=true, QWidget *parent=0, const char *name=0) | |
| ~PasswordDialog () | |
| void | setPrompt (const QString &prompt) |
| void | addCommentLine (const QString &label, const QString comment) |
| QString | password () const |
| QString | username () const |
| bool | keepPassword () const |
| void | setUserReadOnly (bool readOnly) |
| void | setEnableUserField (bool enable, bool=false) |
| void | setPassword (const QString &password) |
Static Public Methods | |
| int | getNameAndPassword (QString &user, QString &pass, bool *keep, const QString &prompt=QString::null, bool readOnly=false, const QString &caption=QString::null, const QString &comment=QString::null, const QString &label=QString::null) |
Protected Methods | |
| virtual void | virtual_hook (int id, void *data) |
KIO-Slave authors are encouraged to use SlaveBase::openPassDlg instead of directly instantiating this dialog.
Definition at line 35 of file passdlg.h.
|
||||||||||||||||||||||||||||
|
Create a password dialog.
|
|
|
Destructor |
|
||||||||||||
|
Adds a comment line to the dialog. This function allows you to add one additional comment line to this widget. Calling this fucntion after a comment has already been added will not have any effect.
|
|
||||||||||||||||||||||||||||||||||||
|
A convienence static method for obtaining authorization information from the end user.
|
|
|
Determines whether supplied authorization should persist even after the application has been closed. |
|
|
Returns the password entered by the user. |
|
||||||||||||
|
Definition at line 103 of file passdlg.h. References setUserReadOnly(). |
|
|
Presets the password
|
|
|
Sets the prompt to show to the user. |
|
|
Sets the username field read-only and sets the focus to the password field.
Referenced by setEnableUserField(). |
|
|
Returns the username entered by the user. |
1.2.18