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


| Public Types | |
| enum | EchoModes { OneStar, ThreeStars, NoEcho } | 
| Public Slots | |
| virtual void | insert (const QString &) | 
| Public Member Functions | |
| KPasswordEdit (QWidget *parent=0, const char *name=0) | |
| KPasswordEdit (EchoMode echoMode, QWidget *parent, const char *name) | |
| KPasswordEdit (EchoModes echoMode, QWidget *parent, const char *name) | |
| KPasswordEdit (QWidget *parent, const char *name, int echoMode) KDE_DEPRECATED | |
| ~KPasswordEdit () | |
| const char * | password () const | 
| void | erase () | 
| Static Public Attributes | |
| const int | PassLen = 100 | 
| Protected Member Functions | |
| virtual void | keyPressEvent (QKeyEvent *) | 
| virtual void | focusInEvent (QFocusEvent *e) | 
| virtual bool | event (QEvent *e) | 
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 57 of file kpassdlg.cpp. References KGlobal::config(), and KConfigBase::readEntry(). | 
| 
 | ||||||||||||||||
| Constructs a password input widget using echoMode as "echo mode". Note that echoMode is a QLineEdit::EchoMode. 
 Definition at line 86 of file kpassdlg.cpp. | 
| 
 | ||||||||||||||||
| Constructs a password input widget using echoMode as "echo mode". Note that echoMode is a KPasswordEdit::EchoModes. 
 Definition at line 80 of file kpassdlg.cpp. | 
| 
 | ||||||||||||||||
| 
 
 Definition at line 74 of file kpassdlg.cpp. | 
| 
 | 
| Destructs the widget. 
 Definition at line 102 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 77 of file kpassdlg.h. Referenced by KPasswordDialog::password(), and KPasswordDialog::slotOk(). | 
| 
 | 
| Erases the current password. 
 Definition at line 124 of file kpassdlg.cpp. References QLineEdit::setText(). | 
| 
 | 
| Reimplementation. 
 Reimplemented from QLineEdit. Definition at line 109 of file kpassdlg.cpp. References QCString::length(), and QString::local8Bit(). | 
The documentation for this class was generated from the following files:

