class KNewPasswordDialog


Module kdeui
Namespace
Class KNewPasswordDialog
Inherits KDialog
A password input dialog.

This dialog asks the user to enter a password.

Usage Exemple

KNewPasswordDialog *dlg = new KNewPasswordDialog( parent );
dlg->setPrompt( i18n( "Enter a password" );
connect( dlg, SIGNAL( newPassword( const QString& ) ) , this, SLOT( setPassword( const QString &) ) );
connect( dlg, SIGNAL( rejected() ) , this, SLOT( slotCancel() ) );
dlg->show();

KNewPasswordDialog dlg( parent );
dlg.setPrompt( i18n( "Enter a password" );
if( dlg.exec() )
setPassword( dlg.password() );

Author Geert Jansen Author Olivier Goffart



methods