class PassDlg
|
A dialog for requesting a login and a password to the user. More... |
|
|
Public Methods
A dialog for requesting a login and a password to the user.
KIO-Slave authors should have a look at SlaveBase::openPassDlg instead.
PassDlg ( QWidget* parent, const char* name, bool modal, WFlags wflags, const QString& head, const QString& user, const QString& pass )
| PassDlg |
Create a password dialog
Parameters:
| parent | the parent widget
|
| name | the dialog name
|
| modal | if true, the dialog will be modal
|
| wflags | window flags, passed to QDialog
|
| head | the text to show in the dialog, on top of the two fields
|
| user | user name, if known initially
|
| pass | password, if known initially
|
Returns: the password entered by the user
Returns: the login entered by the user
void setEnableUserField ( bool, bool gainsFocus = false )
| setEnableUserField |
Enables/disables the username field.
| Generated by: dfaure on Tue Feb 27 12:46:56 2001, using kdoc 2.0a50. |