KPasswordEdit Class Reference
A safe password input widget. More...
#include <kpassdlg.h>
Inheritance diagram for KPasswordEdit:

Public Methods | |
KPasswordEdit (QWidget *parent=0, const char *name=0) | |
Constructs a password input widget using the user's global "echo mode" setting. | |
KPasswordEdit (EchoMode echoMode, QWidget *parent, const char *name) | |
Constructs a password input widget using echoMode as "echo mode". | |
KPasswordEdit (QWidget *parent, const char *name, int echoMode) | |
~KPasswordEdit () | |
Destructs the widget. | |
const char * | password () const |
Returns the password. | |
void | erase () |
Erases the current password. | |
Protected Methods | |
virtual void | keyPressEvent (QKeyEvent *) |
Detailed Description
A safe password input widget.
- Author:
- Geert Jansen <geertj@kde.org>
Definition at line 38 of file kpassdlg.h.
Constructor & Destructor Documentation
|
Constructs a password input widget using the user's global "echo mode" setting.
Definition at line 51 of file kpassdlg.cpp. References KGlobal::config(). |
|
Constructs a password input widget using echoMode as "echo mode".
Definition at line 74 of file kpassdlg.cpp. |
|
Definition at line 68 of file kpassdlg.cpp. |
|
Destructs the widget.
Definition at line 88 of file kpassdlg.cpp. |
Member Function Documentation
|
Returns the password. The memory is freed in the destructor so you should make a copy. Definition at line 69 of file kpassdlg.h. Referenced by KPasswordDialog::password(), and KPasswordDialog::slotOk(). |
|
Erases the current password.
Definition at line 96 of file kpassdlg.cpp. References QLineEdit::setText(). |
The documentation for this class was generated from the following files: