class PassDlg

A dialog for requesting a login and a password to the user. More...

Full nameKIO::PassDlg
Definition#include <passdlg.h>
InheritsKDialog (kdeui) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

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:
parentthe parent widget
namethe dialog name
modalif true, the dialog will be modal
wflagswindow flags, passed to QDialog
headthe text to show in the dialog, on top of the two fields
useruser name, if known initially
passpassword, if known initially

QString  password ()

password

Returns: the password entered by the user

QString  user ()

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.