org.kde.koala

Class KPasswordEdit

public class KPasswordEdit extends QLineEdit

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

Author: Geert Jansen

UNKNOWN: A safe password input widget.

Field Summary
static intNoEcho
static intOneStar
static intThreeStars
Constructor Summary
protected KPasswordEdit(Class dummy)
KPasswordEdit(QWidget parent, String name)
Constructs a password input widget using the user's global "echo mode" setting.
KPasswordEdit(QWidget parent)
KPasswordEdit()
KPasswordEdit(int echoMode, QWidget parent, String name)
Constructs a password input widget using echoMode as "echo mode".
Method Summary
StringclassName()
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
voiderase()
Erases the current password.
booleanevent(QEvent e)
protected voidfinalize()
Deletes the wrapped C++ instance
protected voidfocusInEvent(QFocusEvent e)
voidinsert(String arg1)
Reimplementation
booleanisDisposed()
Has the wrapped C++ instance been deleted?
protected voidkeyPressEvent(QKeyEvent arg1)
intmaxPasswordLength()
Returns the current maximum password length.
QMetaObjectmetaObject()
Stringpassword()
Returns the password.
voidsetMaxPasswordLength(int newLength)
Set the current maximum password length.

Field Detail

NoEcho

public static final int NoEcho

OneStar

public static final int OneStar

ThreeStars

public static final int ThreeStars

Constructor Detail

KPasswordEdit

protected KPasswordEdit(Class dummy)

KPasswordEdit

public KPasswordEdit(QWidget parent, String name)
Constructs a password input widget using the user's global "echo mode" setting.

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

KPasswordEdit

public KPasswordEdit(QWidget parent)

KPasswordEdit

public KPasswordEdit()

KPasswordEdit

public KPasswordEdit(int echoMode, QWidget parent, String name)
Constructs a password input widget using echoMode as "echo mode". Note that echoMode is a QLineEdit.EchoMode.

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

Method Detail

className

public String className()

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()

erase

public void erase()
Erases the current password.

UNKNOWN: Erases the current password.

event

public boolean event(QEvent e)

finalize

protected void finalize()
Deletes the wrapped C++ instance

focusInEvent

protected void focusInEvent(QFocusEvent e)

insert

public void insert(String arg1)
Reimplementation

UNKNOWN: Reimplementation

isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?

keyPressEvent

protected void keyPressEvent(QKeyEvent arg1)

maxPasswordLength

public int maxPasswordLength()
Returns the current maximum password length.

UNKNOWN: Returns the current maximum password length.

metaObject

public QMetaObject metaObject()

password

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

UNKNOWN: Returns the password.

setMaxPasswordLength

public void setMaxPasswordLength(int newLength)
Set the current maximum password length. If a password longer than the limit specified is currently entered, it is truncated accordingly. The length is capped to lie between 0 and 199 inclusive.

Parameters: newLength : The new maximum password length

UNKNOWN: Set the current maximum password length.