new widgets...

Pupeno pupeno at pupeno.com
Thu Sep 26 14:19:00 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 26 September 2002 05:23, Thomas Zander wrote:
> > - KPasswordEdit: the api of this widget is rather poor returning a const
> > char* of the typed password (should it be a QString or something like
> > that ?) and there's not setPassword function.
>
> Returning a pointer to the string as typed by the user is the only way to
> make sure minimal copying and therefor maximum security can be reached.
> Please don't change that.
I imagined that the use of a char was for security reasons... but, what would 
happen with passwords containing unicode chars ?
Is still a setPassword(const char*?) method a bad idea ?
- -- 
Pupeno: pupeno at pupeno.com
http://www.pupeno.com
- ---
Help the hungry children of Argentina, 
please go to (and make it your homepage):
http://www.porloschicos.com/servlet/PorLosChicos?comando=donar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9kwlGLr8z5XzmSDQRAueUAJ9Ptqxo0IkRVgQXeQoVbtblRLAizQCgkwfQ
BQKx76sxF2bG6/utZM9ax+Y=
=P0ey
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list