pupeno at pupeno.com
Thu Sep 26 14:19:00 BST 2002
-----BEGIN PGP SIGNED MESSAGE-----
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
Help the hungry children of Argentina,
please go to (and make it your homepage):
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the kde-core-devel