class KPasswordEdit

A safe password input widget. More...

Definition#include <kpassdlg.h>
InheritsQLineEdit (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Public Members

Protected Methods


Detailed Description

The widget uses the user's global "echo mode" setting.

enum EchoModes { OneStar, ThreeStars, NoEcho }

EchoModes

 KPasswordEdit (QWidget *parent=0, const char *name=0)

KPasswordEdit

Constructs a password input widget using the user's global "echo mode" setting.

 KPasswordEdit (EchoMode echoMode, QWidget *parent, const char *name)

KPasswordEdit

Constructs a password input widget using echoMode as "echo mode".

 KPasswordEdit (QWidget *parent, const char *name, int echoMode)

KPasswordEdit

Creates a password input widget using echoMode as "echo mode".

 ~KPasswordEdit ()

~KPasswordEdit

Destructs the widget.

const char * password ()

password

[const]

Returns the password. The memory is freed in the destructor so you should make a copy.

void  erase ()

erase

Erases the current password.

static const int PassLen

PassLen

void  keyPressEvent (QKeyEvent *)

keyPressEvent

[protected virtual]

void  focusInEvent (QFocusEvent *e)

focusInEvent

[protected virtual]

bool  event (QEvent *e)

event

[protected virtual]