KPasswordEdit and security

Aaron J. Seigo aseigo at kde.org
Thu Dec 28 03:04:48 GMT 2006


On Wednesday 27 December 2006 18:36, Olivier Goffart wrote:
> class KPasswordEdit : public QLineEdit

s,QLineEdit,KLineEdit,g

> { public:
>    KPasswordEdit( QWidget * parent = 0 ) : QLineEdit(parent)
>    { setEchoMode( KGlobalGonfig.readEntry("Echo Mode") );  }
> };

perhaps even better: KLineEdit::setPasswordMode(bool) that does exactly this 
and avoid the extra class.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

Full time KDE developer sponsored by Trolltech (http://www.trolltech.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20061227/e6aadbd8/attachment.sig>


More information about the kde-core-devel mailing list